| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.FMS.ListProtocolsLists
Description
Returns an array of ProtocolsListDataSummary objects.
This operation returns paginated results.
Synopsis
- data ListProtocolsLists = ListProtocolsLists' {
- defaultLists :: Maybe Bool
- nextToken :: Maybe Text
- maxResults :: Natural
- newListProtocolsLists :: Natural -> ListProtocolsLists
- listProtocolsLists_defaultLists :: Lens' ListProtocolsLists (Maybe Bool)
- listProtocolsLists_nextToken :: Lens' ListProtocolsLists (Maybe Text)
- listProtocolsLists_maxResults :: Lens' ListProtocolsLists Natural
- data ListProtocolsListsResponse = ListProtocolsListsResponse' {}
- newListProtocolsListsResponse :: Int -> ListProtocolsListsResponse
- listProtocolsListsResponse_nextToken :: Lens' ListProtocolsListsResponse (Maybe Text)
- listProtocolsListsResponse_protocolsLists :: Lens' ListProtocolsListsResponse (Maybe [ProtocolsListDataSummary])
- listProtocolsListsResponse_httpStatus :: Lens' ListProtocolsListsResponse Int
Creating a Request
data ListProtocolsLists Source #
See: newListProtocolsLists smart constructor.
Constructors
| ListProtocolsLists' | |
Fields
| |
Instances
newListProtocolsLists Source #
Arguments
| :: Natural | |
| -> ListProtocolsLists |
Create a value of ListProtocolsLists 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:ListProtocolsLists', listProtocolsLists_defaultLists - Specifies whether the lists to retrieve are default lists owned by
Firewall Manager.
ListProtocolsLists, listProtocolsLists_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:ListProtocolsLists', listProtocolsLists_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
listProtocolsLists_defaultLists :: Lens' ListProtocolsLists (Maybe Bool) Source #
Specifies whether the lists to retrieve are default lists owned by Firewall Manager.
listProtocolsLists_nextToken :: Lens' ListProtocolsLists (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.
listProtocolsLists_maxResults :: Lens' ListProtocolsLists 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 ListProtocolsListsResponse Source #
See: newListProtocolsListsResponse smart constructor.
Constructors
| ListProtocolsListsResponse' | |
Fields
| |
Instances
newListProtocolsListsResponse Source #
Create a value of ListProtocolsListsResponse 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:
ListProtocolsLists, listProtocolsListsResponse_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:protocolsLists:ListProtocolsListsResponse', listProtocolsListsResponse_protocolsLists - An array of ProtocolsListDataSummary objects.
$sel:httpStatus:ListProtocolsListsResponse', listProtocolsListsResponse_httpStatus - The response's http status code.
Response Lenses
listProtocolsListsResponse_nextToken :: Lens' ListProtocolsListsResponse (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.
listProtocolsListsResponse_protocolsLists :: Lens' ListProtocolsListsResponse (Maybe [ProtocolsListDataSummary]) Source #
An array of ProtocolsListDataSummary objects.
listProtocolsListsResponse_httpStatus :: Lens' ListProtocolsListsResponse Int Source #
The response's http status code.