You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudFront::Types::CreateInvalidationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb

Overview

Note:

When making an API call, you may pass CreateInvalidationRequest data as a hash:

{
  distribution_id: "string", # required
  invalidation_batch: { # required
    paths: { # required
      quantity: 1, # required
      items: ["string"],
    },
    caller_reference: "string", # required
  },
}

The request to create an invalidation.

Instance Attribute Summary collapse

Instance Attribute Details

#distribution_idString

The distribution's id.

Returns:

  • (String)


1361
1362
1363
1364
1365
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 1361

class CreateInvalidationRequest < Struct.new(
  :distribution_id,
  :invalidation_batch)
  include Aws::Structure
end

#invalidation_batchTypes::InvalidationBatch

The batch information for the invalidation.



1361
1362
1363
1364
1365
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 1361

class CreateInvalidationRequest < Struct.new(
  :distribution_id,
  :invalidation_batch)
  include Aws::Structure
end