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.

ListInstancesOutput

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

type ListInstancesOutput struct { Instances []*InstanceSummary `type:"list"` NextToken *string `type:"string"` }

Instances

A complex type that contains information about the instances that you registered by using a specified service.

NextToken

Type: *string

If more than MaxResults instances match the specified criteria, you can submit another ListInstances request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

Method

GoString

func (s ListInstancesOutput) GoString() string

GoString returns the string representation

SetInstances

func (s *ListInstancesOutput) SetInstances(v []*InstanceSummary) *ListInstancesOutput

SetInstances sets the Instances field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s ListInstancesOutput) String() string

String returns the string representation

On this page: