Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns an array of AppsListDataSummary
objects.
This operation returns paginated results.
Synopsis
- data ListAppsLists = ListAppsLists' {
- defaultLists :: Maybe Bool
- nextToken :: Maybe Text
- maxResults :: Natural
- newListAppsLists :: Natural -> ListAppsLists
- listAppsLists_defaultLists :: Lens' ListAppsLists (Maybe Bool)
- listAppsLists_nextToken :: Lens' ListAppsLists (Maybe Text)
- listAppsLists_maxResults :: Lens' ListAppsLists Natural
- data ListAppsListsResponse = ListAppsListsResponse' {
- nextToken :: Maybe Text
- appsLists :: Maybe [AppsListDataSummary]
- httpStatus :: Int
- newListAppsListsResponse :: Int -> ListAppsListsResponse
- listAppsListsResponse_nextToken :: Lens' ListAppsListsResponse (Maybe Text)
- listAppsListsResponse_appsLists :: Lens' ListAppsListsResponse (Maybe [AppsListDataSummary])
- listAppsListsResponse_httpStatus :: Lens' ListAppsListsResponse Int
Creating a Request
data ListAppsLists Source #
See: newListAppsLists
smart constructor.
ListAppsLists' | |
|
Instances
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.
ListAppsListsResponse' | |
|
Instances
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.
listAppsListsResponse_appsLists :: Lens' ListAppsListsResponse (Maybe [AppsListDataSummary]) Source #
An array of AppsListDataSummary
objects.
listAppsListsResponse_httpStatus :: Lens' ListAppsListsResponse Int Source #
The response's http status code.