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.

CreateUserInput

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

type CreateUserInput struct { AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string" sensitive:"true"` EmailAddress *string `min:"1" type:"string"` GivenName *string `min:"1" type:"string" required:"true"` OrganizationId *string `min:"1" type:"string"` Password *string `min:"4" type:"string" required:"true" sensitive:"true"` StorageRule *StorageRuleType `type:"structure"` Surname *string `min:"1" type:"string" required:"true"` TimeZoneId *string `min:"1" type:"string"` Username *string `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.

EmailAddress

Type: *string

The email address of the user.

GivenName

Type: *string

The given name of the user.

GivenName is a required field

OrganizationId

Type: *string

The ID of the organization.

Password

Type: *string

The password of the user.

Password is a required field

StorageRule

Describes the storage for a user.

Surname

Type: *string

The surname of the user.

Surname is a required field

TimeZoneId

Type: *string

The time zone ID of the user.

Username

Type: *string

The login name of the user.

Username is a required field

Method

GoString

func (s CreateUserInput) GoString() string

GoString returns the string representation

SetAuthenticationToken

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

SetAuthenticationToken sets the AuthenticationToken field's value.

SetEmailAddress

func (s *CreateUserInput) SetEmailAddress(v string) *CreateUserInput

SetEmailAddress sets the EmailAddress field's value.

SetGivenName

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

SetGivenName sets the GivenName field's value.

SetOrganizationId

func (s *CreateUserInput) SetOrganizationId(v string) *CreateUserInput

SetOrganizationId sets the OrganizationId field's value.

SetPassword

func (s *CreateUserInput) SetPassword(v string) *CreateUserInput

SetPassword sets the Password field's value.

SetStorageRule

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

SetStorageRule sets the StorageRule field's value.

SetSurname

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

SetSurname sets the Surname field's value.

SetTimeZoneId

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

SetTimeZoneId sets the TimeZoneId field's value.

SetUsername

func (s *CreateUserInput) SetUsername(v string) *CreateUserInput

SetUsername sets the Username field's value.

String

func (s CreateUserInput) String() string

String returns the string representation

Validate

func (s *CreateUserInput) Validate() error

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

On this page: