start_contact_media_processing
¶
start_contact_media_processing(
*,
config_overrides: Optional[ConnectClientConfig] = 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/connect.py
23470 23471 23472 23473 23474 23475 23476 23477 23478 23479 23480 23481 23482 23483 23484 23485 23486 23487 23488 23489 23490 23491 23492 23493 23494 23495 23496 23497 23498 23499 23500 23501 23502 23503 23504 23505 23506 23507 23508 23509 23510 23511 23512 23513 23514 23515 23516 23517 23518 23519 23520 23521 23522 23523 23524 23525 23526 23527 23528 23529 23530 23531 23532 23533 | |