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/workdocs"

type UpdateUserInput struct { AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string" sensitive:"true"` GivenName *string `min:"1" type:"string"` GrantPoweruserPrivileges *string `type:"string" enum:"BooleanEnumType"` Locale *string `type:"string" enum:"LocaleType"` StorageRule *StorageRuleType `type:"structure"` Surname *string `min:"1" type:"string"` TimeZoneId *string `min:"1" type:"string"` Type *string `type:"string" enum:"UserType"` UserId *string `location:"uri" locationName:"UserId" min:"1" type:"string" required:"true"` }

AuthenticationToken

Type: *string

Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.

GivenName

Type: *string

The given name of the user.

GrantPoweruserPrivileges

Type: *string

Boolean value to determine whether the user is granted Poweruser privileges.

Locale

Type: *string

The locale of the user.

StorageRule

Describes the storage for a user.

Surname

Type: *string

The surname of the user.

TimeZoneId

Type: *string

The time zone ID of the user.

Type

Type: *string

The type of the user.

UserId

Type: *string

The ID of the user.

UserId is a required field

Method

GoString

func (s UpdateUserInput) GoString() string

GoString returns the string representation

SetAuthenticationToken

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

SetAuthenticationToken sets the AuthenticationToken field's value.

SetGivenName

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

SetGivenName sets the GivenName field's value.

SetGrantPoweruserPrivileges

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

SetGrantPoweruserPrivileges sets the GrantPoweruserPrivileges field's value.

SetLocale

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

SetLocale sets the Locale field's value.

SetStorageRule

func (s *UpdateUserInput) SetStorageRule(v *StorageRuleType) *UpdateUserInput

SetStorageRule sets the StorageRule field's value.

SetSurname

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

SetSurname sets the Surname field's value.

SetTimeZoneId

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

SetTimeZoneId sets the TimeZoneId field's value.

SetType

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

SetType sets the Type field's value.

SetUserId

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

SetUserId sets the UserId 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: