libZSservicesZSamazonka-fmsZSamazonka-fms
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Read ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Show ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Generic ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Associated Types

type Rep ListAppsLists :: Type -> Type #

NFData ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Methods

rnf :: ListAppsLists -> () #

Hashable ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

ToJSON 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 #

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

type Rep ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

type Rep ListAppsLists = D1 ('MetaData "ListAppsLists" "Amazonka.FMS.ListAppsLists" "libZSservicesZSamazonka-fmsZSamazonka-fms" '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))))
type AWSResponse ListAppsLists Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

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.

$sel:nextToken: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

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

  • appsLists :: Maybe [AppsListDataSummary]

    An array of AppsListDataSummary objects.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListAppsListsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Read ListAppsListsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Show ListAppsListsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Generic ListAppsListsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Associated Types

type Rep ListAppsListsResponse :: Type -> Type #

NFData ListAppsListsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

Methods

rnf :: ListAppsListsResponse -> () #

type Rep ListAppsListsResponse Source # 
Instance details

Defined in Amazonka.FMS.ListAppsLists

type Rep ListAppsListsResponse = D1 ('MetaData "ListAppsListsResponse" "Amazonka.FMS.ListAppsLists" "libZSservicesZSamazonka-fmsZSamazonka-fms" 'False) (C1 ('MetaCons "ListAppsListsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "appsLists") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AppsListDataSummary])) :*: 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:nextToken: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:appsLists:ListAppsListsResponse', listAppsListsResponse_appsLists - An array of AppsListDataSummary 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.