getImportTask method
Retrieves a specified import task.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter taskIdentifier :
The unique identifier of the import task.
Implementation
Future<GetImportTaskOutput> getImportTask({
required String taskIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/importtasks/${Uri.encodeComponent(taskIdentifier)}',
endpoint: _resolveEndpoint(
apiType: 'ControlPlane',
),
exceptionFnMap: _exceptionFns,
);
return GetImportTaskOutput.fromJson(response);
}