update_plan_execution
async
¶
update_plan_execution(
plan_arn: PlanArn,
execution_id: ExecutionId,
action: UpdatePlanExecutionAction,
*,
config_overrides: Optional[AsyncARCRegionswitchClientConfig] = None,
comment: Optional[ExecutionComment] = None,
) -> UpdatePlanExecutionResponse
Updates an in-progress plan execution. This operation allows you to modify certain aspects of the execution, such as adding a comment or changing the action.
Parameters:
-
plan_arn(PlanArn) –The Amazon Resource Name (ARN) of the plan with the execution to update.
-
execution_id(ExecutionId) –The execution identifier of a plan execution.
-
action(UpdatePlanExecutionAction) –The action specified for a plan execution, for example, Switch to Graceful or Pause.
-
comment(Optional[ExecutionComment], default:None) –An optional comment about the plan execution.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
HTTP Status Code: 403
-
IllegalStateException–The operation failed because the current state of the resource doesn't allow the operation to proceed.
HTTP Status Code: 400
-
ResourceNotFoundException–The specified resource was not found.
HTTP Status Code: 404
-
UnknownServiceError–The service returned an error code this client does not model.