purchase_reserved_nodes_offering
¶
purchase_reserved_nodes_offering(
reserved_nodes_offering_id: String,
*,
config_overrides: Optional[MemoryDBClientConfig] = None,
reservation_id: Optional[String] = None,
node_count: Optional[IntegerOptional] = None,
tags: Optional[TagList] = None,
) -> PurchaseReservedNodesOfferingResponse
Allows you to purchase a reserved node offering. Reserved nodes are not eligible for cancellation and are non-refundable.
Parameters:
-
reserved_nodes_offering_id(String) –The ID of the reserved node offering to purchase.
-
reservation_id(Optional[String], default:None) –A customer-specified identifier to track this reservation.
-
node_count(Optional[IntegerOptional], default:None) –The number of node instances to reserve.
-
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–The specified parameter combination is not valid.
-
InvalidParameterValueException–The specified parameter value is not valid.
-
ReservedNodeAlreadyExistsFault–You already have a reservation with the given identifier.
-
ReservedNodeQuotaExceededFault–The request cannot be processed because it would exceed the user's node quota.
-
ReservedNodesOfferingNotFoundFault–The requested node offering does not exist.
-
ServiceLinkedRoleNotFoundFault–The required service-linked role was not found.
-
TagQuotaPerResourceExceeded–The request cannot be processed because it would exceed the maximum number of tags allowed per resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_memorydb/_services/memory_db.py
3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 | |