import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { GetParameterRequest, GetParameterResult } from "../models/models_1"; import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetParameterCommand}. */ export interface GetParameterCommandInput extends GetParameterRequest { } /** * @public * * The output of {@link GetParameterCommand}. */ export interface GetParameterCommandOutput extends GetParameterResult, __MetadataBearer { } declare const GetParameterCommand_base: { new (input: GetParameterCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetParameterCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Get information about a single parameter by specifying the parameter name.

* *

To get information about more than one parameter at a time, use the GetParameters operation.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, GetParameterCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, GetParameterCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // GetParameterRequest * Name: "STRING_VALUE", // required * WithDecryption: true || false, * }; * const command = new GetParameterCommand(input); * const response = await client.send(command); * // { // GetParameterResult * // Parameter: { // Parameter * // Name: "STRING_VALUE", * // Type: "String" || "StringList" || "SecureString", * // Value: "STRING_VALUE", * // Version: Number("long"), * // Selector: "STRING_VALUE", * // SourceResult: "STRING_VALUE", * // LastModifiedDate: new Date("TIMESTAMP"), * // ARN: "STRING_VALUE", * // DataType: "STRING_VALUE", * // }, * // }; * * ``` * * @param GetParameterCommandInput - {@link GetParameterCommandInput} * @returns {@link GetParameterCommandOutput} * @see {@link GetParameterCommandInput} for command's `input` shape. * @see {@link GetParameterCommandOutput} for command's `response` shape. * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. * * @throws {@link InternalServerError} (server fault) *

An error occurred on the server side.

* * @throws {@link InvalidKeyId} (client fault) *

The query key ID isn't valid.

* * @throws {@link ParameterNotFound} (client fault) *

The parameter couldn't be found. Verify the name and try again.

* *

For the DeleteParameter and GetParameter actions, if the * specified parameter doesn't exist, the ParameterNotFound exception is * not recorded in CloudTrail event logs.

*
* * @throws {@link ParameterVersionNotFound} (client fault) *

The specified parameter version wasn't found. Verify the parameter name and version, and try * again.

* * @throws {@link SSMServiceException} *

Base exception class for all service exceptions from SSM service.

* * * @public */ export declare class GetParameterCommand extends GetParameterCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetParameterRequest; output: GetParameterResult; }; sdk: { input: GetParameterCommandInput; output: GetParameterCommandOutput; }; }; }