describe_reserved_nodes
async
¶
describe_reserved_nodes(
*,
config_overrides: Optional[AsyncMemoryDBClientConfig] = 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/async_memory_db.py
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 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 | |