stopVoiceToneAnalysisTask method
Stops a voice tone analysis task.
May throw BadRequestException.
May throw ConflictException.
May throw ForbiddenException.
May throw NotFoundException.
May throw ServiceFailureException.
May throw ServiceUnavailableException.
May throw ThrottledClientException.
May throw UnauthorizedClientException.
Parameter identifier :
The unique identifier of the resource to be updated. Valid values include
the ID and ARN of the media insights pipeline.
Parameter voiceToneAnalysisTaskId :
The ID of the voice tone analysis task.
Implementation
Future<void> stopVoiceToneAnalysisTask({
required String identifier,
required String voiceToneAnalysisTaskId,
}) async {
await _protocol.send(
payload: null,
method: 'POST',
requestUri:
'/media-insights-pipelines/${Uri.encodeComponent(identifier)}/voice-tone-analysis-tasks/${Uri.encodeComponent(voiceToneAnalysisTaskId)}?operation=stop',
exceptionFnMap: _exceptionFns,
);
}