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 { ListDeviceDefinitionsRequest, ListDeviceDefinitionsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListDeviceDefinitionsCommand}. */ export interface ListDeviceDefinitionsCommandInput extends ListDeviceDefinitionsRequest { } /** * @public * * The output of {@link ListDeviceDefinitionsCommand}. */ export interface ListDeviceDefinitionsCommandOutput extends ListDeviceDefinitionsResponse, __MetadataBearer { } declare const ListDeviceDefinitionsCommand_base: { new (input: ListDeviceDefinitionsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListDeviceDefinitionsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Retrieves a list of device definitions. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GreengrassClient, ListDeviceDefinitionsCommand } from "@aws-sdk/client-greengrass"; // ES Modules import * // const { GreengrassClient, ListDeviceDefinitionsCommand } = 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 = { // ListDeviceDefinitionsRequest * MaxResults: "STRING_VALUE", * NextToken: "STRING_VALUE", * }; * const command = new ListDeviceDefinitionsCommand(input); * const response = await client.send(command); * // { // ListDeviceDefinitionsResponse * // Definitions: [ // __listOfDefinitionInformation * // { // DefinitionInformation * // Arn: "STRING_VALUE", * // CreationTimestamp: "STRING_VALUE", * // Id: "STRING_VALUE", * // LastUpdatedTimestamp: "STRING_VALUE", * // LatestVersion: "STRING_VALUE", * // LatestVersionArn: "STRING_VALUE", * // Name: "STRING_VALUE", * // Tags: { // Tags * // "": "STRING_VALUE", * // }, * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListDeviceDefinitionsCommandInput - {@link ListDeviceDefinitionsCommandInput} * @returns {@link ListDeviceDefinitionsCommandOutput} * @see {@link ListDeviceDefinitionsCommandInput} for command's `input` shape. * @see {@link ListDeviceDefinitionsCommandOutput} for command's `response` shape. * @see {@link GreengrassClientResolvedConfig | config} for GreengrassClient's `config` shape. * * @throws {@link GreengrassServiceException} *

Base exception class for all service exceptions from Greengrass service.

* * * @public */ export declare class ListDeviceDefinitionsCommand extends ListDeviceDefinitionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDeviceDefinitionsRequest; output: ListDeviceDefinitionsResponse; }; sdk: { input: ListDeviceDefinitionsCommandInput; output: ListDeviceDefinitionsCommandOutput; }; }; }