update_recovery_plan_execution_step
async
¶
update_recovery_plan_execution_step(
recovery_plan_execution_step_arn: StrictDRSARN,
*,
config_overrides: Optional[AsyncdrsClientConfig] = 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/async_drs.py
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 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 | |