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
23233 23234 23235 23236 23237 23238 23239 23240 23241 23242 23243 23244 23245 23246 23247 23248 23249 23250 23251 23252 23253 23254 23255 23256 23257 23258 23259 23260 23261 23262 23263 23264 23265 23266 23267 23268 23269 23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 23291 23292 23293 23294 23295 23296 | |