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.

SearchResourcesInput

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

type SearchResourcesInput struct { MaxResults *int64 `min:"1" type:"integer"` NextToken *string `type:"string"` ResourceQuery *ResourceQuery `type:"structure" required:"true"` }

MaxResults

Type: *int64

The maximum number of group member ARNs returned by SearchResources in paginated output. By default, this number is 50.

NextToken

Type: *string

The NextToken value that is returned in a paginated SearchResources request. To get the next page of results, run the call again, add the NextToken parameter, and specify the NextToken value.

ResourceQuery

The query that is used to define a resource group or a search for resources.

Method

GoString

func (s SearchResourcesInput) GoString() string

GoString returns the string representation

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetResourceQuery

func (s *SearchResourcesInput) SetResourceQuery(v *ResourceQuery) *SearchResourcesInput

SetResourceQuery sets the ResourceQuery field's value.

String

func (s SearchResourcesInput) String() string

String returns the string representation

Validate

func (s *SearchResourcesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: