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
10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 | |