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.

SearchResourcesOutput

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

type SearchResourcesOutput struct { NextToken *string `type:"string"` QueryErrors []*QueryError `type:"list"` ResourceIdentifiers []*ResourceIdentifier `type:"list"` }

NextToken

Type: *string

The NextToken value to include in a subsequent SearchResources request, to get more results.

QueryErrors

A two-part error structure that can occur in ListGroupResources or SearchResources operations on CloudFormation stack-based queries. The error occurs if the CloudFormation stack on which the query is based either does not exist, or has a status that renders the stack inactive. A QueryError occurrence does not necessarily mean that AWS Resource Groups could not complete the operation, but the resulting group might have no member resources.

ResourceIdentifiers

The ARN of a resource, and its resource type.

Method

GoString

func (s SearchResourcesOutput) GoString() string

GoString returns the string representation

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetQueryErrors

func (s *SearchResourcesOutput) SetQueryErrors(v []*QueryError) *SearchResourcesOutput

SetQueryErrors sets the QueryErrors field's value.

SetResourceIdentifiers

func (s *SearchResourcesOutput) SetResourceIdentifiers(v []*ResourceIdentifier) *SearchResourcesOutput

SetResourceIdentifiers sets the ResourceIdentifiers field's value.

String

func (s SearchResourcesOutput) String() string

String returns the string representation

On this page: