import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { StopApplicationInput, StopApplicationOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link StopApplicationCommand}. */ export interface StopApplicationCommandInput extends StopApplicationInput { } /** * @public * * The output of {@link StopApplicationCommand}. */ export interface StopApplicationCommandOutput extends StopApplicationOutput, __MetadataBearer { } declare const StopApplicationCommand_base: { new (input: StopApplicationCommandInput): import("@smithy/core/client").CommandImpl; new (input: StopApplicationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Request is an operation to stop an application.

Parameter ApplicationId is required. Parameters StopConnectedEntity and IncludeEc2InstanceShutdown are optional.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SsmSapClient, StopApplicationCommand } from "@aws-sdk/client-ssm-sap"; // ES Modules import * // const { SsmSapClient, StopApplicationCommand } = require("@aws-sdk/client-ssm-sap"); // CommonJS import * // import type { SsmSapClientConfig } from "@aws-sdk/client-ssm-sap"; * const config = {}; // type is SsmSapClientConfig * const client = new SsmSapClient(config); * const input = { // StopApplicationInput * ApplicationId: "STRING_VALUE", // required * StopConnectedEntity: "DBMS", * IncludeEc2InstanceShutdown: true || false, * }; * const command = new StopApplicationCommand(input); * const response = await client.send(command); * // { // StopApplicationOutput * // OperationId: "STRING_VALUE", * // }; * * ``` * * @param StopApplicationCommandInput - {@link StopApplicationCommandInput} * @returns {@link StopApplicationCommandOutput} * @see {@link StopApplicationCommandInput} for command's `input` shape. * @see {@link StopApplicationCommandOutput} for command's `response` shape. * @see {@link SsmSapClientResolvedConfig | config} for SsmSapClient's `config` shape. * * @throws {@link ConflictException} (client fault) *

A conflict has occurred.

* * @throws {@link InternalServerException} (server fault) *

An internal error has occurred.

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

The resource is not available.

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

The input fails to satisfy the constraints specified by an AWS service.

* * @throws {@link SsmSapServiceException} *

Base exception class for all service exceptions from SsmSap service.

* * * @public */ export declare class StopApplicationCommand extends StopApplicationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StopApplicationInput; output: StopApplicationOutput; }; sdk: { input: StopApplicationCommandInput; output: StopApplicationCommandOutput; }; }; }