Class: Aws::BCMPricingCalculator::Types::BillScenarioCommitmentModificationAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::BCMPricingCalculator::Types::BillScenarioCommitmentModificationAction
- Defined in:
- gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb
Overview
BillScenarioCommitmentModificationAction is a union - when making an API calls you must set exactly one of the members.
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.
Direct Known Subclasses
AddReservedInstanceAction, AddSavingsPlanAction, NegateReservedInstanceAction, NegateSavingsPlanAction, Unknown
Defined Under Namespace
Classes: AddReservedInstanceAction, AddSavingsPlanAction, NegateReservedInstanceAction, NegateSavingsPlanAction, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#add_reserved_instance_action ⇒ Types::AddReservedInstanceAction
Action to add a Reserved Instance to the scenario.
-
#add_savings_plan_action ⇒ Types::AddSavingsPlanAction
Action to add a Savings Plan to the scenario.
-
#negate_reserved_instance_action ⇒ Types::NegateReservedInstanceAction
Action to remove a Reserved Instance from the scenario.
-
#negate_savings_plan_action ⇒ Types::NegateSavingsPlanAction
Action to remove a Savings Plan from the scenario.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#add_reserved_instance_action ⇒ Types::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_action ⇒ Types::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_action ⇒ Types::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_action ⇒ Types::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 |
#unknown ⇒ Object
Returns the value of attribute unknown
1390 1391 1392 |
# File 'gems/aws-sdk-bcmpricingcalculator/lib/aws-sdk-bcmpricingcalculator/types.rb', line 1390 def unknown @unknown end |