Method: AWS::CloudFront::Client#get_invalidation

Defined in:
lib/aws/cloud_front/client.rb

#get_invalidation(options = {}) ⇒ Core::Response

Calls the GET GetInvalidation API operation.

  • :distribution_id - required - (String) The distribution’s id.

  • :id - required - (String) The invalidation’s id.

Parameters:

  • options (Hash) (defaults to: {})

Returns:

  • (Core::Response)

    The #data method of the response object returns a hash with the following structure:

    • :id - (String)

    • :status - (String)

    • :create_time - (Time)

    • :invalidation_batch - (Hash)

      • :paths - (Hash)

        • :quantity - (Integer)

        • :items - (Array<String>)

      • :caller_reference - (String)



# File 'lib/aws/cloud_front/client.rb', line 645