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.

GetSamplingTargetsInput

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

type GetSamplingTargetsInput struct { SamplingStatisticsDocuments []*SamplingStatisticsDocument `type:"list" required:"true"` }

SamplingStatisticsDocuments

Request sampling results for a single rule from a service. Results are for the last 10 seconds unless the service has been assigned a longer reporting interval after a previous call to GetSamplingTargets.

Method

GoString

func (s GetSamplingTargetsInput) GoString() string

GoString returns the string representation

SetSamplingStatisticsDocuments

func (s *GetSamplingTargetsInput) SetSamplingStatisticsDocuments(v []*SamplingStatisticsDocument) *GetSamplingTargetsInput

SetSamplingStatisticsDocuments sets the SamplingStatisticsDocuments field's value.

String

func (s GetSamplingTargetsInput) String() string

String returns the string representation

Validate

func (s *GetSamplingTargetsInput) Validate() error

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

On this page: