libZSservicesZSamazonka-ioteventsZSamazonka-iotevents
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTEvents.UpdateDetectorModel

Description

Updates a detector model. Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.

Synopsis

Creating a Request

data UpdateDetectorModel Source #

See: newUpdateDetectorModel smart constructor.

Constructors

UpdateDetectorModel' 

Fields

Instances

Instances details
Eq UpdateDetectorModel Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

Read UpdateDetectorModel Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

Show UpdateDetectorModel Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

Generic UpdateDetectorModel Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

Associated Types

type Rep UpdateDetectorModel :: Type -> Type #

NFData UpdateDetectorModel Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

Methods

rnf :: UpdateDetectorModel -> () #

Hashable UpdateDetectorModel Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

ToJSON UpdateDetectorModel Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

AWSRequest UpdateDetectorModel Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

Associated Types

type AWSResponse UpdateDetectorModel #

ToHeaders UpdateDetectorModel Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

ToPath UpdateDetectorModel Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

ToQuery UpdateDetectorModel Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

type Rep UpdateDetectorModel Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

type Rep UpdateDetectorModel = D1 ('MetaData "UpdateDetectorModel" "Amazonka.IoTEvents.UpdateDetectorModel" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "UpdateDetectorModel'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "detectorModelDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "evaluationMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EvaluationMethod))) :*: (S1 ('MetaSel ('Just "detectorModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "detectorModelDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DetectorModelDefinition) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateDetectorModel Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

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_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_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.

Constructors

UpdateDetectorModelResponse' 

Fields

Instances

Instances details
Eq UpdateDetectorModelResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

Read UpdateDetectorModelResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

Show UpdateDetectorModelResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

Generic UpdateDetectorModelResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

Associated Types

type Rep UpdateDetectorModelResponse :: Type -> Type #

NFData UpdateDetectorModelResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

type Rep UpdateDetectorModelResponse Source # 
Instance details

Defined in Amazonka.IoTEvents.UpdateDetectorModel

type Rep UpdateDetectorModelResponse = D1 ('MetaData "UpdateDetectorModelResponse" "Amazonka.IoTEvents.UpdateDetectorModel" "libZSservicesZSamazonka-ioteventsZSamazonka-iotevents" 'False) (C1 ('MetaCons "UpdateDetectorModelResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "detectorModelConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DetectorModelConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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