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 |
Creates an empty DNS Firewall rule group for filtering DNS network traffic in a VPC. You can add rules to the new rule group by calling CreateFirewallRule.
Synopsis
- data CreateFirewallRuleGroup = CreateFirewallRuleGroup' {}
- newCreateFirewallRuleGroup :: Text -> Text -> CreateFirewallRuleGroup
- createFirewallRuleGroup_tags :: Lens' CreateFirewallRuleGroup (Maybe [Tag])
- createFirewallRuleGroup_creatorRequestId :: Lens' CreateFirewallRuleGroup Text
- createFirewallRuleGroup_name :: Lens' CreateFirewallRuleGroup Text
- data CreateFirewallRuleGroupResponse = CreateFirewallRuleGroupResponse' {}
- newCreateFirewallRuleGroupResponse :: Int -> CreateFirewallRuleGroupResponse
- createFirewallRuleGroupResponse_firewallRuleGroup :: Lens' CreateFirewallRuleGroupResponse (Maybe FirewallRuleGroup)
- createFirewallRuleGroupResponse_httpStatus :: Lens' CreateFirewallRuleGroupResponse Int
Creating a Request
data CreateFirewallRuleGroup Source #
See: newCreateFirewallRuleGroup
smart constructor.
CreateFirewallRuleGroup' | |
|
Instances
newCreateFirewallRuleGroup Source #
:: Text | |
-> Text | |
-> CreateFirewallRuleGroup |
Create a value of CreateFirewallRuleGroup
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:tags:CreateFirewallRuleGroup'
, createFirewallRuleGroup_tags
- A list of the tag keys and values that you want to associate with the
rule group.
$sel:creatorRequestId:CreateFirewallRuleGroup'
, createFirewallRuleGroup_creatorRequestId
- A unique string defined by you to identify the request. This allows you
to retry failed requests without the risk of running the operation
twice. This can be any unique string, for example, a timestamp.
$sel:name:CreateFirewallRuleGroup'
, createFirewallRuleGroup_name
- A name that lets you identify the rule group, to manage and use it.
Request Lenses
createFirewallRuleGroup_tags :: Lens' CreateFirewallRuleGroup (Maybe [Tag]) Source #
A list of the tag keys and values that you want to associate with the rule group.
createFirewallRuleGroup_creatorRequestId :: Lens' CreateFirewallRuleGroup Text Source #
A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
createFirewallRuleGroup_name :: Lens' CreateFirewallRuleGroup Text Source #
A name that lets you identify the rule group, to manage and use it.
Destructuring the Response
data CreateFirewallRuleGroupResponse Source #
See: newCreateFirewallRuleGroupResponse
smart constructor.
CreateFirewallRuleGroupResponse' | |
|
Instances
Eq CreateFirewallRuleGroupResponse Source # | |
Read CreateFirewallRuleGroupResponse Source # | |
Show CreateFirewallRuleGroupResponse Source # | |
Generic CreateFirewallRuleGroupResponse Source # | |
NFData CreateFirewallRuleGroupResponse Source # | |
Defined in Amazonka.Route53Resolver.CreateFirewallRuleGroup rnf :: CreateFirewallRuleGroupResponse -> () # | |
type Rep CreateFirewallRuleGroupResponse Source # | |
Defined in Amazonka.Route53Resolver.CreateFirewallRuleGroup type Rep CreateFirewallRuleGroupResponse = D1 ('MetaData "CreateFirewallRuleGroupResponse" "Amazonka.Route53Resolver.CreateFirewallRuleGroup" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "CreateFirewallRuleGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "firewallRuleGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FirewallRuleGroup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateFirewallRuleGroupResponse Source #
Create a value of CreateFirewallRuleGroupResponse
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:firewallRuleGroup:CreateFirewallRuleGroupResponse'
, createFirewallRuleGroupResponse_firewallRuleGroup
- A collection of rules used to filter DNS network traffic.
$sel:httpStatus:CreateFirewallRuleGroupResponse'
, createFirewallRuleGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createFirewallRuleGroupResponse_firewallRuleGroup :: Lens' CreateFirewallRuleGroupResponse (Maybe FirewallRuleGroup) Source #
A collection of rules used to filter DNS network traffic.
createFirewallRuleGroupResponse_httpStatus :: Lens' CreateFirewallRuleGroupResponse Int Source #
The response's http status code.