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

View operational metadata related to an application in Application Manager.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, GetOpsMetadataCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, GetOpsMetadataCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // GetOpsMetadataRequest * OpsMetadataArn: "STRING_VALUE", // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new GetOpsMetadataCommand(input); * const response = await client.send(command); * // { // GetOpsMetadataResult * // ResourceId: "STRING_VALUE", * // Metadata: { // MetadataMap * // "": { // MetadataValue * // Value: "STRING_VALUE", * // }, * // }, * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param GetOpsMetadataCommandInput - {@link GetOpsMetadataCommandInput} * @returns {@link GetOpsMetadataCommandOutput} * @see {@link GetOpsMetadataCommandInput} for command's `input` shape. * @see {@link GetOpsMetadataCommandOutput} 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 OpsMetadataNotFoundException} (client fault) *

The OpsMetadata object doesn't exist.

* * @throws {@link SSMServiceException} *

Base exception class for all service exceptions from SSM service.

* * * @public */ export declare class GetOpsMetadataCommand extends GetOpsMetadataCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetOpsMetadataRequest; output: GetOpsMetadataResult; }; sdk: { input: GetOpsMetadataCommandInput; output: GetOpsMetadataCommandOutput; }; }; }