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

Stop an Automation that is currently running.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, StopAutomationExecutionCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, StopAutomationExecutionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // StopAutomationExecutionRequest * AutomationExecutionId: "STRING_VALUE", // required * Type: "Complete" || "Cancel", * }; * const command = new StopAutomationExecutionCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param StopAutomationExecutionCommandInput - {@link StopAutomationExecutionCommandInput} * @returns {@link StopAutomationExecutionCommandOutput} * @see {@link StopAutomationExecutionCommandInput} for command's `input` shape. * @see {@link StopAutomationExecutionCommandOutput} for command's `response` shape. * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. * * @throws {@link AutomationExecutionNotFoundException} (client fault) *

There is no automation execution information for the requested automation execution * ID.

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

An error occurred on the server side.

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

The specified update status operation isn't valid.

* * @throws {@link SSMServiceException} *

Base exception class for all service exceptions from SSM service.

* * * @public */ export declare class StopAutomationExecutionCommand extends StopAutomationExecutionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StopAutomationExecutionRequest; output: {}; }; sdk: { input: StopAutomationExecutionCommandInput; output: StopAutomationExecutionCommandOutput; }; }; }