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

Description

Lists the associations that were created between Resolver rules and VPCs using the current Amazon Web Services account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListResolverRuleAssociations Source #

See: newListResolverRuleAssociations smart constructor.

Constructors

ListResolverRuleAssociations' 

Fields

  • filters :: Maybe [Filter]

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

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

  • maxResults :: Maybe Natural

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

  • nextToken :: Maybe Text

    For the first ListResolverRuleAssociation request, omit this value.

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

Instances

Instances details
ToJSON ListResolverRuleAssociations Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

ToHeaders ListResolverRuleAssociations Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

ToPath ListResolverRuleAssociations Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

ToQuery ListResolverRuleAssociations Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

AWSPager ListResolverRuleAssociations Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

AWSRequest ListResolverRuleAssociations Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

Generic ListResolverRuleAssociations Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

Associated Types

type Rep ListResolverRuleAssociations :: Type -> Type #

Read ListResolverRuleAssociations Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

Show ListResolverRuleAssociations Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

NFData ListResolverRuleAssociations Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

Eq ListResolverRuleAssociations Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

Hashable ListResolverRuleAssociations Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

type AWSResponse ListResolverRuleAssociations Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

type Rep ListResolverRuleAssociations Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

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

newListResolverRuleAssociations :: ListResolverRuleAssociations Source #

Create a value of ListResolverRuleAssociations 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:ListResolverRuleAssociations', listResolverRuleAssociations_filters - An optional specification to return a subset of Resolver rules, such as Resolver rules that are associated with the same VPC ID.

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

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

ListResolverRuleAssociations, listResolverRuleAssociations_nextToken - For the first ListResolverRuleAssociation request, omit this value.

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

Request Lenses

listResolverRuleAssociations_filters :: Lens' ListResolverRuleAssociations (Maybe [Filter]) Source #

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

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

listResolverRuleAssociations_maxResults :: Lens' ListResolverRuleAssociations (Maybe Natural) Source #

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

listResolverRuleAssociations_nextToken :: Lens' ListResolverRuleAssociations (Maybe Text) Source #

For the first ListResolverRuleAssociation request, omit this value.

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

Destructuring the Response

data ListResolverRuleAssociationsResponse Source #

Constructors

ListResolverRuleAssociationsResponse' 

Fields

  • maxResults :: Maybe Natural

    The value that you specified for MaxResults in the request.

  • nextToken :: Maybe Text

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

  • resolverRuleAssociations :: Maybe [ResolverRuleAssociation]

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListResolverRuleAssociationsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

Read ListResolverRuleAssociationsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

Show ListResolverRuleAssociationsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

NFData ListResolverRuleAssociationsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

Eq ListResolverRuleAssociationsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

type Rep ListResolverRuleAssociationsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListResolverRuleAssociations

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

newListResolverRuleAssociationsResponse Source #

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

ListResolverRuleAssociations, listResolverRuleAssociationsResponse_maxResults - The value that you specified for MaxResults in the request.

ListResolverRuleAssociations, listResolverRuleAssociationsResponse_nextToken - If more than MaxResults rule associations match the specified criteria, you can submit another ListResolverRuleAssociation request to get the next group of results. In the next request, specify the value of NextToken from the previous response.

$sel:resolverRuleAssociations:ListResolverRuleAssociationsResponse', listResolverRuleAssociationsResponse_resolverRuleAssociations - The associations that were created between Resolver rules and VPCs using the current Amazon Web Services account, and that match the specified filters, if any.

$sel:httpStatus:ListResolverRuleAssociationsResponse', listResolverRuleAssociationsResponse_httpStatus - The response's http status code.

Response Lenses

listResolverRuleAssociationsResponse_nextToken :: Lens' ListResolverRuleAssociationsResponse (Maybe Text) Source #

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

listResolverRuleAssociationsResponse_resolverRuleAssociations :: Lens' ListResolverRuleAssociationsResponse (Maybe [ResolverRuleAssociation]) Source #

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