amazonka-fms-2.0: Amazon Firewall Management Service 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.FMS.ListResourceSets

Description

Returns an array of ResourceSetSummary objects.

Synopsis

Creating a Request

data ListResourceSets Source #

See: newListResourceSets smart constructor.

Constructors

ListResourceSets' 

Fields

  • maxResults :: Maybe Natural

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

  • nextToken :: Maybe Text

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

Instances

Instances details
ToJSON ListResourceSets Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

ToHeaders ListResourceSets Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

ToPath ListResourceSets Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

ToQuery ListResourceSets Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

AWSRequest ListResourceSets Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

Associated Types

type AWSResponse ListResourceSets #

Generic ListResourceSets Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

Associated Types

type Rep ListResourceSets :: Type -> Type #

Read ListResourceSets Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

Show ListResourceSets Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

NFData ListResourceSets Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

Methods

rnf :: ListResourceSets -> () #

Eq ListResourceSets Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

Hashable ListResourceSets Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

type AWSResponse ListResourceSets Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

type Rep ListResourceSets Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

type Rep ListResourceSets = D1 ('MetaData "ListResourceSets" "Amazonka.FMS.ListResourceSets" "amazonka-fms-2.0-351knTjuYAjE9GRQTo0ohx" 'False) (C1 ('MetaCons "ListResourceSets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListResourceSets :: ListResourceSets Source #

Create a value of ListResourceSets 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:ListResourceSets', listResourceSets_maxResults - The maximum number of objects that you want Firewall Manager to return for this request. If more objects are available, in the response, Firewall Manager provides a NextToken value that you can use in a subsequent call to get the next batch of objects.

ListResourceSets, listResourceSets_nextToken - When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

Request Lenses

listResourceSets_maxResults :: Lens' ListResourceSets (Maybe Natural) Source #

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

listResourceSets_nextToken :: Lens' ListResourceSets (Maybe Text) Source #

When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

Destructuring the Response

data ListResourceSetsResponse Source #

See: newListResourceSetsResponse smart constructor.

Constructors

ListResourceSetsResponse' 

Fields

  • nextToken :: Maybe Text

    When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

  • resourceSets :: Maybe [ResourceSetSummary]

    An array of ResourceSetSummary objects.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListResourceSetsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

Associated Types

type Rep ListResourceSetsResponse :: Type -> Type #

Read ListResourceSetsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

Show ListResourceSetsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

NFData ListResourceSetsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

Eq ListResourceSetsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

type Rep ListResourceSetsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSets

type Rep ListResourceSetsResponse = D1 ('MetaData "ListResourceSetsResponse" "Amazonka.FMS.ListResourceSets" "amazonka-fms-2.0-351knTjuYAjE9GRQTo0ohx" 'False) (C1 ('MetaCons "ListResourceSetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceSetSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListResourceSetsResponse Source #

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

ListResourceSets, listResourceSetsResponse_nextToken - When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

$sel:resourceSets:ListResourceSetsResponse', listResourceSetsResponse_resourceSets - An array of ResourceSetSummary objects.

$sel:httpStatus:ListResourceSetsResponse', listResourceSetsResponse_httpStatus - The response's http status code.

Response Lenses

listResourceSetsResponse_nextToken :: Lens' ListResourceSetsResponse (Maybe Text) Source #

When you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Firewall Manager returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.