libZSservicesZSamazonka-rdsZSamazonka-rds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RDS.Types.ReservedDBInstance

Description

 
Synopsis

Documentation

data ReservedDBInstance Source #

This data type is used as a response element in the DescribeReservedDBInstances and PurchaseReservedDBInstancesOffering actions.

See: newReservedDBInstance smart constructor.

Constructors

ReservedDBInstance' 

Fields

Instances

Instances details
Eq ReservedDBInstance Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstance

Read ReservedDBInstance Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstance

Show ReservedDBInstance Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstance

Generic ReservedDBInstance Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstance

Associated Types

type Rep ReservedDBInstance :: Type -> Type #

NFData ReservedDBInstance Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstance

Methods

rnf :: ReservedDBInstance -> () #

Hashable ReservedDBInstance Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstance

FromXML ReservedDBInstance Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstance

type Rep ReservedDBInstance Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstance

type Rep ReservedDBInstance = D1 ('MetaData "ReservedDBInstance" "Amazonka.RDS.Types.ReservedDBInstance" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "ReservedDBInstance'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "dbInstanceCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "currencyCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: ((S1 ('MetaSel ('Just "productDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "leaseId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "reservedDBInstanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "reservedDBInstanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "dbInstanceClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "multiAZ") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "reservedDBInstancesOfferingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recurringCharges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RecurringCharge])))) :*: ((S1 ('MetaSel ('Just "offeringType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "usagePrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "fixedPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))))

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_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_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_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.