update_restore_testing_selection
¶
update_restore_testing_selection(
restore_testing_plan_name: str,
restore_testing_selection: RestoreTestingSelectionForUpdate,
restore_testing_selection_name: str,
*,
config_overrides: Optional[BackupClientConfig] = 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/backup.py
8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 | |