Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ReservedInstancesConfiguration = ReservedInstancesConfiguration' {}
- newReservedInstancesConfiguration :: ReservedInstancesConfiguration
- reservedInstancesConfiguration_availabilityZone :: Lens' ReservedInstancesConfiguration (Maybe Text)
- reservedInstancesConfiguration_instanceCount :: Lens' ReservedInstancesConfiguration (Maybe Int)
- reservedInstancesConfiguration_instanceType :: Lens' ReservedInstancesConfiguration (Maybe InstanceType)
- reservedInstancesConfiguration_platform :: Lens' ReservedInstancesConfiguration (Maybe Text)
- reservedInstancesConfiguration_scope :: Lens' ReservedInstancesConfiguration (Maybe Scope)
Documentation
data ReservedInstancesConfiguration Source #
Describes the configuration settings for the modified Reserved Instances.
See: newReservedInstancesConfiguration
smart constructor.
ReservedInstancesConfiguration' | |
|
Instances
newReservedInstancesConfiguration :: ReservedInstancesConfiguration Source #
Create a value of ReservedInstancesConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:availabilityZone:ReservedInstancesConfiguration'
, reservedInstancesConfiguration_availabilityZone
- The Availability Zone for the modified Reserved Instances.
$sel:instanceCount:ReservedInstancesConfiguration'
, reservedInstancesConfiguration_instanceCount
- The number of modified Reserved Instances.
This is a required field for a request.
$sel:instanceType:ReservedInstancesConfiguration'
, reservedInstancesConfiguration_instanceType
- The instance type for the modified Reserved Instances.
$sel:platform:ReservedInstancesConfiguration'
, reservedInstancesConfiguration_platform
- The network platform of the modified Reserved Instances, which is either
EC2-Classic or EC2-VPC.
$sel:scope:ReservedInstancesConfiguration'
, reservedInstancesConfiguration_scope
- Whether the Reserved Instance is applied to instances in a Region or
instances in a specific Availability Zone.
reservedInstancesConfiguration_availabilityZone :: Lens' ReservedInstancesConfiguration (Maybe Text) Source #
The Availability Zone for the modified Reserved Instances.
reservedInstancesConfiguration_instanceCount :: Lens' ReservedInstancesConfiguration (Maybe Int) Source #
The number of modified Reserved Instances.
This is a required field for a request.
reservedInstancesConfiguration_instanceType :: Lens' ReservedInstancesConfiguration (Maybe InstanceType) Source #
The instance type for the modified Reserved Instances.
reservedInstancesConfiguration_platform :: Lens' ReservedInstancesConfiguration (Maybe Text) Source #
The network platform of the modified Reserved Instances, which is either EC2-Classic or EC2-VPC.
reservedInstancesConfiguration_scope :: Lens' ReservedInstancesConfiguration (Maybe Scope) Source #
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.