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.

GetTraceSummariesInput

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

type GetTraceSummariesInput struct { EndTime *time.Time `type:"timestamp" required:"true"` FilterExpression *string `min:"1" type:"string"` NextToken *string `type:"string"` Sampling *bool `type:"boolean"` StartTime *time.Time `type:"timestamp" required:"true"` }

EndTime

Type: *time.Time

The end of the time frame for which to retrieve traces.

EndTime is a required field

FilterExpression

Type: *string

Specify a filter expression to retrieve trace summaries for services or requests that meet certain requirements.

NextToken

Type: *string

Specify the pagination token returned by a previous request to retrieve the next page of results.

Sampling

Type: *bool

Set to true to get summaries for only a subset of available traces.

StartTime

Type: *time.Time

The start of the time frame for which to retrieve traces.

StartTime is a required field

Method

GoString

func (s GetTraceSummariesInput) GoString() string

GoString returns the string representation

SetEndTime

func (s *GetTraceSummariesInput) SetEndTime(v time.Time) *GetTraceSummariesInput

SetEndTime sets the EndTime field's value.

SetFilterExpression

func (s *GetTraceSummariesInput) SetFilterExpression(v string) *GetTraceSummariesInput

SetFilterExpression sets the FilterExpression field's value.

SetNextToken

func (s *GetTraceSummariesInput) SetNextToken(v string) *GetTraceSummariesInput

SetNextToken sets the NextToken field's value.

SetSampling

func (s *GetTraceSummariesInput) SetSampling(v bool) *GetTraceSummariesInput

SetSampling sets the Sampling field's value.

SetStartTime

func (s *GetTraceSummariesInput) SetStartTime(v time.Time) *GetTraceSummariesInput

SetStartTime sets the StartTime field's value.

String

func (s GetTraceSummariesInput) String() string

String returns the string representation

Validate

func (s *GetTraceSummariesInput) Validate() error

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

On this page: