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.

UpdateUserInput

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

type UpdateUserInput struct { AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` Email *string `type:"string" required:"true"` Namespace *string `location:"uri" locationName:"Namespace" type:"string" required:"true"` Role *string `type:"string" required:"true" enum:"UserRole"` UserName *string `location:"uri" locationName:"UserName" min:"1" type:"string" required:"true"` }

AwsAccountId

Type: *string

The ID for the AWS account 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

Email

Type: *string

The email address of the user that you want to update.

Email is a required field

Namespace

Type: *string

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

Namespace is a required field

Role

Type: *string

The Amazon QuickSight role of the user. The user role can be one of the following:

  • READER: A user who has read-only access to dashboards.

  • AUTHOR: A user who can create data sources, data sets, analyses, and dashboards.

  • ADMIN: A user who is an author, who can also manage Amazon QuickSight settings.

Role is a required field

UserName

Type: *string

The Amazon QuickSight user name that you want to update.

UserName is a required field

Method

GoString

func (s UpdateUserInput) GoString() string

GoString returns the string representation

SetAwsAccountId

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

SetAwsAccountId sets the AwsAccountId field's value.

SetEmail

func (s *UpdateUserInput) SetEmail(v string) *UpdateUserInput

SetEmail sets the Email field's value.

SetNamespace

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

SetNamespace sets the Namespace field's value.

SetRole

func (s *UpdateUserInput) SetRole(v string) *UpdateUserInput

SetRole sets the Role field's value.

SetUserName

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

SetUserName sets the UserName field's value.

String

func (s UpdateUserInput) String() string

String returns the string representation

Validate

func (s *UpdateUserInput) Validate() error

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

On this page: