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 |
Allows you to purchase reserved nodes. Amazon Redshift offers a predefined set of reserved node offerings. You can purchase one or more of the offerings. You can call the DescribeReservedNodeOfferings API to obtain the available reserved node offerings. You can call this API by providing a specific reserved node offering and the number of nodes you want to reserve.
For more information about reserved node offerings, go to Purchasing Reserved Nodes in the Amazon Redshift Cluster Management Guide.
See: AWS API Reference for PurchaseReservedNodeOffering.
- purchaseReservedNodeOffering :: Text -> PurchaseReservedNodeOffering
- data PurchaseReservedNodeOffering
- prnoNodeCount :: Lens' PurchaseReservedNodeOffering (Maybe Int)
- prnoReservedNodeOfferingId :: Lens' PurchaseReservedNodeOffering Text
- purchaseReservedNodeOfferingResponse :: Int -> PurchaseReservedNodeOfferingResponse
- data PurchaseReservedNodeOfferingResponse
- prnorsReservedNode :: Lens' PurchaseReservedNodeOfferingResponse (Maybe ReservedNode)
- prnorsStatus :: Lens' PurchaseReservedNodeOfferingResponse Int
Creating a Request
purchaseReservedNodeOffering Source
Creates a value of PurchaseReservedNodeOffering
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PurchaseReservedNodeOffering Source
See: purchaseReservedNodeOffering
smart constructor.
Request Lenses
prnoNodeCount :: Lens' PurchaseReservedNodeOffering (Maybe Int) Source
The number of reserved nodes you want to purchase.
Default: '1'
prnoReservedNodeOfferingId :: Lens' PurchaseReservedNodeOffering Text Source
The unique identifier of the reserved node offering you want to purchase.
Destructuring the Response
purchaseReservedNodeOfferingResponse Source
Creates a value of PurchaseReservedNodeOfferingResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PurchaseReservedNodeOfferingResponse Source
See: purchaseReservedNodeOfferingResponse
smart constructor.
Response Lenses
prnorsReservedNode :: Lens' PurchaseReservedNodeOfferingResponse (Maybe ReservedNode) Source
Undocumented member.
prnorsStatus :: Lens' PurchaseReservedNodeOfferingResponse Int Source
The response status code.