getSearchJob method

Future<GetSearchJobOutput> getSearchJob({
  1. required String searchJobIdentifier,
})

This operation retrieves metadata of a search job, including its progress.

May throw ResourceNotFoundException.

Parameter searchJobIdentifier : Required unique string that specifies the search job.

Implementation

Future<GetSearchJobOutput> getSearchJob({
  required String searchJobIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/search-jobs/${Uri.encodeComponent(searchJobIdentifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetSearchJobOutput.fromJson(response);
}