stopVoiceToneAnalysisTask method
Stops a voice tone analysis task.
May throw AccessDeniedException.
May throw BadRequestException.
May throw ConflictException.
May throw ForbiddenException.
May throw NotFoundException.
May throw ServiceFailureException.
May throw ServiceUnavailableException.
May throw ThrottledClientException.
May throw UnauthorizedClientException.
May throw UnprocessableEntityException.
Parameter voiceConnectorId :
The Voice Connector ID.
Parameter voiceToneAnalysisTaskId :
The ID of the voice tone analysis task.
Implementation
Future<void> stopVoiceToneAnalysisTask({
required String voiceConnectorId,
required String voiceToneAnalysisTaskId,
}) async {
await _protocol.send(
payload: null,
method: 'POST',
requestUri:
'/voice-connectors/${Uri.encodeComponent(voiceConnectorId)}/voice-tone-analysis-tasks/${Uri.encodeComponent(voiceToneAnalysisTaskId)}?operation=stop',
exceptionFnMap: _exceptionFns,
);
}