describe_global_clusters
async
¶
describe_global_clusters(
*,
config_overrides: Optional[AsyncRDSClientConfig] = None,
global_cluster_identifier: Optional[GlobalClusterIdentifier] = None,
filters: Optional[FilterList] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
) -> GlobalClustersMessage
Returns information about Aurora global database clusters. This API supports pagination.
For more information on Amazon Aurora, see What is Amazon Aurora? in the Amazon Aurora User Guide.
This action only applies to Aurora DB clusters.
Parameters:
-
global_cluster_identifier(Optional[GlobalClusterIdentifier], default:None) –The user-supplied DB cluster identifier. If this parameter is specified, information from only the specific DB cluster is returned. This parameter isn't case-sensitive.
Constraints:
-
If supplied, must match an existing DBClusterIdentifier.
-
-
filters(Optional[FilterList], default:None) –A filter that specifies one or more global database clusters to describe. This parameter is case-sensitive.
Currently, the only supported filter is
region.If used, the request returns information about any global cluster with at least one member (primary or secondary) in the specified Amazon Web Services Regions.
-
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.Default: 100
Constraints: Minimum 20, maximum 100.
-
marker(Optional[String], default:None) –An optional pagination token provided by a previous
DescribeGlobalClustersrequest. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords.
Raises:
-
GlobalClusterNotFoundFault–The
GlobalClusterIdentifierdoesn't refer to an existing global database cluster. -
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To describe global DB clusters The following example lists Aurora global DB clusters in the current AWS Region.
Source code in docs_src/capo_rds/_services/async_rds.py
8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 | |