- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
DeleteImportJobCommand
Deletes the quick response import job.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { QConnectClient, DeleteImportJobCommand } from "@aws-sdk/client-qconnect"; // ES Modules import
// const { QConnectClient, DeleteImportJobCommand } = require("@aws-sdk/client-qconnect"); // CommonJS import
const client = new QConnectClient(config);
const input = { // DeleteImportJobRequest
knowledgeBaseId: "STRING_VALUE", // required
importJobId: "STRING_VALUE", // required
};
const command = new DeleteImportJobCommand(input);
const response = await client.send(command);
// {};
DeleteImportJobCommand Input
See DeleteImportJobCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
importJobId Required | string | undefined | The identifier of the import job to be deleted. |
knowledgeBaseId Required | string | undefined | The identifier of the knowledge base. |
DeleteImportJobCommand Output
See DeleteImportJobCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
AccessDeniedException | client | You do not have sufficient access to perform this action. |
ConflictException | client | The request could not be processed because of conflict in the current state of the resource. For example, if you're using a |
ResourceNotFoundException | client | The specified resource does not exist. |
ValidationException | client | The input fails to satisfy the constraints specified by a service. |
QConnectServiceException | Base exception class for all service exceptions from QConnect service. |