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.

GetTagsInput

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

type GetTagsInput struct { NextPageToken *string `type:"string"` SearchString *string `type:"string"` TagKey *string `type:"string"` TimePeriod *DateInterval `type:"structure" required:"true"` }

NextPageToken

Type: *string

The token to retrieve the next set of results. AWS provides the token when the response from a previous call has more results than the maximum page size.

SearchString

Type: *string

The value that you want to search for.

TagKey

Type: *string

The key of the tag that you want to return values for.

TimePeriod

The time period that you want the usage and costs for.

Method

GoString

func (s GetTagsInput) GoString() string

GoString returns the string representation

SetNextPageToken

func (s *GetTagsInput) SetNextPageToken(v string) *GetTagsInput

SetNextPageToken sets the NextPageToken field's value.

SetSearchString

func (s *GetTagsInput) SetSearchString(v string) *GetTagsInput

SetSearchString sets the SearchString field's value.

SetTagKey

func (s *GetTagsInput) SetTagKey(v string) *GetTagsInput

SetTagKey sets the TagKey field's value.

SetTimePeriod

func (s *GetTagsInput) SetTimePeriod(v *DateInterval) *GetTagsInput

SetTimePeriod sets the TimePeriod field's value.

String

func (s GetTagsInput) String() string

String returns the string representation

Validate

func (s *GetTagsInput) Validate() error

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

On this page: