Class: Aws::BCMPricingCalculator::Types::BatchCreateBillScenarioUsageModificationEntry

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

Overview

Represents an entry in a batch operation to create bill scenario usage modifications.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amountsArray<Types::UsageAmount>

The amount of usage you want to create for the service use you are modeling.

Returns:


275
276
277
278
279
280
281
282
283
284
285
286
287
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 275

class BatchCreateBillScenarioUsageModificationEntry < Struct.new(
  :service_code,
  :usage_type,
  :operation,
  :availability_zone,
  :key,
  :group,
  :usage_account_id,
  :amounts,
  :historical_usage)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zoneString

The Availability Zone that this usage line uses.

Returns:

  • (String)

275
276
277
278
279
280
281
282
283
284
285
286
287
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 275

class BatchCreateBillScenarioUsageModificationEntry < Struct.new(
  :service_code,
  :usage_type,
  :operation,
  :availability_zone,
  :key,
  :group,
  :usage_account_id,
  :amounts,
  :historical_usage)
  SENSITIVE = []
  include Aws::Structure
end

#groupString

An optional group identifier for the usage modification.

Returns:

  • (String)

275
276
277
278
279
280
281
282
283
284
285
286
287
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 275

class BatchCreateBillScenarioUsageModificationEntry < Struct.new(
  :service_code,
  :usage_type,
  :operation,
  :availability_zone,
  :key,
  :group,
  :usage_account_id,
  :amounts,
  :historical_usage)
  SENSITIVE = []
  include Aws::Structure
end

#historical_usageTypes::HistoricalUsageEntity

Historical usage data associated with this modification, if available.


275
276
277
278
279
280
281
282
283
284
285
286
287
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 275

class BatchCreateBillScenarioUsageModificationEntry < Struct.new(
  :service_code,
  :usage_type,
  :operation,
  :availability_zone,
  :key,
  :group,
  :usage_account_id,
  :amounts,
  :historical_usage)
  SENSITIVE = []
  include Aws::Structure
end

#keyString

A unique identifier for this entry in the batch operation. This can be any valid string. This key is useful to identify errors associated with any usage entry as any error is returned with this key.

Returns:

  • (String)

275
276
277
278
279
280
281
282
283
284
285
286
287
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 275

class BatchCreateBillScenarioUsageModificationEntry < Struct.new(
  :service_code,
  :usage_type,
  :operation,
  :availability_zone,
  :key,
  :group,
  :usage_account_id,
  :amounts,
  :historical_usage)
  SENSITIVE = []
  include Aws::Structure
end

#operationString

The specific operation associated with this usage modification. Describes the specific Amazon Web Services operation that this usage line models. For example, RunInstances indicates the operation of an Amazon EC2 instance.

Returns:

  • (String)

275
276
277
278
279
280
281
282
283
284
285
286
287
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 275

class BatchCreateBillScenarioUsageModificationEntry < Struct.new(
  :service_code,
  :usage_type,
  :operation,
  :availability_zone,
  :key,
  :group,
  :usage_account_id,
  :amounts,
  :historical_usage)
  SENSITIVE = []
  include Aws::Structure
end

#service_codeString

The Amazon Web Services service code for this usage modification. This identifies the specific Amazon Web Services service to the customer as a unique short abbreviation. For example, AmazonEC2 and AWSKMS.

Returns:

  • (String)

275
276
277
278
279
280
281
282
283
284
285
286
287
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 275

class BatchCreateBillScenarioUsageModificationEntry < Struct.new(
  :service_code,
  :usage_type,
  :operation,
  :availability_zone,
  :key,
  :group,
  :usage_account_id,
  :amounts,
  :historical_usage)
  SENSITIVE = []
  include Aws::Structure
end

#usage_account_idString

The Amazon Web Services account ID to which this usage will be applied to.

Returns:

  • (String)

275
276
277
278
279
280
281
282
283
284
285
286
287
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 275

class BatchCreateBillScenarioUsageModificationEntry < Struct.new(
  :service_code,
  :usage_type,
  :operation,
  :availability_zone,
  :key,
  :group,
  :usage_account_id,
  :amounts,
  :historical_usage)
  SENSITIVE = []
  include Aws::Structure
end

#usage_typeString

Describes the usage details of the usage line item.

Returns:

  • (String)

275
276
277
278
279
280
281
282
283
284
285
286
287
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 275

class BatchCreateBillScenarioUsageModificationEntry < Struct.new(
  :service_code,
  :usage_type,
  :operation,
  :availability_zone,
  :key,
  :group,
  :usage_account_id,
  :amounts,
  :historical_usage)
  SENSITIVE = []
  include Aws::Structure
end