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 |
Allows you to purchase reserved Elasticsearch instances.
Synopsis
- data PurchaseReservedElasticsearchInstanceOffering = PurchaseReservedElasticsearchInstanceOffering' {}
- newPurchaseReservedElasticsearchInstanceOffering :: Text -> Text -> PurchaseReservedElasticsearchInstanceOffering
- purchaseReservedElasticsearchInstanceOffering_instanceCount :: Lens' PurchaseReservedElasticsearchInstanceOffering (Maybe Natural)
- purchaseReservedElasticsearchInstanceOffering_reservedElasticsearchInstanceOfferingId :: Lens' PurchaseReservedElasticsearchInstanceOffering Text
- purchaseReservedElasticsearchInstanceOffering_reservationName :: Lens' PurchaseReservedElasticsearchInstanceOffering Text
- data PurchaseReservedElasticsearchInstanceOfferingResponse = PurchaseReservedElasticsearchInstanceOfferingResponse' {}
- newPurchaseReservedElasticsearchInstanceOfferingResponse :: Int -> PurchaseReservedElasticsearchInstanceOfferingResponse
- purchaseReservedElasticsearchInstanceOfferingResponse_reservedElasticsearchInstanceId :: Lens' PurchaseReservedElasticsearchInstanceOfferingResponse (Maybe Text)
- purchaseReservedElasticsearchInstanceOfferingResponse_reservationName :: Lens' PurchaseReservedElasticsearchInstanceOfferingResponse (Maybe Text)
- purchaseReservedElasticsearchInstanceOfferingResponse_httpStatus :: Lens' PurchaseReservedElasticsearchInstanceOfferingResponse Int
Creating a Request
data PurchaseReservedElasticsearchInstanceOffering Source #
Container for parameters to
PurchaseReservedElasticsearchInstanceOffering
See: newPurchaseReservedElasticsearchInstanceOffering
smart constructor.
PurchaseReservedElasticsearchInstanceOffering' | |
|
Instances
newPurchaseReservedElasticsearchInstanceOffering Source #
Create a value of PurchaseReservedElasticsearchInstanceOffering
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:instanceCount:PurchaseReservedElasticsearchInstanceOffering'
, purchaseReservedElasticsearchInstanceOffering_instanceCount
- The number of Elasticsearch instances to reserve.
$sel:reservedElasticsearchInstanceOfferingId:PurchaseReservedElasticsearchInstanceOffering'
, purchaseReservedElasticsearchInstanceOffering_reservedElasticsearchInstanceOfferingId
- The ID of the reserved Elasticsearch instance offering to purchase.
$sel:reservationName:PurchaseReservedElasticsearchInstanceOffering'
, purchaseReservedElasticsearchInstanceOffering_reservationName
- A customer-specified identifier to track this reservation.
Request Lenses
purchaseReservedElasticsearchInstanceOffering_instanceCount :: Lens' PurchaseReservedElasticsearchInstanceOffering (Maybe Natural) Source #
The number of Elasticsearch instances to reserve.
purchaseReservedElasticsearchInstanceOffering_reservedElasticsearchInstanceOfferingId :: Lens' PurchaseReservedElasticsearchInstanceOffering Text Source #
The ID of the reserved Elasticsearch instance offering to purchase.
purchaseReservedElasticsearchInstanceOffering_reservationName :: Lens' PurchaseReservedElasticsearchInstanceOffering Text Source #
A customer-specified identifier to track this reservation.
Destructuring the Response
data PurchaseReservedElasticsearchInstanceOfferingResponse Source #
Represents the output of a
PurchaseReservedElasticsearchInstanceOffering
operation.
See: newPurchaseReservedElasticsearchInstanceOfferingResponse
smart constructor.
PurchaseReservedElasticsearchInstanceOfferingResponse' | |
|
Instances
newPurchaseReservedElasticsearchInstanceOfferingResponse Source #
:: Int |
|
-> PurchaseReservedElasticsearchInstanceOfferingResponse |
Create a value of PurchaseReservedElasticsearchInstanceOfferingResponse
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:reservedElasticsearchInstanceId:PurchaseReservedElasticsearchInstanceOfferingResponse'
, purchaseReservedElasticsearchInstanceOfferingResponse_reservedElasticsearchInstanceId
- Details of the reserved Elasticsearch instance which was purchased.
$sel:reservationName:PurchaseReservedElasticsearchInstanceOffering'
, purchaseReservedElasticsearchInstanceOfferingResponse_reservationName
- The customer-specified identifier used to track this reservation.
$sel:httpStatus:PurchaseReservedElasticsearchInstanceOfferingResponse'
, purchaseReservedElasticsearchInstanceOfferingResponse_httpStatus
- The response's http status code.
Response Lenses
purchaseReservedElasticsearchInstanceOfferingResponse_reservedElasticsearchInstanceId :: Lens' PurchaseReservedElasticsearchInstanceOfferingResponse (Maybe Text) Source #
Details of the reserved Elasticsearch instance which was purchased.
purchaseReservedElasticsearchInstanceOfferingResponse_reservationName :: Lens' PurchaseReservedElasticsearchInstanceOfferingResponse (Maybe Text) Source #
The customer-specified identifier used to track this reservation.
purchaseReservedElasticsearchInstanceOfferingResponse_httpStatus :: Lens' PurchaseReservedElasticsearchInstanceOfferingResponse Int Source #
The response's http status code.