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

A parameter label is a user-defined alias to help you manage different versions of a * parameter. When you modify a parameter, Amazon Web Services Systems Manager automatically saves a new version and * increments the version number by one. A label can help you remember the purpose of a parameter * when there are multiple versions.

*

Parameter labels have the following requirements and restrictions.

* * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, LabelParameterVersionCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, LabelParameterVersionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // LabelParameterVersionRequest * Name: "STRING_VALUE", // required * ParameterVersion: Number("long"), * Labels: [ // ParameterLabelList // required * "STRING_VALUE", * ], * }; * const command = new LabelParameterVersionCommand(input); * const response = await client.send(command); * // { // LabelParameterVersionResult * // InvalidLabels: [ // ParameterLabelList * // "STRING_VALUE", * // ], * // ParameterVersion: Number("long"), * // }; * * ``` * * @param LabelParameterVersionCommandInput - {@link LabelParameterVersionCommandInput} * @returns {@link LabelParameterVersionCommandOutput} * @see {@link LabelParameterVersionCommandInput} for command's `input` shape. * @see {@link LabelParameterVersionCommandOutput} 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 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 ParameterVersionLabelLimitExceeded} (client fault) *

A parameter version can have a maximum of ten labels.

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

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

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

There are concurrent updates for a resource that supports one update at a time.

* * @throws {@link SSMServiceException} *

Base exception class for all service exceptions from SSM service.

* * * @public */ export declare class LabelParameterVersionCommand extends LabelParameterVersionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: LabelParameterVersionRequest; output: LabelParameterVersionResult; }; sdk: { input: LabelParameterVersionCommandInput; output: LabelParameterVersionCommandOutput; }; }; }