describe_source_regions
¶
describe_source_regions(
*,
config_overrides: Optional[RDSClientConfig] = 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/rds.py
9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 | |