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

Description

Purchases a reserved DB instance offering.

Synopsis

Creating a Request

data PurchaseReservedDBInstancesOffering Source #

Constructors

PurchaseReservedDBInstancesOffering' 

Fields

Instances

Instances details
Eq PurchaseReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

Read PurchaseReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

Show PurchaseReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

Generic PurchaseReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

NFData PurchaseReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

Hashable PurchaseReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

AWSRequest PurchaseReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

ToHeaders PurchaseReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

ToPath PurchaseReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

ToQuery PurchaseReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

type Rep PurchaseReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

type Rep PurchaseReservedDBInstancesOffering = D1 ('MetaData "PurchaseReservedDBInstancesOffering" "Amazonka.RDS.PurchaseReservedDBInstancesOffering" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "PurchaseReservedDBInstancesOffering'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dbInstanceCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "reservedDBInstanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "reservedDBInstancesOfferingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse PurchaseReservedDBInstancesOffering Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

newPurchaseReservedDBInstancesOffering Source #

Create a value of PurchaseReservedDBInstancesOffering 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:PurchaseReservedDBInstancesOffering', purchaseReservedDBInstancesOffering_dbInstanceCount - The number of instances to reserve.

Default: 1

$sel:reservedDBInstanceId:PurchaseReservedDBInstancesOffering', purchaseReservedDBInstancesOffering_reservedDBInstanceId - Customer-specified identifier to track this reservation.

Example: myreservationID

$sel:tags:PurchaseReservedDBInstancesOffering', purchaseReservedDBInstancesOffering_tags - Undocumented member.

$sel:reservedDBInstancesOfferingId:PurchaseReservedDBInstancesOffering', purchaseReservedDBInstancesOffering_reservedDBInstancesOfferingId - The ID of the Reserved DB instance offering to purchase.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

Request Lenses

purchaseReservedDBInstancesOffering_reservedDBInstanceId :: Lens' PurchaseReservedDBInstancesOffering (Maybe Text) Source #

Customer-specified identifier to track this reservation.

Example: myreservationID

purchaseReservedDBInstancesOffering_reservedDBInstancesOfferingId :: Lens' PurchaseReservedDBInstancesOffering Text Source #

The ID of the Reserved DB instance offering to purchase.

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

Destructuring the Response

data PurchaseReservedDBInstancesOfferingResponse Source #

Instances

Instances details
Eq PurchaseReservedDBInstancesOfferingResponse Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

Read PurchaseReservedDBInstancesOfferingResponse Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

Show PurchaseReservedDBInstancesOfferingResponse Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

Generic PurchaseReservedDBInstancesOfferingResponse Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

NFData PurchaseReservedDBInstancesOfferingResponse Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

type Rep PurchaseReservedDBInstancesOfferingResponse Source # 
Instance details

Defined in Amazonka.RDS.PurchaseReservedDBInstancesOffering

type Rep PurchaseReservedDBInstancesOfferingResponse = D1 ('MetaData "PurchaseReservedDBInstancesOfferingResponse" "Amazonka.RDS.PurchaseReservedDBInstancesOffering" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "PurchaseReservedDBInstancesOfferingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reservedDBInstance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReservedDBInstance)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses