import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateTaskExecutionRequest, UpdateTaskExecutionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateTaskExecutionCommand}. */ export interface UpdateTaskExecutionCommandInput extends UpdateTaskExecutionRequest { } /** * @public * * The output of {@link UpdateTaskExecutionCommand}. */ export interface UpdateTaskExecutionCommandOutput extends UpdateTaskExecutionResponse, __MetadataBearer { } declare const UpdateTaskExecutionCommand_base: { new (input: UpdateTaskExecutionCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateTaskExecutionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the configuration of a running DataSync task execution.

* *

Currently, the only Option that you can modify with * UpdateTaskExecution is * BytesPerSecond * , which throttles bandwidth for a running or queued task * execution.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataSyncClient, UpdateTaskExecutionCommand } from "@aws-sdk/client-datasync"; // ES Modules import * // const { DataSyncClient, UpdateTaskExecutionCommand } = 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 = { // UpdateTaskExecutionRequest * TaskExecutionArn: "STRING_VALUE", // required * Options: { // Options * VerifyMode: "POINT_IN_TIME_CONSISTENT" || "ONLY_FILES_TRANSFERRED" || "NONE", * OverwriteMode: "ALWAYS" || "NEVER", * Atime: "NONE" || "BEST_EFFORT", * Mtime: "NONE" || "PRESERVE", * Uid: "NONE" || "INT_VALUE" || "NAME" || "BOTH", * Gid: "NONE" || "INT_VALUE" || "NAME" || "BOTH", * PreserveDeletedFiles: "PRESERVE" || "REMOVE", * PreserveDevices: "NONE" || "PRESERVE", * PosixPermissions: "NONE" || "PRESERVE", * BytesPerSecond: Number("long"), * TaskQueueing: "ENABLED" || "DISABLED", * LogLevel: "OFF" || "BASIC" || "TRANSFER", * TransferMode: "CHANGED" || "ALL", * SecurityDescriptorCopyFlags: "NONE" || "OWNER_DACL" || "OWNER_DACL_SACL", * ObjectTags: "PRESERVE" || "NONE", * }, * }; * const command = new UpdateTaskExecutionCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param UpdateTaskExecutionCommandInput - {@link UpdateTaskExecutionCommandInput} * @returns {@link UpdateTaskExecutionCommandOutput} * @see {@link UpdateTaskExecutionCommandInput} for command's `input` shape. * @see {@link UpdateTaskExecutionCommandOutput} 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 UpdateTaskExecutionCommand extends UpdateTaskExecutionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateTaskExecutionRequest; output: {}; }; sdk: { input: UpdateTaskExecutionCommandInput; output: UpdateTaskExecutionCommandOutput; }; }; }