libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Route53Resolver.UpdateFirewallDomains

Description

Updates the firewall domain list from an array of domain specifications.

Synopsis

Creating a Request

data UpdateFirewallDomains Source #

See: newUpdateFirewallDomains smart constructor.

Constructors

UpdateFirewallDomains' 

Fields

  • firewallDomainListId :: Text

    The ID of the domain list whose domains you want to update.

  • operation :: FirewallDomainUpdateOperation

    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.
  • domains :: [Text]

    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.

Instances

Instances details
Eq UpdateFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

Read UpdateFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

Show UpdateFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

Generic UpdateFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

Associated Types

type Rep UpdateFirewallDomains :: Type -> Type #

NFData UpdateFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

Methods

rnf :: UpdateFirewallDomains -> () #

Hashable UpdateFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

ToJSON UpdateFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

AWSRequest UpdateFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

Associated Types

type AWSResponse UpdateFirewallDomains #

ToHeaders UpdateFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

ToPath UpdateFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

ToQuery UpdateFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

type Rep UpdateFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

type Rep UpdateFirewallDomains = D1 ('MetaData "UpdateFirewallDomains" "Amazonka.Route53Resolver.UpdateFirewallDomains" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "UpdateFirewallDomains'" 'PrefixI 'True) (S1 ('MetaSel ('Just "firewallDomainListId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "operation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FirewallDomainUpdateOperation) :*: S1 ('MetaSel ('Just "domains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))
type AWSResponse UpdateFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

newUpdateFirewallDomains Source #

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:

$sel:firewallDomainListId: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

Instances details
Eq UpdateFirewallDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

Read UpdateFirewallDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

Show UpdateFirewallDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

Generic UpdateFirewallDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

Associated Types

type Rep UpdateFirewallDomainsResponse :: Type -> Type #

NFData UpdateFirewallDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

type Rep UpdateFirewallDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.UpdateFirewallDomains

type Rep UpdateFirewallDomainsResponse = D1 ('MetaData "UpdateFirewallDomainsResponse" "Amazonka.Route53Resolver.UpdateFirewallDomains" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "UpdateFirewallDomainsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FirewallDomainListStatus)) :*: S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

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:

$sel:status:UpdateFirewallDomainsResponse', updateFirewallDomainsResponse_status -

$sel:statusMessage:UpdateFirewallDomainsResponse', updateFirewallDomainsResponse_statusMessage - Additional information about the status of the list, if available.

$sel:name:UpdateFirewallDomainsResponse', updateFirewallDomainsResponse_name - The name of the domain list.

$sel:id:UpdateFirewallDomainsResponse', updateFirewallDomainsResponse_id - The ID of the firewall domain list that DNS Firewall just updated.

$sel:httpStatus:UpdateFirewallDomainsResponse', updateFirewallDomainsResponse_httpStatus - The response's http status code.

Response Lenses

updateFirewallDomainsResponse_statusMessage :: Lens' UpdateFirewallDomainsResponse (Maybe Text) Source #

Additional information about the status of the list, if available.

updateFirewallDomainsResponse_id :: Lens' UpdateFirewallDomainsResponse (Maybe Text) Source #

The ID of the firewall domain list that DNS Firewall just updated.