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

Sends a signal to an Automation execution to change the current behavior or status of the * execution.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, SendAutomationSignalCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, SendAutomationSignalCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // SendAutomationSignalRequest * AutomationExecutionId: "STRING_VALUE", // required * SignalType: "Approve" || "Reject" || "StartStep" || "StopStep" || "Resume" || "Revoke", // required * Payload: { // AutomationParameterMap * "": [ // AutomationParameterValueList * "STRING_VALUE", * ], * }, * }; * const command = new SendAutomationSignalCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param SendAutomationSignalCommandInput - {@link SendAutomationSignalCommandInput} * @returns {@link SendAutomationSignalCommandOutput} * @see {@link SendAutomationSignalCommandInput} for command's `input` shape. * @see {@link SendAutomationSignalCommandOutput} 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 AutomationStepNotFoundException} (client fault) *

The specified step name and execution ID don't exist. Verify the information and try * again.

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

An error occurred on the server side.

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

The signal isn't valid for the current Automation execution.

* * @throws {@link SSMServiceException} *

Base exception class for all service exceptions from SSM service.

* * * @public */ export declare class SendAutomationSignalCommand extends SendAutomationSignalCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SendAutomationSignalRequest; output: {}; }; sdk: { input: SendAutomationSignalCommandInput; output: SendAutomationSignalCommandOutput; }; }; }