update_rule_version
(**kwargs)¶Updates a rule version resulting in a new rule version. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...).
See also: AWS API Documentation
Request Syntax
response = client.update_rule_version(
rule={
'detectorId': 'string',
'ruleId': 'string',
'ruleVersion': 'string'
},
description='string',
expression='string',
language='DETECTORPL',
outcomes=[
'string',
],
tags=[
{
'key': 'string',
'value': 'string'
},
]
)
[REQUIRED]
The rule to update.
The detector for which the rule is associated.
The rule ID.
The rule version.
[REQUIRED]
The rule expression.
[REQUIRED]
The language.
[REQUIRED]
The outcomes.
The tags to assign to the rule version.
A key and value pair.
A tag key.
A value assigned to a tag key.
dict
Response Syntax
{
'rule': {
'detectorId': 'string',
'ruleId': 'string',
'ruleVersion': 'string'
}
}
Response Structure
(dict) --
rule (dict) --
The new rule version that was created.
detectorId (string) --
The detector for which the rule is associated.
ruleId (string) --
The rule ID.
ruleVersion (string) --
The rule version.
Exceptions
FraudDetector.Client.exceptions.ValidationException
FraudDetector.Client.exceptions.ResourceNotFoundException
FraudDetector.Client.exceptions.InternalServerException
FraudDetector.Client.exceptions.ThrottlingException
FraudDetector.Client.exceptions.AccessDeniedException
FraudDetector.Client.exceptions.ConflictException