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 { GetSubscriptionDefinitionVersionRequest, GetSubscriptionDefinitionVersionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetSubscriptionDefinitionVersionCommand}. */ export interface GetSubscriptionDefinitionVersionCommandInput extends GetSubscriptionDefinitionVersionRequest { } /** * @public * * The output of {@link GetSubscriptionDefinitionVersionCommand}. */ export interface GetSubscriptionDefinitionVersionCommandOutput extends GetSubscriptionDefinitionVersionResponse, __MetadataBearer { } declare const GetSubscriptionDefinitionVersionCommand_base: { new (input: GetSubscriptionDefinitionVersionCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetSubscriptionDefinitionVersionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Retrieves information about a subscription definition version. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GreengrassClient, GetSubscriptionDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import * // const { GreengrassClient, GetSubscriptionDefinitionVersionCommand } = 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 = { // GetSubscriptionDefinitionVersionRequest * NextToken: "STRING_VALUE", * SubscriptionDefinitionId: "STRING_VALUE", // required * SubscriptionDefinitionVersionId: "STRING_VALUE", // required * }; * const command = new GetSubscriptionDefinitionVersionCommand(input); * const response = await client.send(command); * // { // GetSubscriptionDefinitionVersionResponse * // Arn: "STRING_VALUE", * // CreationTimestamp: "STRING_VALUE", * // Definition: { // SubscriptionDefinitionVersion * // Subscriptions: [ // __listOfSubscription * // { // Subscription * // Id: "STRING_VALUE", // required * // Source: "STRING_VALUE", // required * // Subject: "STRING_VALUE", // required * // Target: "STRING_VALUE", // required * // }, * // ], * // }, * // Id: "STRING_VALUE", * // NextToken: "STRING_VALUE", * // Version: "STRING_VALUE", * // }; * * ``` * * @param GetSubscriptionDefinitionVersionCommandInput - {@link GetSubscriptionDefinitionVersionCommandInput} * @returns {@link GetSubscriptionDefinitionVersionCommandOutput} * @see {@link GetSubscriptionDefinitionVersionCommandInput} for command's `input` shape. * @see {@link GetSubscriptionDefinitionVersionCommandOutput} 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 GetSubscriptionDefinitionVersionCommand extends GetSubscriptionDefinitionVersionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetSubscriptionDefinitionVersionRequest; output: GetSubscriptionDefinitionVersionResponse; }; sdk: { input: GetSubscriptionDefinitionVersionCommandInput; output: GetSubscriptionDefinitionVersionCommandOutput; }; }; }