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.

UpdateUserHierarchyInput

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

type UpdateUserHierarchyInput struct { HierarchyGroupId *string `type:"string"` InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` UserId *string `location:"uri" locationName:"UserId" type:"string" required:"true"` }

HierarchyGroupId

Type: *string

The identifier for the hierarchy group to assign to the user.

InstanceId

Type: *string

The identifier for your Amazon Connect instance. To find the ID of your instance, open the AWS console and select Amazon Connect. Select the alias of the instance in the Instance alias column. The instance ID is displayed in the Overview section of your instance settings. For example, the instance ID is the set of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07.

InstanceId is a required field

UserId

Type: *string

The identifier of the user account to assign the hierarchy group to.

UserId is a required field

Method

GoString

func (s UpdateUserHierarchyInput) GoString() string

GoString returns the string representation

SetHierarchyGroupId

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

SetHierarchyGroupId sets the HierarchyGroupId field's value.

SetInstanceId

func (s *UpdateUserHierarchyInput) SetInstanceId(v string) *UpdateUserHierarchyInput

SetInstanceId sets the InstanceId field's value.

SetUserId

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

SetUserId sets the UserId field's value.

String

func (s UpdateUserHierarchyInput) String() string

String returns the string representation

Validate

func (s *UpdateUserHierarchyInput) Validate() error

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

On this page: