Smaws_Client_ElastiCache.PurchaseReservedCacheNodesOfferingAllows you to purchase a reserved cache node offering. Reserved nodes are not eligible for cancellation and are non-refundable. For more information, see Managing Costs with Reserved Nodes.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of Types.invalid_parameter_value_exception
| `ReservedCacheNodeAlreadyExistsFault of
Types.reserved_cache_node_already_exists_fault
| `ReservedCacheNodeQuotaExceededFault of
Types.reserved_cache_node_quota_exceeded_fault
| `ReservedCacheNodesOfferingNotFoundFault of
Types.reserved_cache_nodes_offering_not_found_fault
| `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.purchase_reserved_cache_nodes_offering_message ->
(Types.purchase_reserved_cache_nodes_offering_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `ReservedCacheNodeAlreadyExistsFault of
Types.reserved_cache_node_already_exists_fault
| `ReservedCacheNodeQuotaExceededFault of
Types.reserved_cache_node_quota_exceeded_fault
| `ReservedCacheNodesOfferingNotFoundFault of
Types.reserved_cache_nodes_offering_not_found_fault
| `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.purchase_reserved_cache_nodes_offering_message ->
(Types.purchase_reserved_cache_nodes_offering_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `ReservedCacheNodeAlreadyExistsFault of
Types.reserved_cache_node_already_exists_fault
| `ReservedCacheNodeQuotaExceededFault of
Types.reserved_cache_node_quota_exceeded_fault
| `ReservedCacheNodesOfferingNotFoundFault of
Types.reserved_cache_nodes_offering_not_found_fault
| `TagQuotaPerResourceExceeded of Types.tag_quota_per_resource_exceeded ]
* Smaws_Lib.Response.metadata)
Stdlib.result