Describe Availability Zones
ec2_describe_availability_zones | R Documentation |
Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to you¶
Description¶
Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to you. If there is an event impacting a zone, you can use this request to view the state and any provided messages for that zone.
For more information about Availability Zones, Local Zones, and Wavelength Zones, see Regions and zones in the Amazon EC2 User Guide.
The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.
Usage¶
ec2_describe_availability_zones(ZoneNames, ZoneIds,
AllAvailabilityZones, DryRun, Filters)
Arguments¶
ZoneNames |
The names of the Availability Zones, Local Zones, and Wavelength Zones. |
ZoneIds |
The IDs of the Availability Zones, Local Zones, and Wavelength Zones. |
AllAvailabilityZones |
Include all Availability Zones, Local Zones, and Wavelength Zones regardless of your opt-in status. If you do not use this parameter, the results include only the zones for the Regions where you have chosen the option to opt in. |
DryRun |
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
|
Filters |
The filters.
|
Value¶
A list with the following syntax:
list(
AvailabilityZones = list(
list(
OptInStatus = "opt-in-not-required"|"opted-in"|"not-opted-in",
Messages = list(
list(
Message = "string"
)
),
RegionName = "string",
ZoneName = "string",
ZoneId = "string",
GroupName = "string",
NetworkBorderGroup = "string",
ZoneType = "string",
ParentZoneName = "string",
ParentZoneId = "string",
State = "available"|"information"|"impaired"|"unavailable"|"constrained"
)
)
)
Request syntax¶
svc$describe_availability_zones(
ZoneNames = list(
"string"
),
ZoneIds = list(
"string"
),
AllAvailabilityZones = TRUE|FALSE,
DryRun = TRUE|FALSE,
Filters = list(
list(
Name = "string",
Values = list(
"string"
)
)
)
)
Examples¶
## Not run:
# This example describes the Availability Zones that are available to you.
# The response includes Availability Zones only for the current region.
svc$describe_availability_zones()
## End(Not run)