Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
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:1
prcnoReservedCacheNodeId
- 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.
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.
Response Lenses
prcnorsReservedCacheNode :: Lens' PurchaseReservedCacheNodesOfferingResponse (Maybe ReservedCacheNode) Source #
Undocumented member.
prcnorsResponseStatus :: Lens' PurchaseReservedCacheNodesOfferingResponse Int Source #
- - | The response status code.