getDataSetExportTask method
Gets the status of a data set import task initiated with the CreateDataSetExportTask operation.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter applicationId :
The application identifier.
Parameter taskId :
The task identifier returned by the CreateDataSetExportTask
operation.
Implementation
Future<GetDataSetExportTaskResponse> getDataSetExportTask({
required String applicationId,
required String taskId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/applications/${Uri.encodeComponent(applicationId)}/dataset-export-tasks/${Uri.encodeComponent(taskId)}',
exceptionFnMap: _exceptionFns,
);
return GetDataSetExportTaskResponse.fromJson(response);
}