start_contact_media_processing
async
¶
start_contact_media_processing(
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
instance_id: Optional[InstanceId] = None,
contact_id: Optional[ContactId] = None,
processor_arn: Optional[ARN] = None,
failure_mode: Optional[ContactMediaProcessingFailureMode] = None,
) -> StartContactMediaProcessingResponse
Enables in-flight message processing for an ongoing chat session. Message processing will stay active for the rest of the chat, even if an individual contact segment ends.
Parameters:
-
instance_id(Optional[InstanceId], default:None) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
contact_id(Optional[ContactId], default:None) –The identifier of the contact.
-
processor_arn(Optional[ARN], default:None) –The Amazon Resource Name (ARN) of the Lambda processor. You can find the Amazon Resource Name of the lambda in the lambda console.
-
failure_mode(Optional[ContactMediaProcessingFailureMode], default:None) –The desired behavior for failed message processing.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
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.
-
ServiceQuotaExceededException–The service quota has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
23545 23546 23547 23548 23549 23550 23551 23552 23553 23554 23555 23556 23557 23558 23559 23560 23561 23562 23563 23564 23565 23566 23567 23568 23569 23570 23571 23572 23573 23574 23575 23576 23577 23578 23579 23580 23581 23582 23583 23584 23585 23586 23587 23588 23589 23590 23591 23592 23593 23594 23595 23596 23597 23598 23599 23600 23601 23602 23603 23604 23605 23606 23607 23608 23609 | |