Safe Haskell | None |
---|---|
Language | Haskell2010 |
Describes one or more regions that are currently available to you.
For a list of the regions supported by Amazon EC2, see Regions and Endpoints.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeRegions.html
- data DescribeRegions
- describeRegions :: DescribeRegions
- dr1DryRun :: Lens' DescribeRegions (Maybe Bool)
- dr1Filters :: Lens' DescribeRegions [Filter]
- dr1RegionNames :: Lens' DescribeRegions [Text]
- data DescribeRegionsResponse
- describeRegionsResponse :: DescribeRegionsResponse
- drrRegions :: Lens' DescribeRegionsResponse [Region]
Request
data DescribeRegions Source
Request constructor
describeRegions :: DescribeRegions Source
DescribeRegions
constructor.
The fields accessible through corresponding lenses are:
dr1DryRun
::
Maybe
Bool
dr1Filters
::
[Filter
]dr1RegionNames
::
[Text
]
Request lenses
dr1DryRun :: Lens' DescribeRegions (Maybe Bool) Source
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have the
required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
dr1Filters :: Lens' DescribeRegions [Filter] Source
One or more filters.
endpoint
- The endpoint of the region (for example, 'ec2.us-east-1.amazonaws.com').
'region-name' - The name of the region (for example, 'us-east-1').
dr1RegionNames :: Lens' DescribeRegions [Text] Source
The names of one or more regions.
Response
Response constructor
describeRegionsResponse :: DescribeRegionsResponse Source
DescribeRegionsResponse
constructor.
The fields accessible through corresponding lenses are:
drrRegions
::
[Region
]
Response lenses
drrRegions :: Lens' DescribeRegionsResponse [Region] Source
Information about one or more regions.