We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.
Protected
Lists the data set imports for the specified application.
Use a bare-bones client and the command you need to make an API call.
import { M2Client, ListDataSetImportHistoryCommand } from "@aws-sdk/client-m2"; // ES Modules import// const { M2Client, ListDataSetImportHistoryCommand } = require("@aws-sdk/client-m2"); // CommonJS importconst client = new M2Client(config);const input = { // ListDataSetImportHistoryRequest nextToken: "STRING_VALUE", maxResults: Number("int"), applicationId: "STRING_VALUE", // required};const command = new ListDataSetImportHistoryCommand(input);const response = await client.send(command);// { // ListDataSetImportHistoryResponse// dataSetImportTasks: [ // DataSetImportTaskList // required// { // DataSetImportTask// taskId: "STRING_VALUE", // required// status: "STRING_VALUE", // required// summary: { // DataSetImportSummary// total: Number("int"), // required// succeeded: Number("int"), // required// failed: Number("int"), // required// pending: Number("int"), // required// inProgress: Number("int"), // required// },// },// ],// nextToken: "STRING_VALUE",// };
ListDataSetImportHistoryCommandInput
ListDataSetImportHistoryCommandOutput
input
response
config
AccessDeniedException (client fault)
The account or role doesn't have the right permissions to make the request.
InternalServerException (server fault)
An unexpected error occurred during the processing of the request.
ResourceNotFoundException (client fault)
The specified resource was not found.
ThrottlingException (client fault)
The number of requests made exceeds the limit.
ValidationException (client fault)
One or more parameters provided in the request is not valid.
M2ServiceException
Base exception class for all service exceptions from M2 service.
Readonly
Static
Lists the data set imports for the specified application.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListDataSetImportHistoryCommandInput
Returns
ListDataSetImportHistoryCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
The account or role doesn't have the right permissions to make the request.
Throws
InternalServerException (server fault)
An unexpected error occurred during the processing of the request.
Throws
ResourceNotFoundException (client fault)
The specified resource was not found.
Throws
ThrottlingException (client fault)
The number of requests made exceeds the limit.
Throws
ValidationException (client fault)
One or more parameters provided in the request is not valid.
Throws
M2ServiceException
Base exception class for all service exceptions from M2 service.