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 |
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.
DescribeDetectorModel' | |
|
Instances
newDescribeDetectorModel Source #
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:
$sel:detectorModelVersion:DescribeDetectorModel'
, describeDetectorModel_detectorModelVersion
- The version of the detector model.
$sel:detectorModelName: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.
DescribeDetectorModelResponse' | |
|
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.