stopContactMediaProcessing method
Stops in-flight message processing for an ongoing chat session.
May throw AccessDeniedException.
May throw InternalServiceException.
May throw InvalidParameterException.
May throw InvalidRequestException.
May throw LimitExceededException.
May throw ResourceNotFoundException.
Parameter contactId :
The identifier of the contact.
Parameter instanceId :
The identifier of the Connect Customer instance. You can find
the instance ID in the Amazon Resource Name (ARN) of the instance.
Implementation
Future<void> stopContactMediaProcessing({
String? contactId,
String? instanceId,
}) async {
final $payload = <String, dynamic>{
if (contactId != null) 'ContactId': contactId,
if (instanceId != null) 'InstanceId': instanceId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/contact/stop-contact-media-processing',
exceptionFnMap: _exceptionFns,
);
}