| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.RDS.DescribeSourceRegions
Description
Returns a list of the source AWS regions where the current AWS region can create a Read Replica or copy a DB snapshot from. This API action supports pagination.
- describeSourceRegions :: DescribeSourceRegions
- data DescribeSourceRegions
- dsrRegionName :: Lens' DescribeSourceRegions (Maybe Text)
- dsrFilters :: Lens' DescribeSourceRegions [Filter]
- dsrMarker :: Lens' DescribeSourceRegions (Maybe Text)
- dsrMaxRecords :: Lens' DescribeSourceRegions (Maybe Int)
- describeSourceRegionsResponse :: Int -> DescribeSourceRegionsResponse
- data DescribeSourceRegionsResponse
- dsrrsMarker :: Lens' DescribeSourceRegionsResponse (Maybe Text)
- dsrrsSourceRegions :: Lens' DescribeSourceRegionsResponse [SourceRegion]
- dsrrsResponseStatus :: Lens' DescribeSourceRegionsResponse Int
Creating a Request
describeSourceRegions :: DescribeSourceRegions Source #
Creates a value of DescribeSourceRegions with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsrRegionName- The source region name. For example,us-east-1. Constraints: * Must specify a valid AWS Region name.dsrFilters- This parameter is not currently supported.dsrMarker- An optional pagination token provided by a previousDescribeSourceRegionsrequest. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords.dsrMaxRecords- The maximum number of records to include in the response. If more records exist than the specifiedMaxRecordsvalue, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
data DescribeSourceRegions Source #
See: describeSourceRegions smart constructor.
Instances
Request Lenses
dsrRegionName :: Lens' DescribeSourceRegions (Maybe Text) Source #
The source region name. For example, us-east-1 . Constraints: * Must specify a valid AWS Region name.
dsrFilters :: Lens' DescribeSourceRegions [Filter] Source #
This parameter is not currently supported.
dsrMarker :: Lens' DescribeSourceRegions (Maybe Text) Source #
An optional pagination token provided by a previous DescribeSourceRegions request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .
dsrMaxRecords :: Lens' DescribeSourceRegions (Maybe Int) Source #
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
Destructuring the Response
describeSourceRegionsResponse Source #
Arguments
| :: Int | |
| -> DescribeSourceRegionsResponse |
Creates a value of DescribeSourceRegionsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsrrsMarker- An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords.dsrrsSourceRegions- A list of SourceRegion instances that contains each source AWS Region that the current region can get a Read Replica or a DB snapshot from.dsrrsResponseStatus- -- | The response status code.
data DescribeSourceRegionsResponse Source #
Contains the result of a successful invocation of the DescribeSourceRegions action.
See: describeSourceRegionsResponse smart constructor.
Instances
Response Lenses
dsrrsMarker :: Lens' DescribeSourceRegionsResponse (Maybe Text) Source #
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .
dsrrsSourceRegions :: Lens' DescribeSourceRegionsResponse [SourceRegion] Source #
A list of SourceRegion instances that contains each source AWS Region that the current region can get a Read Replica or a DB snapshot from.
dsrrsResponseStatus :: Lens' DescribeSourceRegionsResponse Int Source #
- - | The response status code.