UNPKG

@aws-sdk/client-ssm

Version:

AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native

79 lines (78 loc) 3.22 kB
import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteOpsMetadataRequest, DeleteOpsMetadataResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteOpsMetadataCommand}. */ export interface DeleteOpsMetadataCommandInput extends DeleteOpsMetadataRequest { } /** * @public * * The output of {@link DeleteOpsMetadataCommand}. */ export interface DeleteOpsMetadataCommandOutput extends DeleteOpsMetadataResult, __MetadataBearer { } declare const DeleteOpsMetadataCommand_base: { new (input: DeleteOpsMetadataCommandInput): import("@smithy/core/client").CommandImpl<DeleteOpsMetadataCommandInput, DeleteOpsMetadataCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>; new (input: DeleteOpsMetadataCommandInput): import("@smithy/core/client").CommandImpl<DeleteOpsMetadataCommandInput, DeleteOpsMetadataCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** * <p>Delete OpsMetadata related to an application.</p> * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, DeleteOpsMetadataCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, DeleteOpsMetadataCommand } = 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 = { // DeleteOpsMetadataRequest * OpsMetadataArn: "STRING_VALUE", // required * }; * const command = new DeleteOpsMetadataCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteOpsMetadataCommandInput - {@link DeleteOpsMetadataCommandInput} * @returns {@link DeleteOpsMetadataCommandOutput} * @see {@link DeleteOpsMetadataCommandInput} for command's `input` shape. * @see {@link DeleteOpsMetadataCommandOutput} 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 DeleteOpsMetadataCommand extends DeleteOpsMetadataCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteOpsMetadataRequest; output: {}; }; sdk: { input: DeleteOpsMetadataCommandInput; output: DeleteOpsMetadataCommandOutput; }; }; }