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.ListFirewallDomains

Description

Retrieves the domains that you have defined for the specified firewall domain list.

A single call might return only a partial list of the domains. For information, see MaxResults.

This operation returns paginated results.

Synopsis

Creating a Request

data ListFirewallDomains Source #

See: newListFirewallDomains smart constructor.

Constructors

ListFirewallDomains' 

Fields

  • nextToken :: Maybe Text

    For the first call to this list request, omit this value.

    When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults. If more objects are available for retrieval, Resolver returns a NextToken value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.

  • maxResults :: Maybe Natural

    The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

    If you don't specify a value for MaxResults, Resolver returns up to 100 objects.

  • firewallDomainListId :: Text

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

Instances

Instances details
Eq ListFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

Read ListFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

Show ListFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

Generic ListFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

Associated Types

type Rep ListFirewallDomains :: Type -> Type #

NFData ListFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

Methods

rnf :: ListFirewallDomains -> () #

Hashable ListFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

ToJSON ListFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

AWSPager ListFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

AWSRequest ListFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

Associated Types

type AWSResponse ListFirewallDomains #

ToHeaders ListFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

ToPath ListFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

ToQuery ListFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

type Rep ListFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

type Rep ListFirewallDomains = D1 ('MetaData "ListFirewallDomains" "Amazonka.Route53Resolver.ListFirewallDomains" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "ListFirewallDomains'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "firewallDomainListId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListFirewallDomains Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

newListFirewallDomains Source #

Create a value of ListFirewallDomains 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:nextToken:ListFirewallDomains', listFirewallDomains_nextToken - For the first call to this list request, omit this value.

When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults. If more objects are available for retrieval, Resolver returns a NextToken value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.

$sel:maxResults:ListFirewallDomains', listFirewallDomains_maxResults - The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

If you don't specify a value for MaxResults, Resolver returns up to 100 objects.

$sel:firewallDomainListId:ListFirewallDomains', listFirewallDomains_firewallDomainListId - The ID of the domain list whose domains you want to retrieve.

Request Lenses

listFirewallDomains_nextToken :: Lens' ListFirewallDomains (Maybe Text) Source #

For the first call to this list request, omit this value.

When you request a list of objects, Resolver returns at most the number of objects specified in MaxResults. If more objects are available for retrieval, Resolver returns a NextToken value in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.

listFirewallDomains_maxResults :: Lens' ListFirewallDomains (Maybe Natural) Source #

The maximum number of objects that you want Resolver to return for this request. If more objects are available, in the response, Resolver provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

If you don't specify a value for MaxResults, Resolver returns up to 100 objects.

listFirewallDomains_firewallDomainListId :: Lens' ListFirewallDomains Text Source #

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

Destructuring the Response

data ListFirewallDomainsResponse Source #

See: newListFirewallDomainsResponse smart constructor.

Constructors

ListFirewallDomainsResponse' 

Fields

  • nextToken :: Maybe Text

    If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.

  • domains :: Maybe [Text]

    A list of the domains in the firewall domain list.

    This might be a partial list of the domains that you've defined in the domain list. For information, see MaxResults.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListFirewallDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

Read ListFirewallDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

Show ListFirewallDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

Generic ListFirewallDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

Associated Types

type Rep ListFirewallDomainsResponse :: Type -> Type #

NFData ListFirewallDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

type Rep ListFirewallDomainsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallDomains

type Rep ListFirewallDomainsResponse = D1 ('MetaData "ListFirewallDomainsResponse" "Amazonka.Route53Resolver.ListFirewallDomains" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "ListFirewallDomainsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "domains") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListFirewallDomainsResponse Source #

Create a value of ListFirewallDomainsResponse 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:nextToken:ListFirewallDomains', listFirewallDomainsResponse_nextToken - If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.

$sel:domains:ListFirewallDomainsResponse', listFirewallDomainsResponse_domains - A list of the domains in the firewall domain list.

This might be a partial list of the domains that you've defined in the domain list. For information, see MaxResults.

$sel:httpStatus:ListFirewallDomainsResponse', listFirewallDomainsResponse_httpStatus - The response's http status code.

Response Lenses

listFirewallDomainsResponse_nextToken :: Lens' ListFirewallDomainsResponse (Maybe Text) Source #

If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.

listFirewallDomainsResponse_domains :: Lens' ListFirewallDomainsResponse (Maybe [Text]) Source #

A list of the domains in the firewall domain list.

This might be a partial list of the domains that you've defined in the domain list. For information, see MaxResults.