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.

DescribeClassicLinkInstancesInput

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

type DescribeClassicLinkInstancesInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` InstanceIds []*string `locationName:"InstanceId" locationNameList:"InstanceId" type:"list"` MaxResults *int64 `locationName:"maxResults" type:"integer"` NextToken *string `locationName:"nextToken" type:"string"` }

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

InstanceIds

Type: []*string

One or more instance IDs. Must be instances linked to a VPC through ClassicLink.

MaxResults

Type: *int64

The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000. If MaxResults is given a value larger than 1000, only 1000 results are returned. You cannot specify this parameter and the instance IDs parameter in the same request.

Constraint: If the value is greater than 1000, we return only 1000 items.

NextToken

Type: *string

The token to retrieve the next page of results.

Method

GoString

func (s DescribeClassicLinkInstancesInput) GoString() string

GoString returns the string representation

SetDryRun

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

SetDryRun sets the DryRun field's value.

SetFilters

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

SetFilters sets the Filters field's value.

SetInstanceIds

func (s *DescribeClassicLinkInstancesInput) SetInstanceIds(v []*string) *DescribeClassicLinkInstancesInput

SetInstanceIds sets the InstanceIds field's value.

SetMaxResults

func (s *DescribeClassicLinkInstancesInput) SetMaxResults(v int64) *DescribeClassicLinkInstancesInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

func (s *DescribeClassicLinkInstancesInput) SetNextToken(v string) *DescribeClassicLinkInstancesInput

SetNextToken sets the NextToken field's value.

String

func (s DescribeClassicLinkInstancesInput) String() string

String returns the string representation

On this page: