Class: Aws::CloudFront::Types::ListCachePoliciesRequest

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

{
  type: "managed", # accepts managed, custom
  marker: "string",
  max_items: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#markerString

Use this field when paginating results to indicate where to begin in your list of cache policies. The response includes cache policies in the list that occur after the marker. To get the next page of the list, set this field’s value to the value of NextMarker from the current page’s response.

Returns:

  • (String)


7530
7531
7532
7533
7534
7535
7536
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 7530

class ListCachePoliciesRequest < Struct.new(
  :type,
  :marker,
  :max_items)
  SENSITIVE = []
  include Aws::Structure
end

#max_itemsInteger

The maximum number of cache policies that you want in the response.

Returns:

  • (Integer)


7530
7531
7532
7533
7534
7535
7536
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 7530

class ListCachePoliciesRequest < Struct.new(
  :type,
  :marker,
  :max_items)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

A filter to return only the specified kinds of cache policies. Valid values are:

  • managed – Returns only the managed policies created by AWS.

  • custom – Returns only the custom policies created in your AWS account.

Returns:

  • (String)


7530
7531
7532
7533
7534
7535
7536
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 7530

class ListCachePoliciesRequest < Struct.new(
  :type,
  :marker,
  :max_items)
  SENSITIVE = []
  include Aws::Structure
end