describe_source_regions
async
¶
describe_source_regions(
*,
config_overrides: Optional[AsyncRDSClientConfig] = None,
region_name: Optional[String] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
filters: Optional[FilterList] = None,
) -> SourceRegionMessage
Returns a list of the source Amazon Web Services Regions where the current Amazon Web Services Region can create a read replica, copy a DB snapshot from, or replicate automated backups from.
Use this operation to determine whether cross-Region features are supported between other Regions and your current Region. This operation supports pagination.
To return information about the Regions that are enabled for your account, or all Regions, use the EC2 operation DescribeRegions. For more information, see DescribeRegions in the Amazon EC2 API Reference.
Parameters:
-
region_name(Optional[String], default:None) –The source Amazon Web Services Region name. For example,
us-east-1.Constraints:
-
Must specify a valid Amazon Web Services Region name.
-
-
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 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
DescribeSourceRegionsrequest. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords. -
filters(Optional[FilterList], default:None) –This parameter isn't currently supported.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To describe source Regions The following example retrieves details about all source AWS Regions where the current AWS Region can create a read replica, copy a DB snapshot from, or replicate automated backups from. It also shows that automated backups can be replicated only from US West (Oregon) to the destination AWS Region, US East (N. Virginia).
Source code in docs_src/capo_rds/_services/async_rds.py
9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 | |