GuardDuty / Client / update_custom_detection_rule_association
update_custom_detection_rule_association¶
- GuardDuty.Client.update_custom_detection_rule_association(**kwargs)¶
Updates the mode of an existing custom detection rule association.
See also: AWS API Documentation
Request Syntax
response = client.update_custom_detection_rule_association( RuleId='string', AssociationId='string', Mode='LIVE'|'DRY_RUN' )
- Parameters:
RuleId (string) –
[REQUIRED]
The unique identifier for the custom detection rule.
AssociationId (string) –
[REQUIRED]
The unique identifier for the association to update.
Mode (string) –
[REQUIRED]
The rule execution mode. Valid values:
LIVE|DRY_RUN.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions