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

Class: Aws::Route53::Types::ListTrafficPoliciesRequest

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

Overview

Note:

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

{
  traffic_policy_id_marker: "TrafficPolicyId",
  max_items: 1,
}

A complex type that contains the information about the request to list the traffic policies that are associated with the current AWS account.

Instance Attribute Summary collapse

Instance Attribute Details

#max_itemsInteger

(Optional) The maximum number of traffic policies that you want Amazon Route 53 to return in response to this request. If you have more than MaxItems traffic policies, the value of IsTruncated in the response is true, and the value of TrafficPolicyIdMarker is the ID of the first traffic policy that Amazon Route 53 will return if you submit another request.

Returns:

  • (Integer)


3615
3616
3617
3618
3619
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 3615

class ListTrafficPoliciesRequest < Struct.new(
  :traffic_policy_id_marker,
  :max_items)
  include Aws::Structure
end

#traffic_policy_id_markerString

(Conditional) For your first request to ListTrafficPolicies, don't include the TrafficPolicyIdMarker parameter.

If you have more traffic policies than the value of MaxItems, ListTrafficPolicies returns only the first MaxItems traffic policies. To get the next group of policies, submit another request to ListTrafficPolicies. For the value of TrafficPolicyIdMarker, specify the value of TrafficPolicyIdMarker that was returned in the previous response.

Returns:

  • (String)


3615
3616
3617
3618
3619
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 3615

class ListTrafficPoliciesRequest < Struct.new(
  :traffic_policy_id_marker,
  :max_items)
  include Aws::Structure
end