update_rule_version
¶
update_rule_version(
rule: Rule,
expression: ruleExpression,
language: Language,
outcomes: NonEmptyListOfStrings,
*,
config_overrides: Optional[FraudDetectorClientConfig] = None,
description: Optional[description] = None,
tags: Optional[tagList] = None,
) -> UpdateRuleVersionResult
Updates a rule version resulting in a new rule version. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...).
Parameters:
-
rule(Rule) –The rule to update.
-
description(Optional[description], default:None) –The description.
-
expression(ruleExpression) –The rule expression.
-
language(Language) –The language.
-
outcomes(NonEmptyListOfStrings) –The outcomes.
-
tags(Optional[tagList], default:None) –The tags to assign to the rule version.
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
5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 | |