Skip to main content

instance_attributes

Creates, updates, deletes, gets or lists an instance_attributes resource.

Overview

Nameinstance_attributes
TypeResource
Idaws.connect.instance_attributes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
attribute_typestringThe type of attribute. (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)
valuestringThe value of the attribute.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_instance_attributeselectinstance_id, attribute_type, regionThis API is in preview release for Connect Customer and is subject to change. Describes the specified instance attribute.
list_instance_attributesselectinstance_id, regionnextToken, maxResultsThis API is in preview release for Connect Customer and is subject to change. Returns a paginated list of all attribute types for the given instance.
update_instance_attributeupdateinstance_id, attribute_type, regionThis API is in preview release for Connect Customer and is subject to change. Updates the value for the specified attribute type.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
attribute_typestringThe 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.
instance_idstringThe identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to return per page.
nextTokenstringThe token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

SELECT examples

This API is in preview release for Connect Customer and is subject to change. Describes the specified instance attribute.

SELECT
attribute_type,
value
FROM aws.connect.instance_attributes
WHERE instance_id = '{{ instance_id }}' -- required
AND attribute_type = '{{ attribute_type }}' -- required
AND region = '{{ region }}' -- required
;

UPDATE examples

This API is in preview release for Connect Customer and is subject to change. Updates the value for the specified attribute type.

UPDATE aws.connect.instance_attributes
SET
Value = '{{ Value }}',
ClientToken = '{{ ClientToken }}'
WHERE
instance_id = '{{ instance_id }}' --required
AND attribute_type = '{{ attribute_type }}' --required
AND region = '{{ region }}' --required;