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 |
Retrieves a list of all the installed collectors.
This operation returns paginated results.
Synopsis
- data ListCollectors = ListCollectors' {}
- newListCollectors :: ListCollectors
- listCollectors_maxResults :: Lens' ListCollectors (Maybe Int)
- listCollectors_nextToken :: Lens' ListCollectors (Maybe Text)
- data ListCollectorsResponse = ListCollectorsResponse' {
- collectors :: Maybe [Collector]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListCollectorsResponse :: Int -> ListCollectorsResponse
- listCollectorsResponse_collectors :: Lens' ListCollectorsResponse (Maybe [Collector])
- listCollectorsResponse_nextToken :: Lens' ListCollectorsResponse (Maybe Text)
- listCollectorsResponse_httpStatus :: Lens' ListCollectorsResponse Int
Creating a Request
data ListCollectors Source #
See: newListCollectors
smart constructor.
ListCollectors' | |
|
Instances
newListCollectors :: ListCollectors Source #
Create a value of ListCollectors
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:ListCollectors'
, listCollectors_maxResults
- The maximum number of items to include in the response. The maximum
value is 100.
ListCollectors
, listCollectors_nextToken
- The token from a previous call that you use to retrieve the next set of
results. For example, if a previous call to this action returned 100
items, but you set maxResults
to 10. You'll receive a set of 10
results along with a token. You then use the returned token to retrieve
the next set of 10.
Request Lenses
listCollectors_maxResults :: Lens' ListCollectors (Maybe Int) Source #
The maximum number of items to include in the response. The maximum value is 100.
listCollectors_nextToken :: Lens' ListCollectors (Maybe Text) Source #
The token from a previous call that you use to retrieve the next set of
results. For example, if a previous call to this action returned 100
items, but you set maxResults
to 10. You'll receive a set of 10
results along with a token. You then use the returned token to retrieve
the next set of 10.
Destructuring the Response
data ListCollectorsResponse Source #
See: newListCollectorsResponse
smart constructor.
ListCollectorsResponse' | |
|
Instances
newListCollectorsResponse Source #
Create a value of ListCollectorsResponse
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:collectors:ListCollectorsResponse'
, listCollectorsResponse_collectors
- The list of all the installed collectors.
ListCollectors
, listCollectorsResponse_nextToken
- The token you use to retrieve the next set of results, or null if there
are no more results.
$sel:httpStatus:ListCollectorsResponse'
, listCollectorsResponse_httpStatus
- The response's http status code.
Response Lenses
listCollectorsResponse_collectors :: Lens' ListCollectorsResponse (Maybe [Collector]) Source #
The list of all the installed collectors.
listCollectorsResponse_nextToken :: Lens' ListCollectorsResponse (Maybe Text) Source #
The token you use to retrieve the next set of results, or null if there are no more results.
listCollectorsResponse_httpStatus :: Lens' ListCollectorsResponse Int Source #
The response's http status code.