aws ec2 describe-availability-zones
Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to you. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--all-availability-zonesInclude all Availability Zones, Local Zones, and Wavelength Zones regardless of your opt-in status.--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--filtersThe filters.--zone-idsThe IDs of the Availability Zones, Local Zones, and Wavelength Zones.--zone-namesThe names of the Availability Zones, Local Zones, and Wavelength Zones.