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 firewall domain list for use in DNS Firewall rules. You can populate the domains for the new list with a file, using ImportFirewallDomains, or with domain strings, using UpdateFirewallDomains.
Synopsis
- data CreateFirewallDomainList = CreateFirewallDomainList' {}
- newCreateFirewallDomainList :: Text -> Text -> CreateFirewallDomainList
- createFirewallDomainList_tags :: Lens' CreateFirewallDomainList (Maybe [Tag])
- createFirewallDomainList_creatorRequestId :: Lens' CreateFirewallDomainList Text
- createFirewallDomainList_name :: Lens' CreateFirewallDomainList Text
- data CreateFirewallDomainListResponse = CreateFirewallDomainListResponse' {}
- newCreateFirewallDomainListResponse :: Int -> CreateFirewallDomainListResponse
- createFirewallDomainListResponse_firewallDomainList :: Lens' CreateFirewallDomainListResponse (Maybe FirewallDomainList)
- createFirewallDomainListResponse_httpStatus :: Lens' CreateFirewallDomainListResponse Int
Creating a Request
data CreateFirewallDomainList Source #
See: newCreateFirewallDomainList
smart constructor.
CreateFirewallDomainList' | |
|
Instances
newCreateFirewallDomainList Source #
:: Text | |
-> Text | |
-> CreateFirewallDomainList |
Create a value of CreateFirewallDomainList
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:CreateFirewallDomainList'
, createFirewallDomainList_tags
- A list of the tag keys and values that you want to associate with the
domain list.
$sel:creatorRequestId:CreateFirewallDomainList'
, createFirewallDomainList_creatorRequestId
- A unique string that identifies the request and that allows you to retry
failed requests without the risk of running the operation twice.
CreatorRequestId
can be any unique string, for example, a date/time
stamp.
$sel:name:CreateFirewallDomainList'
, createFirewallDomainList_name
- A name that lets you identify the domain list to manage and use it.
Request Lenses
createFirewallDomainList_tags :: Lens' CreateFirewallDomainList (Maybe [Tag]) Source #
A list of the tag keys and values that you want to associate with the domain list.
createFirewallDomainList_creatorRequestId :: Lens' CreateFirewallDomainList Text Source #
A unique string that identifies the request and that allows you to retry
failed requests without the risk of running the operation twice.
CreatorRequestId
can be any unique string, for example, a date/time
stamp.
createFirewallDomainList_name :: Lens' CreateFirewallDomainList Text Source #
A name that lets you identify the domain list to manage and use it.
Destructuring the Response
data CreateFirewallDomainListResponse Source #
See: newCreateFirewallDomainListResponse
smart constructor.
CreateFirewallDomainListResponse' | |
|
Instances
Eq CreateFirewallDomainListResponse Source # | |
Read CreateFirewallDomainListResponse Source # | |
Show CreateFirewallDomainListResponse Source # | |
Generic CreateFirewallDomainListResponse Source # | |
NFData CreateFirewallDomainListResponse Source # | |
Defined in Amazonka.Route53Resolver.CreateFirewallDomainList rnf :: CreateFirewallDomainListResponse -> () # | |
type Rep CreateFirewallDomainListResponse Source # | |
Defined in Amazonka.Route53Resolver.CreateFirewallDomainList type Rep CreateFirewallDomainListResponse = D1 ('MetaData "CreateFirewallDomainListResponse" "Amazonka.Route53Resolver.CreateFirewallDomainList" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "CreateFirewallDomainListResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "firewallDomainList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FirewallDomainList)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateFirewallDomainListResponse Source #
Create a value of CreateFirewallDomainListResponse
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:firewallDomainList:CreateFirewallDomainListResponse'
, createFirewallDomainListResponse_firewallDomainList
- The domain list that you just created.
$sel:httpStatus:CreateFirewallDomainListResponse'
, createFirewallDomainListResponse_httpStatus
- The response's http status code.
Response Lenses
createFirewallDomainListResponse_firewallDomainList :: Lens' CreateFirewallDomainListResponse (Maybe FirewallDomainList) Source #
The domain list that you just created.
createFirewallDomainListResponse_httpStatus :: Lens' CreateFirewallDomainListResponse Int Source #
The response's http status code.