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 one or more analysis results of the detector model.
After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.
Synopsis
- data GetDetectorModelAnalysisResults = GetDetectorModelAnalysisResults' {
- maxResults :: Maybe Int
- nextToken :: Maybe Text
- analysisId :: Text
- newGetDetectorModelAnalysisResults :: Text -> GetDetectorModelAnalysisResults
- getDetectorModelAnalysisResults_maxResults :: Lens' GetDetectorModelAnalysisResults (Maybe Int)
- getDetectorModelAnalysisResults_nextToken :: Lens' GetDetectorModelAnalysisResults (Maybe Text)
- getDetectorModelAnalysisResults_analysisId :: Lens' GetDetectorModelAnalysisResults Text
- data GetDetectorModelAnalysisResultsResponse = GetDetectorModelAnalysisResultsResponse' {}
- newGetDetectorModelAnalysisResultsResponse :: Int -> GetDetectorModelAnalysisResultsResponse
- getDetectorModelAnalysisResultsResponse_analysisResults :: Lens' GetDetectorModelAnalysisResultsResponse (Maybe [AnalysisResult])
- getDetectorModelAnalysisResultsResponse_nextToken :: Lens' GetDetectorModelAnalysisResultsResponse (Maybe Text)
- getDetectorModelAnalysisResultsResponse_httpStatus :: Lens' GetDetectorModelAnalysisResultsResponse Int
Creating a Request
data GetDetectorModelAnalysisResults Source #
See: newGetDetectorModelAnalysisResults
smart constructor.
GetDetectorModelAnalysisResults' | |
|
Instances
newGetDetectorModelAnalysisResults Source #
Create a value of GetDetectorModelAnalysisResults
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:GetDetectorModelAnalysisResults'
, getDetectorModelAnalysisResults_maxResults
- The maximum number of results to be returned per request.
GetDetectorModelAnalysisResults
, getDetectorModelAnalysisResults_nextToken
- The token that you can use to return the next set of results.
$sel:analysisId:GetDetectorModelAnalysisResults'
, getDetectorModelAnalysisResults_analysisId
- The ID of the analysis result that you want to retrieve.
Request Lenses
getDetectorModelAnalysisResults_maxResults :: Lens' GetDetectorModelAnalysisResults (Maybe Int) Source #
The maximum number of results to be returned per request.
getDetectorModelAnalysisResults_nextToken :: Lens' GetDetectorModelAnalysisResults (Maybe Text) Source #
The token that you can use to return the next set of results.
getDetectorModelAnalysisResults_analysisId :: Lens' GetDetectorModelAnalysisResults Text Source #
The ID of the analysis result that you want to retrieve.
Destructuring the Response
data GetDetectorModelAnalysisResultsResponse Source #
See: newGetDetectorModelAnalysisResultsResponse
smart constructor.
GetDetectorModelAnalysisResultsResponse' | |
|
Instances
newGetDetectorModelAnalysisResultsResponse Source #
Create a value of GetDetectorModelAnalysisResultsResponse
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:analysisResults:GetDetectorModelAnalysisResultsResponse'
, getDetectorModelAnalysisResultsResponse_analysisResults
- Contains information about one or more analysis results.
GetDetectorModelAnalysisResults
, getDetectorModelAnalysisResultsResponse_nextToken
- The token that you can use to return the next set of results, or null
if there are no more results.
$sel:httpStatus:GetDetectorModelAnalysisResultsResponse'
, getDetectorModelAnalysisResultsResponse_httpStatus
- The response's http status code.
Response Lenses
getDetectorModelAnalysisResultsResponse_analysisResults :: Lens' GetDetectorModelAnalysisResultsResponse (Maybe [AnalysisResult]) Source #
Contains information about one or more analysis results.
getDetectorModelAnalysisResultsResponse_nextToken :: Lens' GetDetectorModelAnalysisResultsResponse (Maybe Text) Source #
The token that you can use to return the next set of results, or null
if there are no more results.
getDetectorModelAnalysisResultsResponse_httpStatus :: Lens' GetDetectorModelAnalysisResultsResponse Int Source #
The response's http status code.