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
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 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 | |