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 { GetCommandRequest, GetCommandResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetCommandCommand}. */ export interface GetCommandCommandInput extends GetCommandRequest { } /** * @public * * The output of {@link GetCommandCommand}. */ export interface GetCommandCommandOutput extends GetCommandResponse, __MetadataBearer { } declare const GetCommandCommand_base: { new (input: GetCommandCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetCommandCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Gets information about the specified command.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTClient, GetCommandCommand } from "@aws-sdk/client-iot"; // ES Modules import * // const { IoTClient, GetCommandCommand } = 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 = { // GetCommandRequest * commandId: "STRING_VALUE", // required * }; * const command = new GetCommandCommand(input); * const response = await client.send(command); * // { // GetCommandResponse * // commandId: "STRING_VALUE", * // commandArn: "STRING_VALUE", * // namespace: "AWS-IoT" || "AWS-IoT-FleetWise", * // displayName: "STRING_VALUE", * // description: "STRING_VALUE", * // mandatoryParameters: [ // CommandParameterList * // { // CommandParameter * // name: "STRING_VALUE", // required * // type: "STRING" || "INTEGER" || "DOUBLE" || "LONG" || "UNSIGNEDLONG" || "BOOLEAN" || "BINARY", * // value: { // CommandParameterValue * // S: "STRING_VALUE", * // B: true || false, * // I: Number("int"), * // L: Number("long"), * // D: Number("double"), * // BIN: new Uint8Array(), * // UL: "STRING_VALUE", * // }, * // defaultValue: { * // S: "STRING_VALUE", * // B: true || false, * // I: Number("int"), * // L: Number("long"), * // D: Number("double"), * // BIN: new Uint8Array(), * // UL: "STRING_VALUE", * // }, * // valueConditions: [ // CommandParameterValueConditionList * // { // CommandParameterValueCondition * // comparisonOperator: "EQUALS" || "NOT_EQUALS" || "LESS_THAN" || "LESS_THAN_EQUALS" || "GREATER_THAN" || "GREATER_THAN_EQUALS" || "IN_SET" || "NOT_IN_SET" || "IN_RANGE" || "NOT_IN_RANGE", // required * // operand: { // CommandParameterValueComparisonOperand * // number: "STRING_VALUE", * // numbers: [ // CommandParameterValueStringList * // "STRING_VALUE", * // ], * // string: "STRING_VALUE", * // strings: [ * // "STRING_VALUE", * // ], * // numberRange: { // CommandParameterValueNumberRange * // min: "STRING_VALUE", // required * // max: "STRING_VALUE", // required * // }, * // }, * // }, * // ], * // description: "STRING_VALUE", * // }, * // ], * // payload: { // CommandPayload * // content: new Uint8Array(), * // contentType: "STRING_VALUE", * // }, * // payloadTemplate: "STRING_VALUE", * // preprocessor: { // CommandPreprocessor * // awsJsonSubstitution: { // AwsJsonSubstitutionCommandPreprocessorConfig * // outputFormat: "JSON" || "CBOR", // required * // }, * // }, * // roleArn: "STRING_VALUE", * // createdAt: new Date("TIMESTAMP"), * // lastUpdatedAt: new Date("TIMESTAMP"), * // deprecated: true || false, * // pendingDeletion: true || false, * // }; * * ``` * * @param GetCommandCommandInput - {@link GetCommandCommandInput} * @returns {@link GetCommandCommandOutput} * @see {@link GetCommandCommandInput} for command's `input` shape. * @see {@link GetCommandCommandOutput} for command's `response` shape. * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

Internal error from the service that indicates an unexpected error or that the service * is unavailable.

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

The specified resource does not exist.

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

The rate exceeds the limit.

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

The request is not valid.

* * @throws {@link IoTServiceException} *

Base exception class for all service exceptions from IoT service.

* * * @public */ export declare class GetCommandCommand extends GetCommandCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetCommandRequest; output: GetCommandResponse; }; sdk: { input: GetCommandCommandInput; output: GetCommandCommandOutput; }; }; }