start_contact_streaming
¶
start_contact_streaming(
instance_id: InstanceId,
contact_id: ContactId,
chat_streaming_configuration: ChatStreamingConfiguration,
client_token: ClientToken,
*,
config_overrides: Optional[ConnectClientConfig] = 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/connect.py
23356 23357 23358 23359 23360 23361 23362 23363 23364 23365 23366 23367 23368 23369 23370 23371 23372 23373 23374 23375 23376 23377 23378 23379 23380 23381 23382 23383 23384 23385 23386 23387 23388 23389 23390 23391 23392 23393 23394 23395 23396 23397 23398 23399 23400 23401 23402 23403 23404 23405 23406 23407 23408 23409 23410 23411 23412 | |