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
2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 | |