describe_tenant_databases
async
¶
describe_tenant_databases(
*,
config_overrides: Optional[AsyncRDSClientConfig] = None,
db_instance_identifier: Optional[String] = None,
tenant_db_name: Optional[String] = None,
filters: Optional[FilterList] = None,
marker: Optional[String] = None,
max_records: Optional[IntegerOptional] = None,
) -> TenantDatabasesMessage
Describes the tenant databases in a DB instance that uses the multi-tenant configuration. Only RDS for Oracle CDB instances are supported.
Parameters:
-
db_instance_identifier(Optional[String], default:None) –The user-supplied DB instance identifier, which must match the identifier of an existing instance owned by the Amazon Web Services account. This parameter isn't case-sensitive.
-
tenant_db_name(Optional[String], default:None) –The user-supplied tenant database name, which must match the name of an existing tenant database on the specified DB instance owned by your Amazon Web Services account. This parameter isn’t case-sensitive.
-
filters(Optional[FilterList], default:None) –A filter that specifies one or more database tenants to describe.
Supported filters:
-
tenant-db-name- Tenant database names. The results list only includes information about the tenant databases that match these tenant DB names. -
tenant-database-resource-id- Tenant database resource identifiers. -
dbi-resource-id- DB instance resource identifiers. The results list only includes information about the tenants contained within the DB instances identified by these resource identifiers.
-
-
marker(Optional[String], default:None) –An optional pagination token provided by a previous
DescribeTenantDatabasesrequest. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords. -
max_records(Optional[IntegerOptional], default:None) –The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, a pagination token called a marker is included in the response so that you can retrieve the remaining results.
Raises:
-
DBInstanceNotFoundFault–DBInstanceIdentifierdoesn't refer to an existing DB instance. -
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_rds/_services/async_rds.py
9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 | |