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.

CreateTrafficPolicyVersionOutput

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

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

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

Location

Type: *string

A unique URL that represents a new traffic policy version.

Location is a required field

TrafficPolicy

A complex type that contains settings for a traffic policy.

Method

GoString

func (s CreateTrafficPolicyVersionOutput) GoString() string

GoString returns the string representation

SetLocation

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

SetLocation sets the Location field's value.

SetTrafficPolicy

func (s *CreateTrafficPolicyVersionOutput) SetTrafficPolicy(v *TrafficPolicy) *CreateTrafficPolicyVersionOutput

SetTrafficPolicy sets the TrafficPolicy field's value.

String

func (s CreateTrafficPolicyVersionOutput) String() string

String returns the string representation

On this page: