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 |
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.
DescribeDetector' | |
|
Instances
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:
$sel:keyValue:DescribeDetector'
, describeDetector_keyValue
- A filter used to limit results to detectors (instances) created because
of the given key ID.
$sel:detectorModelName: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.
DescribeDetectorResponse' | |
|
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.