StartPlanExecutionRequest
¶
Source code in docs_src/capo_arc_region_switch/types/start_plan_execution_request.py
action
instance-attribute
¶
action: ExecutionAction
The action to perform. Valid values are activate (to shift traffic to the target Region) or deactivate (to shift traffic away from the target Region).
client_token
instance-attribute
¶
client_token: NotRequired[str]
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request and returns the result of the original successful request. If you don't provide a client token, the service automatically generates one. For more information about idempotency, see Making retries safe with idempotent APIs.
comment
instance-attribute
¶
comment: NotRequired[ExecutionComment]
An optional comment explaining why the plan execution is being started.
latest_version
instance-attribute
¶
latest_version: NotRequired[str]
A boolean value indicating whether to use the latest version of the plan. If set to false, you must specify a specific version.
mode
instance-attribute
¶
mode: ExecutionMode
The plan execution mode. Valid values are graceful, for starting the execution in graceful mode, or ungraceful, for starting the execution in ungraceful mode.
plan_arn
instance-attribute
¶
plan_arn: PlanArn
The Amazon Resource Name (ARN) of the plan to execute.
recovery_execution_id
instance-attribute
¶
recovery_execution_id: NotRequired[RecoveryExecutionId]
The execution identifier of the recovery execution that ran in the opposite region post-recovery is ran in. Required when starting a post-recovery execution.