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 { GetGroupVersionRequest, GetGroupVersionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetGroupVersionCommand}. */ export interface GetGroupVersionCommandInput extends GetGroupVersionRequest { } /** * @public * * The output of {@link GetGroupVersionCommand}. */ export interface GetGroupVersionCommandOutput extends GetGroupVersionResponse, __MetadataBearer { } declare const GetGroupVersionCommand_base: { new (input: GetGroupVersionCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetGroupVersionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Retrieves information about a group version. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GreengrassClient, GetGroupVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import * // const { GreengrassClient, GetGroupVersionCommand } = 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 = { // GetGroupVersionRequest * GroupId: "STRING_VALUE", // required * GroupVersionId: "STRING_VALUE", // required * }; * const command = new GetGroupVersionCommand(input); * const response = await client.send(command); * // { // GetGroupVersionResponse * // Arn: "STRING_VALUE", * // CreationTimestamp: "STRING_VALUE", * // Definition: { // GroupVersion * // ConnectorDefinitionVersionArn: "STRING_VALUE", * // CoreDefinitionVersionArn: "STRING_VALUE", * // DeviceDefinitionVersionArn: "STRING_VALUE", * // FunctionDefinitionVersionArn: "STRING_VALUE", * // LoggerDefinitionVersionArn: "STRING_VALUE", * // ResourceDefinitionVersionArn: "STRING_VALUE", * // SubscriptionDefinitionVersionArn: "STRING_VALUE", * // }, * // Id: "STRING_VALUE", * // Version: "STRING_VALUE", * // }; * * ``` * * @param GetGroupVersionCommandInput - {@link GetGroupVersionCommandInput} * @returns {@link GetGroupVersionCommandOutput} * @see {@link GetGroupVersionCommandInput} for command's `input` shape. * @see {@link GetGroupVersionCommandOutput} 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 GetGroupVersionCommand extends GetGroupVersionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetGroupVersionRequest; output: GetGroupVersionResponse; }; sdk: { input: GetGroupVersionCommandInput; output: GetGroupVersionCommandOutput; }; }; }