import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteTaskRequest, DeleteTaskResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteTaskCommand}. */ export interface DeleteTaskCommandInput extends DeleteTaskRequest { } /** * @public * * The output of {@link DeleteTaskCommand}. */ export interface DeleteTaskCommandOutput extends DeleteTaskResponse, __MetadataBearer { } declare const DeleteTaskCommand_base: { new (input: DeleteTaskCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteTaskCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a transfer task resource from DataSync.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataSyncClient, DeleteTaskCommand } from "@aws-sdk/client-datasync"; // ES Modules import * // const { DataSyncClient, DeleteTaskCommand } = require("@aws-sdk/client-datasync"); // CommonJS import * // import type { DataSyncClientConfig } from "@aws-sdk/client-datasync"; * const config = {}; // type is DataSyncClientConfig * const client = new DataSyncClient(config); * const input = { // DeleteTaskRequest * TaskArn: "STRING_VALUE", // required * }; * const command = new DeleteTaskCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteTaskCommandInput - {@link DeleteTaskCommandInput} * @returns {@link DeleteTaskCommandOutput} * @see {@link DeleteTaskCommandInput} for command's `input` shape. * @see {@link DeleteTaskCommandOutput} for command's `response` shape. * @see {@link DataSyncClientResolvedConfig | config} for DataSyncClient's `config` shape. * * @throws {@link InternalException} (server fault) *

This exception is thrown when an error occurs in the DataSync * service.

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

This exception is thrown when the client submits a malformed request.

* * @throws {@link DataSyncServiceException} *

Base exception class for all service exceptions from DataSync service.

* * * @public */ export declare class DeleteTaskCommand extends DeleteTaskCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteTaskRequest; output: {}; }; sdk: { input: DeleteTaskCommandInput; output: DeleteTaskCommandOutput; }; }; }