DescribeAvailabilityZones
Description
Displays 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
Name | Description | Required |
---|---|---|
|
Type: |
Ancestor: None
Children: availabilityZoneSet
availabilityZoneSet
Set of Availability Zones.
Type: DescribeAvailabilityZonesSetType
Ancestor: DescribeAvailabilityZonesType
Children: item
No
item
Information for one Availability Zone.
Type: DescribeAvailabilityZonesSetItemType
Ancestor: availabilityZoneSet
Children: zoneName
zoneName
Availability Zone name.
Type: xsd:string
Default: None
Ancestor: item
Children: None
No
Response Elements
Name | Description |
---|---|
|
Type: DescribeAvailabilityZonesResponseType Ancestor: None Children: |
|
The ID of the request. Type: xsd:string Ancestor: Children: None |
|
Availability Zone information. Type: AvailabilityZoneSetType Ancestor: Children: |
|
Information for one Availability Zone. Type: AvailabilityZoneItemType Ancestor: Children: |
|
Name of the Availability Zone. Type: xsd:string Ancestor: Children: None |
|
State of the Availability Zone. Type: xsd:string Valid Values: Ancestor: Children: None |
|
Name of the region. Type: xsd:string Ancestor: Children: None |
|
Message set. Type: AvailabilityZoneMessageSetType Ancestor: Children: |
|
Availability Zone message set. Type: AvailabilityZoneMessageType Ancestor: Children: |
|
The Availability Zone message. Type: xsd:string Ancestor: Children: None |
Examples
Example Request
This example displays information about Availability Zones that are available to the account.
<DescribeAvailabilityZones xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <availabilityZoneSet/> </DescribeAvailabilityZones>
Example Response
<DescribeAvailabilityZonesResponse xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <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> <item> <zoneName>us-east-1d</zoneName> <zoneState>available</zoneState> </item> </availabilityZoneInfo> </DescribeAvailabilityZonesResponse>