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
8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 | |