| 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.Route53Resolver.CreateFirewallDomainList
Description
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.
Constructors
| CreateFirewallDomainList' | |
Fields
| |
Instances
newCreateFirewallDomainList Source #
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.
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.
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.
Constructors
| CreateFirewallDomainListResponse' | |
Fields
| |
Instances
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.