update_restore_testing_selection
async
¶
update_restore_testing_selection(
restore_testing_plan_name: str,
restore_testing_selection: RestoreTestingSelectionForUpdate,
restore_testing_selection_name: str,
*,
config_overrides: Optional[AsyncBackupClientConfig] = None,
) -> UpdateRestoreTestingSelectionOutput
Updates the specified restore testing selection.
Most elements except the RestoreTestingSelectionName can be updated with this request.
You can use either protected resource ARNs or conditions, but not both.
Parameters:
-
restore_testing_plan_name(str) –The restore testing plan name is required to update the indicated testing plan.
-
restore_testing_selection(RestoreTestingSelectionForUpdate) –To update your restore testing selection, you can use either protected resource ARNs or conditions, but not both. That is, if your selection has
ProtectedResourceArns, requesting an update with the parameterProtectedResourceConditionswill be unsuccessful. -
restore_testing_selection_name(str) –The required restore testing selection name of the restore testing selection you wish to update.
Raises:
-
ConflictException–Backup can't perform the action that you requested until it finishes performing a previous action. Try again later.
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
MissingParameterValueException–Indicates that a required parameter is missing.
-
ResourceNotFoundException–A resource that is required for the action doesn't exist.
-
ServiceUnavailableException–The request failed due to a temporary failure of the server.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup/_services/async_backup.py
8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 | |