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
9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 | |