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

We welcome your feedback on this new version of the documentation. Send your comments to


import ""

type UpdateContactAttributesInput struct { Attributes map[string]*string `type:"map" required:"true"` InitialContactId *string `min:"1" type:"string" required:"true"` InstanceId *string `min:"1" type:"string" required:"true"` }


Type: map[string]*string

Specify a custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.

There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

Attributes is a required field


Type: *string

The unique identifier of the contact for which to update attributes. This is the identifier for the contact associated with the first interaction with the contact center.

InitialContactId is a required field


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



func (s UpdateContactAttributesInput) GoString() string

GoString returns the string representation


func (s *UpdateContactAttributesInput) SetAttributes(v map[string]*string) *UpdateContactAttributesInput

SetAttributes sets the Attributes field's value.


func (s *UpdateContactAttributesInput) SetInitialContactId(v string) *UpdateContactAttributesInput

SetInitialContactId sets the InitialContactId field's value.


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

SetInstanceId sets the InstanceId field's value.


func (s UpdateContactAttributesInput) String() string

String returns the string representation


func (s *UpdateContactAttributesInput) Validate() error

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

On this page: