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

Class: Aws::CloudFront::Types::ListInvalidationsRequest

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 ListInvalidationsRequest data as a hash:

{
  distribution_id: "string", # required
  marker: "string",
  max_items: 1,
}

The request to list invalidations.

Instance Attribute Summary collapse

Instance Attribute Details

#distribution_idString

The distribution's ID.

Returns:

  • (String)


4212
4213
4214
4215
4216
4217
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 4212

class ListInvalidationsRequest < Struct.new(
  :distribution_id,
  :marker,
  :max_items)
  include Aws::Structure
end

#markerString

Use this parameter when paginating results to indicate where to begin in your list of invalidation batches. Because the results are returned in decreasing order from most recent to oldest, the most recent results are on the first page, the second page will contain earlier results, and so on. To get the next page of results, set Marker to the value of the NextMarker from the current page's response. This value is the same as the ID of the last invalidation batch on that page.

Returns:

  • (String)


4212
4213
4214
4215
4216
4217
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 4212

class ListInvalidationsRequest < Struct.new(
  :distribution_id,
  :marker,
  :max_items)
  include Aws::Structure
end

#max_itemsInteger

The maximum number of invalidation batches that you want in the response body.

Returns:

  • (Integer)


4212
4213
4214
4215
4216
4217
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 4212

class ListInvalidationsRequest < Struct.new(
  :distribution_id,
  :marker,
  :max_items)
  include Aws::Structure
end