getImportFileTask method
Retrieves the details about a specific import task.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter id :
The ID of the import file task. This ID is returned in the response of
StartImportFileTask.
Implementation
Future<GetImportFileTaskResponse> getImportFileTask({
required String id,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/get-import-file-task/${Uri.encodeComponent(id)}',
exceptionFnMap: _exceptionFns,
);
return GetImportFileTaskResponse.fromJson(response);
}