import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeTaskInput, DescribeTaskOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeTaskCommand}. */ export interface DescribeTaskCommandInput extends DescribeTaskInput { } /** * @public * * The output of {@link DescribeTaskCommand}. */ export interface DescribeTaskCommandOutput extends DescribeTaskOutput, __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; }; /** *

Checks the metadata for a given task on a device.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SnowDeviceManagementClient, DescribeTaskCommand } from "@aws-sdk/client-snow-device-management"; // ES Modules import * // const { SnowDeviceManagementClient, DescribeTaskCommand } = require("@aws-sdk/client-snow-device-management"); // CommonJS import * // import type { SnowDeviceManagementClientConfig } from "@aws-sdk/client-snow-device-management"; * const config = {}; // type is SnowDeviceManagementClientConfig * const client = new SnowDeviceManagementClient(config); * const input = { // DescribeTaskInput * taskId: "STRING_VALUE", // required * }; * const command = new DescribeTaskCommand(input); * const response = await client.send(command); * // { // DescribeTaskOutput * // taskId: "STRING_VALUE", * // taskArn: "STRING_VALUE", * // targets: [ // TargetList * // "STRING_VALUE", * // ], * // state: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), * // lastUpdatedAt: new Date("TIMESTAMP"), * // completedAt: new Date("TIMESTAMP"), * // description: "STRING_VALUE", * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @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 SnowDeviceManagementClientResolvedConfig | config} for SnowDeviceManagementClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have sufficient access to perform this action.

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

An unexpected error occurred while processing the request.

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

The request references a resource that doesn't exist.

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

The request was denied due to request throttling.

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

The input fails to satisfy the constraints specified by an Amazon Web Services service.

* * @throws {@link SnowDeviceManagementServiceException} *

Base exception class for all service exceptions from SnowDeviceManagement service.

* * * @public */ export declare class DescribeTaskCommand extends DescribeTaskCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeTaskInput; output: DescribeTaskOutput; }; sdk: { input: DescribeTaskCommandInput; output: DescribeTaskCommandOutput; }; }; }