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.

User

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

type User struct { Arn *string `type:"string"` DirectoryUserId *string `type:"string"` HierarchyGroupId *string `type:"string"` Id *string `type:"string"` IdentityInfo *UserIdentityInfo `type:"structure"` PhoneConfig *UserPhoneConfig `type:"structure"` RoutingProfileId *string `type:"string"` SecurityProfileIds []*string `min:"1" type:"list"` Username *string `min:"1" type:"string"` }

A User object that contains information about a user account in your Amazon Connect instance, including configuration settings.

Arn

Type: *string

The ARN of the user account.

DirectoryUserId

Type: *string

The directory Id for the user account in the existing directory used for identity management.

HierarchyGroupId

Type: *string

The identifier for the hierarchy group assigned to the user.

Id

Type: *string

The identifier of the user account.

IdentityInfo

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

PhoneConfig

A UserPhoneConfig object that contains information about the user phone configuration settings.

RoutingProfileId

Type: *string

The identifier of the routing profile assigned to the user.

SecurityProfileIds

Type: []*string

The identifier(s) for the security profile assigned to the user.

Username

Type: *string

The user name assigned to the user account.

Method

GoString

func (s User) GoString() string

GoString returns the string representation

SetArn

func (s *User) SetArn(v string) *User

SetArn sets the Arn field's value.

SetDirectoryUserId

func (s *User) SetDirectoryUserId(v string) *User

SetDirectoryUserId sets the DirectoryUserId field's value.

SetHierarchyGroupId

func (s *User) SetHierarchyGroupId(v string) *User

SetHierarchyGroupId sets the HierarchyGroupId field's value.

SetId

func (s *User) SetId(v string) *User

SetId sets the Id field's value.

SetIdentityInfo

func (s *User) SetIdentityInfo(v *UserIdentityInfo) *User

SetIdentityInfo sets the IdentityInfo field's value.

SetPhoneConfig

func (s *User) SetPhoneConfig(v *UserPhoneConfig) *User

SetPhoneConfig sets the PhoneConfig field's value.

SetRoutingProfileId

func (s *User) SetRoutingProfileId(v string) *User

SetRoutingProfileId sets the RoutingProfileId field's value.

SetSecurityProfileIds

func (s *User) SetSecurityProfileIds(v []*string) *User

SetSecurityProfileIds sets the SecurityProfileIds field's value.

SetUsername

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

SetUsername sets the Username field's value.

String

func (s User) String() string

String returns the string representation

On this page: