Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Deletes all rule groups that are managed by Firewall Manager for the specified web ACL.
You can only use this if ManagedByFirewallManager
is false in the
specified WebACL.
Synopsis
- data DeleteFirewallManagerRuleGroups = DeleteFirewallManagerRuleGroups' {
- webACLArn :: Text
- webACLLockToken :: Text
- newDeleteFirewallManagerRuleGroups :: Text -> Text -> DeleteFirewallManagerRuleGroups
- deleteFirewallManagerRuleGroups_webACLArn :: Lens' DeleteFirewallManagerRuleGroups Text
- deleteFirewallManagerRuleGroups_webACLLockToken :: Lens' DeleteFirewallManagerRuleGroups Text
- data DeleteFirewallManagerRuleGroupsResponse = DeleteFirewallManagerRuleGroupsResponse' {}
- newDeleteFirewallManagerRuleGroupsResponse :: Int -> DeleteFirewallManagerRuleGroupsResponse
- deleteFirewallManagerRuleGroupsResponse_nextWebACLLockToken :: Lens' DeleteFirewallManagerRuleGroupsResponse (Maybe Text)
- deleteFirewallManagerRuleGroupsResponse_httpStatus :: Lens' DeleteFirewallManagerRuleGroupsResponse Int
Creating a Request
data DeleteFirewallManagerRuleGroups Source #
See: newDeleteFirewallManagerRuleGroups
smart constructor.
DeleteFirewallManagerRuleGroups' | |
|
Instances
newDeleteFirewallManagerRuleGroups Source #
Create a value of DeleteFirewallManagerRuleGroups
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:webACLArn:DeleteFirewallManagerRuleGroups'
, deleteFirewallManagerRuleGroups_webACLArn
- The Amazon Resource Name (ARN) of the web ACL.
$sel:webACLLockToken:DeleteFirewallManagerRuleGroups'
, deleteFirewallManagerRuleGroups_webACLLockToken
- 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.
Request Lenses
deleteFirewallManagerRuleGroups_webACLArn :: Lens' DeleteFirewallManagerRuleGroups Text Source #
The Amazon Resource Name (ARN) of the web ACL.
deleteFirewallManagerRuleGroups_webACLLockToken :: Lens' DeleteFirewallManagerRuleGroups Text Source #
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.
Destructuring the Response
data DeleteFirewallManagerRuleGroupsResponse Source #
See: newDeleteFirewallManagerRuleGroupsResponse
smart constructor.
DeleteFirewallManagerRuleGroupsResponse' | |
|
Instances
newDeleteFirewallManagerRuleGroupsResponse Source #
Create a value of DeleteFirewallManagerRuleGroupsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextWebACLLockToken:DeleteFirewallManagerRuleGroupsResponse'
, deleteFirewallManagerRuleGroupsResponse_nextWebACLLockToken
- 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.
$sel:httpStatus:DeleteFirewallManagerRuleGroupsResponse'
, deleteFirewallManagerRuleGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
deleteFirewallManagerRuleGroupsResponse_nextWebACLLockToken :: Lens' DeleteFirewallManagerRuleGroupsResponse (Maybe Text) Source #
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.
deleteFirewallManagerRuleGroupsResponse_httpStatus :: Lens' DeleteFirewallManagerRuleGroupsResponse Int Source #
The response's http status code.