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.

ListUserPoolsInput

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

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

Represents the request to list user pools.

MaxResults

Type: *int64

The maximum number of results you want the request to return when listing the user pools.

MaxResults is a required field

NextToken

Type: *string

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

Method

GoString

func (s ListUserPoolsInput) GoString() string

GoString returns the string representation

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s ListUserPoolsInput) String() string

String returns the string representation

Validate

func (s *ListUserPoolsInput) Validate() error

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

On this page: