start_contact_streaming
async
¶
start_contact_streaming(
instance_id: InstanceId,
contact_id: ContactId,
chat_streaming_configuration: ChatStreamingConfiguration,
client_token: ClientToken,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
) -> StartContactStreamingResponse
Initiates real-time message streaming for a new chat contact.
For more information about message streaming, see Enable real-time chat message streaming in the Connect Customer Administrator Guide.
For more information about chat, see the following topics in the Connect Customer Administrator Guide:
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
contact_id(ContactId) –The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.
-
chat_streaming_configuration(ChatStreamingConfiguration) –The streaming configuration, such as the Amazon SNS streaming endpoint.
-
client_token(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.
Raises:
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
LimitExceededException–The allowed limit for the resource has been exceeded.
-
ResourceNotFoundException–The specified resource was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
23670 23671 23672 23673 23674 23675 23676 23677 23678 23679 23680 23681 23682 23683 23684 23685 23686 23687 23688 23689 23690 23691 23692 23693 23694 23695 23696 23697 23698 23699 23700 23701 23702 23703 23704 23705 23706 23707 23708 23709 23710 23711 23712 23713 23714 23715 23716 23717 23718 23719 23720 23721 23722 23723 23724 23725 23726 23727 | |