amazonka-ec2-0.2.1: 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

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.