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

Description

Returns an array of resources that are currently associated to a resource set.

Synopsis

Creating a Request

data ListResourceSetResources Source #

See: newListResourceSetResources smart constructor.

Constructors

ListResourceSetResources' 

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.

  • identifier :: Text

    A unique identifier for the resource set, used in a TODO to refer to the resource set.

Instances

Instances details
ToJSON ListResourceSetResources Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

ToHeaders ListResourceSetResources Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

ToPath ListResourceSetResources Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

ToQuery ListResourceSetResources Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

AWSRequest ListResourceSetResources Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

Generic ListResourceSetResources Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

Associated Types

type Rep ListResourceSetResources :: Type -> Type #

Read ListResourceSetResources Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

Show ListResourceSetResources Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

NFData ListResourceSetResources Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

Eq ListResourceSetResources Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

Hashable ListResourceSetResources Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

type AWSResponse ListResourceSetResources Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

type Rep ListResourceSetResources Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

type Rep ListResourceSetResources = D1 ('MetaData "ListResourceSetResources" "Amazonka.FMS.ListResourceSetResources" "amazonka-fms-2.0-351knTjuYAjE9GRQTo0ohx" 'False) (C1 ('MetaCons "ListResourceSetResources'" '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 "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListResourceSetResources Source #

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

ListResourceSetResources, listResourceSetResources_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:identifier:ListResourceSetResources', listResourceSetResources_identifier - A unique identifier for the resource set, used in a TODO to refer to the resource set.

Request Lenses

listResourceSetResources_maxResults :: Lens' ListResourceSetResources (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.

listResourceSetResources_nextToken :: Lens' ListResourceSetResources (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.

listResourceSetResources_identifier :: Lens' ListResourceSetResources Text Source #

A unique identifier for the resource set, used in a TODO to refer to the resource set.

Destructuring the Response

data ListResourceSetResourcesResponse Source #

See: newListResourceSetResourcesResponse smart constructor.

Constructors

ListResourceSetResourcesResponse' 

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.

  • httpStatus :: Int

    The response's http status code.

  • items :: [Resource]

    An array of the associated resources' uniform resource identifiers (URI).

Instances

Instances details
Generic ListResourceSetResourcesResponse Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

Associated Types

type Rep ListResourceSetResourcesResponse :: Type -> Type #

Read ListResourceSetResourcesResponse Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

Show ListResourceSetResourcesResponse Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

NFData ListResourceSetResourcesResponse Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

Eq ListResourceSetResourcesResponse Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

type Rep ListResourceSetResourcesResponse Source # 
Instance details

Defined in Amazonka.FMS.ListResourceSetResources

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

newListResourceSetResourcesResponse Source #

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

ListResourceSetResources, listResourceSetResourcesResponse_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:httpStatus:ListResourceSetResourcesResponse', listResourceSetResourcesResponse_httpStatus - The response's http status code.

$sel:items:ListResourceSetResourcesResponse', listResourceSetResourcesResponse_items - An array of the associated resources' uniform resource identifiers (URI).

Response Lenses

listResourceSetResourcesResponse_nextToken :: Lens' ListResourceSetResourcesResponse (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.

listResourceSetResourcesResponse_items :: Lens' ListResourceSetResourcesResponse [Resource] Source #

An array of the associated resources' uniform resource identifiers (URI).