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
23784 23785 23786 23787 23788 23789 23790 23791 23792 23793 23794 23795 23796 23797 23798 23799 23800 23801 23802 23803 23804 23805 23806 23807 23808 23809 23810 23811 23812 23813 23814 23815 23816 23817 23818 23819 23820 23821 23822 23823 23824 23825 23826 23827 23828 23829 23830 23831 23832 23833 23834 23835 23836 23837 23838 23839 23840 23841 23842 23843 23844 23845 23846 23847 23848 | |