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 |
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' {
- nextToken :: Maybe Text
- maxResults :: Maybe Int
- analysisId :: Text
- newGetDetectorModelAnalysisResults :: Text -> GetDetectorModelAnalysisResults
- getDetectorModelAnalysisResults_nextToken :: Lens' GetDetectorModelAnalysisResults (Maybe Text)
- getDetectorModelAnalysisResults_maxResults :: Lens' GetDetectorModelAnalysisResults (Maybe Int)
- getDetectorModelAnalysisResults_analysisId :: Lens' GetDetectorModelAnalysisResults Text
- data GetDetectorModelAnalysisResultsResponse = GetDetectorModelAnalysisResultsResponse' {}
- newGetDetectorModelAnalysisResultsResponse :: Int -> GetDetectorModelAnalysisResultsResponse
- getDetectorModelAnalysisResultsResponse_nextToken :: Lens' GetDetectorModelAnalysisResultsResponse (Maybe Text)
- getDetectorModelAnalysisResultsResponse_analysisResults :: Lens' GetDetectorModelAnalysisResultsResponse (Maybe [AnalysisResult])
- 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:nextToken:GetDetectorModelAnalysisResults'
, getDetectorModelAnalysisResults_nextToken
- The token that you can use to return the next set of results.
$sel:maxResults:GetDetectorModelAnalysisResults'
, getDetectorModelAnalysisResults_maxResults
- The maximum number of results to be returned per request.
$sel:analysisId:GetDetectorModelAnalysisResults'
, getDetectorModelAnalysisResults_analysisId
- The ID of the analysis result that you want to retrieve.
Request Lenses
getDetectorModelAnalysisResults_nextToken :: Lens' GetDetectorModelAnalysisResults (Maybe Text) Source #
The token that you can use to return the next set of results.
getDetectorModelAnalysisResults_maxResults :: Lens' GetDetectorModelAnalysisResults (Maybe Int) Source #
The maximum number of results to be returned per request.
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:nextToken: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:analysisResults:GetDetectorModelAnalysisResultsResponse'
, getDetectorModelAnalysisResultsResponse_analysisResults
- Contains information about one or more analysis results.
$sel:httpStatus:GetDetectorModelAnalysisResultsResponse'
, getDetectorModelAnalysisResultsResponse_httpStatus
- The response's http status code.
Response Lenses
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_analysisResults :: Lens' GetDetectorModelAnalysisResultsResponse (Maybe [AnalysisResult]) Source #
Contains information about one or more analysis results.
getDetectorModelAnalysisResultsResponse_httpStatus :: Lens' GetDetectorModelAnalysisResultsResponse Int Source #
The response's http status code.