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

Description

Returns an array of AppsListDataSummary objects.

This operation returns paginated results.

Synopsis

Creating a Request

data ListAppsLists Source #

See: newListAppsLists smart constructor.

Constructors

ListAppsLists' 

Fields

  • defaultLists :: Maybe Bool

    Specifies whether the lists to retrieve are default lists owned by Firewall Manager.

  • nextToken :: Maybe Text

    If you specify a value for MaxResults in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. For all but the first request, you provide the token returned by the prior request in the request parameters, to retrieve the next batch of objects.

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

    If you don't specify this, Firewall Manager returns all available objects.

Instances

Instances details
ToJSON ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

ToHeaders ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

ToPath ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

ToQuery ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

AWSPager ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

AWSRequest ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Associated Types

type AWSResponse ListAppsLists #

Generic ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Associated Types

type Rep ListAppsLists :: Type -> Type #

Read ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Show ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

NFData ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Methods

rnf :: ListAppsLists -> () #

Eq ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Hashable ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

type AWSResponse ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

type Rep ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

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

newListAppsLists Source #

Create a value of ListAppsLists 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:defaultLists:ListAppsLists', listAppsLists_defaultLists - Specifies whether the lists to retrieve are default lists owned by Firewall Manager.

ListAppsLists, listAppsLists_nextToken - If you specify a value for MaxResults in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. For all but the first request, you provide the token returned by the prior request in the request parameters, to retrieve the next batch of objects.

$sel:maxResults:ListAppsLists', listAppsLists_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.

If you don't specify this, Firewall Manager returns all available objects.

Request Lenses

listAppsLists_defaultLists :: Lens' ListAppsLists (Maybe Bool) Source #

Specifies whether the lists to retrieve are default lists owned by Firewall Manager.

listAppsLists_nextToken :: Lens' ListAppsLists (Maybe Text) Source #

If you specify a value for MaxResults in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. For all but the first request, you provide the token returned by the prior request in the request parameters, to retrieve the next batch of objects.

listAppsLists_maxResults :: Lens' ListAppsLists 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.

If you don't specify this, Firewall Manager returns all available objects.

Destructuring the Response

data ListAppsListsResponse Source #

See: newListAppsListsResponse smart constructor.

Constructors

ListAppsListsResponse' 

Fields

  • appsLists :: Maybe [AppsListDataSummary]

    An array of AppsListDataSummary objects.

  • nextToken :: Maybe Text

    If you specify a value for MaxResults in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. You can use this token in subsequent requests to retrieve the next batch of objects.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListAppsListsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Associated Types

type Rep ListAppsListsResponse :: Type -> Type #

Read ListAppsListsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Show ListAppsListsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

NFData ListAppsListsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Methods

rnf :: ListAppsListsResponse -> () #

Eq ListAppsListsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

type Rep ListAppsListsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

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

newListAppsListsResponse Source #

Create a value of ListAppsListsResponse 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:appsLists:ListAppsListsResponse', listAppsListsResponse_appsLists - An array of AppsListDataSummary objects.

ListAppsLists, listAppsListsResponse_nextToken - If you specify a value for MaxResults in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. You can use this token in subsequent requests to retrieve the next batch of objects.

$sel:httpStatus:ListAppsListsResponse', listAppsListsResponse_httpStatus - The response's http status code.

Response Lenses

listAppsListsResponse_nextToken :: Lens' ListAppsListsResponse (Maybe Text) Source #

If you specify a value for MaxResults in your list request, and you have more objects than the maximum, Firewall Manager returns this token in the response. You can use this token in subsequent requests to retrieve the next batch of objects.