update_variable
async
¶
update_variable(
name: string,
*,
config_overrides: Optional[AsyncFraudDetectorClientConfig] = None,
default_value: Optional[string] = None,
description: Optional[string] = None,
variable_type: Optional[string] = None,
) -> UpdateVariableResult
Updates a variable.
Parameters:
-
name(string) –The name of the variable.
-
default_value(Optional[string], default:None) –The new default value of the variable.
-
description(Optional[string], default:None) –The new description.
-
variable_type(Optional[string], default:None) –The variable type. For more information see Variable types.
Raises:
-
AccessDeniedException–An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as
PutExternalModel, that specifies a role that is not in your account. -
ConflictException–An exception indicating there was a conflict during a delete operation.
-
InternalServerException–An exception indicating an internal server error.
-
ResourceNotFoundException–An exception indicating the specified resource was not found.
-
ThrottlingException–An exception indicating a throttling error.
-
ValidationException–An exception indicating a specified value is not allowed.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_frauddetector/_services/async_fraud_detector.py
5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 | |