| 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.UpdateFirewallDomains
Description
Updates the firewall domain list from an array of domain specifications.
Synopsis
- data UpdateFirewallDomains = UpdateFirewallDomains' {}
- newUpdateFirewallDomains :: Text -> FirewallDomainUpdateOperation -> UpdateFirewallDomains
- updateFirewallDomains_firewallDomainListId :: Lens' UpdateFirewallDomains Text
- updateFirewallDomains_operation :: Lens' UpdateFirewallDomains FirewallDomainUpdateOperation
- updateFirewallDomains_domains :: Lens' UpdateFirewallDomains [Text]
- data UpdateFirewallDomainsResponse = UpdateFirewallDomainsResponse' {
- id :: Maybe Text
- name :: Maybe Text
- status :: Maybe FirewallDomainListStatus
- statusMessage :: Maybe Text
- httpStatus :: Int
- newUpdateFirewallDomainsResponse :: Int -> UpdateFirewallDomainsResponse
- updateFirewallDomainsResponse_id :: Lens' UpdateFirewallDomainsResponse (Maybe Text)
- updateFirewallDomainsResponse_name :: Lens' UpdateFirewallDomainsResponse (Maybe Text)
- updateFirewallDomainsResponse_status :: Lens' UpdateFirewallDomainsResponse (Maybe FirewallDomainListStatus)
- updateFirewallDomainsResponse_statusMessage :: Lens' UpdateFirewallDomainsResponse (Maybe Text)
- updateFirewallDomainsResponse_httpStatus :: Lens' UpdateFirewallDomainsResponse Int
Creating a Request
data UpdateFirewallDomains Source #
See: newUpdateFirewallDomains smart constructor.
Constructors
| UpdateFirewallDomains' | |
Fields
| |
Instances
newUpdateFirewallDomains Source #
Arguments
| :: Text | |
| -> FirewallDomainUpdateOperation | |
| -> UpdateFirewallDomains |
Create a value of UpdateFirewallDomains 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:
UpdateFirewallDomains, updateFirewallDomains_firewallDomainListId - The ID of the domain list whose domains you want to update.
$sel:operation:UpdateFirewallDomains', updateFirewallDomains_operation - What you want DNS Firewall to do with the domains that you are
providing:
ADD- Add the domains to the ones that are already in the domain list.REMOVE- Search the domain list for the domains and remove them from the list.REPLACE- Update the domain list to exactly match the list that you are providing.
$sel:domains:UpdateFirewallDomains', updateFirewallDomains_domains - A list of domains to use in the update operation.
Each domain specification in your domain list must satisfy the following requirements:
- It can optionally start with
*(asterisk). - With the exception of the optional starting asterisk, it must only
contain the following characters:
A-Z,a-z,0-9,-(hyphen). - It must be from 1-255 characters in length.
Request Lenses
updateFirewallDomains_firewallDomainListId :: Lens' UpdateFirewallDomains Text Source #
The ID of the domain list whose domains you want to update.
updateFirewallDomains_operation :: Lens' UpdateFirewallDomains FirewallDomainUpdateOperation Source #
What you want DNS Firewall to do with the domains that you are providing:
ADD- Add the domains to the ones that are already in the domain list.REMOVE- Search the domain list for the domains and remove them from the list.REPLACE- Update the domain list to exactly match the list that you are providing.
updateFirewallDomains_domains :: Lens' UpdateFirewallDomains [Text] Source #
A list of domains to use in the update operation.
Each domain specification in your domain list must satisfy the following requirements:
- It can optionally start with
*(asterisk). - With the exception of the optional starting asterisk, it must only
contain the following characters:
A-Z,a-z,0-9,-(hyphen). - It must be from 1-255 characters in length.
Destructuring the Response
data UpdateFirewallDomainsResponse Source #
See: newUpdateFirewallDomainsResponse smart constructor.
Constructors
| UpdateFirewallDomainsResponse' | |
Fields
| |
Instances
newUpdateFirewallDomainsResponse Source #
Create a value of UpdateFirewallDomainsResponse 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:
UpdateFirewallDomainsResponse, updateFirewallDomainsResponse_id - The ID of the firewall domain list that DNS Firewall just updated.
UpdateFirewallDomainsResponse, updateFirewallDomainsResponse_name - The name of the domain list.
UpdateFirewallDomainsResponse, updateFirewallDomainsResponse_status -
UpdateFirewallDomainsResponse, updateFirewallDomainsResponse_statusMessage - Additional information about the status of the list, if available.
$sel:httpStatus:UpdateFirewallDomainsResponse', updateFirewallDomainsResponse_httpStatus - The response's http status code.
Response Lenses
updateFirewallDomainsResponse_id :: Lens' UpdateFirewallDomainsResponse (Maybe Text) Source #
The ID of the firewall domain list that DNS Firewall just updated.
updateFirewallDomainsResponse_name :: Lens' UpdateFirewallDomainsResponse (Maybe Text) Source #
The name of the domain list.
updateFirewallDomainsResponse_status :: Lens' UpdateFirewallDomainsResponse (Maybe FirewallDomainListStatus) Source #
updateFirewallDomainsResponse_statusMessage :: Lens' UpdateFirewallDomainsResponse (Maybe Text) Source #
Additional information about the status of the list, if available.
updateFirewallDomainsResponse_httpStatus :: Lens' UpdateFirewallDomainsResponse Int Source #
The response's http status code.