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.

GetTrafficPolicyInput

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

type GetTrafficPolicyInput struct { Id *string `location:"uri" locationName:"Id" min:"1" type:"string" required:"true"` Version *int64 `location:"uri" locationName:"Version" min:"1" type:"integer" required:"true"` }

Gets information about a specific traffic policy version.

Id

Type: *string

The ID of the traffic policy that you want to get information about.

Id is a required field

Version

Type: *int64

The version number of the traffic policy that you want to get information about.

Version is a required field

Method

GoString

func (s GetTrafficPolicyInput) GoString() string

GoString returns the string representation

SetId

func (s *GetTrafficPolicyInput) SetId(v string) *GetTrafficPolicyInput

SetId sets the Id field's value.

SetVersion

func (s *GetTrafficPolicyInput) SetVersion(v int64) *GetTrafficPolicyInput

SetVersion sets the Version field's value.

String

func (s GetTrafficPolicyInput) String() string

String returns the string representation

Validate

func (s *GetTrafficPolicyInput) Validate() error

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

On this page: