API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see

We welcome your feedback on this new version of the documentation. Send your comments to


import ""

type ListTrafficPoliciesInput struct { MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` TrafficPolicyIdMarker *string `location:"querystring" locationName:"trafficpolicyid" min:"1" type:"string"` }

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


Type: *string

(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 Route 53 will return if you submit another request.


Type: *string

(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.



func (s ListTrafficPoliciesInput) GoString() string

GoString returns the string representation


func (s *ListTrafficPoliciesInput) SetMaxItems(v string) *ListTrafficPoliciesInput

SetMaxItems sets the MaxItems field's value.


func (s *ListTrafficPoliciesInput) SetTrafficPolicyIdMarker(v string) *ListTrafficPoliciesInput

SetTrafficPolicyIdMarker sets the TrafficPolicyIdMarker field's value.


func (s ListTrafficPoliciesInput) String() string

String returns the string representation


func (s *ListTrafficPoliciesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: