| 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.IoTEventsData.DescribeDetector
Description
Returns information about the specified detector (instance).
Synopsis
- data DescribeDetector = DescribeDetector' {}
- newDescribeDetector :: Text -> DescribeDetector
- describeDetector_keyValue :: Lens' DescribeDetector (Maybe Text)
- describeDetector_detectorModelName :: Lens' DescribeDetector Text
- data DescribeDetectorResponse = DescribeDetectorResponse' {
- detector :: Maybe Detector
- httpStatus :: Int
- newDescribeDetectorResponse :: Int -> DescribeDetectorResponse
- describeDetectorResponse_detector :: Lens' DescribeDetectorResponse (Maybe Detector)
- describeDetectorResponse_httpStatus :: Lens' DescribeDetectorResponse Int
Creating a Request
data DescribeDetector Source #
See: newDescribeDetector smart constructor.
Constructors
| DescribeDetector' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeDetector |
Create a value of DescribeDetector 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:
DescribeDetector, describeDetector_keyValue - A filter used to limit results to detectors (instances) created because
of the given key ID.
DescribeDetector, describeDetector_detectorModelName - The name of the detector model whose detectors (instances) you want
information about.
Request Lenses
describeDetector_keyValue :: Lens' DescribeDetector (Maybe Text) Source #
A filter used to limit results to detectors (instances) created because of the given key ID.
describeDetector_detectorModelName :: Lens' DescribeDetector Text Source #
The name of the detector model whose detectors (instances) you want information about.
Destructuring the Response
data DescribeDetectorResponse Source #
See: newDescribeDetectorResponse smart constructor.
Constructors
| DescribeDetectorResponse' | |
Fields
| |
Instances
newDescribeDetectorResponse Source #
Create a value of DescribeDetectorResponse 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:detector:DescribeDetectorResponse', describeDetectorResponse_detector - Information about the detector (instance).
$sel:httpStatus:DescribeDetectorResponse', describeDetectorResponse_httpStatus - The response's http status code.
Response Lenses
describeDetectorResponse_detector :: Lens' DescribeDetectorResponse (Maybe Detector) Source #
Information about the detector (instance).
describeDetectorResponse_httpStatus :: Lens' DescribeDetectorResponse Int Source #
The response's http status code.