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.

UpdateContactAttributesInput

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

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"` }

Attributes

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

InitialContactId

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

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

Method

GoString

func (s UpdateContactAttributesInput) GoString() string

GoString returns the string representation

SetAttributes

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

SetAttributes sets the Attributes field's value.

SetInitialContactId

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

SetInitialContactId sets the InitialContactId field's value.

SetInstanceId

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

SetInstanceId sets the InstanceId field's value.

String

func (s UpdateContactAttributesInput) String() string

String returns the string representation

Validate

func (s *UpdateContactAttributesInput) Validate() error

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

On this page: