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 resources that are currently associated to a resource set.
Synopsis
- data ListResourceSetResources = ListResourceSetResources' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- identifier :: Text
- newListResourceSetResources :: Text -> ListResourceSetResources
- listResourceSetResources_maxResults :: Lens' ListResourceSetResources (Maybe Natural)
- listResourceSetResources_nextToken :: Lens' ListResourceSetResources (Maybe Text)
- listResourceSetResources_identifier :: Lens' ListResourceSetResources Text
- data ListResourceSetResourcesResponse = ListResourceSetResourcesResponse' {}
- newListResourceSetResourcesResponse :: Int -> ListResourceSetResourcesResponse
- listResourceSetResourcesResponse_nextToken :: Lens' ListResourceSetResourcesResponse (Maybe Text)
- listResourceSetResourcesResponse_httpStatus :: Lens' ListResourceSetResourcesResponse Int
- listResourceSetResourcesResponse_items :: Lens' ListResourceSetResourcesResponse [Resource]
Creating a Request
data ListResourceSetResources Source #
See: newListResourceSetResources
smart constructor.
ListResourceSetResources' | |
|
Instances
newListResourceSetResources Source #
Create a value of ListResourceSetResources
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:ListResourceSetResources'
, listResourceSetResources_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.
ListResourceSetResources
, listResourceSetResources_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:identifier:ListResourceSetResources'
, listResourceSetResources_identifier
- A unique identifier for the resource set, used in a TODO to refer to the
resource set.
Request Lenses
listResourceSetResources_maxResults :: Lens' ListResourceSetResources (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.
listResourceSetResources_nextToken :: Lens' ListResourceSetResources (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.
listResourceSetResources_identifier :: Lens' ListResourceSetResources Text Source #
A unique identifier for the resource set, used in a TODO to refer to the resource set.
Destructuring the Response
data ListResourceSetResourcesResponse Source #
See: newListResourceSetResourcesResponse
smart constructor.
ListResourceSetResourcesResponse' | |
|
Instances
newListResourceSetResourcesResponse Source #
Create a value of ListResourceSetResourcesResponse
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:
ListResourceSetResources
, listResourceSetResourcesResponse_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:httpStatus:ListResourceSetResourcesResponse'
, listResourceSetResourcesResponse_httpStatus
- The response's http status code.
$sel:items:ListResourceSetResourcesResponse'
, listResourceSetResourcesResponse_items
- An array of the associated resources' uniform resource identifiers
(URI).
Response Lenses
listResourceSetResourcesResponse_nextToken :: Lens' ListResourceSetResourcesResponse (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.
listResourceSetResourcesResponse_httpStatus :: Lens' ListResourceSetResourcesResponse Int Source #
The response's http status code.
listResourceSetResourcesResponse_items :: Lens' ListResourceSetResourcesResponse [Resource] Source #
An array of the associated resources' uniform resource identifiers (URI).