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.

CreateTrafficPolicyInstanceOutput

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

type CreateTrafficPolicyInstanceOutput struct { Location *string `location:"header" locationName:"Location" type:"string" required:"true"` TrafficPolicyInstance *TrafficPolicyInstance `type:"structure" required:"true"` }

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

Location

Type: *string

A unique URL that represents a new traffic policy instance.

Location is a required field

TrafficPolicyInstance

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

Method

GoString

func (s CreateTrafficPolicyInstanceOutput) GoString() string

GoString returns the string representation

SetLocation

func (s *CreateTrafficPolicyInstanceOutput) SetLocation(v string) *CreateTrafficPolicyInstanceOutput

SetLocation sets the Location field's value.

SetTrafficPolicyInstance

func (s *CreateTrafficPolicyInstanceOutput) SetTrafficPolicyInstance(v *TrafficPolicyInstance) *CreateTrafficPolicyInstanceOutput

SetTrafficPolicyInstance sets the TrafficPolicyInstance field's value.

String

func (s CreateTrafficPolicyInstanceOutput) String() string

String returns the string representation

On this page: