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.

ListTrafficPoliciesOutput

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

type ListTrafficPoliciesOutput struct { IsTruncated *bool `type:"boolean" required:"true"` MaxItems *string `type:"string" required:"true"` TrafficPolicyIdMarker *string `min:"1" type:"string" required:"true"` TrafficPolicySummaries []*TrafficPolicySummary `locationNameList:"TrafficPolicySummary" type:"list" required:"true"` }

A complex type that contains the response information for the request.

IsTruncated

Type: *bool

A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of traffic policies by submitting another ListTrafficPolicies request and specifying the value of TrafficPolicyIdMarker in the TrafficPolicyIdMarker request parameter.

IsTruncated is a required field

MaxItems

Type: *string

The value that you specified for the MaxItems parameter in the ListTrafficPolicies request that produced the current response.

MaxItems is a required field

TrafficPolicyIdMarker

Type: *string

If the value of IsTruncated is true, TrafficPolicyIdMarker is the ID of the first traffic policy in the next group of MaxItems traffic policies.

TrafficPolicyIdMarker is a required field

TrafficPolicySummaries

A complex type that contains information about the latest version of one traffic policy that is associated with the current AWS account.

Method

GoString

func (s ListTrafficPoliciesOutput) GoString() string

GoString returns the string representation

SetIsTruncated

func (s *ListTrafficPoliciesOutput) SetIsTruncated(v bool) *ListTrafficPoliciesOutput

SetIsTruncated sets the IsTruncated field's value.

SetMaxItems

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

SetMaxItems sets the MaxItems field's value.

SetTrafficPolicyIdMarker

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

SetTrafficPolicyIdMarker sets the TrafficPolicyIdMarker field's value.

SetTrafficPolicySummaries

func (s *ListTrafficPoliciesOutput) SetTrafficPolicySummaries(v []*TrafficPolicySummary) *ListTrafficPoliciesOutput

SetTrafficPolicySummaries sets the TrafficPolicySummaries field's value.

String

func (s ListTrafficPoliciesOutput) String() string

String returns the string representation

On this page: