getVoiceToneAnalysisTask method
Retrieves the details of a voice tone analysis task.
May throw BadRequestException.
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<GetVoiceToneAnalysisTaskResponse> getVoiceToneAnalysisTask({
required String identifier,
required String voiceToneAnalysisTaskId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/media-insights-pipelines/${Uri.encodeComponent(identifier)}/voice-tone-analysis-tasks/${Uri.encodeComponent(voiceToneAnalysisTaskId)}',
exceptionFnMap: _exceptionFns,
);
return GetVoiceToneAnalysisTaskResponse.fromJson(response);
}