Skip to content

Update Instance Attribute

connect_update_instance_attribute R Documentation

This API is in preview release for Connect Customer and is subject to change

Description

This API is in preview release for Connect Customer and is subject to change.

Updates the value for the specified attribute type.

Usage

connect_update_instance_attribute(InstanceId, AttributeType, Value,
  ClientToken)

Arguments

InstanceId

[required] The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

AttributeType

[required] The type of attribute.

Only allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature, contact Amazon Web Services Support for allowlisting.

If you set the attribute type as MESSAGE_STREAMING, you need to update the Lex bot alias resource based policy to include the lex:RecognizeMessageAsync action for the connect instance ARN resource.

Value

[required] The value for the attribute. Maximum character limit is 100.

ClientToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

Value

An empty list.

Request syntax

svc$update_instance_attribute(
  InstanceId = "string",
  AttributeType = "INBOUND_CALLS"|"OUTBOUND_CALLS"|"CONTACTFLOW_LOGS"|"CONTACT_LENS"|"AUTO_RESOLVE_BEST_VOICES"|"USE_CUSTOM_TTS_VOICES"|"EARLY_MEDIA"|"MULTI_PARTY_CONFERENCE"|"HIGH_VOLUME_OUTBOUND"|"ENHANCED_CONTACT_MONITORING"|"ENHANCED_CHAT_MONITORING"|"MULTI_PARTY_CHAT_CONFERENCE"|"MESSAGE_STREAMING",
  Value = "string",
  ClientToken = "string"
)