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

Description

 
Synopsis

Documentation

data ReservedDBInstancesOffering Source #

This data type is used as a response element in the DescribeReservedDBInstancesOfferings action.

See: newReservedDBInstancesOffering smart constructor.

Constructors

ReservedDBInstancesOffering' 

Fields

Instances

Instances details
Eq ReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstancesOffering

Read ReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstancesOffering

Show ReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstancesOffering

Generic ReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstancesOffering

Associated Types

type Rep ReservedDBInstancesOffering :: Type -> Type #

NFData ReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstancesOffering

Hashable ReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstancesOffering

FromXML ReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstancesOffering

type Rep ReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.Types.ReservedDBInstancesOffering

type Rep ReservedDBInstancesOffering = D1 ('MetaData "ReservedDBInstancesOffering" "Amazonka.RDS.Types.ReservedDBInstancesOffering" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "ReservedDBInstancesOffering'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "currencyCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "productDescription") '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)))))))

newReservedDBInstancesOffering :: ReservedDBInstancesOffering Source #

Create a value of ReservedDBInstancesOffering 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:currencyCode:ReservedDBInstancesOffering', reservedDBInstancesOffering_currencyCode - The currency code for the reserved DB instance offering.

$sel:productDescription:ReservedDBInstancesOffering', reservedDBInstancesOffering_productDescription - The database engine used by the offering.

$sel:dbInstanceClass:ReservedDBInstancesOffering', reservedDBInstancesOffering_dbInstanceClass - The DB instance class for the reserved DB instance.

$sel:multiAZ:ReservedDBInstancesOffering', reservedDBInstancesOffering_multiAZ - Indicates if the offering applies to Multi-AZ deployments.

$sel:reservedDBInstancesOfferingId:ReservedDBInstancesOffering', reservedDBInstancesOffering_reservedDBInstancesOfferingId - The offering identifier.

$sel:recurringCharges:ReservedDBInstancesOffering', reservedDBInstancesOffering_recurringCharges - The recurring price charged to run this reserved DB instance.

$sel:offeringType:ReservedDBInstancesOffering', reservedDBInstancesOffering_offeringType - The offering type.

$sel:usagePrice:ReservedDBInstancesOffering', reservedDBInstancesOffering_usagePrice - The hourly price charged for this offering.

$sel:fixedPrice:ReservedDBInstancesOffering', reservedDBInstancesOffering_fixedPrice - The fixed price charged for this offering.

$sel:duration:ReservedDBInstancesOffering', reservedDBInstancesOffering_duration - The duration of the offering in seconds.

reservedDBInstancesOffering_currencyCode :: Lens' ReservedDBInstancesOffering (Maybe Text) Source #

The currency code for the reserved DB instance offering.

reservedDBInstancesOffering_dbInstanceClass :: Lens' ReservedDBInstancesOffering (Maybe Text) Source #

The DB instance class for the reserved DB instance.

reservedDBInstancesOffering_multiAZ :: Lens' ReservedDBInstancesOffering (Maybe Bool) Source #

Indicates if the offering applies to Multi-AZ deployments.

reservedDBInstancesOffering_recurringCharges :: Lens' ReservedDBInstancesOffering (Maybe [RecurringCharge]) Source #

The recurring price charged to run this reserved DB instance.