getSpeakerSearchTask method

Future<GetSpeakerSearchTaskResponse> getSpeakerSearchTask({
  1. required String identifier,
  2. required String speakerSearchTaskId,
})

Retrieves the details of the specified speaker search 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 speakerSearchTaskId : The ID of the speaker search task.

Implementation

Future<GetSpeakerSearchTaskResponse> getSpeakerSearchTask({
  required String identifier,
  required String speakerSearchTaskId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/media-insights-pipelines/${Uri.encodeComponent(identifier)}/speaker-search-tasks/${Uri.encodeComponent(speakerSearchTaskId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetSpeakerSearchTaskResponse.fromJson(response);
}