Skip to content

UpdateRuleRequest

Source code in docs_src/capo_waf/types/update_rule_request.py
class UpdateRuleRequest(TypedDict, closed=True):
    rule_id: "capo_waf.types.resource_id.ResourceId"
    """<p>The <code>RuleId</code> of the <code>Rule</code> that you want to update. <code>RuleId</code> is returned by <code>CreateRule</code> and by <a>ListRules</a>.</p>"""
    change_token: "capo_waf.types.change_token.ChangeToken"
    """<p>The value returned by the most recent call to <a>GetChangeToken</a>.</p>"""
    updates: "capo_waf.types.rule_updates.RuleUpdates"
    """<p>An array of <code>RuleUpdate</code> objects that you want to insert into or delete from a <a>Rule</a>. For more information, see the applicable data types:</p> <ul> <li> <p> <a>RuleUpdate</a>: Contains <code>Action</code> and <code>Predicate</code> </p> </li> <li> <p> <a>Predicate</a>: Contains <code>DataId</code>, <code>Negated</code>, and <code>Type</code> </p> </li> <li> <p> <a>FieldToMatch</a>: Contains <code>Data</code> and <code>Type</code> </p> </li> </ul>"""

change_token instance-attribute

change_token: ChangeToken

The value returned by the most recent call to GetChangeToken.

rule_id instance-attribute

rule_id: ResourceId

The RuleId of the Rule that you want to update. RuleId is returned by CreateRule and by ListRules.

updates instance-attribute

updates: RuleUpdates

An array of RuleUpdate objects that you want to insert into or delete from a Rule. For more information, see the applicable data types: