import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GreengrassClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassClient"; import type { GetDeviceDefinitionVersionRequest, GetDeviceDefinitionVersionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetDeviceDefinitionVersionCommand}. */ export interface GetDeviceDefinitionVersionCommandInput extends GetDeviceDefinitionVersionRequest { } /** * @public * * The output of {@link GetDeviceDefinitionVersionCommand}. */ export interface GetDeviceDefinitionVersionCommandOutput extends GetDeviceDefinitionVersionResponse, __MetadataBearer { } declare const GetDeviceDefinitionVersionCommand_base: { new (input: GetDeviceDefinitionVersionCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetDeviceDefinitionVersionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Retrieves information about a device definition version. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GreengrassClient, GetDeviceDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import * // const { GreengrassClient, GetDeviceDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import * // import type { GreengrassClientConfig } from "@aws-sdk/client-greengrass"; * const config = {}; // type is GreengrassClientConfig * const client = new GreengrassClient(config); * const input = { // GetDeviceDefinitionVersionRequest * DeviceDefinitionId: "STRING_VALUE", // required * DeviceDefinitionVersionId: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * }; * const command = new GetDeviceDefinitionVersionCommand(input); * const response = await client.send(command); * // { // GetDeviceDefinitionVersionResponse * // Arn: "STRING_VALUE", * // CreationTimestamp: "STRING_VALUE", * // Definition: { // DeviceDefinitionVersion * // Devices: [ // __listOfDevice * // { // Device * // CertificateArn: "STRING_VALUE", // required * // Id: "STRING_VALUE", // required * // SyncShadow: true || false, * // ThingArn: "STRING_VALUE", // required * // }, * // ], * // }, * // Id: "STRING_VALUE", * // NextToken: "STRING_VALUE", * // Version: "STRING_VALUE", * // }; * * ``` * * @param GetDeviceDefinitionVersionCommandInput - {@link GetDeviceDefinitionVersionCommandInput} * @returns {@link GetDeviceDefinitionVersionCommandOutput} * @see {@link GetDeviceDefinitionVersionCommandInput} for command's `input` shape. * @see {@link GetDeviceDefinitionVersionCommandOutput} for command's `response` shape. * @see {@link GreengrassClientResolvedConfig | config} for GreengrassClient's `config` shape. * * @throws {@link BadRequestException} (client fault) * General error information. * * @throws {@link GreengrassServiceException} *

Base exception class for all service exceptions from Greengrass service.

* * * @public */ export declare class GetDeviceDefinitionVersionCommand extends GetDeviceDefinitionVersionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetDeviceDefinitionVersionRequest; output: GetDeviceDefinitionVersionResponse; }; sdk: { input: GetDeviceDefinitionVersionCommandInput; output: GetDeviceDefinitionVersionCommandOutput; }; }; }