import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { BatchDeleteImportDataRequest, BatchDeleteImportDataResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link BatchDeleteImportDataCommand}. */ export interface BatchDeleteImportDataCommandInput extends BatchDeleteImportDataRequest { } /** * @public * * The output of {@link BatchDeleteImportDataCommand}. */ export interface BatchDeleteImportDataCommandOutput extends BatchDeleteImportDataResponse, __MetadataBearer { } declare const BatchDeleteImportDataCommand_base: { new (input: BatchDeleteImportDataCommandInput): import("@smithy/core/client").CommandImpl; new (input: BatchDeleteImportDataCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes one or more import tasks, each identified by their import ID. Each import task has * a number of records that can identify servers or applications.

*

Amazon Web Services Application Discovery Service has built-in matching logic that will identify when * discovered servers match existing entries that you've previously discovered, the information * for the already-existing discovered server is updated. When you delete an import task that * contains records that were used to match, the information in those matched records that comes * from the deleted records will also be deleted.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApplicationDiscoveryServiceClient, BatchDeleteImportDataCommand } from "@aws-sdk/client-application-discovery-service"; // ES Modules import * // const { ApplicationDiscoveryServiceClient, BatchDeleteImportDataCommand } = require("@aws-sdk/client-application-discovery-service"); // CommonJS import * // import type { ApplicationDiscoveryServiceClientConfig } from "@aws-sdk/client-application-discovery-service"; * const config = {}; // type is ApplicationDiscoveryServiceClientConfig * const client = new ApplicationDiscoveryServiceClient(config); * const input = { // BatchDeleteImportDataRequest * importTaskIds: [ // ToDeleteIdentifierList // required * "STRING_VALUE", * ], * deleteHistory: true || false, * }; * const command = new BatchDeleteImportDataCommand(input); * const response = await client.send(command); * // { // BatchDeleteImportDataResponse * // errors: [ // BatchDeleteImportDataErrorList * // { // BatchDeleteImportDataError * // importTaskId: "STRING_VALUE", * // errorCode: "NOT_FOUND" || "INTERNAL_SERVER_ERROR" || "OVER_LIMIT", * // errorDescription: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param BatchDeleteImportDataCommandInput - {@link BatchDeleteImportDataCommandInput} * @returns {@link BatchDeleteImportDataCommandOutput} * @see {@link BatchDeleteImportDataCommandInput} for command's `input` shape. * @see {@link BatchDeleteImportDataCommandOutput} for command's `response` shape. * @see {@link ApplicationDiscoveryServiceClientResolvedConfig | config} for ApplicationDiscoveryServiceClient's `config` shape. * * @throws {@link AuthorizationErrorException} (client fault) *

The user does not have permission to perform the action. Check the IAM * policy associated with this user.

* * @throws {@link HomeRegionNotSetException} (client fault) *

The home Region is not set. Set the home Region to continue.

* * @throws {@link InvalidParameterException} (client fault) *

One or more parameters are not valid. Verify the parameters and try again.

* * @throws {@link InvalidParameterValueException} (client fault) *

The value of one or more parameters are either invalid or out of range. Verify the * parameter values and try again.

* * @throws {@link ServerInternalErrorException} (server fault) *

The server experienced an internal error. Try again.

* * @throws {@link ApplicationDiscoveryServiceServiceException} *

Base exception class for all service exceptions from ApplicationDiscoveryService service.

* * * @public */ export declare class BatchDeleteImportDataCommand extends BatchDeleteImportDataCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchDeleteImportDataRequest; output: BatchDeleteImportDataResponse; }; sdk: { input: BatchDeleteImportDataCommandInput; output: BatchDeleteImportDataCommandOutput; }; }; }