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.

UserIdentityInfo

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

type UserIdentityInfo struct { Email *string `type:"string"` FirstName *string `min:"1" type:"string"` LastName *string `min:"1" type:"string"` }

A UserIdentityInfo object that contains information about the user's identity, including email address, first name, and last name.

Email

Type: *string

The email address added to the user account. If you are using SAML for identity management and include this parameter, an InvalidRequestException is returned.

FirstName

Type: *string

The first name used in the user account. This is required if you are using Amazon Connect or SAML for identity management.

LastName

Type: *string

The last name used in the user account. This is required if you are using Amazon Connect or SAML for identity management.

Method

GoString

func (s UserIdentityInfo) GoString() string

GoString returns the string representation

SetEmail

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

SetEmail sets the Email field's value.

SetFirstName

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

SetFirstName sets the FirstName field's value.

SetLastName

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

SetLastName sets the LastName field's value.

String

func (s UserIdentityInfo) String() string

String returns the string representation

Validate

func (s *UserIdentityInfo) Validate() error

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

On this page: