import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeTaskRequest, DescribeTaskResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeTaskCommand}. */ export interface DescribeTaskCommandInput extends DescribeTaskRequest { } /** * @public * * The output of {@link DescribeTaskCommand}. */ export interface DescribeTaskCommandOutput extends DescribeTaskResponse, __MetadataBearer { } declare const DescribeTaskCommand_base: { new (input: DescribeTaskCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeTaskCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Provides information about a task, which defines where and how * DataSync transfers your data.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataSyncClient, DescribeTaskCommand } from "@aws-sdk/client-datasync"; // ES Modules import * // const { DataSyncClient, DescribeTaskCommand } = 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 = { // DescribeTaskRequest * TaskArn: "STRING_VALUE", // required * }; * const command = new DescribeTaskCommand(input); * const response = await client.send(command); * // { // DescribeTaskResponse * // TaskArn: "STRING_VALUE", * // Status: "AVAILABLE" || "CREATING" || "QUEUED" || "RUNNING" || "UNAVAILABLE", * // Name: "STRING_VALUE", * // CurrentTaskExecutionArn: "STRING_VALUE", * // SourceLocationArn: "STRING_VALUE", * // DestinationLocationArn: "STRING_VALUE", * // CloudWatchLogGroupArn: "STRING_VALUE", * // SourceNetworkInterfaceArns: [ // SourceNetworkInterfaceArns * // "STRING_VALUE", * // ], * // DestinationNetworkInterfaceArns: [ // DestinationNetworkInterfaceArns * // "STRING_VALUE", * // ], * // 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", * // }, * // Excludes: [ // FilterList * // { // FilterRule * // FilterType: "SIMPLE_PATTERN", * // Value: "STRING_VALUE", * // }, * // ], * // Schedule: { // TaskSchedule * // ScheduleExpression: "STRING_VALUE", // required * // Status: "ENABLED" || "DISABLED", * // }, * // ErrorCode: "STRING_VALUE", * // ErrorDetail: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // Includes: [ * // { * // FilterType: "SIMPLE_PATTERN", * // Value: "STRING_VALUE", * // }, * // ], * // ManifestConfig: { // ManifestConfig * // Action: "TRANSFER", * // Format: "CSV", * // Source: { // SourceManifestConfig * // S3: { // S3ManifestConfig * // ManifestObjectPath: "STRING_VALUE", // required * // BucketAccessRoleArn: "STRING_VALUE", // required * // S3BucketArn: "STRING_VALUE", // required * // ManifestObjectVersionId: "STRING_VALUE", * // }, * // }, * // }, * // TaskReportConfig: { // TaskReportConfig * // Destination: { // ReportDestination * // S3: { // ReportDestinationS3 * // Subdirectory: "STRING_VALUE", * // S3BucketArn: "STRING_VALUE", // required * // BucketAccessRoleArn: "STRING_VALUE", // required * // }, * // }, * // OutputType: "SUMMARY_ONLY" || "STANDARD", * // ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS", * // ObjectVersionIds: "INCLUDE" || "NONE", * // Overrides: { // ReportOverrides * // Transferred: { // ReportOverride * // ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS", * // }, * // Verified: { * // ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS", * // }, * // Deleted: { * // ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS", * // }, * // Skipped: { * // ReportLevel: "ERRORS_ONLY" || "SUCCESSES_AND_ERRORS", * // }, * // }, * // }, * // ScheduleDetails: { // TaskScheduleDetails * // StatusUpdateTime: new Date("TIMESTAMP"), * // DisabledReason: "STRING_VALUE", * // DisabledBy: "USER" || "SERVICE", * // }, * // TaskMode: "BASIC" || "ENHANCED", * // }; * * ``` * * @param DescribeTaskCommandInput - {@link DescribeTaskCommandInput} * @returns {@link DescribeTaskCommandOutput} * @see {@link DescribeTaskCommandInput} for command's `input` shape. * @see {@link DescribeTaskCommandOutput} 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 DescribeTaskCommand extends DescribeTaskCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeTaskRequest; output: DescribeTaskResponse; }; sdk: { input: DescribeTaskCommandInput; output: DescribeTaskCommandOutput; }; }; }