amazonka-route53resolver-2.0: Amazon Route 53 Resolver SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Route53Resolver.ListResolverConfigs

Description

Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses the configurations to manage DNS resolution behavior for your VPCs.

This operation returns paginated results.

Synopsis

Creating a Request

data ListResolverConfigs Source #

See: newListResolverConfigs smart constructor.

Constructors

ListResolverConfigs' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of Resolver configurations that you want to return in the response to a ListResolverConfigs request. If you don't specify a value for MaxResults, up to 100 Resolver configurations are returned.

  • nextToken :: Maybe Text

    (Optional) If the current Amazon Web Services account has more than MaxResults Resolver configurations, use NextToken to get the second and subsequent pages of results.

    For the first ListResolverConfigs request, omit this value.

    For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request.

Instances

Instances details
ToJSON ListResolverConfigs Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

ToHeaders ListResolverConfigs Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

ToPath ListResolverConfigs Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

ToQuery ListResolverConfigs Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

AWSPager ListResolverConfigs Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

AWSRequest ListResolverConfigs Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

Associated Types

type AWSResponse ListResolverConfigs #

Generic ListResolverConfigs Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

Associated Types

type Rep ListResolverConfigs :: Type -> Type #

Read ListResolverConfigs Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

Show ListResolverConfigs Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

NFData ListResolverConfigs Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

Methods

rnf :: ListResolverConfigs -> () #

Eq ListResolverConfigs Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

Hashable ListResolverConfigs Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

type AWSResponse ListResolverConfigs Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

type Rep ListResolverConfigs Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

type Rep ListResolverConfigs = D1 ('MetaData "ListResolverConfigs" "Amazonka.Route53Resolver.ListResolverConfigs" "amazonka-route53resolver-2.0-GFukx1WIgCPEXMh1BiYlp6" 'False) (C1 ('MetaCons "ListResolverConfigs'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListResolverConfigs :: ListResolverConfigs Source #

Create a value of ListResolverConfigs 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:maxResults:ListResolverConfigs', listResolverConfigs_maxResults - The maximum number of Resolver configurations that you want to return in the response to a ListResolverConfigs request. If you don't specify a value for MaxResults, up to 100 Resolver configurations are returned.

ListResolverConfigs, listResolverConfigs_nextToken - (Optional) If the current Amazon Web Services account has more than MaxResults Resolver configurations, use NextToken to get the second and subsequent pages of results.

For the first ListResolverConfigs request, omit this value.

For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request.

Request Lenses

listResolverConfigs_maxResults :: Lens' ListResolverConfigs (Maybe Natural) Source #

The maximum number of Resolver configurations that you want to return in the response to a ListResolverConfigs request. If you don't specify a value for MaxResults, up to 100 Resolver configurations are returned.

listResolverConfigs_nextToken :: Lens' ListResolverConfigs (Maybe Text) Source #

(Optional) If the current Amazon Web Services account has more than MaxResults Resolver configurations, use NextToken to get the second and subsequent pages of results.

For the first ListResolverConfigs request, omit this value.

For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request.

Destructuring the Response

data ListResolverConfigsResponse Source #

See: newListResolverConfigsResponse smart constructor.

Constructors

ListResolverConfigsResponse' 

Fields

  • nextToken :: Maybe Text

    If a response includes the last of the Resolver configurations that are associated with the current Amazon Web Services account, NextToken doesn't appear in the response.

    If a response doesn't include the last of the configurations, you can get more configurations by submitting another ListResolverConfigs request. Get the value of NextToken that Amazon Route 53 returned in the previous response and include it in NextToken in the next request.

  • resolverConfigs :: Maybe [ResolverConfig]

    An array that contains one ResolverConfigs element for each Resolver configuration that is associated with the current Amazon Web Services account.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListResolverConfigsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

Associated Types

type Rep ListResolverConfigsResponse :: Type -> Type #

Read ListResolverConfigsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

Show ListResolverConfigsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

NFData ListResolverConfigsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

Eq ListResolverConfigsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

type Rep ListResolverConfigsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverConfigs

type Rep ListResolverConfigsResponse = D1 ('MetaData "ListResolverConfigsResponse" "Amazonka.Route53Resolver.ListResolverConfigs" "amazonka-route53resolver-2.0-GFukx1WIgCPEXMh1BiYlp6" 'False) (C1 ('MetaCons "ListResolverConfigsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resolverConfigs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResolverConfig])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListResolverConfigsResponse Source #

Create a value of ListResolverConfigsResponse 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:

ListResolverConfigs, listResolverConfigsResponse_nextToken - If a response includes the last of the Resolver configurations that are associated with the current Amazon Web Services account, NextToken doesn't appear in the response.

If a response doesn't include the last of the configurations, you can get more configurations by submitting another ListResolverConfigs request. Get the value of NextToken that Amazon Route 53 returned in the previous response and include it in NextToken in the next request.

$sel:resolverConfigs:ListResolverConfigsResponse', listResolverConfigsResponse_resolverConfigs - An array that contains one ResolverConfigs element for each Resolver configuration that is associated with the current Amazon Web Services account.

$sel:httpStatus:ListResolverConfigsResponse', listResolverConfigsResponse_httpStatus - The response's http status code.

Response Lenses

listResolverConfigsResponse_nextToken :: Lens' ListResolverConfigsResponse (Maybe Text) Source #

If a response includes the last of the Resolver configurations that are associated with the current Amazon Web Services account, NextToken doesn't appear in the response.

If a response doesn't include the last of the configurations, you can get more configurations by submitting another ListResolverConfigs request. Get the value of NextToken that Amazon Route 53 returned in the previous response and include it in NextToken in the next request.

listResolverConfigsResponse_resolverConfigs :: Lens' ListResolverConfigsResponse (Maybe [ResolverConfig]) Source #

An array that contains one ResolverConfigs element for each Resolver configuration that is associated with the current Amazon Web Services account.