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.

UpdateTrafficPolicyInstanceInput

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

type UpdateTrafficPolicyInstanceInput struct { Id *string `location:"uri" locationName:"Id" min:"1" type:"string" required:"true"` TTL *int64 `type:"long" required:"true"` TrafficPolicyId *string `min:"1" type:"string" required:"true"` TrafficPolicyVersion *int64 `min:"1" type:"integer" required:"true"` }

A complex type that contains information about the resource record sets that you want to update based on a specified traffic policy instance.

Id

Type: *string

The ID of the traffic policy instance that you want to update.

Id is a required field

TTL

Type: *int64

The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.

TTL is a required field

TrafficPolicyId

Type: *string

The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.

TrafficPolicyId is a required field

TrafficPolicyVersion

Type: *int64

The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.

TrafficPolicyVersion is a required field

Method

GoString

func (s UpdateTrafficPolicyInstanceInput) GoString() string

GoString returns the string representation

SetId

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

SetId sets the Id field's value.

SetTTL

func (s *UpdateTrafficPolicyInstanceInput) SetTTL(v int64) *UpdateTrafficPolicyInstanceInput

SetTTL sets the TTL field's value.

SetTrafficPolicyId

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

SetTrafficPolicyId sets the TrafficPolicyId field's value.

SetTrafficPolicyVersion

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

SetTrafficPolicyVersion sets the TrafficPolicyVersion field's value.

String

func (s UpdateTrafficPolicyInstanceInput) String() string

String returns the string representation

Validate

func (s *UpdateTrafficPolicyInstanceInput) Validate() error

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

On this page: