Skip to content

GetManagedRuleSetResponse

Source code in docs_src/capo_wafv2/types/get_managed_rule_set_response.py
class GetManagedRuleSetResponse(TypedDict, closed=True):
    managed_rule_set: NotRequired["capo_wafv2.types.managed_rule_set.ManagedRuleSet"]
    """<p>The managed rule set that you requested. </p>"""
    lock_token: NotRequired["capo_wafv2.types.lock_token.LockToken"]
    """<p>A token used for optimistic locking. WAF returns a token to your <code>get</code> and <code>list</code> requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like <code>update</code> and <code>delete</code>. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a <code>WAFOptimisticLockException</code>. If this happens, perform another <code>get</code>, and use the new token returned by that operation. </p>"""

lock_token instance-attribute

lock_token: NotRequired[LockToken]

A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.

managed_rule_set instance-attribute

managed_rule_set: NotRequired[ManagedRuleSet]

The managed rule set that you requested.