getHarvestJob method
Retrieves the details of a specific harvest job.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter channelGroupName :
The name of the channel group containing the channel associated with the
harvest job.
Parameter channelName :
The name of the channel associated with the harvest job.
Parameter harvestJobName :
The name of the harvest job to retrieve.
Parameter originEndpointName :
The name of the origin endpoint associated with the harvest job.
Implementation
Future<GetHarvestJobResponse> getHarvestJob({
required String channelGroupName,
required String channelName,
required String harvestJobName,
required String originEndpointName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/channelGroup/${Uri.encodeComponent(channelGroupName)}/channel/${Uri.encodeComponent(channelName)}/originEndpoint/${Uri.encodeComponent(originEndpointName)}/harvestJob/${Uri.encodeComponent(harvestJobName)}',
exceptionFnMap: _exceptionFns,
);
return GetHarvestJobResponse.fromJson(response);
}