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 { GetResourceDefinitionRequest, GetResourceDefinitionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetResourceDefinitionCommand}. */ export interface GetResourceDefinitionCommandInput extends GetResourceDefinitionRequest { } /** * @public * * The output of {@link GetResourceDefinitionCommand}. */ export interface GetResourceDefinitionCommandOutput extends GetResourceDefinitionResponse, __MetadataBearer { } declare const GetResourceDefinitionCommand_base: { new (input: GetResourceDefinitionCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetResourceDefinitionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Retrieves information about a resource definition, including its creation time and latest version. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GreengrassClient, GetResourceDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import * // const { GreengrassClient, GetResourceDefinitionCommand } = 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 = { // GetResourceDefinitionRequest * ResourceDefinitionId: "STRING_VALUE", // required * }; * const command = new GetResourceDefinitionCommand(input); * const response = await client.send(command); * // { // GetResourceDefinitionResponse * // 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", * // }, * // }; * * ``` * * @param GetResourceDefinitionCommandInput - {@link GetResourceDefinitionCommandInput} * @returns {@link GetResourceDefinitionCommandOutput} * @see {@link GetResourceDefinitionCommandInput} for command's `input` shape. * @see {@link GetResourceDefinitionCommandOutput} 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 GetResourceDefinitionCommand extends GetResourceDefinitionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetResourceDefinitionRequest; output: GetResourceDefinitionResponse; }; sdk: { input: GetResourceDefinitionCommandInput; output: GetResourceDefinitionCommandOutput; }; }; }