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.

DimensionValues

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

type DimensionValues struct { Key *string `type:"string" enum:"Dimension"` Values []*string `type:"list"` }

The metadata that you can use to filter and group your results. You can use GetDimensionValues to find specific values.

Key

Type: *string

The names of the metadata types that you can use to filter and group your results. For example, AZ returns a list of Availability Zones.

Values

Type: []*string

The metadata values that you can use to filter and group your results. You can use GetDimensionValues to find specific values.

Valid values for the SERVICE dimension are Amazon Elastic Compute Cloud - Compute, Amazon Elasticsearch Service, Amazon ElastiCache, Amazon Redshift, and Amazon Relational Database Service.

Method

GoString

func (s DimensionValues) GoString() string

GoString returns the string representation

SetKey

func (s *DimensionValues) SetKey(v string) *DimensionValues

SetKey sets the Key field's value.

SetValues

func (s *DimensionValues) SetValues(v []*string) *DimensionValues

SetValues sets the Values field's value.

String

func (s DimensionValues) String() string

String returns the string representation

On this page: