Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes the specified FirewallPolicy.
Synopsis
- data DeleteFirewallPolicy = DeleteFirewallPolicy' {}
- newDeleteFirewallPolicy :: DeleteFirewallPolicy
- deleteFirewallPolicy_firewallPolicyName :: Lens' DeleteFirewallPolicy (Maybe Text)
- deleteFirewallPolicy_firewallPolicyArn :: 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.
DeleteFirewallPolicy' | |
|
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:
$sel:firewallPolicyName: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.
$sel:firewallPolicyArn: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.
Request Lenses
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.
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.
Destructuring the Response
data DeleteFirewallPolicyResponse Source #
See: newDeleteFirewallPolicyResponse
smart constructor.
DeleteFirewallPolicyResponse' | |
|
Instances
newDeleteFirewallPolicyResponse Source #
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.