| 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 | 
Amazonka.NetworkFirewall.DeleteFirewallPolicy
Description
Deletes the specified FirewallPolicy.
Synopsis
- data DeleteFirewallPolicy = DeleteFirewallPolicy' {}
 - newDeleteFirewallPolicy :: DeleteFirewallPolicy
 - deleteFirewallPolicy_firewallPolicyArn :: Lens' DeleteFirewallPolicy (Maybe Text)
 - deleteFirewallPolicy_firewallPolicyName :: Lens' DeleteFirewallPolicy (Maybe Text)
 - data DeleteFirewallPolicyResponse = DeleteFirewallPolicyResponse' {}
 - newDeleteFirewallPolicyResponse :: Int -> FirewallPolicyResponse -> DeleteFirewallPolicyResponse
 - deleteFirewallPolicyResponse_httpStatus :: Lens' DeleteFirewallPolicyResponse Int
 - deleteFirewallPolicyResponse_firewallPolicyResponse :: Lens' DeleteFirewallPolicyResponse FirewallPolicyResponse
 
Creating a Request
data DeleteFirewallPolicy Source #
See: newDeleteFirewallPolicy smart constructor.
Constructors
| DeleteFirewallPolicy' | |
Fields 
  | |
Instances
newDeleteFirewallPolicy :: DeleteFirewallPolicy Source #
Create a value of DeleteFirewallPolicy 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:
DeleteFirewallPolicy, deleteFirewallPolicy_firewallPolicyArn - The Amazon Resource Name (ARN) of the firewall policy.
You must specify the ARN or the name, and you can specify both.
DeleteFirewallPolicy, deleteFirewallPolicy_firewallPolicyName - The descriptive name of the firewall policy. You can't change the name
 of a firewall policy after you create it.
You must specify the ARN or the name, and you can specify both.
Request Lenses
deleteFirewallPolicy_firewallPolicyArn :: Lens' DeleteFirewallPolicy (Maybe Text) Source #
The Amazon Resource Name (ARN) of the firewall policy.
You must specify the ARN or the name, and you can specify both.
deleteFirewallPolicy_firewallPolicyName :: Lens' DeleteFirewallPolicy (Maybe Text) Source #
The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
You must specify the ARN or the name, and you can specify both.
Destructuring the Response
data DeleteFirewallPolicyResponse Source #
See: newDeleteFirewallPolicyResponse smart constructor.
Constructors
| DeleteFirewallPolicyResponse' | |
Fields 
  | |
Instances
newDeleteFirewallPolicyResponse Source #
Arguments
| :: Int | |
| -> FirewallPolicyResponse | |
| -> DeleteFirewallPolicyResponse | 
Create a value of DeleteFirewallPolicyResponse 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:httpStatus:DeleteFirewallPolicyResponse', deleteFirewallPolicyResponse_httpStatus - The response's http status code.
$sel:firewallPolicyResponse:DeleteFirewallPolicyResponse', deleteFirewallPolicyResponse_firewallPolicyResponse - The object containing the definition of the FirewallPolicyResponse that
 you asked to delete.
Response Lenses
deleteFirewallPolicyResponse_httpStatus :: Lens' DeleteFirewallPolicyResponse Int Source #
The response's http status code.
deleteFirewallPolicyResponse_firewallPolicyResponse :: Lens' DeleteFirewallPolicyResponse FirewallPolicyResponse Source #
The object containing the definition of the FirewallPolicyResponse that you asked to delete.