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.

GetMetricDataOutput

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

type GetMetricDataOutput struct { MetricResults []*HistoricalMetricResult `type:"list"` NextToken *string `type:"string"` }

MetricResults

The metrics data returned from a GetMetricData operation.

NextToken

Type: *string

A string returned in the response. Use the value returned in the response as the value of the NextToken in a subsequent request to retrieve the next set of results.

The token expires after 5 minutes from the time it is created. Subsequent requests that use the NextToken must use the same request parameters as the request that generated the token.

Method

GoString

func (s GetMetricDataOutput) GoString() string

GoString returns the string representation

SetMetricResults

func (s *GetMetricDataOutput) SetMetricResults(v []*HistoricalMetricResult) *GetMetricDataOutput

SetMetricResults sets the MetricResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s GetMetricDataOutput) String() string

String returns the string representation

On this page: