WAFV2 / Client / delete_firewall_manager_rule_groups
delete_firewall_manager_rule_groups#
- WAFV2.Client.delete_firewall_manager_rule_groups(**kwargs)#
Deletes all rule groups that are managed by Firewall Manager from the specified WebACL.
You can only use this if
ManagedByFirewallManager
andRetrofittedByFirewallManager
are both false in the web ACL.See also: AWS API Documentation
Request Syntax
response = client.delete_firewall_manager_rule_groups( WebACLArn='string', WebACLLockToken='string' )
- Parameters:
WebACLArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the web ACL.
WebACLLockToken (string) –
[REQUIRED]
A token used for optimistic locking. WAF returns a token to your
get
andlist
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 likeupdate
anddelete
. 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 aWAFOptimisticLockException
. If this happens, perform anotherget
, and use the new token returned by that operation.
- Return type:
dict
- Returns:
Response Syntax
{ 'NextWebACLLockToken': 'string' }
Response Structure
(dict) –
NextWebACLLockToken (string) –
A token used for optimistic locking. WAF returns a token to your
get
andlist
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 likeupdate
anddelete
. 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 aWAFOptimisticLockException
. If this happens, perform anotherget
, and use the new token returned by that operation.
Exceptions