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.

ListGroupsInput

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

type ListGroupsInput struct { Filters []*GroupFilter `type:"list"` MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` }

Filters

A filter name and value pair that is used to obtain more specific results from a list of groups.

MaxResults

Type: *int64

The maximum number of resource group results that are returned by ListGroups in paginated output. By default, this number is 50.

NextToken

Type: *string

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

Method

GoString

func (s ListGroupsInput) GoString() string

GoString returns the string representation

SetFilters

func (s *ListGroupsInput) SetFilters(v []*GroupFilter) *ListGroupsInput

SetFilters sets the Filters field's value.

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s ListGroupsInput) String() string

String returns the string representation

Validate

func (s *ListGroupsInput) Validate() error

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

On this page: