Class: Aws::EC2::Types::DescribeAvailabilityZonesRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::DescribeAvailabilityZonesRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass DescribeAvailabilityZonesRequest data as a hash:
{
filters: [
{
name: "String",
values: ["String"],
},
],
zone_names: ["String"],
zone_ids: ["String"],
dry_run: false,
}
Instance Attribute Summary collapse
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#filters ⇒ Array<Types::Filter>
One or more filters.
-
#zone_ids ⇒ Array<String>
The IDs of one or more Availability Zones.
-
#zone_names ⇒ Array<String>
The names of one or more Availability Zones.
Instance Attribute Details
#dry_run ⇒ Boolean
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 ‘DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
9391 9392 9393 9394 9395 9396 9397 |
# File 'lib/aws-sdk-ec2/types.rb', line 9391 class DescribeAvailabilityZonesRequest < Struct.new( :filters, :zone_names, :zone_ids, :dry_run) include Aws::Structure end |
#filters ⇒ Array<Types::Filter>
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` | `information` | `impaired` | `unavailable`).
-
‘zone-id` - The ID of the Availability Zone (for example, `use1-az1`).
-
‘zone-name` - The name of the Availability Zone (for example, `us-east-1a`).
9391 9392 9393 9394 9395 9396 9397 |
# File 'lib/aws-sdk-ec2/types.rb', line 9391 class DescribeAvailabilityZonesRequest < Struct.new( :filters, :zone_names, :zone_ids, :dry_run) include Aws::Structure end |
#zone_ids ⇒ Array<String>
The IDs of one or more Availability Zones.
9391 9392 9393 9394 9395 9396 9397 |
# File 'lib/aws-sdk-ec2/types.rb', line 9391 class DescribeAvailabilityZonesRequest < Struct.new( :filters, :zone_names, :zone_ids, :dry_run) include Aws::Structure end |
#zone_names ⇒ Array<String>
The names of one or more Availability Zones.
9391 9392 9393 9394 9395 9396 9397 |
# File 'lib/aws-sdk-ec2/types.rb', line 9391 class DescribeAvailabilityZonesRequest < Struct.new( :filters, :zone_names, :zone_ids, :dry_run) include Aws::Structure end |