@aws-sdk/client-ssm
Version:
AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native
89 lines (88 loc) • 3.48 kB
TypeScript
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
import type { GetOpsMetadataRequest, GetOpsMetadataResult } from "../models/models_0";
/**
* @public
*/
export type { __MetadataBearer };
/**
* @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/core/client").CommandImpl<GetOpsMetadataCommandInput, GetOpsMetadataCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
new (input: GetOpsMetadataCommandInput): import("@smithy/core/client").CommandImpl<GetOpsMetadataCommandInput, GetOpsMetadataCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
};
/**
* <p>View operational metadata related to an application in Application Manager.</p>
* @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
* // import type { SSMClientConfig } from "@aws-sdk/client-ssm";
* const config = {}; // type is SSMClientConfig
* 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
* // "<keys>": { // 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)
* <p>An error occurred on the server side.</p>
*
* @throws {@link OpsMetadataInvalidArgumentException} (client fault)
* <p>One of the arguments passed is invalid. </p>
*
* @throws {@link OpsMetadataNotFoundException} (client fault)
* <p>The OpsMetadata object doesn't exist. </p>
*
* @throws {@link SSMServiceException}
* <p>Base exception class for all service exceptions from SSM service.</p>
*
*
* @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;
};
};
}