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 |
Updates a detector model. Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.
Synopsis
- data UpdateDetectorModel = UpdateDetectorModel' {}
- newUpdateDetectorModel :: Text -> DetectorModelDefinition -> Text -> UpdateDetectorModel
- updateDetectorModel_detectorModelDescription :: Lens' UpdateDetectorModel (Maybe Text)
- updateDetectorModel_evaluationMethod :: Lens' UpdateDetectorModel (Maybe EvaluationMethod)
- updateDetectorModel_detectorModelName :: Lens' UpdateDetectorModel Text
- updateDetectorModel_detectorModelDefinition :: Lens' UpdateDetectorModel DetectorModelDefinition
- updateDetectorModel_roleArn :: Lens' UpdateDetectorModel Text
- data UpdateDetectorModelResponse = UpdateDetectorModelResponse' {}
- newUpdateDetectorModelResponse :: Int -> UpdateDetectorModelResponse
- updateDetectorModelResponse_detectorModelConfiguration :: Lens' UpdateDetectorModelResponse (Maybe DetectorModelConfiguration)
- updateDetectorModelResponse_httpStatus :: Lens' UpdateDetectorModelResponse Int
Creating a Request
data UpdateDetectorModel Source #
See: newUpdateDetectorModel
smart constructor.
UpdateDetectorModel' | |
|
Instances
newUpdateDetectorModel Source #
Create a value of UpdateDetectorModel
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:detectorModelDescription:UpdateDetectorModel'
, updateDetectorModel_detectorModelDescription
- A brief description of the detector model.
$sel:evaluationMethod:UpdateDetectorModel'
, updateDetectorModel_evaluationMethod
- Information about the order in which events are evaluated and how
actions are executed.
$sel:detectorModelName:UpdateDetectorModel'
, updateDetectorModel_detectorModelName
- The name of the detector model that is updated.
$sel:detectorModelDefinition:UpdateDetectorModel'
, updateDetectorModel_detectorModelDefinition
- Information that defines how a detector operates.
$sel:roleArn:UpdateDetectorModel'
, updateDetectorModel_roleArn
- The ARN of the role that grants permission to AWS IoT Events to perform
its operations.
Request Lenses
updateDetectorModel_detectorModelDescription :: Lens' UpdateDetectorModel (Maybe Text) Source #
A brief description of the detector model.
updateDetectorModel_evaluationMethod :: Lens' UpdateDetectorModel (Maybe EvaluationMethod) Source #
Information about the order in which events are evaluated and how actions are executed.
updateDetectorModel_detectorModelName :: Lens' UpdateDetectorModel Text Source #
The name of the detector model that is updated.
updateDetectorModel_detectorModelDefinition :: Lens' UpdateDetectorModel DetectorModelDefinition Source #
Information that defines how a detector operates.
updateDetectorModel_roleArn :: Lens' UpdateDetectorModel Text Source #
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
Destructuring the Response
data UpdateDetectorModelResponse Source #
See: newUpdateDetectorModelResponse
smart constructor.
UpdateDetectorModelResponse' | |
|
Instances
newUpdateDetectorModelResponse Source #
Create a value of UpdateDetectorModelResponse
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:detectorModelConfiguration:UpdateDetectorModelResponse'
, updateDetectorModelResponse_detectorModelConfiguration
- Information about how the detector model is configured.
$sel:httpStatus:UpdateDetectorModelResponse'
, updateDetectorModelResponse_httpStatus
- The response's http status code.
Response Lenses
updateDetectorModelResponse_detectorModelConfiguration :: Lens' UpdateDetectorModelResponse (Maybe DetectorModelConfiguration) Source #
Information about how the detector model is configured.
updateDetectorModelResponse_httpStatus :: Lens' UpdateDetectorModelResponse Int Source #
The response's http status code.