amazonka-ec2-0.3.6: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DescribeRegions

Contents

Description

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

Synopsis

Request

Request constructor

describeRegions :: DescribeRegions Source

DescribeRegions constructor.

The fields accessible through corresponding lenses are:

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:

Response lenses

drrRegions :: Lens' DescribeRegionsResponse [Region] Source

Information about one or more regions.