describe_reserved_db_instances
async
¶
describe_reserved_db_instances(
*,
config_overrides: Optional[AsyncRDSClientConfig] = None,
reserved_db_instance_id: Optional[String] = None,
reserved_db_instances_offering_id: Optional[String] = None,
db_instance_class: Optional[String] = None,
duration: Optional[String] = None,
product_description: Optional[String] = None,
offering_type: Optional[String] = None,
multi_az: Optional[BooleanOptional] = None,
lease_id: Optional[String] = None,
filters: Optional[FilterList] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
) -> ReservedDBInstanceMessage
Returns information about reserved DB instances for this account, or about a specified reserved DB instance.
Parameters:
-
reserved_db_instance_id(Optional[String], default:None) –The reserved DB instance identifier filter value. Specify this parameter to show only the reservation that matches the specified reservation ID.
-
reserved_db_instances_offering_id(Optional[String], default:None) –The offering identifier filter value. Specify this parameter to show only purchased reservations matching the specified offering identifier.
-
db_instance_class(Optional[String], default:None) –The DB instance class filter value. Specify this parameter to show only those reservations matching the specified DB instances class.
-
duration(Optional[String], default:None) –The duration filter value, specified in years or seconds. Specify this parameter to show only reservations for this duration.
Valid Values:
1 | 3 | 31536000 | 94608000 -
product_description(Optional[String], default:None) –The product description filter value. Specify this parameter to show only those reservations matching the specified product description.
-
offering_type(Optional[String], default:None) –The offering type filter value. Specify this parameter to show only the available offerings matching the specified offering type.
Valid Values:
"Partial Upfront" | "All Upfront" | "No Upfront" -
multi_az(Optional[BooleanOptional], default:None) –Specifies whether to show only those reservations that support Multi-AZ.
-
lease_id(Optional[String], default:None) –The lease identifier filter value. Specify this parameter to show only the reservation that matches the specified lease ID.
Amazon Web Services Support might request the lease ID for an issue related to a reserved DB instance.
-
filters(Optional[FilterList], default:None) –This parameter isn't currently supported.
-
max_records(Optional[IntegerOptional], default:None) –The maximum number of records to include in the response. If more than the
MaxRecordsvalue is available, a pagination token called a marker is included in the response so you can retrieve the remaining results.Default: 100
Constraints: Minimum 20, maximum 100.
-
marker(Optional[String], default:None) –An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords.
Raises:
-
ReservedDBInstanceNotFoundFault–The specified reserved DB Instance not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To describe reserved DB instances The following example retrieves details about any reserved DB instances in the current AWS account.
Source code in docs_src/capo_rds/_services/async_rds.py
9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 | |