Smaws_Client_Redshift.PurchaseReservedNodeOfferingAllows 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ReservedNodeAlreadyExistsFault of Types.reserved_node_already_exists_fault
| `ReservedNodeOfferingNotFoundFault of
Types.reserved_node_offering_not_found_fault
| `ReservedNodeQuotaExceededFault of Types.reserved_node_quota_exceeded_fault
| `UnsupportedOperationFault of Types.unsupported_operation_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.purchase_reserved_node_offering_message ->
(Types.purchase_reserved_node_offering_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ReservedNodeAlreadyExistsFault of
Types.reserved_node_already_exists_fault
| `ReservedNodeOfferingNotFoundFault of
Types.reserved_node_offering_not_found_fault
| `ReservedNodeQuotaExceededFault of
Types.reserved_node_quota_exceeded_fault
| `UnsupportedOperationFault of Types.unsupported_operation_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.purchase_reserved_node_offering_message ->
(Types.purchase_reserved_node_offering_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ReservedNodeAlreadyExistsFault of
Types.reserved_node_already_exists_fault
| `ReservedNodeOfferingNotFoundFault of
Types.reserved_node_offering_not_found_fault
| `ReservedNodeQuotaExceededFault of
Types.reserved_node_quota_exceeded_fault
| `UnsupportedOperationFault of Types.unsupported_operation_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result