| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <[email protected]> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.ElastiCache.PurchaseReservedCacheNodesOffering
Description
Allows you to purchase a reserved cache node offering.
- purchaseReservedCacheNodesOffering :: Text -> PurchaseReservedCacheNodesOffering
- data PurchaseReservedCacheNodesOffering
- prcnoCacheNodeCount :: Lens' PurchaseReservedCacheNodesOffering (Maybe Int)
- prcnoReservedCacheNodeId :: Lens' PurchaseReservedCacheNodesOffering (Maybe Text)
- prcnoReservedCacheNodesOfferingId :: Lens' PurchaseReservedCacheNodesOffering Text
- purchaseReservedCacheNodesOfferingResponse :: Int -> PurchaseReservedCacheNodesOfferingResponse
- data PurchaseReservedCacheNodesOfferingResponse
- prcnorsReservedCacheNode :: Lens' PurchaseReservedCacheNodesOfferingResponse (Maybe ReservedCacheNode)
- prcnorsResponseStatus :: Lens' PurchaseReservedCacheNodesOfferingResponse Int
Creating a Request
purchaseReservedCacheNodesOffering Source #
Creates a value of PurchaseReservedCacheNodesOffering with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
prcnoCacheNodeCount- The number of cache node instances to reserve. Default:1prcnoReservedCacheNodeId- A customer-specified identifier to track this reservation. Example: myreservationIDprcnoReservedCacheNodesOfferingId- The ID of the reserved cache node offering to purchase. Example:438012d3-4052-4cc7-b2e3-8d3372e0e706
data PurchaseReservedCacheNodesOffering Source #
Represents the input of a PurchaseReservedCacheNodesOffering operation.
See: purchaseReservedCacheNodesOffering smart constructor.
Instances
Request Lenses
prcnoCacheNodeCount :: Lens' PurchaseReservedCacheNodesOffering (Maybe Int) Source #
The number of cache node instances to reserve. Default: 1
prcnoReservedCacheNodeId :: Lens' PurchaseReservedCacheNodesOffering (Maybe Text) Source #
A customer-specified identifier to track this reservation. Example: myreservationID
prcnoReservedCacheNodesOfferingId :: Lens' PurchaseReservedCacheNodesOffering Text Source #
The ID of the reserved cache node offering to purchase. Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
Destructuring the Response
purchaseReservedCacheNodesOfferingResponse Source #
Creates a value of PurchaseReservedCacheNodesOfferingResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
prcnorsReservedCacheNode- Undocumented member.prcnorsResponseStatus- -- | The response status code.
data PurchaseReservedCacheNodesOfferingResponse Source #
See: purchaseReservedCacheNodesOfferingResponse smart constructor.
Instances
Response Lenses
prcnorsReservedCacheNode :: Lens' PurchaseReservedCacheNodesOfferingResponse (Maybe ReservedCacheNode) Source #
Undocumented member.
prcnorsResponseStatus :: Lens' PurchaseReservedCacheNodesOfferingResponse Int Source #
- - | The response status code.