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.

DescribeAddressesInput

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

type DescribeAddressesInput struct { AllocationIds []*string `locationName:"AllocationId" locationNameList:"AllocationId" type:"list"` DryRun *bool `locationName:"dryRun" type:"boolean"` Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` PublicIps []*string `locationName:"PublicIp" locationNameList:"PublicIp" type:"list"` }

AllocationIds

Type: []*string

[EC2-VPC] One or more allocation IDs.

Default: Describes all your Elastic IP addresses.

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

PublicIps

Type: []*string

One or more Elastic IP addresses.

Default: Describes all your Elastic IP addresses.

Method

GoString

func (s DescribeAddressesInput) GoString() string

GoString returns the string representation

SetAllocationIds

func (s *DescribeAddressesInput) SetAllocationIds(v []*string) *DescribeAddressesInput

SetAllocationIds sets the AllocationIds field's value.

SetDryRun

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

SetDryRun sets the DryRun field's value.

SetFilters

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

SetFilters sets the Filters field's value.

SetPublicIps

func (s *DescribeAddressesInput) SetPublicIps(v []*string) *DescribeAddressesInput

SetPublicIps sets the PublicIps field's value.

String

func (s DescribeAddressesInput) String() string

String returns the string representation

On this page: