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 |
Lists the detector models you have created. Only the metadata associated with each detector model is returned.
Synopsis
- data ListDetectorModels = ListDetectorModels' {}
- newListDetectorModels :: ListDetectorModels
- listDetectorModels_nextToken :: Lens' ListDetectorModels (Maybe Text)
- listDetectorModels_maxResults :: Lens' ListDetectorModels (Maybe Natural)
- data ListDetectorModelsResponse = ListDetectorModelsResponse' {}
- newListDetectorModelsResponse :: Int -> ListDetectorModelsResponse
- listDetectorModelsResponse_nextToken :: Lens' ListDetectorModelsResponse (Maybe Text)
- listDetectorModelsResponse_detectorModelSummaries :: Lens' ListDetectorModelsResponse (Maybe [DetectorModelSummary])
- listDetectorModelsResponse_httpStatus :: Lens' ListDetectorModelsResponse Int
Creating a Request
data ListDetectorModels Source #
See: newListDetectorModels
smart constructor.
Instances
newListDetectorModels :: ListDetectorModels Source #
Create a value of ListDetectorModels
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:ListDetectorModels'
, listDetectorModels_nextToken
- The token that you can use to return the next set of results.
$sel:maxResults:ListDetectorModels'
, listDetectorModels_maxResults
- The maximum number of results to be returned per request.
Request Lenses
listDetectorModels_nextToken :: Lens' ListDetectorModels (Maybe Text) Source #
The token that you can use to return the next set of results.
listDetectorModels_maxResults :: Lens' ListDetectorModels (Maybe Natural) Source #
The maximum number of results to be returned per request.
Destructuring the Response
data ListDetectorModelsResponse Source #
See: newListDetectorModelsResponse
smart constructor.
ListDetectorModelsResponse' | |
|
Instances
newListDetectorModelsResponse Source #
Create a value of ListDetectorModelsResponse
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:ListDetectorModels'
, listDetectorModelsResponse_nextToken
- The token that you can use to return the next set of results, or null
if there are no more results.
$sel:detectorModelSummaries:ListDetectorModelsResponse'
, listDetectorModelsResponse_detectorModelSummaries
- Summary information about the detector models.
$sel:httpStatus:ListDetectorModelsResponse'
, listDetectorModelsResponse_httpStatus
- The response's http status code.
Response Lenses
listDetectorModelsResponse_nextToken :: Lens' ListDetectorModelsResponse (Maybe Text) Source #
The token that you can use to return the next set of results, or null
if there are no more results.
listDetectorModelsResponse_detectorModelSummaries :: Lens' ListDetectorModelsResponse (Maybe [DetectorModelSummary]) Source #
Summary information about the detector models.
listDetectorModelsResponse_httpStatus :: Lens' ListDetectorModelsResponse Int Source #
The response's http status code.