DescribeAvailabilityZones
The DescribeAvailabilityZones
operation describes availability
zones that are currently available to the account and their states.
Note | |
---|---|
Availability Zones are not the same across accounts. The Availability Zone us-east-1a for account A is not necessarily the same as us-east-1a for account B. Zone assignments are mapped independently for each account. |
Request Parameters
The following table describes the request parameters for DescribeAvailabilityZones
.
Parameter names are case sensitive.
Name | Description | Required |
---|---|---|
|
Name of an Availability Zone. Type: String |
No |
Response Elements
The following table describes the default response tags included
in DescribeAvailabilityZones
responses.
Name | Description |
---|---|
|
Availability Zone information. Type: AvailabilityZoneItemType[] |
Sample Request
https://ec2.amazonaws.com/ ?Action=DescribeAvailabilityZones &ZoneName.0=us-east-1a &ZoneName.1=us-east-1b &...auth parameters...
Sample Response
<DescribeAvailabilityZonesResponse xmlns="http://ec2.amazonaws.com/doc/2009-03-01//"> <availabilityZoneInfo> <item> <zoneName>us-east-1a</zoneName> <zoneState>available</zoneState> </item> <item> <zoneName>us-east-1b</zoneName> <zoneState>available</zoneState> </item> <item> <zoneName>us-east-1c</zoneName> <zoneState>available</zoneState> </item> </availabilityZoneInfo> </DescribeAvailabilityZonesResponse>