update_variable
¶
update_variable(
name: string,
*,
config_overrides: Optional[FraudDetectorClientConfig] = 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/fraud_detector.py
5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 | |