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 { ListDeviceDefinitionVersionsRequest, ListDeviceDefinitionVersionsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListDeviceDefinitionVersionsCommand}. */ export interface ListDeviceDefinitionVersionsCommandInput extends ListDeviceDefinitionVersionsRequest { } /** * @public * * The output of {@link ListDeviceDefinitionVersionsCommand}. */ export interface ListDeviceDefinitionVersionsCommandOutput extends ListDeviceDefinitionVersionsResponse, __MetadataBearer { } declare const ListDeviceDefinitionVersionsCommand_base: { new (input: ListDeviceDefinitionVersionsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListDeviceDefinitionVersionsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Lists the versions of a device definition. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GreengrassClient, ListDeviceDefinitionVersionsCommand } from "@aws-sdk/client-greengrass"; // ES Modules import * // const { GreengrassClient, ListDeviceDefinitionVersionsCommand } = 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 = { // ListDeviceDefinitionVersionsRequest * DeviceDefinitionId: "STRING_VALUE", // required * MaxResults: "STRING_VALUE", * NextToken: "STRING_VALUE", * }; * const command = new ListDeviceDefinitionVersionsCommand(input); * const response = await client.send(command); * // { // ListDeviceDefinitionVersionsResponse * // NextToken: "STRING_VALUE", * // Versions: [ // __listOfVersionInformation * // { // VersionInformation * // Arn: "STRING_VALUE", * // CreationTimestamp: "STRING_VALUE", * // Id: "STRING_VALUE", * // Version: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param ListDeviceDefinitionVersionsCommandInput - {@link ListDeviceDefinitionVersionsCommandInput} * @returns {@link ListDeviceDefinitionVersionsCommandOutput} * @see {@link ListDeviceDefinitionVersionsCommandInput} for command's `input` shape. * @see {@link ListDeviceDefinitionVersionsCommandOutput} 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 ListDeviceDefinitionVersionsCommand extends ListDeviceDefinitionVersionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDeviceDefinitionVersionsRequest; output: ListDeviceDefinitionVersionsResponse; }; sdk: { input: ListDeviceDefinitionVersionsCommandInput; output: ListDeviceDefinitionVersionsCommandOutput; }; }; }