Class: Aws::BCMPricingCalculator::Types::BillScenarioCommitmentModificationAction

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

Overview

Note:

BillScenarioCommitmentModificationAction is a union - when making an API calls you must set exactly one of the members.

Note:

BillScenarioCommitmentModificationAction is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of BillScenarioCommitmentModificationAction corresponding to the set member.

Represents an action to modify commitments in a bill scenario.

Defined Under Namespace

Classes: AddReservedInstanceAction, AddSavingsPlanAction, NegateReservedInstanceAction, NegateSavingsPlanAction, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#add_reserved_instance_actionTypes::AddReservedInstanceAction

Action to add a Reserved Instance to the scenario.



1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 1390

class BillScenarioCommitmentModificationAction < Struct.new(
  :add_reserved_instance_action,
  :add_savings_plan_action,
  :negate_reserved_instance_action,
  :negate_savings_plan_action,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddReservedInstanceAction < BillScenarioCommitmentModificationAction; end
  class AddSavingsPlanAction < BillScenarioCommitmentModificationAction; end
  class NegateReservedInstanceAction < BillScenarioCommitmentModificationAction; end
  class NegateSavingsPlanAction < BillScenarioCommitmentModificationAction; end
  class Unknown < BillScenarioCommitmentModificationAction; end
end

#add_savings_plan_actionTypes::AddSavingsPlanAction

Action to add a Savings Plan to the scenario.



1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 1390

class BillScenarioCommitmentModificationAction < Struct.new(
  :add_reserved_instance_action,
  :add_savings_plan_action,
  :negate_reserved_instance_action,
  :negate_savings_plan_action,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddReservedInstanceAction < BillScenarioCommitmentModificationAction; end
  class AddSavingsPlanAction < BillScenarioCommitmentModificationAction; end
  class NegateReservedInstanceAction < BillScenarioCommitmentModificationAction; end
  class NegateSavingsPlanAction < BillScenarioCommitmentModificationAction; end
  class Unknown < BillScenarioCommitmentModificationAction; end
end

#negate_reserved_instance_actionTypes::NegateReservedInstanceAction

Action to remove a Reserved Instance from the scenario.



1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 1390

class BillScenarioCommitmentModificationAction < Struct.new(
  :add_reserved_instance_action,
  :add_savings_plan_action,
  :negate_reserved_instance_action,
  :negate_savings_plan_action,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddReservedInstanceAction < BillScenarioCommitmentModificationAction; end
  class AddSavingsPlanAction < BillScenarioCommitmentModificationAction; end
  class NegateReservedInstanceAction < BillScenarioCommitmentModificationAction; end
  class NegateSavingsPlanAction < BillScenarioCommitmentModificationAction; end
  class Unknown < BillScenarioCommitmentModificationAction; end
end

#negate_savings_plan_actionTypes::NegateSavingsPlanAction

Action to remove a Savings Plan from the scenario.



1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 1390

class BillScenarioCommitmentModificationAction < Struct.new(
  :add_reserved_instance_action,
  :add_savings_plan_action,
  :negate_reserved_instance_action,
  :negate_savings_plan_action,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AddReservedInstanceAction < BillScenarioCommitmentModificationAction; end
  class AddSavingsPlanAction < BillScenarioCommitmentModificationAction; end
  class NegateReservedInstanceAction < BillScenarioCommitmentModificationAction; end
  class NegateSavingsPlanAction < BillScenarioCommitmentModificationAction; end
  class Unknown < BillScenarioCommitmentModificationAction; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1390
1391
1392
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 1390

def unknown
  @unknown
end