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

Description

Lists the Resolver rules that were created using the current Amazon Web Services account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListResolverRules Source #

See: newListResolverRules smart constructor.

Constructors

ListResolverRules' 

Fields

  • filters :: Maybe [Filter]

    An optional specification to return a subset of Resolver rules, such as all Resolver rules that are associated with the same Resolver endpoint.

    If you submit a second or subsequent ListResolverRules request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request.

  • nextToken :: Maybe Text

    For the first ListResolverRules request, omit this value.

    If you have more than MaxResults Resolver rules, you can submit another ListResolverRules request to get the next group of Resolver rules. In the next request, specify the value of NextToken from the previous response.

  • maxResults :: Maybe Natural

    The maximum number of Resolver rules that you want to return in the response to a ListResolverRules request. If you don't specify a value for MaxResults, Resolver returns up to 100 Resolver rules.

Instances

Instances details
Eq ListResolverRules Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

Read ListResolverRules Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

Show ListResolverRules Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

Generic ListResolverRules Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

Associated Types

type Rep ListResolverRules :: Type -> Type #

NFData ListResolverRules Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

Methods

rnf :: ListResolverRules -> () #

Hashable ListResolverRules Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

ToJSON ListResolverRules Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

AWSPager ListResolverRules Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

AWSRequest ListResolverRules Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

Associated Types

type AWSResponse ListResolverRules #

ToHeaders ListResolverRules Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

ToPath ListResolverRules Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

ToQuery ListResolverRules Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

type Rep ListResolverRules Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

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

Defined in Amazonka.Route53Resolver.ListResolverRules

newListResolverRules :: ListResolverRules Source #

Create a value of ListResolverRules 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:filters:ListResolverRules', listResolverRules_filters - An optional specification to return a subset of Resolver rules, such as all Resolver rules that are associated with the same Resolver endpoint.

If you submit a second or subsequent ListResolverRules request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request.

$sel:nextToken:ListResolverRules', listResolverRules_nextToken - For the first ListResolverRules request, omit this value.

If you have more than MaxResults Resolver rules, you can submit another ListResolverRules request to get the next group of Resolver rules. In the next request, specify the value of NextToken from the previous response.

$sel:maxResults:ListResolverRules', listResolverRules_maxResults - The maximum number of Resolver rules that you want to return in the response to a ListResolverRules request. If you don't specify a value for MaxResults, Resolver returns up to 100 Resolver rules.

Request Lenses

listResolverRules_filters :: Lens' ListResolverRules (Maybe [Filter]) Source #

An optional specification to return a subset of Resolver rules, such as all Resolver rules that are associated with the same Resolver endpoint.

If you submit a second or subsequent ListResolverRules request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request.

listResolverRules_nextToken :: Lens' ListResolverRules (Maybe Text) Source #

For the first ListResolverRules request, omit this value.

If you have more than MaxResults Resolver rules, you can submit another ListResolverRules request to get the next group of Resolver rules. In the next request, specify the value of NextToken from the previous response.

listResolverRules_maxResults :: Lens' ListResolverRules (Maybe Natural) Source #

The maximum number of Resolver rules that you want to return in the response to a ListResolverRules request. If you don't specify a value for MaxResults, Resolver returns up to 100 Resolver rules.

Destructuring the Response

data ListResolverRulesResponse Source #

See: newListResolverRulesResponse smart constructor.

Constructors

ListResolverRulesResponse' 

Fields

  • resolverRules :: Maybe [ResolverRule]

    The Resolver rules that were created using the current Amazon Web Services account and that match the specified filters, if any.

  • nextToken :: Maybe Text

    If more than MaxResults Resolver rules match the specified criteria, you can submit another ListResolverRules request to get the next group of results. In the next request, specify the value of NextToken from the previous response.

  • maxResults :: Maybe Natural

    The value that you specified for MaxResults in the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListResolverRulesResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

Read ListResolverRulesResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

Show ListResolverRulesResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

Generic ListResolverRulesResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

Associated Types

type Rep ListResolverRulesResponse :: Type -> Type #

NFData ListResolverRulesResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

type Rep ListResolverRulesResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRules

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

newListResolverRulesResponse Source #

Create a value of ListResolverRulesResponse 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:resolverRules:ListResolverRulesResponse', listResolverRulesResponse_resolverRules - The Resolver rules that were created using the current Amazon Web Services account and that match the specified filters, if any.

$sel:nextToken:ListResolverRules', listResolverRulesResponse_nextToken - If more than MaxResults Resolver rules match the specified criteria, you can submit another ListResolverRules request to get the next group of results. In the next request, specify the value of NextToken from the previous response.

$sel:maxResults:ListResolverRules', listResolverRulesResponse_maxResults - The value that you specified for MaxResults in the request.

$sel:httpStatus:ListResolverRulesResponse', listResolverRulesResponse_httpStatus - The response's http status code.

Response Lenses

listResolverRulesResponse_resolverRules :: Lens' ListResolverRulesResponse (Maybe [ResolverRule]) Source #

The Resolver rules that were created using the current Amazon Web Services account and that match the specified filters, if any.

listResolverRulesResponse_nextToken :: Lens' ListResolverRulesResponse (Maybe Text) Source #

If more than MaxResults Resolver rules match the specified criteria, you can submit another ListResolverRules request to get the next group of results. In the next request, specify the value of NextToken from the previous response.

listResolverRulesResponse_maxResults :: Lens' ListResolverRulesResponse (Maybe Natural) Source #

The value that you specified for MaxResults in the request.