import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { BatchDeleteAgentsRequest, BatchDeleteAgentsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link BatchDeleteAgentsCommand}. */ export interface BatchDeleteAgentsCommandInput extends BatchDeleteAgentsRequest { } /** * @public * * The output of {@link BatchDeleteAgentsCommand}. */ export interface BatchDeleteAgentsCommandOutput extends BatchDeleteAgentsResponse, __MetadataBearer { } declare const BatchDeleteAgentsCommand_base: { new (input: BatchDeleteAgentsCommandInput): import("@smithy/core/client").CommandImpl; new (input: BatchDeleteAgentsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* Deletes one or more agents or collectors as specified by ID. Deleting an agent or collector does not * delete the previously discovered data. * To delete the data collected, use StartBatchDeleteConfigurationTask. * *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApplicationDiscoveryServiceClient, BatchDeleteAgentsCommand } from "@aws-sdk/client-application-discovery-service"; // ES Modules import * // const { ApplicationDiscoveryServiceClient, BatchDeleteAgentsCommand } = 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 = { // BatchDeleteAgentsRequest * deleteAgents: [ // DeleteAgents // required * { // DeleteAgent * agentId: "STRING_VALUE", // required * force: true || false, * }, * ], * }; * const command = new BatchDeleteAgentsCommand(input); * const response = await client.send(command); * // { // BatchDeleteAgentsResponse * // errors: [ // BatchDeleteAgentErrors * // { // BatchDeleteAgentError * // agentId: "STRING_VALUE", // required * // errorMessage: "STRING_VALUE", // required * // errorCode: "NOT_FOUND" || "INTERNAL_SERVER_ERROR" || "AGENT_IN_USE", // required * // }, * // ], * // }; * * ``` * * @param BatchDeleteAgentsCommandInput - {@link BatchDeleteAgentsCommandInput} * @returns {@link BatchDeleteAgentsCommandOutput} * @see {@link BatchDeleteAgentsCommandInput} for command's `input` shape. * @see {@link BatchDeleteAgentsCommandOutput} 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 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 BatchDeleteAgentsCommand extends BatchDeleteAgentsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchDeleteAgentsRequest; output: BatchDeleteAgentsResponse; }; sdk: { input: BatchDeleteAgentsCommandInput; output: BatchDeleteAgentsCommandOutput; }; }; }