send_automation_signal
async
¶
send_automation_signal(
automation_execution_id: AutomationExecutionId,
signal_type: SignalType,
*,
config_overrides: Optional[AsyncSSMClientConfig] = None,
payload: Optional[AutomationParameterMap] = None,
) -> SendAutomationSignalResult
Sends a signal to an Automation execution to change the current behavior or status of the execution.
Parameters:
-
automation_execution_id(AutomationExecutionId) –The unique identifier for an existing Automation execution that you want to send the signal to.
-
signal_type(SignalType) –The type of signal to send to an Automation execution.
-
payload(Optional[AutomationParameterMap], default:None) –The data sent with the signal. The data schema depends on the type of signal used in the request.
For
ApproveandRejectsignal types, the payload is an optional comment that you can send with the signal type. For example:Comment="Looks good"For
StartStepandResumesignal types, you must send the name of the Automation step to start or resume as the payload. For example:StepName="step1"For the
StopStepsignal type, you must send the step execution ID as the payload. For example:StepExecutionId="97fff367-fc5a-4299-aed8-0123456789ab"
Raises:
-
AutomationExecutionNotFoundException–There is no automation execution information for the requested automation execution ID.
-
AutomationStepNotFoundException–The specified step name and execution ID don't exist. Verify the information and try again.
-
InternalServerError–An error occurred on the server side.
-
InvalidAutomationSignalException–The signal isn't valid for the current Automation execution.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm/_services/async_ssm.py
10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 | |