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

Class: Aws::CloudFront::Types::ListDistributionsRequest

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

{
  marker: "string",
  max_items: 1,
}

The request to list your distributions.

Instance Attribute Summary collapse

Instance Attribute Details

#markerString

Use this when paginating results to indicate where to begin in your list of distributions. The results include distributions in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last distribution on that page).

Returns:

  • (String)


3948
3949
3950
3951
3952
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 3948

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

#max_itemsInteger

The maximum number of distributions you want in the response body.

Returns:

  • (Integer)


3948
3949
3950
3951
3952
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 3948

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