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.

GetSamplingTargetsOutput

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

type GetSamplingTargetsOutput struct { LastRuleModification *time.Time `type:"timestamp"` SamplingTargetDocuments []*SamplingTargetDocument `type:"list"` UnprocessedStatistics []*UnprocessedStatistics `type:"list"` }

LastRuleModification

Type: *time.Time

The last time a user changed the sampling rule configuration. If the sampling rule configuration changed since the service last retrieved it, the service should call GetSamplingRules to get the latest version.

SamplingTargetDocuments

Temporary changes to a sampling rule configuration. To meet the global sampling target for a rule, X-Ray calculates a new reservoir for each service based on the recent sampling results of all services that called GetSamplingTargets.

UnprocessedStatistics

Sampling statistics from a call to GetSamplingTargets that X-Ray could not process.

Method

GoString

func (s GetSamplingTargetsOutput) GoString() string

GoString returns the string representation

SetLastRuleModification

func (s *GetSamplingTargetsOutput) SetLastRuleModification(v time.Time) *GetSamplingTargetsOutput

SetLastRuleModification sets the LastRuleModification field's value.

SetSamplingTargetDocuments

func (s *GetSamplingTargetsOutput) SetSamplingTargetDocuments(v []*SamplingTargetDocument) *GetSamplingTargetsOutput

SetSamplingTargetDocuments sets the SamplingTargetDocuments field's value.

SetUnprocessedStatistics

func (s *GetSamplingTargetsOutput) SetUnprocessedStatistics(v []*UnprocessedStatistics) *GetSamplingTargetsOutput

SetUnprocessedStatistics sets the UnprocessedStatistics field's value.

String

func (s GetSamplingTargetsOutput) String() string

String returns the string representation

On this page: