Class: Aws::CostOptimizationHub::Types::Usage

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

Overview

Details about the usage.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#operationString

The operation value.

Returns:

  • (String)


1971
1972
1973
1974
1975
1976
1977
1978
1979
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1971

class Usage < Struct.new(
  :operation,
  :product_code,
  :unit,
  :usage_amount,
  :usage_type)
  SENSITIVE = []
  include Aws::Structure
end

#product_codeString

The product code.

Returns:

  • (String)


1971
1972
1973
1974
1975
1976
1977
1978
1979
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1971

class Usage < Struct.new(
  :operation,
  :product_code,
  :unit,
  :usage_amount,
  :usage_type)
  SENSITIVE = []
  include Aws::Structure
end

#unitString

The usage unit.

Returns:

  • (String)


1971
1972
1973
1974
1975
1976
1977
1978
1979
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1971

class Usage < Struct.new(
  :operation,
  :product_code,
  :unit,
  :usage_amount,
  :usage_type)
  SENSITIVE = []
  include Aws::Structure
end

#usage_amountFloat

The usage amount.

Returns:

  • (Float)


1971
1972
1973
1974
1975
1976
1977
1978
1979
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1971

class Usage < Struct.new(
  :operation,
  :product_code,
  :unit,
  :usage_amount,
  :usage_type)
  SENSITIVE = []
  include Aws::Structure
end

#usage_typeString

The usage type.

Returns:

  • (String)


1971
1972
1973
1974
1975
1976
1977
1978
1979
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1971

class Usage < Struct.new(
  :operation,
  :product_code,
  :unit,
  :usage_amount,
  :usage_type)
  SENSITIVE = []
  include Aws::Structure
end