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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DimensionValues as input to an Aws::Client method, you can use a vanilla Hash:

{
  key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, 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, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
  values: ["Value"],
  match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
}

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

Returned by:

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.

Possible values:

  • AZ
  • INSTANCE_TYPE
  • LINKED_ACCOUNT
  • LINKED_ACCOUNT_NAME
  • OPERATION
  • PURCHASE_TYPE
  • REGION
  • SERVICE
  • SERVICE_CODE
  • 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
  • BILLING_ENTITY
  • RESERVATION_ID
  • RESOURCE_ID
  • RIGHTSIZING_TYPE
  • SAVINGS_PLANS_TYPE
  • SAVINGS_PLAN_ARN
  • PAYMENT_OPTION

Returns:

  • (String)

    The names of the metadata types that you can use to filter and group your results.

#match_optionsArray<String>

The match options that you can use to filter your results. MatchOptions is only applicable for actions related to Cost Category. The default values for MatchOptions are EQUALS and CASE_SENSITIVE.

Returns:

  • (Array<String>)

    The match options that you can use to filter your results.

#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>)

    The metadata values that you can use to filter and group your results.