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.

ListTrafficPolicyInstancesByPolicyInput

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

type ListTrafficPolicyInstancesByPolicyInput struct { HostedZoneIdMarker *string `location:"querystring" locationName:"hostedzoneid" type:"string"` MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` TrafficPolicyId *string `location:"querystring" locationName:"id" min:"1" type:"string" required:"true"` TrafficPolicyInstanceNameMarker *string `location:"querystring" locationName:"trafficpolicyinstancename" type:"string"` TrafficPolicyInstanceTypeMarker *string `location:"querystring" locationName:"trafficpolicyinstancetype" type:"string" enum:"RRType"` TrafficPolicyVersion *int64 `location:"querystring" locationName:"version" min:"1" type:"integer" required:"true"` }

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

HostedZoneIdMarker

Type: *string

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

For the value of hostedzoneid, specify the value of HostedZoneIdMarker from the previous response, which is the hosted zone ID of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

MaxItems

Type: *string

The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance that Amazon Route 53 will return if you submit another request.

TrafficPolicyId

Type: *string

The ID of the traffic policy for which you want to list traffic policy instances.

TrafficPolicyId is a required field

TrafficPolicyInstanceNameMarker

Type: *string

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

For the value of trafficpolicyinstancename, specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

TrafficPolicyInstanceTypeMarker

Type: *string

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

For the value of trafficpolicyinstancetype, specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

TrafficPolicyVersion

Type: *int64

The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by TrafficPolicyId.

TrafficPolicyVersion is a required field

Method

GoString

func (s ListTrafficPolicyInstancesByPolicyInput) GoString() string

GoString returns the string representation

SetHostedZoneIdMarker

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

SetHostedZoneIdMarker sets the HostedZoneIdMarker field's value.

SetMaxItems

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

SetMaxItems sets the MaxItems field's value.

SetTrafficPolicyId

func (s *ListTrafficPolicyInstancesByPolicyInput) SetTrafficPolicyId(v string) *ListTrafficPolicyInstancesByPolicyInput

SetTrafficPolicyId sets the TrafficPolicyId field's value.

SetTrafficPolicyInstanceNameMarker

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

SetTrafficPolicyInstanceNameMarker sets the TrafficPolicyInstanceNameMarker field's value.

SetTrafficPolicyInstanceTypeMarker

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

SetTrafficPolicyInstanceTypeMarker sets the TrafficPolicyInstanceTypeMarker field's value.

SetTrafficPolicyVersion

func (s *ListTrafficPolicyInstancesByPolicyInput) SetTrafficPolicyVersion(v int64) *ListTrafficPolicyInstancesByPolicyInput

SetTrafficPolicyVersion sets the TrafficPolicyVersion field's value.

String

func (s ListTrafficPolicyInstancesByPolicyInput) String() string

String returns the string representation

Validate

func (s *ListTrafficPolicyInstancesByPolicyInput) Validate() error

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

On this page: