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.

TrafficPolicySummary

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

type TrafficPolicySummary struct { Id *string `min:"1" type:"string" required:"true"` LatestVersion *int64 `min:"1" type:"integer" required:"true"` Name *string `type:"string" required:"true"` TrafficPolicyCount *int64 `min:"1" type:"integer" required:"true"` Type *string `type:"string" required:"true" enum:"RRType"` }

A complex type that contains information about the latest version of one traffic policy that is associated with the current AWS account.

Id

Type: *string

The ID that Amazon Route 53 assigned to the traffic policy when you created it.

Id is a required field

LatestVersion

Type: *int64

The version number of the latest version of the traffic policy.

LatestVersion is a required field

Name

Type: *string

The name that you specified for the traffic policy when you created it.

Name is a required field

TrafficPolicyCount

Type: *int64

The number of traffic policies that are associated with the current AWS account.

TrafficPolicyCount is a required field

Type

Type: *string

The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.

Type is a required field

Method

GoString

func (s TrafficPolicySummary) GoString() string

GoString returns the string representation

SetId

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

SetId sets the Id field's value.

SetLatestVersion

func (s *TrafficPolicySummary) SetLatestVersion(v int64) *TrafficPolicySummary

SetLatestVersion sets the LatestVersion field's value.

SetName

func (s *TrafficPolicySummary) SetName(v string) *TrafficPolicySummary

SetName sets the Name field's value.

SetTrafficPolicyCount

func (s *TrafficPolicySummary) SetTrafficPolicyCount(v int64) *TrafficPolicySummary

SetTrafficPolicyCount sets the TrafficPolicyCount field's value.

SetType

func (s *TrafficPolicySummary) SetType(v string) *TrafficPolicySummary

SetType sets the Type field's value.

String

func (s TrafficPolicySummary) String() string

String returns the string representation

On this page: