| 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 |
Amazonka.IoTEvents.DescribeDetectorModelAnalysis
Description
Retrieves runtime information about a detector model analysis.
After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.
Synopsis
- data DescribeDetectorModelAnalysis = DescribeDetectorModelAnalysis' {
- analysisId :: Text
- newDescribeDetectorModelAnalysis :: Text -> DescribeDetectorModelAnalysis
- describeDetectorModelAnalysis_analysisId :: Lens' DescribeDetectorModelAnalysis Text
- data DescribeDetectorModelAnalysisResponse = DescribeDetectorModelAnalysisResponse' {}
- newDescribeDetectorModelAnalysisResponse :: Int -> DescribeDetectorModelAnalysisResponse
- describeDetectorModelAnalysisResponse_status :: Lens' DescribeDetectorModelAnalysisResponse (Maybe AnalysisStatus)
- describeDetectorModelAnalysisResponse_httpStatus :: Lens' DescribeDetectorModelAnalysisResponse Int
Creating a Request
data DescribeDetectorModelAnalysis Source #
See: newDescribeDetectorModelAnalysis smart constructor.
Constructors
| DescribeDetectorModelAnalysis' | |
Fields
| |
Instances
newDescribeDetectorModelAnalysis Source #
Create a value of DescribeDetectorModelAnalysis 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:analysisId:DescribeDetectorModelAnalysis', describeDetectorModelAnalysis_analysisId - The ID of the analysis result that you want to retrieve.
Request Lenses
describeDetectorModelAnalysis_analysisId :: Lens' DescribeDetectorModelAnalysis Text Source #
The ID of the analysis result that you want to retrieve.
Destructuring the Response
data DescribeDetectorModelAnalysisResponse Source #
See: newDescribeDetectorModelAnalysisResponse smart constructor.
Constructors
| DescribeDetectorModelAnalysisResponse' | |
Fields
| |
Instances
newDescribeDetectorModelAnalysisResponse Source #
Arguments
| :: Int | |
| -> DescribeDetectorModelAnalysisResponse |
Create a value of DescribeDetectorModelAnalysisResponse 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:
DescribeDetectorModelAnalysisResponse, describeDetectorModelAnalysisResponse_status - The status of the analysis activity. The status can be one of the
following values:
RUNNING- AWS IoT Events is analyzing your detector model. This process can take several minutes to complete.COMPLETE- AWS IoT Events finished analyzing your detector model.FAILED- AWS IoT Events couldn't analyze your detector model. Try again later.
$sel:httpStatus:DescribeDetectorModelAnalysisResponse', describeDetectorModelAnalysisResponse_httpStatus - The response's http status code.
Response Lenses
describeDetectorModelAnalysisResponse_status :: Lens' DescribeDetectorModelAnalysisResponse (Maybe AnalysisStatus) Source #
The status of the analysis activity. The status can be one of the following values:
RUNNING- AWS IoT Events is analyzing your detector model. This process can take several minutes to complete.COMPLETE- AWS IoT Events finished analyzing your detector model.FAILED- AWS IoT Events couldn't analyze your detector model. Try again later.
describeDetectorModelAnalysisResponse_httpStatus :: Lens' DescribeDetectorModelAnalysisResponse Int Source #
The response's http status code.