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.

ListTrafficPolicyInstancesByPolicyOutput

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

type ListTrafficPolicyInstancesByPolicyOutput struct { HostedZoneIdMarker *string `type:"string"` IsTruncated *bool `type:"boolean" required:"true"` MaxItems *string `type:"string" required:"true"` TrafficPolicyInstanceNameMarker *string `type:"string"` TrafficPolicyInstanceTypeMarker *string `type:"string" enum:"RRType"` TrafficPolicyInstances []*TrafficPolicyInstance `locationNameList:"TrafficPolicyInstance" type:"list" required:"true"` }

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

HostedZoneIdMarker

Type: *string

If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of the first traffic policy instance in the next group of traffic policy instances.

IsTruncated

Type: *bool

A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of traffic policy instances by calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.

IsTruncated is a required field

MaxItems

Type: *string

The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy that produced the current response.

MaxItems is a required field

TrafficPolicyInstanceNameMarker

Type: *string

If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances.

TrafficPolicyInstanceTypeMarker

Type: *string

If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems traffic policy instances.

TrafficPolicyInstances

A complex type that contains settings for the new traffic policy instance.

Method

GoString

func (s ListTrafficPolicyInstancesByPolicyOutput) GoString() string

GoString returns the string representation

SetHostedZoneIdMarker

func (s *ListTrafficPolicyInstancesByPolicyOutput) SetHostedZoneIdMarker(v string) *ListTrafficPolicyInstancesByPolicyOutput

SetHostedZoneIdMarker sets the HostedZoneIdMarker field's value.

SetIsTruncated

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

SetIsTruncated sets the IsTruncated field's value.

SetMaxItems

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

SetMaxItems sets the MaxItems field's value.

SetTrafficPolicyInstanceNameMarker

func (s *ListTrafficPolicyInstancesByPolicyOutput) SetTrafficPolicyInstanceNameMarker(v string) *ListTrafficPolicyInstancesByPolicyOutput

SetTrafficPolicyInstanceNameMarker sets the TrafficPolicyInstanceNameMarker field's value.

SetTrafficPolicyInstanceTypeMarker

func (s *ListTrafficPolicyInstancesByPolicyOutput) SetTrafficPolicyInstanceTypeMarker(v string) *ListTrafficPolicyInstancesByPolicyOutput

SetTrafficPolicyInstanceTypeMarker sets the TrafficPolicyInstanceTypeMarker field's value.

SetTrafficPolicyInstances

func (s *ListTrafficPolicyInstancesByPolicyOutput) SetTrafficPolicyInstances(v []*TrafficPolicyInstance) *ListTrafficPolicyInstancesByPolicyOutput

SetTrafficPolicyInstances sets the TrafficPolicyInstances field's value.

String

func (s ListTrafficPolicyInstancesByPolicyOutput) String() string

String returns the string representation

On this page: