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 all the versions of a detector model. Only the metadata associated with each detector model version is returned.
Synopsis
- data ListDetectorModelVersions = ListDetectorModelVersions' {}
- newListDetectorModelVersions :: Text -> ListDetectorModelVersions
- listDetectorModelVersions_nextToken :: Lens' ListDetectorModelVersions (Maybe Text)
- listDetectorModelVersions_maxResults :: Lens' ListDetectorModelVersions (Maybe Natural)
- listDetectorModelVersions_detectorModelName :: Lens' ListDetectorModelVersions Text
- data ListDetectorModelVersionsResponse = ListDetectorModelVersionsResponse' {}
- newListDetectorModelVersionsResponse :: Int -> ListDetectorModelVersionsResponse
- listDetectorModelVersionsResponse_nextToken :: Lens' ListDetectorModelVersionsResponse (Maybe Text)
- listDetectorModelVersionsResponse_detectorModelVersionSummaries :: Lens' ListDetectorModelVersionsResponse (Maybe [DetectorModelVersionSummary])
- listDetectorModelVersionsResponse_httpStatus :: Lens' ListDetectorModelVersionsResponse Int
Creating a Request
data ListDetectorModelVersions Source #
See: newListDetectorModelVersions
smart constructor.
ListDetectorModelVersions' | |
|
Instances
newListDetectorModelVersions Source #
Create a value of ListDetectorModelVersions
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:ListDetectorModelVersions'
, listDetectorModelVersions_nextToken
- The token that you can use to return the next set of results.
$sel:maxResults:ListDetectorModelVersions'
, listDetectorModelVersions_maxResults
- The maximum number of results to be returned per request.
$sel:detectorModelName:ListDetectorModelVersions'
, listDetectorModelVersions_detectorModelName
- The name of the detector model whose versions are returned.
Request Lenses
listDetectorModelVersions_nextToken :: Lens' ListDetectorModelVersions (Maybe Text) Source #
The token that you can use to return the next set of results.
listDetectorModelVersions_maxResults :: Lens' ListDetectorModelVersions (Maybe Natural) Source #
The maximum number of results to be returned per request.
listDetectorModelVersions_detectorModelName :: Lens' ListDetectorModelVersions Text Source #
The name of the detector model whose versions are returned.
Destructuring the Response
data ListDetectorModelVersionsResponse Source #
See: newListDetectorModelVersionsResponse
smart constructor.
ListDetectorModelVersionsResponse' | |
|
Instances
newListDetectorModelVersionsResponse Source #
Create a value of ListDetectorModelVersionsResponse
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:ListDetectorModelVersions'
, listDetectorModelVersionsResponse_nextToken
- The token that you can use to return the next set of results, or null
if there are no more results.
$sel:detectorModelVersionSummaries:ListDetectorModelVersionsResponse'
, listDetectorModelVersionsResponse_detectorModelVersionSummaries
- Summary information about the detector model versions.
$sel:httpStatus:ListDetectorModelVersionsResponse'
, listDetectorModelVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listDetectorModelVersionsResponse_nextToken :: Lens' ListDetectorModelVersionsResponse (Maybe Text) Source #
The token that you can use to return the next set of results, or null
if there are no more results.
listDetectorModelVersionsResponse_detectorModelVersionSummaries :: Lens' ListDetectorModelVersionsResponse (Maybe [DetectorModelVersionSummary]) Source #
Summary information about the detector model versions.
listDetectorModelVersionsResponse_httpStatus :: Lens' ListDetectorModelVersionsResponse Int Source #
The response's http status code.