import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { UpdateOpsMetadataRequest, UpdateOpsMetadataResult } from "../models/models_2"; import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateOpsMetadataCommand}. */ export interface UpdateOpsMetadataCommandInput extends UpdateOpsMetadataRequest { } /** * @public * * The output of {@link UpdateOpsMetadataCommand}. */ export interface UpdateOpsMetadataCommandOutput extends UpdateOpsMetadataResult, __MetadataBearer { } declare const UpdateOpsMetadataCommand_base: { new (input: UpdateOpsMetadataCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: UpdateOpsMetadataCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Amazon Web Services Systems Manager calls this API operation when you edit OpsMetadata in Application Manager.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, UpdateOpsMetadataCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, UpdateOpsMetadataCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // UpdateOpsMetadataRequest * OpsMetadataArn: "STRING_VALUE", // required * MetadataToUpdate: { // MetadataMap * "": { // MetadataValue * Value: "STRING_VALUE", * }, * }, * KeysToDelete: [ // MetadataKeysToDeleteList * "STRING_VALUE", * ], * }; * const command = new UpdateOpsMetadataCommand(input); * const response = await client.send(command); * // { // UpdateOpsMetadataResult * // OpsMetadataArn: "STRING_VALUE", * // }; * * ``` * * @param UpdateOpsMetadataCommandInput - {@link UpdateOpsMetadataCommandInput} * @returns {@link UpdateOpsMetadataCommandOutput} * @see {@link UpdateOpsMetadataCommandInput} for command's `input` shape. * @see {@link UpdateOpsMetadataCommandOutput} 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 OpsMetadataInvalidArgumentException} (client fault) *

One of the arguments passed is invalid.

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

The OpsMetadata object exceeds the maximum number of OpsMetadata keys that you can assign to * an application in Application Manager.

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

The OpsMetadata object doesn't exist.

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

The system is processing too many concurrent updates. Wait a few moments and try * again.

* * @throws {@link SSMServiceException} *

Base exception class for all service exceptions from SSM service.

* * * @public */ export declare class UpdateOpsMetadataCommand extends UpdateOpsMetadataCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateOpsMetadataRequest; output: UpdateOpsMetadataResult; }; sdk: { input: UpdateOpsMetadataCommandInput; output: UpdateOpsMetadataCommandOutput; }; }; }