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.

ListTrafficPolicyInstancesByHostedZoneInput

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

type ListTrafficPolicyInstancesByHostedZoneInput struct { HostedZoneId *string `location:"querystring" locationName:"id" type:"string" required:"true"` MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` TrafficPolicyInstanceNameMarker *string `location:"querystring" locationName:"trafficpolicyinstancename" type:"string"` TrafficPolicyInstanceTypeMarker *string `location:"querystring" locationName:"trafficpolicyinstancetype" type:"string" enum:"RRType"` }

A request for the traffic policy instances that you created in a specified hosted zone.

HostedZoneId

Type: *string

The ID of the hosted zone that you want to list traffic policy instances for.

HostedZoneId is a required field

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.

TrafficPolicyInstanceNameMarker

Type: *string

If the value of IsTruncated in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances 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 in the next group of traffic policy instances.

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 is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancetype, specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the type of the first traffic policy instance in the next group of traffic policy instances.

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

Method

GoString

func (s ListTrafficPolicyInstancesByHostedZoneInput) GoString() string

GoString returns the string representation

SetHostedZoneId

func (s *ListTrafficPolicyInstancesByHostedZoneInput) SetHostedZoneId(v string) *ListTrafficPolicyInstancesByHostedZoneInput

SetHostedZoneId sets the HostedZoneId field's value.

SetMaxItems

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

SetMaxItems sets the MaxItems field's value.

SetTrafficPolicyInstanceNameMarker

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

SetTrafficPolicyInstanceNameMarker sets the TrafficPolicyInstanceNameMarker field's value.

SetTrafficPolicyInstanceTypeMarker

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

SetTrafficPolicyInstanceTypeMarker sets the TrafficPolicyInstanceTypeMarker field's value.

String

func (s ListTrafficPolicyInstancesByHostedZoneInput) String() string

String returns the string representation

Validate

func (s *ListTrafficPolicyInstancesByHostedZoneInput) Validate() error

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

On this page: