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

Safe HaskellNone




Describes one or more of the Availability Zones that are available to you. The results include zones only for the region you're currently using. If there is an event impacting an Availability Zone, you can use this request to view the state and any provided message for that Availability Zone.

For more information, see Regions and Availability Zones in the AmazonElastic Compute Cloud User Guide.



Request constructor

describeAvailabilityZones :: DescribeAvailabilityZones Source

DescribeAvailabilityZones constructor.

The fields accessible through corresponding lenses are:

Request lenses

dazFilters :: Lens' DescribeAvailabilityZones [Filter] Source

One or more filters.

message - Information about the Availability Zone.

'region-name' - The name of the region for the Availability Zone (for example, 'us-east-1').

state - The state of the Availability Zone (available | impaired | unavailable).

'zone-name' - The name of the Availability Zone (for example, 'us-east-1a').

dazZoneNames :: Lens' DescribeAvailabilityZones [Text] Source

The names of one or more Availability Zones.


Response constructor

Response lenses

dazrAvailabilityZones :: Lens' DescribeAvailabilityZonesResponse [AvailabilityZone] Source

Information about one or more Availability Zones.