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.

ListNamespacesOutput

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

type ListNamespacesOutput struct { Namespaces []*NamespaceSummary `type:"list"` NextToken *string `type:"string"` }

Namespaces

A complex type that contains information about a namespace.

NextToken

Type: *string

If the response contains NextToken, submit another ListNamespaces request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

AWS Cloud Map gets MaxResults namespaces and then filters them based on the specified criteria. It's possible that no namespaces in the first MaxResults namespaces matched the specified criteria but that subsequent groups of MaxResults namespaces do contain namespaces that match the criteria.

Method

GoString

func (s ListNamespacesOutput) GoString() string

GoString returns the string representation

SetNamespaces

func (s *ListNamespacesOutput) SetNamespaces(v []*NamespaceSummary) *ListNamespacesOutput

SetNamespaces sets the Namespaces field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s ListNamespacesOutput) String() string

String returns the string representation

On this page: