AWS SDK for Go (PILOT)
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 https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ListTrafficPoliciesInput

import "github.com/aws/aws-sdk-go/service/route53"

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.

MaxItems

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.

TrafficPolicyIdMarker

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.

Method

GoString

func (s ListTrafficPoliciesInput) GoString() string

GoString returns the string representation

SetMaxItems

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

SetMaxItems sets the MaxItems field's value.

SetTrafficPolicyIdMarker

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

SetTrafficPolicyIdMarker sets the TrafficPolicyIdMarker field's value.

String

func (s ListTrafficPoliciesInput) String() string

String returns the string representation

Validate

func (s *ListTrafficPoliciesInput) Validate() error

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

On this page: