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.

DescribeInstancesInput

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

type DescribeInstancesInput struct { InstanceIds []*string `type:"list"` LayerId *string `type:"string"` StackId *string `type:"string"` }

InstanceIds

Type: []*string

An array of instance IDs to be described. If you use this parameter, DescribeInstances returns a description of the specified instances. Otherwise, it returns a description of every instance.

LayerId

Type: *string

A layer ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified layer.

StackId

Type: *string

A stack ID. If you use this parameter, DescribeInstances returns descriptions of the instances associated with the specified stack.

Method

GoString

func (s DescribeInstancesInput) GoString() string

GoString returns the string representation

SetInstanceIds

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

SetInstanceIds sets the InstanceIds field's value.

SetLayerId

func (s *DescribeInstancesInput) SetLayerId(v string) *DescribeInstancesInput

SetLayerId sets the LayerId field's value.

SetStackId

func (s *DescribeInstancesInput) SetStackId(v string) *DescribeInstancesInput

SetStackId sets the StackId field's value.

String

func (s DescribeInstancesInput) String() string

String returns the string representation

On this page: