AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DescribeAvailabilityZonesInput

import "github.com/aws/aws-sdk-go/service/ec2"

type DescribeAvailabilityZonesInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` ZoneIds []*string `locationName:"ZoneId" locationNameList:"ZoneId" type:"list"` ZoneNames []*string `locationName:"ZoneName" locationNameList:"ZoneName" type:"list"` }

DryRun

Type: *bool

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.

Filters

A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs. The filters supported by a describe operation are documented with the describe operation. For example:

  • DescribeAvailabilityZones

  • DescribeImages

  • DescribeInstances

  • DescribeKeyPairs

  • DescribeSecurityGroups

  • DescribeSnapshots

  • DescribeSubnets

  • DescribeTags

  • DescribeVolumes

  • DescribeVpcs

ZoneIds

Type: []*string

The IDs of one or more Availability Zones.

ZoneNames

Type: []*string

The names of one or more Availability Zones.

Method

GoString

func (s DescribeAvailabilityZonesInput) GoString() string

GoString returns the string representation

SetDryRun

func (s *DescribeAvailabilityZonesInput) SetDryRun(v bool) *DescribeAvailabilityZonesInput

SetDryRun sets the DryRun field's value.

SetFilters

func (s *DescribeAvailabilityZonesInput) SetFilters(v []*Filter) *DescribeAvailabilityZonesInput

SetFilters sets the Filters field's value.

SetZoneIds

func (s *DescribeAvailabilityZonesInput) SetZoneIds(v []*string) *DescribeAvailabilityZonesInput

SetZoneIds sets the ZoneIds field's value.

SetZoneNames

func (s *DescribeAvailabilityZonesInput) SetZoneNames(v []*string) *DescribeAvailabilityZonesInput

SetZoneNames sets the ZoneNames field's value.

String

func (s DescribeAvailabilityZonesInput) String() string

String returns the string representation

On this page: