Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Provides information about the Regions that are configured for multi-Region replication.
Synopsis
- data DescribeRegions = DescribeRegions' {
- regionName :: Maybe Text
- nextToken :: Maybe Text
- directoryId :: Text
- newDescribeRegions :: Text -> DescribeRegions
- describeRegions_regionName :: Lens' DescribeRegions (Maybe Text)
- describeRegions_nextToken :: Lens' DescribeRegions (Maybe Text)
- describeRegions_directoryId :: Lens' DescribeRegions Text
- data DescribeRegionsResponse = DescribeRegionsResponse' {}
- newDescribeRegionsResponse :: Int -> DescribeRegionsResponse
- describeRegionsResponse_nextToken :: Lens' DescribeRegionsResponse (Maybe Text)
- describeRegionsResponse_regionsDescription :: Lens' DescribeRegionsResponse (Maybe [RegionDescription])
- describeRegionsResponse_httpStatus :: Lens' DescribeRegionsResponse Int
Creating a Request
data DescribeRegions Source #
See: newDescribeRegions
smart constructor.
DescribeRegions' | |
|
Instances
Create a value of DescribeRegions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:regionName:DescribeRegions'
, describeRegions_regionName
- The name of the Region. For example, us-east-1
.
$sel:nextToken:DescribeRegions'
, describeRegions_nextToken
- The DescribeRegionsResult.NextToken
value from a previous call to
DescribeRegions. Pass null if this is the first call.
$sel:directoryId:DescribeRegions'
, describeRegions_directoryId
- The identifier of the directory.
Request Lenses
describeRegions_regionName :: Lens' DescribeRegions (Maybe Text) Source #
The name of the Region. For example, us-east-1
.
describeRegions_nextToken :: Lens' DescribeRegions (Maybe Text) Source #
The DescribeRegionsResult.NextToken
value from a previous call to
DescribeRegions. Pass null if this is the first call.
describeRegions_directoryId :: Lens' DescribeRegions Text Source #
The identifier of the directory.
Destructuring the Response
data DescribeRegionsResponse Source #
See: newDescribeRegionsResponse
smart constructor.
DescribeRegionsResponse' | |
|
Instances
newDescribeRegionsResponse Source #
Create a value of DescribeRegionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:DescribeRegions'
, describeRegionsResponse_nextToken
- If not null, more results are available. Pass this value for the
NextToken
parameter in a subsequent call to DescribeRegions to
retrieve the next set of items.
$sel:regionsDescription:DescribeRegionsResponse'
, describeRegionsResponse_regionsDescription
- List of Region information related to the directory for each replicated
Region.
$sel:httpStatus:DescribeRegionsResponse'
, describeRegionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeRegionsResponse_nextToken :: Lens' DescribeRegionsResponse (Maybe Text) Source #
If not null, more results are available. Pass this value for the
NextToken
parameter in a subsequent call to DescribeRegions to
retrieve the next set of items.
describeRegionsResponse_regionsDescription :: Lens' DescribeRegionsResponse (Maybe [RegionDescription]) Source #
List of Region information related to the directory for each replicated Region.
describeRegionsResponse_httpStatus :: Lens' DescribeRegionsResponse Int Source #
The response's http status code.