Class: Aws::CloudFront::Types::CreateInvalidationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::CreateInvalidationRequest
- Includes:
- Structure
- Defined in:
- 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
-
#distribution_id ⇒ String
The distribution’s id.
-
#invalidation_batch ⇒ Types::InvalidationBatch
The batch information for the invalidation.
Instance Attribute Details
#distribution_id ⇒ String
The distribution’s id.
1786 1787 1788 1789 1790 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 1786 class CreateInvalidationRequest < Struct.new( :distribution_id, :invalidation_batch) include Aws::Structure end |
#invalidation_batch ⇒ Types::InvalidationBatch
The batch information for the invalidation.
1786 1787 1788 1789 1790 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 1786 class CreateInvalidationRequest < Struct.new( :distribution_id, :invalidation_batch) include Aws::Structure end |