amazonka-wafv2-2.0: Amazon WAFV2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

Description

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

Creating a Request

data DeleteFirewallManagerRuleGroups Source #

See: newDeleteFirewallManagerRuleGroups smart constructor.

Constructors

DeleteFirewallManagerRuleGroups' 

Fields

  • webACLArn :: Text

    The Amazon Resource Name (ARN) of the web ACL.

  • webACLLockToken :: Text

    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.

Instances

Instances details
ToJSON DeleteFirewallManagerRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

ToHeaders DeleteFirewallManagerRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

ToPath DeleteFirewallManagerRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

ToQuery DeleteFirewallManagerRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

AWSRequest DeleteFirewallManagerRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

Generic DeleteFirewallManagerRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

Associated Types

type Rep DeleteFirewallManagerRuleGroups :: Type -> Type #

Read DeleteFirewallManagerRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

Show DeleteFirewallManagerRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

NFData DeleteFirewallManagerRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

Eq DeleteFirewallManagerRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

Hashable DeleteFirewallManagerRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

type AWSResponse DeleteFirewallManagerRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

type Rep DeleteFirewallManagerRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

type Rep DeleteFirewallManagerRuleGroups = D1 ('MetaData "DeleteFirewallManagerRuleGroups" "Amazonka.WAFV2.DeleteFirewallManagerRuleGroups" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "DeleteFirewallManagerRuleGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "webACLArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "webACLLockToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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_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 #

Constructors

DeleteFirewallManagerRuleGroupsResponse' 

Fields

  • nextWebACLLockToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DeleteFirewallManagerRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

Read DeleteFirewallManagerRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

Show DeleteFirewallManagerRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

NFData DeleteFirewallManagerRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

Eq DeleteFirewallManagerRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

type Rep DeleteFirewallManagerRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.DeleteFirewallManagerRuleGroups

type Rep DeleteFirewallManagerRuleGroupsResponse = D1 ('MetaData "DeleteFirewallManagerRuleGroupsResponse" "Amazonka.WAFV2.DeleteFirewallManagerRuleGroups" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "DeleteFirewallManagerRuleGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextWebACLLockToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.