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

Description

Retrieves the minimal high-level information for the rule groups that you have defined.

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

This operation returns paginated results.

Synopsis

Creating a Request

data ListFirewallRuleGroups Source #

See: newListFirewallRuleGroups smart constructor.

Constructors

ListFirewallRuleGroups' 

Fields

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

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

Instances

Instances details
ToJSON ListFirewallRuleGroups Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

ToHeaders ListFirewallRuleGroups Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

ToPath ListFirewallRuleGroups Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

ToQuery ListFirewallRuleGroups Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

AWSPager ListFirewallRuleGroups Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

AWSRequest ListFirewallRuleGroups Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

Associated Types

type AWSResponse ListFirewallRuleGroups #

Generic ListFirewallRuleGroups Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

Associated Types

type Rep ListFirewallRuleGroups :: Type -> Type #

Read ListFirewallRuleGroups Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

Show ListFirewallRuleGroups Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

NFData ListFirewallRuleGroups Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

Methods

rnf :: ListFirewallRuleGroups -> () #

Eq ListFirewallRuleGroups Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

Hashable ListFirewallRuleGroups Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

type AWSResponse ListFirewallRuleGroups Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

type Rep ListFirewallRuleGroups Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

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

newListFirewallRuleGroups :: ListFirewallRuleGroups Source #

Create a value of ListFirewallRuleGroups 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:ListFirewallRuleGroups', listFirewallRuleGroups_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.

ListFirewallRuleGroups, listFirewallRuleGroups_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.

Request Lenses

listFirewallRuleGroups_maxResults :: Lens' ListFirewallRuleGroups (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.

listFirewallRuleGroups_nextToken :: Lens' ListFirewallRuleGroups (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.

Destructuring the Response

data ListFirewallRuleGroupsResponse Source #

See: newListFirewallRuleGroupsResponse smart constructor.

Constructors

ListFirewallRuleGroupsResponse' 

Fields

  • firewallRuleGroups :: Maybe [FirewallRuleGroupMetadata]

    A list of your firewall rule groups.

    This might be a partial list of the rule groups that you have defined. For information, see MaxResults.

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListFirewallRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

Associated Types

type Rep ListFirewallRuleGroupsResponse :: Type -> Type #

Read ListFirewallRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

Show ListFirewallRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

NFData ListFirewallRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

Eq ListFirewallRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

type Rep ListFirewallRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.Route53Resolver.ListFirewallRuleGroups

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

newListFirewallRuleGroupsResponse Source #

Create a value of ListFirewallRuleGroupsResponse 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:firewallRuleGroups:ListFirewallRuleGroupsResponse', listFirewallRuleGroupsResponse_firewallRuleGroups - A list of your firewall rule groups.

This might be a partial list of the rule groups that you have defined. For information, see MaxResults.

ListFirewallRuleGroups, listFirewallRuleGroupsResponse_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:httpStatus:ListFirewallRuleGroupsResponse', listFirewallRuleGroupsResponse_httpStatus - The response's http status code.

Response Lenses

listFirewallRuleGroupsResponse_firewallRuleGroups :: Lens' ListFirewallRuleGroupsResponse (Maybe [FirewallRuleGroupMetadata]) Source #

A list of your firewall rule groups.

This might be a partial list of the rule groups that you have defined. For information, see MaxResults.

listFirewallRuleGroupsResponse_nextToken :: Lens' ListFirewallRuleGroupsResponse (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.