describe_reserved_nodes
¶
describe_reserved_nodes(
*,
config_overrides: Optional[MemoryDBClientConfig] = None,
reservation_id: Optional[String] = None,
reserved_nodes_offering_id: Optional[String] = None,
node_type: Optional[String] = None,
duration: Optional[String] = None,
offering_type: Optional[String] = None,
max_results: Optional[IntegerOptional] = None,
next_token: Optional[String] = None,
) -> DescribeReservedNodesResponse
Returns information about reserved nodes for this account, or about a specified reserved node.
Parameters:
-
reservation_id(Optional[String], default:None) –The reserved node identifier filter value. Use this parameter to show only the reservation that matches the specified reservation ID.
-
reserved_nodes_offering_id(Optional[String], default:None) –The offering identifier filter value. Use this parameter to show only purchased reservations matching the specified offering identifier.
-
node_type(Optional[String], default:None) –The node type filter value. Use this parameter to show only those reservations matching the specified node type. For more information, see Supported node types.
-
duration(Optional[String], default:None) –The duration filter value, specified in years or seconds. Use this parameter to show only reservations for this duration.
-
offering_type(Optional[String], default:None) –The offering type filter value. Use this parameter to show only the available offerings matching the specified offering type. Valid values: "All Upfront"|"Partial Upfront"| "No Upfront"
-
max_results(Optional[IntegerOptional], default:None) –The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.
-
next_token(Optional[String], default:None) –An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
Raises:
-
InvalidParameterCombinationException–The specified parameter combination is not valid.
-
InvalidParameterValueException–The specified parameter value is not valid.
-
ReservedNodeNotFoundFault–The requested node does not exist.
-
ServiceLinkedRoleNotFoundFault–The required service-linked role was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_memorydb/_services/memory_db.py
2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 | |