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

Class: Aws::CostExplorer::Types::GetDimensionValuesResponse

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#dimension_valuesArray<Types::DimensionValuesWithAttributes>

The filters that you used to filter your request. Some dimensions are available only for a specific context:

If you set the context to CostAndUsage, you can use the following dimensions for searching:

  • AZ - The Availability Zone. An example is us-east-1a.

  • InstanceType - The type of EC2 instance. An example is m4.xlarge.

  • LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account

  • Operation - The action performed. Examples include RunInstance and CreateBucket.

  • PurchaseType - The reservation type of the purchase to which this usage is related. Examples include: On Demand Instances and Standard Reserved Instances

  • Service - The AWS service such as DynamoDB.

  • UsageType -The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues action includes a unit attribute, examples of which include GB and Hrs.

  • UsageTypeGroup - The grouping of common usage types. An example is EC2: CloudWatch – Alarms. The response for this action includes a unit attribute.

  • RecordType - The different types of charges such as RI fees, usage costs, tax refunds, and credits

If you set the context to ReservedInstance, you can use the following dimensions for searching:

  • AZ - The Availability Zone. An example is us-east-1a.

  • InstanceType - The type of EC2 instance. An example is m4.xlarge.

  • LinkedAccount - The description in the attribute map that includes the full name of the member account. The value field contains the AWS ID of the member account

  • Platform - The operating system. Examples are Windows or Linux.

  • Region - The AWS region.

  • Scope - The scope of a reserved instance (RI). Values are regional or a single availability zone.

  • Tenancy - The tenancy of a resource. Examples are shared or dedicated.



560
561
562
563
564
565
566
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 560

class GetDimensionValuesResponse < Struct.new(
  :dimension_values,
  :return_size,
  :total_size,
  :next_page_token)
  include Aws::Structure
end

#next_page_tokenString

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

Returns:

  • (String)


560
561
562
563
564
565
566
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 560

class GetDimensionValuesResponse < Struct.new(
  :dimension_values,
  :return_size,
  :total_size,
  :next_page_token)
  include Aws::Structure
end

#return_sizeInteger

The number of results that AWS returned at one time.

Returns:

  • (Integer)


560
561
562
563
564
565
566
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 560

class GetDimensionValuesResponse < Struct.new(
  :dimension_values,
  :return_size,
  :total_size,
  :next_page_token)
  include Aws::Structure
end

#total_sizeInteger

The total number of search results.

Returns:

  • (Integer)


560
561
562
563
564
565
566
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 560

class GetDimensionValuesResponse < Struct.new(
  :dimension_values,
  :return_size,
  :total_size,
  :next_page_token)
  include Aws::Structure
end