Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
The PurchaseReservedCacheNodesOffering action allows you to purchase a reserved cache node offering.
See: AWS API Reference for PurchaseReservedCacheNodesOffering.
- 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)
- prcnorsStatus :: 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:
data PurchaseReservedCacheNodesOffering Source
Represents the input of a PurchaseReservedCacheNodesOffering action.
See: purchaseReservedCacheNodesOffering
smart constructor.
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:
data PurchaseReservedCacheNodesOfferingResponse Source
See: purchaseReservedCacheNodesOfferingResponse
smart constructor.
Response Lenses
prcnorsReservedCacheNode :: Lens' PurchaseReservedCacheNodesOfferingResponse (Maybe ReservedCacheNode) Source
Undocumented member.
prcnorsStatus :: Lens' PurchaseReservedCacheNodesOfferingResponse Int Source
The response status code.