describe_db_snapshot_tenant_databases
async
¶
describe_db_snapshot_tenant_databases(
*,
config_overrides: Optional[AsyncRDSClientConfig] = None,
db_instance_identifier: Optional[String] = None,
db_snapshot_identifier: Optional[String] = None,
snapshot_type: Optional[String] = None,
filters: Optional[FilterList] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
dbi_resource_id: Optional[String] = None,
) -> DBSnapshotTenantDatabasesMessage
Describes the tenant databases that exist in a DB snapshot. This command only applies to RDS for Oracle DB instances in the multi-tenant configuration.
You can use this command to inspect the tenant databases within a snapshot before restoring it. You can't directly interact with the tenant databases in a DB snapshot. If you restore a snapshot that was taken from DB instance using the multi-tenant configuration, you restore all its tenant databases.
Parameters:
-
db_instance_identifier(Optional[String], default:None) –The ID of the DB instance used to create the DB snapshots. This parameter isn't case-sensitive.
Constraints:
-
If supplied, must match the identifier of an existing
DBInstance.
-
-
db_snapshot_identifier(Optional[String], default:None) –The ID of a DB snapshot that contains the tenant databases to describe. This value is stored as a lowercase string.
Constraints:
-
If you specify this parameter, the value must match the ID of an existing DB snapshot.
-
If you specify an automatic snapshot, you must also specify
SnapshotType.
-
-
snapshot_type(Optional[String], default:None) –The type of DB snapshots to be returned. You can specify one of the following values:
-
automated– All DB snapshots that have been automatically taken by Amazon RDS for my Amazon Web Services account. -
manual– All DB snapshots that have been taken by my Amazon Web Services account. -
shared– All manual DB snapshots that have been shared to my Amazon Web Services account. -
public– All DB snapshots that have been marked as public. -
awsbackup– All DB snapshots managed by the Amazon Web Services Backup service.
-
-
filters(Optional[FilterList], default:None) –A filter that specifies one or more tenant databases 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. The results list only includes information about the tenant databases contained within the DB snapshots. -
dbi-resource-id- DB instance resource identifiers. The results list only includes information about snapshots containing tenant databases contained within the DB instances identified by these resource identifiers. -
db-instance-id- Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). -
db-snapshot-id- Accepts DB snapshot identifiers. -
snapshot-type- Accepts types of DB snapshots.
-
-
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. -
marker(Optional[String], default:None) –An optional pagination token provided by a previous
DescribeDBSnapshotTenantDatabasesrequest. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords. -
dbi_resource_id(Optional[String], default:None) –A specific DB resource identifier to describe.
Raises:
-
DBSnapshotNotFoundFault–DBSnapshotIdentifierdoesn't refer to an existing DB snapshot. -
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_rds/_services/async_rds.py
7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 | |