import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient"; import type { DescribeJobExecutionRequest, DescribeJobExecutionResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeJobExecutionCommand}. */ export interface DescribeJobExecutionCommandInput extends DescribeJobExecutionRequest { } /** * @public * * The output of {@link DescribeJobExecutionCommand}. */ export interface DescribeJobExecutionCommandOutput extends DescribeJobExecutionResponse, __MetadataBearer { } declare const DescribeJobExecutionCommand_base: { new (input: DescribeJobExecutionCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeJobExecutionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Describes a job execution.

*

Requires permission to access the DescribeJobExecution action.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTClient, DescribeJobExecutionCommand } from "@aws-sdk/client-iot"; // ES Modules import * // const { IoTClient, DescribeJobExecutionCommand } = require("@aws-sdk/client-iot"); // CommonJS import * // import type { IoTClientConfig } from "@aws-sdk/client-iot"; * const config = {}; // type is IoTClientConfig * const client = new IoTClient(config); * const input = { // DescribeJobExecutionRequest * jobId: "STRING_VALUE", // required * thingName: "STRING_VALUE", // required * executionNumber: Number("long"), * }; * const command = new DescribeJobExecutionCommand(input); * const response = await client.send(command); * // { // DescribeJobExecutionResponse * // execution: { // JobExecution * // jobId: "STRING_VALUE", * // status: "QUEUED" || "IN_PROGRESS" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "REJECTED" || "REMOVED" || "CANCELED", * // forceCanceled: true || false, * // statusDetails: { // JobExecutionStatusDetails * // detailsMap: { // DetailsMap * // "": "STRING_VALUE", * // }, * // }, * // thingArn: "STRING_VALUE", * // queuedAt: new Date("TIMESTAMP"), * // startedAt: new Date("TIMESTAMP"), * // lastUpdatedAt: new Date("TIMESTAMP"), * // executionNumber: Number("long"), * // versionNumber: Number("long"), * // approximateSecondsBeforeTimedOut: Number("long"), * // }, * // }; * * ``` * * @param DescribeJobExecutionCommandInput - {@link DescribeJobExecutionCommandInput} * @returns {@link DescribeJobExecutionCommandOutput} * @see {@link DescribeJobExecutionCommandInput} for command's `input` shape. * @see {@link DescribeJobExecutionCommandOutput} for command's `response` shape. * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape. * * @throws {@link InvalidRequestException} (client fault) *

The request is not valid.

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

The specified resource does not exist.

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

The service is temporarily unavailable.

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

The rate exceeds the limit.

* * @throws {@link IoTServiceException} *

Base exception class for all service exceptions from IoT service.

* * * @public */ export declare class DescribeJobExecutionCommand extends DescribeJobExecutionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeJobExecutionRequest; output: DescribeJobExecutionResponse; }; sdk: { input: DescribeJobExecutionCommandInput; output: DescribeJobExecutionCommandOutput; }; }; }