purchase_reserved_cache_nodes_offering
¶
purchase_reserved_cache_nodes_offering(
*,
config_overrides: Optional[ElastiCacheClientConfig] = None,
reserved_cache_nodes_offering_id: Optional[String] = None,
reserved_cache_node_id: Optional[String] = None,
cache_node_count: Optional[IntegerOptional] = None,
tags: Optional[TagList] = None,
) -> PurchaseReservedCacheNodesOfferingResult
Allows 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.
Parameters:
-
reserved_cache_nodes_offering_id(Optional[String], default:None) –The ID of the reserved cache node offering to purchase.
Example:
438012d3-4052-4cc7-b2e3-8d3372e0e706 -
reserved_cache_node_id(Optional[String], default:None) –A customer-specified identifier to track this reservation.
The Reserved Cache Node ID is an unique customer-specified identifier to track this reservation. If this parameter is not specified, ElastiCache automatically generates an identifier for the reservation.
Example: myreservationID
-
cache_node_count(Optional[IntegerOptional], default:None) –The number of cache node instances to reserve.
Default:
1 -
tags(Optional[TagList], default:None) –A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
Raises:
-
InvalidParameterCombinationException–Two or more incompatible parameters were specified.
-
InvalidParameterValueException–The value for a parameter is invalid.
-
ReservedCacheNodeAlreadyExistsFault–You already have a reservation with the given identifier.
-
ReservedCacheNodeQuotaExceededFault–The request cannot be processed because it would exceed the user's cache node quota.
-
ReservedCacheNodesOfferingNotFoundFault–The requested cache node offering does not exist.
-
TagQuotaPerResourceExceeded–The request cannot be processed because it would cause the resource to have more than the allowed number of tags. The maximum number of tags permitted on a resource is 50.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
PurchaseReservedCacheNodesOfferings Allows you to purchase a reserved cache node offering.
>>> client.purchase_reserved_cache_nodes_offering(reserved_cache_nodes_offering_id='1ef01f5b-94ff-433f-a530-61a56bfc8e7a')
Source code in docs_src/capo_elasticache/_services/elasti_cache.py
6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 | |