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 firewall rule.
Synopsis
- data DeleteFirewallRule = DeleteFirewallRule' {}
- newDeleteFirewallRule :: Text -> Text -> DeleteFirewallRule
- deleteFirewallRule_firewallRuleGroupId :: Lens' DeleteFirewallRule Text
- deleteFirewallRule_firewallDomainListId :: Lens' DeleteFirewallRule Text
- data DeleteFirewallRuleResponse = DeleteFirewallRuleResponse' {}
- newDeleteFirewallRuleResponse :: Int -> DeleteFirewallRuleResponse
- deleteFirewallRuleResponse_firewallRule :: Lens' DeleteFirewallRuleResponse (Maybe FirewallRule)
- deleteFirewallRuleResponse_httpStatus :: Lens' DeleteFirewallRuleResponse Int
Creating a Request
data DeleteFirewallRule Source #
See: newDeleteFirewallRule
smart constructor.
DeleteFirewallRule' | |
|
Instances
newDeleteFirewallRule Source #
:: Text | |
-> Text | |
-> DeleteFirewallRule |
Create a value of DeleteFirewallRule
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:firewallRuleGroupId:DeleteFirewallRule'
, deleteFirewallRule_firewallRuleGroupId
- The unique identifier of the firewall rule group that you want to delete
the rule from.
$sel:firewallDomainListId:DeleteFirewallRule'
, deleteFirewallRule_firewallDomainListId
- The ID of the domain list that's used in the rule.
Request Lenses
deleteFirewallRule_firewallRuleGroupId :: Lens' DeleteFirewallRule Text Source #
The unique identifier of the firewall rule group that you want to delete the rule from.
deleteFirewallRule_firewallDomainListId :: Lens' DeleteFirewallRule Text Source #
The ID of the domain list that's used in the rule.
Destructuring the Response
data DeleteFirewallRuleResponse Source #
See: newDeleteFirewallRuleResponse
smart constructor.
DeleteFirewallRuleResponse' | |
|
Instances
newDeleteFirewallRuleResponse Source #
Create a value of DeleteFirewallRuleResponse
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:firewallRule:DeleteFirewallRuleResponse'
, deleteFirewallRuleResponse_firewallRule
- The specification for the firewall rule that you just deleted.
$sel:httpStatus:DeleteFirewallRuleResponse'
, deleteFirewallRuleResponse_httpStatus
- The response's http status code.
Response Lenses
deleteFirewallRuleResponse_firewallRule :: Lens' DeleteFirewallRuleResponse (Maybe FirewallRule) Source #
The specification for the firewall rule that you just deleted.
deleteFirewallRuleResponse_httpStatus :: Lens' DeleteFirewallRuleResponse Int Source #
The response's http status code.