purchase_reserved_node_offering
¶
purchase_reserved_node_offering(
*,
config_overrides: Optional[RedshiftClientConfig] = None,
reserved_node_offering_id: Optional[String] = None,
node_count: Optional[IntegerOptional] = None,
) -> PurchaseReservedNodeOfferingResult
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.
Parameters:
-
reserved_node_offering_id(Optional[String], default:None) –The unique identifier of the reserved node offering you want to purchase.
-
node_count(Optional[IntegerOptional], default:None) –The number of reserved nodes that you want to purchase.
Default:
1
Raises:
-
ReservedNodeAlreadyExistsFault–User already has a reservation with the given identifier.
-
ReservedNodeOfferingNotFoundFault–Specified offering does not exist.
-
ReservedNodeQuotaExceededFault–Request would exceed the user's compute node quota. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
-
UnsupportedOperationFault–The requested operation isn't supported.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift/_services/redshift.py
10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 | |