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.

ListTrafficPolicyVersionsInput

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

type ListTrafficPolicyVersionsInput struct { Id *string `location:"uri" locationName:"Id" min:"1" type:"string" required:"true"` MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` TrafficPolicyVersionMarker *string `location:"querystring" locationName:"trafficpolicyversion" type:"string"` }

A complex type that contains the information about the request to list your traffic policies.

Id

Type: *string

Specify the value of Id of the traffic policy for which you want to list all versions.

Id is a required field

MaxItems

Type: *string

The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response body for this request. If the specified traffic policy has more than MaxItems versions, the value of IsTruncated in the response is true, and the value of the TrafficPolicyVersionMarker element is the ID of the first version that Route 53 will return if you submit another request.

TrafficPolicyVersionMarker

Type: *string

For your first request to ListTrafficPolicyVersions, don't include the TrafficPolicyVersionMarker parameter.

If you have more traffic policy versions than the value of MaxItems, ListTrafficPolicyVersions returns only the first group of MaxItems versions. To get more traffic policy versions, submit another ListTrafficPolicyVersions request. For the value of TrafficPolicyVersionMarker, specify the value of TrafficPolicyVersionMarker in the previous response.

Method

GoString

func (s ListTrafficPolicyVersionsInput) GoString() string

GoString returns the string representation

SetId

func (s *ListTrafficPolicyVersionsInput) SetId(v string) *ListTrafficPolicyVersionsInput

SetId sets the Id field's value.

SetMaxItems

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

SetMaxItems sets the MaxItems field's value.

SetTrafficPolicyVersionMarker

func (s *ListTrafficPolicyVersionsInput) SetTrafficPolicyVersionMarker(v string) *ListTrafficPolicyVersionsInput

SetTrafficPolicyVersionMarker sets the TrafficPolicyVersionMarker field's value.

String

func (s ListTrafficPolicyVersionsInput) String() string

String returns the string representation

Validate

func (s *ListTrafficPolicyVersionsInput) Validate() error

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

On this page: