You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CostExplorer::Types::DimensionValues

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb

Overview

Note:

When making an API call, you may pass DimensionValues data as a hash:

{
  key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, OPERATION, PURCHASE_TYPE, REGION, SERVICE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY
  values: ["Value"],
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

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.

Returns:

  • (String)


134
135
136
137
138
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 134

class DimensionValues < Struct.new(
  :key,
  :values)
  include Aws::Structure
end

#valuesArray<String>

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

Returns:

  • (Array<String>)


134
135
136
137
138
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 134

class DimensionValues < Struct.new(
  :key,
  :values)
  include Aws::Structure
end