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.

ListUserGroupsInput

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

type ListUserGroupsInput struct { AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` MaxResults *int64 `location:"querystring" locationName:"max-results" min:"1" type:"integer"` Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` NextToken *string `location:"querystring" locationName:"next-token" type:"string"` UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"` }

AwsAccountId

Type: *string

The AWS Account ID that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

AwsAccountId is a required field

MaxResults

Type: *int64

The maximum number of results to return from this request.

Namespace

Type: *string

The namespace. Currently, you should set this to default.

Namespace is a required field

NextToken

Type: *string

A pagination token that can be used in a subsequent request.

UserName

Type: *string

The Amazon QuickSight user name that you want to list group memberships for.

UserName is a required field

Method

GoString

func (s ListUserGroupsInput) GoString() string

GoString returns the string representation

SetAwsAccountId

func (s *ListUserGroupsInput) SetAwsAccountId(v string) *ListUserGroupsInput

SetAwsAccountId sets the AwsAccountId field's value.

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNamespace

func (s *ListUserGroupsInput) SetNamespace(v string) *ListUserGroupsInput

SetNamespace sets the Namespace field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetUserName

func (s *ListUserGroupsInput) SetUserName(v string) *ListUserGroupsInput

SetUserName sets the UserName field's value.

String

func (s ListUserGroupsInput) String() string

String returns the string representation

Validate

func (s *ListUserGroupsInput) Validate() error

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

On this page: