update_recovery_plan_execution_step
¶
update_recovery_plan_execution_step(
recovery_plan_execution_step_arn: StrictDRSARN,
*,
config_overrides: Optional[drsClientConfig] = None,
status: Optional[RecoveryPlanExecutionStepStatus] = None,
servers: Optional[RecoveryPlanServers] = None,
wait_duration_minutes: Optional[WaitDurationMinutes] = None,
) -> UpdateRecoveryPlanExecutionStepResponse
Updates an execution step. Supports two actions: (1) skip a step that is in NOT_STARTED or FAILED status; (2) update the wait duration of a WAIT type step that is in NOT_STARTED status.
Parameters:
-
recovery_plan_execution_step_arn(StrictDRSARN) –The ARN of the execution step to update.
-
status(Optional[RecoveryPlanExecutionStepStatus], default:None) –Only SKIPPED is accepted. Step must be in NOT_STARTED or FAILED status.
-
servers(Optional[RecoveryPlanServers], default:None) –Full replacement of the server list. Only allowed when the step is in NOT_STARTED status (Server type steps only).
-
wait_duration_minutes(Optional[WaitDurationMinutes], default:None) –Updated wait duration. Only allowed when the step is in NOT_STARTED status (Wait type steps only).
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request could not be completed due to a conflict with the current state of the target resource.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The resource for this operation was not found.
-
ThrottlingException–The request was denied due to request throttling.
-
UninitializedAccountException–The account performing the request has not been initialized.
-
ValidationException–The input fails to satisfy the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_drs/_services/drs.py
2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 | |