Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ReservedDBInstance = ReservedDBInstance' {
- dbInstanceCount :: Maybe Int
- state :: Maybe Text
- currencyCode :: Maybe Text
- startTime :: Maybe ISO8601
- productDescription :: Maybe Text
- leaseId :: Maybe Text
- reservedDBInstanceId :: Maybe Text
- reservedDBInstanceArn :: Maybe Text
- dbInstanceClass :: Maybe Text
- multiAZ :: Maybe Bool
- reservedDBInstancesOfferingId :: Maybe Text
- recurringCharges :: Maybe [RecurringCharge]
- offeringType :: Maybe Text
- usagePrice :: Maybe Double
- fixedPrice :: Maybe Double
- duration :: Maybe Int
- newReservedDBInstance :: ReservedDBInstance
- reservedDBInstance_dbInstanceCount :: Lens' ReservedDBInstance (Maybe Int)
- reservedDBInstance_state :: Lens' ReservedDBInstance (Maybe Text)
- reservedDBInstance_currencyCode :: Lens' ReservedDBInstance (Maybe Text)
- reservedDBInstance_startTime :: Lens' ReservedDBInstance (Maybe UTCTime)
- reservedDBInstance_productDescription :: Lens' ReservedDBInstance (Maybe Text)
- reservedDBInstance_leaseId :: Lens' ReservedDBInstance (Maybe Text)
- reservedDBInstance_reservedDBInstanceId :: Lens' ReservedDBInstance (Maybe Text)
- reservedDBInstance_reservedDBInstanceArn :: Lens' ReservedDBInstance (Maybe Text)
- reservedDBInstance_dbInstanceClass :: Lens' ReservedDBInstance (Maybe Text)
- reservedDBInstance_multiAZ :: Lens' ReservedDBInstance (Maybe Bool)
- reservedDBInstance_reservedDBInstancesOfferingId :: Lens' ReservedDBInstance (Maybe Text)
- reservedDBInstance_recurringCharges :: Lens' ReservedDBInstance (Maybe [RecurringCharge])
- reservedDBInstance_offeringType :: Lens' ReservedDBInstance (Maybe Text)
- reservedDBInstance_usagePrice :: Lens' ReservedDBInstance (Maybe Double)
- reservedDBInstance_fixedPrice :: Lens' ReservedDBInstance (Maybe Double)
- reservedDBInstance_duration :: Lens' ReservedDBInstance (Maybe Int)
Documentation
data ReservedDBInstance Source #
This data type is used as a response element in the
DescribeReservedDBInstances
and PurchaseReservedDBInstancesOffering
actions.
See: newReservedDBInstance
smart constructor.
ReservedDBInstance' | |
|
Instances
newReservedDBInstance :: ReservedDBInstance Source #
Create a value of ReservedDBInstance
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:dbInstanceCount:ReservedDBInstance'
, reservedDBInstance_dbInstanceCount
- The number of reserved DB instances.
$sel:state:ReservedDBInstance'
, reservedDBInstance_state
- The state of the reserved DB instance.
$sel:currencyCode:ReservedDBInstance'
, reservedDBInstance_currencyCode
- The currency code for the reserved DB instance.
$sel:startTime:ReservedDBInstance'
, reservedDBInstance_startTime
- The time the reservation started.
$sel:productDescription:ReservedDBInstance'
, reservedDBInstance_productDescription
- The description of the reserved DB instance.
$sel:leaseId:ReservedDBInstance'
, reservedDBInstance_leaseId
- The unique identifier for the lease associated with the reserved DB
instance.
Amazon Web Services Support might request the lease ID for an issue related to a reserved DB instance.
$sel:reservedDBInstanceId:ReservedDBInstance'
, reservedDBInstance_reservedDBInstanceId
- The unique identifier for the reservation.
$sel:reservedDBInstanceArn:ReservedDBInstance'
, reservedDBInstance_reservedDBInstanceArn
- The Amazon Resource Name (ARN) for the reserved DB instance.
$sel:dbInstanceClass:ReservedDBInstance'
, reservedDBInstance_dbInstanceClass
- The DB instance class for the reserved DB instance.
$sel:multiAZ:ReservedDBInstance'
, reservedDBInstance_multiAZ
- Indicates if the reservation applies to Multi-AZ deployments.
$sel:reservedDBInstancesOfferingId:ReservedDBInstance'
, reservedDBInstance_reservedDBInstancesOfferingId
- The offering identifier.
$sel:recurringCharges:ReservedDBInstance'
, reservedDBInstance_recurringCharges
- The recurring price charged to run this reserved DB instance.
$sel:offeringType:ReservedDBInstance'
, reservedDBInstance_offeringType
- The offering type of this reserved DB instance.
$sel:usagePrice:ReservedDBInstance'
, reservedDBInstance_usagePrice
- The hourly price charged for this reserved DB instance.
$sel:fixedPrice:ReservedDBInstance'
, reservedDBInstance_fixedPrice
- The fixed price charged for this reserved DB instance.
$sel:duration:ReservedDBInstance'
, reservedDBInstance_duration
- The duration of the reservation in seconds.
reservedDBInstance_dbInstanceCount :: Lens' ReservedDBInstance (Maybe Int) Source #
The number of reserved DB instances.
reservedDBInstance_state :: Lens' ReservedDBInstance (Maybe Text) Source #
The state of the reserved DB instance.
reservedDBInstance_currencyCode :: Lens' ReservedDBInstance (Maybe Text) Source #
The currency code for the reserved DB instance.
reservedDBInstance_startTime :: Lens' ReservedDBInstance (Maybe UTCTime) Source #
The time the reservation started.
reservedDBInstance_productDescription :: Lens' ReservedDBInstance (Maybe Text) Source #
The description of the reserved DB instance.
reservedDBInstance_leaseId :: Lens' ReservedDBInstance (Maybe Text) Source #
The unique identifier for the lease associated with the reserved DB instance.
Amazon Web Services Support might request the lease ID for an issue related to a reserved DB instance.
reservedDBInstance_reservedDBInstanceId :: Lens' ReservedDBInstance (Maybe Text) Source #
The unique identifier for the reservation.
reservedDBInstance_reservedDBInstanceArn :: Lens' ReservedDBInstance (Maybe Text) Source #
The Amazon Resource Name (ARN) for the reserved DB instance.
reservedDBInstance_dbInstanceClass :: Lens' ReservedDBInstance (Maybe Text) Source #
The DB instance class for the reserved DB instance.
reservedDBInstance_multiAZ :: Lens' ReservedDBInstance (Maybe Bool) Source #
Indicates if the reservation applies to Multi-AZ deployments.
reservedDBInstance_reservedDBInstancesOfferingId :: Lens' ReservedDBInstance (Maybe Text) Source #
The offering identifier.
reservedDBInstance_recurringCharges :: Lens' ReservedDBInstance (Maybe [RecurringCharge]) Source #
The recurring price charged to run this reserved DB instance.
reservedDBInstance_offeringType :: Lens' ReservedDBInstance (Maybe Text) Source #
The offering type of this reserved DB instance.
reservedDBInstance_usagePrice :: Lens' ReservedDBInstance (Maybe Double) Source #
The hourly price charged for this reserved DB instance.
reservedDBInstance_fixedPrice :: Lens' ReservedDBInstance (Maybe Double) Source #
The fixed price charged for this reserved DB instance.
reservedDBInstance_duration :: Lens' ReservedDBInstance (Maybe Int) Source #
The duration of the reservation in seconds.