| 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.DescribeDetectorModel
Description
Describes a detector model. If the version parameter is not specified,
information about the latest version is returned.
Synopsis
- data DescribeDetectorModel = DescribeDetectorModel' {}
- newDescribeDetectorModel :: Text -> DescribeDetectorModel
- describeDetectorModel_detectorModelVersion :: Lens' DescribeDetectorModel (Maybe Text)
- describeDetectorModel_detectorModelName :: Lens' DescribeDetectorModel Text
- data DescribeDetectorModelResponse = DescribeDetectorModelResponse' {}
- newDescribeDetectorModelResponse :: Int -> DescribeDetectorModelResponse
- describeDetectorModelResponse_detectorModel :: Lens' DescribeDetectorModelResponse (Maybe DetectorModel)
- describeDetectorModelResponse_httpStatus :: Lens' DescribeDetectorModelResponse Int
Creating a Request
data DescribeDetectorModel Source #
See: newDescribeDetectorModel smart constructor.
Constructors
| DescribeDetectorModel' | |
Fields
| |
Instances
newDescribeDetectorModel Source #
Arguments
| :: Text | |
| -> DescribeDetectorModel |
Create a value of DescribeDetectorModel 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:
DescribeDetectorModel, describeDetectorModel_detectorModelVersion - The version of the detector model.
DescribeDetectorModel, describeDetectorModel_detectorModelName - The name of the detector model.
Request Lenses
describeDetectorModel_detectorModelVersion :: Lens' DescribeDetectorModel (Maybe Text) Source #
The version of the detector model.
describeDetectorModel_detectorModelName :: Lens' DescribeDetectorModel Text Source #
The name of the detector model.
Destructuring the Response
data DescribeDetectorModelResponse Source #
See: newDescribeDetectorModelResponse smart constructor.
Constructors
| DescribeDetectorModelResponse' | |
Fields
| |
Instances
newDescribeDetectorModelResponse Source #
Create a value of DescribeDetectorModelResponse 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:detectorModel:DescribeDetectorModelResponse', describeDetectorModelResponse_detectorModel - Information about the detector model.
$sel:httpStatus:DescribeDetectorModelResponse', describeDetectorModelResponse_httpStatus - The response's http status code.
Response Lenses
describeDetectorModelResponse_detectorModel :: Lens' DescribeDetectorModelResponse (Maybe DetectorModel) Source #
Information about the detector model.
describeDetectorModelResponse_httpStatus :: Lens' DescribeDetectorModelResponse Int Source #
The response's http status code.