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 |
Returns an array of ResourceSetSummary
objects.
Synopsis
- data ListResourceSets = ListResourceSets' {}
- newListResourceSets :: ListResourceSets
- listResourceSets_maxResults :: Lens' ListResourceSets (Maybe Natural)
- listResourceSets_nextToken :: Lens' ListResourceSets (Maybe Text)
- data ListResourceSetsResponse = ListResourceSetsResponse' {}
- newListResourceSetsResponse :: Int -> ListResourceSetsResponse
- listResourceSetsResponse_nextToken :: Lens' ListResourceSetsResponse (Maybe Text)
- listResourceSetsResponse_resourceSets :: Lens' ListResourceSetsResponse (Maybe [ResourceSetSummary])
- listResourceSetsResponse_httpStatus :: Lens' ListResourceSetsResponse Int
Creating a Request
data ListResourceSets Source #
See: newListResourceSets
smart constructor.
ListResourceSets' | |
|
Instances
newListResourceSets :: ListResourceSets Source #
Create a value of ListResourceSets
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:ListResourceSets'
, listResourceSets_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.
ListResourceSets
, listResourceSets_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.
Request Lenses
listResourceSets_maxResults :: Lens' ListResourceSets (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.
listResourceSets_nextToken :: Lens' ListResourceSets (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.
Destructuring the Response
data ListResourceSetsResponse Source #
See: newListResourceSetsResponse
smart constructor.
ListResourceSetsResponse' | |
|
Instances
newListResourceSetsResponse Source #
Create a value of ListResourceSetsResponse
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:
ListResourceSets
, listResourceSetsResponse_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:resourceSets:ListResourceSetsResponse'
, listResourceSetsResponse_resourceSets
- An array of ResourceSetSummary
objects.
$sel:httpStatus:ListResourceSetsResponse'
, listResourceSetsResponse_httpStatus
- The response's http status code.
Response Lenses
listResourceSetsResponse_nextToken :: Lens' ListResourceSetsResponse (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.
listResourceSetsResponse_resourceSets :: Lens' ListResourceSetsResponse (Maybe [ResourceSetSummary]) Source #
An array of ResourceSetSummary
objects.
listResourceSetsResponse_httpStatus :: Lens' ListResourceSetsResponse Int Source #
The response's http status code.