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

type CreateUserInput struct { ClientRequestToken *string `min:"10" type:"string" idempotencyToken:"true"` Email *string `min:"1" type:"string"` FirstName *string `type:"string"` LastName *string `type:"string"` Tags []*Tag `type:"list"` UserId *string `min:"1" type:"string" required:"true"` }

ClientRequestToken

Type: *string

A unique, user-specified identifier for this request that ensures idempotency.

Email

Type: *string

The email address for the user.

FirstName

Type: *string

The first name for the user.

LastName

Type: *string

The last name for the user.

Tags

A key-value pair that can be associated with a resource.

UserId

Type: *string

The ARN for the user.

UserId is a required field

Method

GoString

func (s CreateUserInput) GoString() string

GoString returns the string representation

SetClientRequestToken

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

SetClientRequestToken sets the ClientRequestToken field's value.

SetEmail

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

SetEmail sets the Email field's value.

SetFirstName

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

SetFirstName sets the FirstName field's value.

SetLastName

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

SetLastName sets the LastName field's value.

SetTags

func (s *CreateUserInput) SetTags(v []*Tag) *CreateUserInput

SetTags sets the Tags field's value.

SetUserId

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

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