amazonka-iotevents-data-2.0: Amazon IoT Events Data SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTEventsData.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2018-10-23 of the Amazon IoT Events Data SDK configuration.

Errors

_InternalFailureException :: AsError a => Fold a ServiceError Source #

An internal failure occurred.

_InvalidRequestException :: AsError a => Fold a ServiceError Source #

The request was invalid.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The resource was not found.

_ServiceUnavailableException :: AsError a => Fold a ServiceError Source #

The service is currently unavailable.

_ThrottlingException :: AsError a => Fold a ServiceError Source #

The request could not be completed due to throttling.

AlarmStateName

newtype AlarmStateName Source #

Constructors

AlarmStateName' 

Instances

Instances details
FromJSON AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

FromJSONKey AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

ToJSON AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

ToJSONKey AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

ToByteString AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

ToHeader AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

ToLog AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

ToQuery AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

FromText AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

ToText AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

FromXML AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

ToXML AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

Methods

toXML :: AlarmStateName -> XML #

Generic AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

Associated Types

type Rep AlarmStateName :: Type -> Type #

Read AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

Show AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

NFData AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

Methods

rnf :: AlarmStateName -> () #

Eq AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

Ord AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

Hashable AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

type Rep AlarmStateName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmStateName

type Rep AlarmStateName = D1 ('MetaData "AlarmStateName" "Amazonka.IoTEventsData.Types.AlarmStateName" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'True) (C1 ('MetaCons "AlarmStateName'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAlarmStateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ComparisonOperator

newtype ComparisonOperator Source #

Instances

Instances details
FromJSON ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

FromJSONKey ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

ToJSON ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

ToJSONKey ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

ToByteString ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

ToHeader ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

ToLog ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

ToQuery ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

FromText ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

ToText ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

FromXML ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

ToXML ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

Generic ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

Associated Types

type Rep ComparisonOperator :: Type -> Type #

Read ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

Show ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

NFData ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

Methods

rnf :: ComparisonOperator -> () #

Eq ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

Ord ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

Hashable ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

type Rep ComparisonOperator Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ComparisonOperator

type Rep ComparisonOperator = D1 ('MetaData "ComparisonOperator" "Amazonka.IoTEventsData.Types.ComparisonOperator" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'True) (C1 ('MetaCons "ComparisonOperator'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromComparisonOperator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CustomerActionName

newtype CustomerActionName Source #

Instances

Instances details
FromJSON CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

FromJSONKey CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

ToJSON CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

ToJSONKey CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

ToByteString CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

ToHeader CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

ToLog CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

ToQuery CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

FromText CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

ToText CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

FromXML CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

ToXML CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

Generic CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

Associated Types

type Rep CustomerActionName :: Type -> Type #

Read CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

Show CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

NFData CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

Methods

rnf :: CustomerActionName -> () #

Eq CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

Ord CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

Hashable CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

type Rep CustomerActionName Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerActionName

type Rep CustomerActionName = D1 ('MetaData "CustomerActionName" "Amazonka.IoTEventsData.Types.CustomerActionName" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'True) (C1 ('MetaCons "CustomerActionName'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCustomerActionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ErrorCode

newtype ErrorCode Source #

Constructors

ErrorCode' 

Fields

Instances

Instances details
FromJSON ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

FromJSONKey ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

ToJSON ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

ToJSONKey ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

ToByteString ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

Methods

toBS :: ErrorCode -> ByteString #

ToHeader ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

ToLog ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

ToQuery ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

FromText ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

ToText ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

Methods

toText :: ErrorCode -> Text #

FromXML ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

ToXML ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

Methods

toXML :: ErrorCode -> XML #

Generic ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

Associated Types

type Rep ErrorCode :: Type -> Type #

Read ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

Show ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

NFData ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

Methods

rnf :: ErrorCode -> () #

Eq ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

Ord ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

Hashable ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

type Rep ErrorCode Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ErrorCode

type Rep ErrorCode = D1 ('MetaData "ErrorCode" "Amazonka.IoTEventsData.Types.ErrorCode" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'True) (C1 ('MetaCons "ErrorCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromErrorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EventType

newtype EventType Source #

Constructors

EventType' 

Fields

Bundled Patterns

pattern EventType_STATE_CHANGE :: EventType 

Instances

Instances details
FromJSON EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

FromJSONKey EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

ToJSON EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

ToJSONKey EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

ToByteString EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

Methods

toBS :: EventType -> ByteString #

ToHeader EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

ToLog EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

ToQuery EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

FromText EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

ToText EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

Methods

toText :: EventType -> Text #

FromXML EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

ToXML EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

Methods

toXML :: EventType -> XML #

Generic EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

Associated Types

type Rep EventType :: Type -> Type #

Read EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

Show EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

NFData EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

Methods

rnf :: EventType -> () #

Eq EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

Ord EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

Hashable EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

type Rep EventType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EventType

type Rep EventType = D1 ('MetaData "EventType" "Amazonka.IoTEventsData.Types.EventType" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'True) (C1 ('MetaCons "EventType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TriggerType

newtype TriggerType Source #

Constructors

TriggerType' 

Bundled Patterns

pattern TriggerType_SNOOZE_TIMEOUT :: TriggerType 

Instances

Instances details
FromJSON TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

FromJSONKey TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

ToJSON TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

ToJSONKey TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

ToByteString TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

ToHeader TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

ToLog TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

ToQuery TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

FromText TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

ToText TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

Methods

toText :: TriggerType -> Text #

FromXML TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

ToXML TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

Methods

toXML :: TriggerType -> XML #

Generic TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

Associated Types

type Rep TriggerType :: Type -> Type #

Read TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

Show TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

NFData TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

Methods

rnf :: TriggerType -> () #

Eq TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

Ord TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

Hashable TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

type Rep TriggerType Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TriggerType

type Rep TriggerType = D1 ('MetaData "TriggerType" "Amazonka.IoTEventsData.Types.TriggerType" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'True) (C1 ('MetaCons "TriggerType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTriggerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AcknowledgeActionConfiguration

data AcknowledgeActionConfiguration Source #

Contains the configuration information of an acknowledge action.

See: newAcknowledgeActionConfiguration smart constructor.

Constructors

AcknowledgeActionConfiguration' 

Fields

  • note :: Maybe Text

    The note that you can leave when you acknowledge the alarm.

Instances

Instances details
FromJSON AcknowledgeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeActionConfiguration

Generic AcknowledgeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeActionConfiguration

Associated Types

type Rep AcknowledgeActionConfiguration :: Type -> Type #

Read AcknowledgeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeActionConfiguration

Show AcknowledgeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeActionConfiguration

NFData AcknowledgeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeActionConfiguration

Eq AcknowledgeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeActionConfiguration

Hashable AcknowledgeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeActionConfiguration

type Rep AcknowledgeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeActionConfiguration

type Rep AcknowledgeActionConfiguration = D1 ('MetaData "AcknowledgeActionConfiguration" "Amazonka.IoTEventsData.Types.AcknowledgeActionConfiguration" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "AcknowledgeActionConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "note") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAcknowledgeActionConfiguration :: AcknowledgeActionConfiguration Source #

Create a value of AcknowledgeActionConfiguration 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:note:AcknowledgeActionConfiguration', acknowledgeActionConfiguration_note - The note that you can leave when you acknowledge the alarm.

acknowledgeActionConfiguration_note :: Lens' AcknowledgeActionConfiguration (Maybe Text) Source #

The note that you can leave when you acknowledge the alarm.

AcknowledgeAlarmActionRequest

data AcknowledgeAlarmActionRequest Source #

Information needed to acknowledge the alarm.

See: newAcknowledgeAlarmActionRequest smart constructor.

Constructors

AcknowledgeAlarmActionRequest' 

Fields

Instances

Instances details
ToJSON AcknowledgeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeAlarmActionRequest

Generic AcknowledgeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeAlarmActionRequest

Associated Types

type Rep AcknowledgeAlarmActionRequest :: Type -> Type #

Read AcknowledgeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeAlarmActionRequest

Show AcknowledgeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeAlarmActionRequest

NFData AcknowledgeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeAlarmActionRequest

Eq AcknowledgeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeAlarmActionRequest

Hashable AcknowledgeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeAlarmActionRequest

type Rep AcknowledgeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AcknowledgeAlarmActionRequest

type Rep AcknowledgeAlarmActionRequest = D1 ('MetaData "AcknowledgeAlarmActionRequest" "Amazonka.IoTEventsData.Types.AcknowledgeAlarmActionRequest" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "AcknowledgeAlarmActionRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "note") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "alarmModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newAcknowledgeAlarmActionRequest Source #

Create a value of AcknowledgeAlarmActionRequest 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:AcknowledgeAlarmActionRequest', acknowledgeAlarmActionRequest_keyValue - The value of the key used as a filter to select only the alarms associated with the key.

$sel:note:AcknowledgeAlarmActionRequest', acknowledgeAlarmActionRequest_note - The note that you can leave when you acknowledge the alarm.

$sel:requestId:AcknowledgeAlarmActionRequest', acknowledgeAlarmActionRequest_requestId - The request ID. Each ID must be unique within each batch.

$sel:alarmModelName:AcknowledgeAlarmActionRequest', acknowledgeAlarmActionRequest_alarmModelName - The name of the alarm model.

acknowledgeAlarmActionRequest_keyValue :: Lens' AcknowledgeAlarmActionRequest (Maybe Text) Source #

The value of the key used as a filter to select only the alarms associated with the key.

acknowledgeAlarmActionRequest_note :: Lens' AcknowledgeAlarmActionRequest (Maybe Text) Source #

The note that you can leave when you acknowledge the alarm.

acknowledgeAlarmActionRequest_requestId :: Lens' AcknowledgeAlarmActionRequest Text Source #

The request ID. Each ID must be unique within each batch.

Alarm

data Alarm Source #

Contains information about an alarm.

See: newAlarm smart constructor.

Constructors

Alarm' 

Fields

Instances

Instances details
FromJSON Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

Generic Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

Associated Types

type Rep Alarm :: Type -> Type #

Methods

from :: Alarm -> Rep Alarm x #

to :: Rep Alarm x -> Alarm #

Read Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

Show Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

Methods

showsPrec :: Int -> Alarm -> ShowS #

show :: Alarm -> String #

showList :: [Alarm] -> ShowS #

NFData Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

Methods

rnf :: Alarm -> () #

Eq Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

Methods

(==) :: Alarm -> Alarm -> Bool #

(/=) :: Alarm -> Alarm -> Bool #

Hashable Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

Methods

hashWithSalt :: Int -> Alarm -> Int #

hash :: Alarm -> Int #

type Rep Alarm Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Alarm

type Rep Alarm = D1 ('MetaData "Alarm" "Amazonka.IoTEventsData.Types.Alarm" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "Alarm'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "alarmModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "alarmModelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alarmState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AlarmState)))) :*: ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastUpdateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "severity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))

newAlarm :: Alarm Source #

Create a value of Alarm 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:alarmModelName:Alarm', alarm_alarmModelName - The name of the alarm model.

$sel:alarmModelVersion:Alarm', alarm_alarmModelVersion - The version of the alarm model.

$sel:alarmState:Alarm', alarm_alarmState - Contains information about the current state of the alarm.

$sel:creationTime:Alarm', alarm_creationTime - The time the alarm was created, in the Unix epoch format.

$sel:keyValue:Alarm', alarm_keyValue - The value of the key used as a filter to select only the alarms associated with the key.

$sel:lastUpdateTime:Alarm', alarm_lastUpdateTime - The time the alarm was last updated, in the Unix epoch format.

$sel:severity:Alarm', alarm_severity - A non-negative integer that reflects the severity level of the alarm.

alarm_alarmModelName :: Lens' Alarm (Maybe Text) Source #

The name of the alarm model.

alarm_alarmModelVersion :: Lens' Alarm (Maybe Text) Source #

The version of the alarm model.

alarm_alarmState :: Lens' Alarm (Maybe AlarmState) Source #

Contains information about the current state of the alarm.

alarm_creationTime :: Lens' Alarm (Maybe UTCTime) Source #

The time the alarm was created, in the Unix epoch format.

alarm_keyValue :: Lens' Alarm (Maybe Text) Source #

The value of the key used as a filter to select only the alarms associated with the key.

alarm_lastUpdateTime :: Lens' Alarm (Maybe UTCTime) Source #

The time the alarm was last updated, in the Unix epoch format.

alarm_severity :: Lens' Alarm (Maybe Natural) Source #

A non-negative integer that reflects the severity level of the alarm.

AlarmState

data AlarmState Source #

Contains information about the current state of the alarm.

See: newAlarmState smart constructor.

Constructors

AlarmState' 

Fields

  • customerAction :: Maybe CustomerAction

    Contains information about the action that you can take to respond to the alarm.

  • ruleEvaluation :: Maybe RuleEvaluation

    Information needed to evaluate data.

  • stateName :: Maybe AlarmStateName

    The name of the alarm state. The state name can be one of the following values:

    • DISABLED - When the alarm is in the DISABLED state, it isn't ready to evaluate data. To enable the alarm, you must change the alarm to the NORMAL state.
    • NORMAL - When the alarm is in the NORMAL state, it's ready to evaluate data.
    • ACTIVE - If the alarm is in the ACTIVE state, the alarm is invoked.
    • ACKNOWLEDGED - When the alarm is in the ACKNOWLEDGED state, the alarm was invoked and you acknowledged the alarm.
    • SNOOZE_DISABLED - When the alarm is in the SNOOZE_DISABLED state, the alarm is disabled for a specified period of time. After the snooze time, the alarm automatically changes to the NORMAL state.
    • LATCHED - When the alarm is in the LATCHED state, the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. To change the alarm to the NORMAL state, you must acknowledge the alarm.
  • systemEvent :: Maybe SystemEvent

    Contains information about alarm state changes.

Instances

Instances details
FromJSON AlarmState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmState

Generic AlarmState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmState

Associated Types

type Rep AlarmState :: Type -> Type #

Read AlarmState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmState

Show AlarmState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmState

NFData AlarmState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmState

Methods

rnf :: AlarmState -> () #

Eq AlarmState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmState

Hashable AlarmState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmState

type Rep AlarmState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmState

type Rep AlarmState = D1 ('MetaData "AlarmState" "Amazonka.IoTEventsData.Types.AlarmState" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "AlarmState'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "customerAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomerAction)) :*: S1 ('MetaSel ('Just "ruleEvaluation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RuleEvaluation))) :*: (S1 ('MetaSel ('Just "stateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AlarmStateName)) :*: S1 ('MetaSel ('Just "systemEvent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SystemEvent)))))

newAlarmState :: AlarmState Source #

Create a value of AlarmState 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:customerAction:AlarmState', alarmState_customerAction - Contains information about the action that you can take to respond to the alarm.

$sel:ruleEvaluation:AlarmState', alarmState_ruleEvaluation - Information needed to evaluate data.

$sel:stateName:AlarmState', alarmState_stateName - The name of the alarm state. The state name can be one of the following values:

  • DISABLED - When the alarm is in the DISABLED state, it isn't ready to evaluate data. To enable the alarm, you must change the alarm to the NORMAL state.
  • NORMAL - When the alarm is in the NORMAL state, it's ready to evaluate data.
  • ACTIVE - If the alarm is in the ACTIVE state, the alarm is invoked.
  • ACKNOWLEDGED - When the alarm is in the ACKNOWLEDGED state, the alarm was invoked and you acknowledged the alarm.
  • SNOOZE_DISABLED - When the alarm is in the SNOOZE_DISABLED state, the alarm is disabled for a specified period of time. After the snooze time, the alarm automatically changes to the NORMAL state.
  • LATCHED - When the alarm is in the LATCHED state, the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. To change the alarm to the NORMAL state, you must acknowledge the alarm.

$sel:systemEvent:AlarmState', alarmState_systemEvent - Contains information about alarm state changes.

alarmState_customerAction :: Lens' AlarmState (Maybe CustomerAction) Source #

Contains information about the action that you can take to respond to the alarm.

alarmState_ruleEvaluation :: Lens' AlarmState (Maybe RuleEvaluation) Source #

Information needed to evaluate data.

alarmState_stateName :: Lens' AlarmState (Maybe AlarmStateName) Source #

The name of the alarm state. The state name can be one of the following values:

  • DISABLED - When the alarm is in the DISABLED state, it isn't ready to evaluate data. To enable the alarm, you must change the alarm to the NORMAL state.
  • NORMAL - When the alarm is in the NORMAL state, it's ready to evaluate data.
  • ACTIVE - If the alarm is in the ACTIVE state, the alarm is invoked.
  • ACKNOWLEDGED - When the alarm is in the ACKNOWLEDGED state, the alarm was invoked and you acknowledged the alarm.
  • SNOOZE_DISABLED - When the alarm is in the SNOOZE_DISABLED state, the alarm is disabled for a specified period of time. After the snooze time, the alarm automatically changes to the NORMAL state.
  • LATCHED - When the alarm is in the LATCHED state, the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. To change the alarm to the NORMAL state, you must acknowledge the alarm.

alarmState_systemEvent :: Lens' AlarmState (Maybe SystemEvent) Source #

Contains information about alarm state changes.

AlarmSummary

data AlarmSummary Source #

Contains a summary of an alarm.

See: newAlarmSummary smart constructor.

Constructors

AlarmSummary' 

Fields

  • alarmModelName :: Maybe Text

    The name of the alarm model.

  • alarmModelVersion :: Maybe Text

    The version of the alarm model.

  • creationTime :: Maybe POSIX

    The time the alarm was created, in the Unix epoch format.

  • keyValue :: Maybe Text

    The value of the key used as a filter to select only the alarms associated with the key.

  • lastUpdateTime :: Maybe POSIX

    The time the alarm was last updated, in the Unix epoch format.

  • stateName :: Maybe AlarmStateName

    The name of the alarm state. The state name can be one of the following values:

    • DISABLED - When the alarm is in the DISABLED state, it isn't ready to evaluate data. To enable the alarm, you must change the alarm to the NORMAL state.
    • NORMAL - When the alarm is in the NORMAL state, it's ready to evaluate data.
    • ACTIVE - If the alarm is in the ACTIVE state, the alarm is invoked.
    • ACKNOWLEDGED - When the alarm is in the ACKNOWLEDGED state, the alarm was invoked and you acknowledged the alarm.
    • SNOOZE_DISABLED - When the alarm is in the SNOOZE_DISABLED state, the alarm is disabled for a specified period of time. After the snooze time, the alarm automatically changes to the NORMAL state.
    • LATCHED - When the alarm is in the LATCHED state, the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. To change the alarm to the NORMAL state, you must acknowledge the alarm.

Instances

Instances details
FromJSON AlarmSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmSummary

Generic AlarmSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmSummary

Associated Types

type Rep AlarmSummary :: Type -> Type #

Read AlarmSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmSummary

Show AlarmSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmSummary

NFData AlarmSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmSummary

Methods

rnf :: AlarmSummary -> () #

Eq AlarmSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmSummary

Hashable AlarmSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmSummary

type Rep AlarmSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.AlarmSummary

type Rep AlarmSummary = D1 ('MetaData "AlarmSummary" "Amazonka.IoTEventsData.Types.AlarmSummary" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "AlarmSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "alarmModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "alarmModelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastUpdateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "stateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AlarmStateName))))))

newAlarmSummary :: AlarmSummary Source #

Create a value of AlarmSummary 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:alarmModelName:AlarmSummary', alarmSummary_alarmModelName - The name of the alarm model.

$sel:alarmModelVersion:AlarmSummary', alarmSummary_alarmModelVersion - The version of the alarm model.

$sel:creationTime:AlarmSummary', alarmSummary_creationTime - The time the alarm was created, in the Unix epoch format.

$sel:keyValue:AlarmSummary', alarmSummary_keyValue - The value of the key used as a filter to select only the alarms associated with the key.

$sel:lastUpdateTime:AlarmSummary', alarmSummary_lastUpdateTime - The time the alarm was last updated, in the Unix epoch format.

$sel:stateName:AlarmSummary', alarmSummary_stateName - The name of the alarm state. The state name can be one of the following values:

  • DISABLED - When the alarm is in the DISABLED state, it isn't ready to evaluate data. To enable the alarm, you must change the alarm to the NORMAL state.
  • NORMAL - When the alarm is in the NORMAL state, it's ready to evaluate data.
  • ACTIVE - If the alarm is in the ACTIVE state, the alarm is invoked.
  • ACKNOWLEDGED - When the alarm is in the ACKNOWLEDGED state, the alarm was invoked and you acknowledged the alarm.
  • SNOOZE_DISABLED - When the alarm is in the SNOOZE_DISABLED state, the alarm is disabled for a specified period of time. After the snooze time, the alarm automatically changes to the NORMAL state.
  • LATCHED - When the alarm is in the LATCHED state, the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. To change the alarm to the NORMAL state, you must acknowledge the alarm.

alarmSummary_alarmModelVersion :: Lens' AlarmSummary (Maybe Text) Source #

The version of the alarm model.

alarmSummary_creationTime :: Lens' AlarmSummary (Maybe UTCTime) Source #

The time the alarm was created, in the Unix epoch format.

alarmSummary_keyValue :: Lens' AlarmSummary (Maybe Text) Source #

The value of the key used as a filter to select only the alarms associated with the key.

alarmSummary_lastUpdateTime :: Lens' AlarmSummary (Maybe UTCTime) Source #

The time the alarm was last updated, in the Unix epoch format.

alarmSummary_stateName :: Lens' AlarmSummary (Maybe AlarmStateName) Source #

The name of the alarm state. The state name can be one of the following values:

  • DISABLED - When the alarm is in the DISABLED state, it isn't ready to evaluate data. To enable the alarm, you must change the alarm to the NORMAL state.
  • NORMAL - When the alarm is in the NORMAL state, it's ready to evaluate data.
  • ACTIVE - If the alarm is in the ACTIVE state, the alarm is invoked.
  • ACKNOWLEDGED - When the alarm is in the ACKNOWLEDGED state, the alarm was invoked and you acknowledged the alarm.
  • SNOOZE_DISABLED - When the alarm is in the SNOOZE_DISABLED state, the alarm is disabled for a specified period of time. After the snooze time, the alarm automatically changes to the NORMAL state.
  • LATCHED - When the alarm is in the LATCHED state, the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. To change the alarm to the NORMAL state, you must acknowledge the alarm.

BatchAlarmActionErrorEntry

data BatchAlarmActionErrorEntry Source #

Contains error messages associated with one of the following requests:

See: newBatchAlarmActionErrorEntry smart constructor.

Constructors

BatchAlarmActionErrorEntry' 

Fields

Instances

Instances details
FromJSON BatchAlarmActionErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchAlarmActionErrorEntry

Generic BatchAlarmActionErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchAlarmActionErrorEntry

Associated Types

type Rep BatchAlarmActionErrorEntry :: Type -> Type #

Read BatchAlarmActionErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchAlarmActionErrorEntry

Show BatchAlarmActionErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchAlarmActionErrorEntry

NFData BatchAlarmActionErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchAlarmActionErrorEntry

Eq BatchAlarmActionErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchAlarmActionErrorEntry

Hashable BatchAlarmActionErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchAlarmActionErrorEntry

type Rep BatchAlarmActionErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchAlarmActionErrorEntry

type Rep BatchAlarmActionErrorEntry = D1 ('MetaData "BatchAlarmActionErrorEntry" "Amazonka.IoTEventsData.Types.BatchAlarmActionErrorEntry" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "BatchAlarmActionErrorEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorCode)) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newBatchAlarmActionErrorEntry :: BatchAlarmActionErrorEntry Source #

Create a value of BatchAlarmActionErrorEntry 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:errorCode:BatchAlarmActionErrorEntry', batchAlarmActionErrorEntry_errorCode - The error code.

$sel:errorMessage:BatchAlarmActionErrorEntry', batchAlarmActionErrorEntry_errorMessage - A message that describes the error.

$sel:requestId:BatchAlarmActionErrorEntry', batchAlarmActionErrorEntry_requestId - The request ID. Each ID must be unique within each batch.

batchAlarmActionErrorEntry_requestId :: Lens' BatchAlarmActionErrorEntry (Maybe Text) Source #

The request ID. Each ID must be unique within each batch.

BatchDeleteDetectorErrorEntry

data BatchDeleteDetectorErrorEntry Source #

Contains error messages associated with the deletion request.

See: newBatchDeleteDetectorErrorEntry smart constructor.

Constructors

BatchDeleteDetectorErrorEntry' 

Fields

Instances

Instances details
FromJSON BatchDeleteDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchDeleteDetectorErrorEntry

Generic BatchDeleteDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchDeleteDetectorErrorEntry

Associated Types

type Rep BatchDeleteDetectorErrorEntry :: Type -> Type #

Read BatchDeleteDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchDeleteDetectorErrorEntry

Show BatchDeleteDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchDeleteDetectorErrorEntry

NFData BatchDeleteDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchDeleteDetectorErrorEntry

Eq BatchDeleteDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchDeleteDetectorErrorEntry

Hashable BatchDeleteDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchDeleteDetectorErrorEntry

type Rep BatchDeleteDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchDeleteDetectorErrorEntry

type Rep BatchDeleteDetectorErrorEntry = D1 ('MetaData "BatchDeleteDetectorErrorEntry" "Amazonka.IoTEventsData.Types.BatchDeleteDetectorErrorEntry" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "BatchDeleteDetectorErrorEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorCode)) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newBatchDeleteDetectorErrorEntry :: BatchDeleteDetectorErrorEntry Source #

Create a value of BatchDeleteDetectorErrorEntry 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:errorCode:BatchDeleteDetectorErrorEntry', batchDeleteDetectorErrorEntry_errorCode - The error code.

$sel:errorMessage:BatchDeleteDetectorErrorEntry', batchDeleteDetectorErrorEntry_errorMessage - A message that describes the error.

$sel:messageId:BatchDeleteDetectorErrorEntry', batchDeleteDetectorErrorEntry_messageId - The ID of the message that caused the error. (See the value of the "messageId" in the detectors object of the DeleteDetectorRequest.)

batchDeleteDetectorErrorEntry_messageId :: Lens' BatchDeleteDetectorErrorEntry (Maybe Text) Source #

The ID of the message that caused the error. (See the value of the "messageId" in the detectors object of the DeleteDetectorRequest.)

BatchPutMessageErrorEntry

data BatchPutMessageErrorEntry Source #

Contains information about the errors encountered.

See: newBatchPutMessageErrorEntry smart constructor.

Constructors

BatchPutMessageErrorEntry' 

Fields

Instances

Instances details
FromJSON BatchPutMessageErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchPutMessageErrorEntry

Generic BatchPutMessageErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchPutMessageErrorEntry

Associated Types

type Rep BatchPutMessageErrorEntry :: Type -> Type #

Read BatchPutMessageErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchPutMessageErrorEntry

Show BatchPutMessageErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchPutMessageErrorEntry

NFData BatchPutMessageErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchPutMessageErrorEntry

Eq BatchPutMessageErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchPutMessageErrorEntry

Hashable BatchPutMessageErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchPutMessageErrorEntry

type Rep BatchPutMessageErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchPutMessageErrorEntry

type Rep BatchPutMessageErrorEntry = D1 ('MetaData "BatchPutMessageErrorEntry" "Amazonka.IoTEventsData.Types.BatchPutMessageErrorEntry" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "BatchPutMessageErrorEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorCode)) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newBatchPutMessageErrorEntry :: BatchPutMessageErrorEntry Source #

Create a value of BatchPutMessageErrorEntry 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:errorCode:BatchPutMessageErrorEntry', batchPutMessageErrorEntry_errorCode - The error code.

$sel:errorMessage:BatchPutMessageErrorEntry', batchPutMessageErrorEntry_errorMessage - A message that describes the error.

$sel:messageId:BatchPutMessageErrorEntry', batchPutMessageErrorEntry_messageId - The ID of the message that caused the error. (See the value corresponding to the "messageId" key in the "message" object.)

batchPutMessageErrorEntry_messageId :: Lens' BatchPutMessageErrorEntry (Maybe Text) Source #

The ID of the message that caused the error. (See the value corresponding to the "messageId" key in the "message" object.)

BatchUpdateDetectorErrorEntry

data BatchUpdateDetectorErrorEntry Source #

Information about the error that occurred when attempting to update a detector.

See: newBatchUpdateDetectorErrorEntry smart constructor.

Constructors

BatchUpdateDetectorErrorEntry' 

Fields

Instances

Instances details
FromJSON BatchUpdateDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchUpdateDetectorErrorEntry

Generic BatchUpdateDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchUpdateDetectorErrorEntry

Associated Types

type Rep BatchUpdateDetectorErrorEntry :: Type -> Type #

Read BatchUpdateDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchUpdateDetectorErrorEntry

Show BatchUpdateDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchUpdateDetectorErrorEntry

NFData BatchUpdateDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchUpdateDetectorErrorEntry

Eq BatchUpdateDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchUpdateDetectorErrorEntry

Hashable BatchUpdateDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchUpdateDetectorErrorEntry

type Rep BatchUpdateDetectorErrorEntry Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.BatchUpdateDetectorErrorEntry

type Rep BatchUpdateDetectorErrorEntry = D1 ('MetaData "BatchUpdateDetectorErrorEntry" "Amazonka.IoTEventsData.Types.BatchUpdateDetectorErrorEntry" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "BatchUpdateDetectorErrorEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorCode)) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newBatchUpdateDetectorErrorEntry :: BatchUpdateDetectorErrorEntry Source #

Create a value of BatchUpdateDetectorErrorEntry 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:errorCode:BatchUpdateDetectorErrorEntry', batchUpdateDetectorErrorEntry_errorCode - The error code.

$sel:errorMessage:BatchUpdateDetectorErrorEntry', batchUpdateDetectorErrorEntry_errorMessage - A message that describes the error.

$sel:messageId:BatchUpdateDetectorErrorEntry', batchUpdateDetectorErrorEntry_messageId - The "messageId" of the update request that caused the error. (The value of the "messageId" in the update request "Detector" object.)

batchUpdateDetectorErrorEntry_messageId :: Lens' BatchUpdateDetectorErrorEntry (Maybe Text) Source #

The "messageId" of the update request that caused the error. (The value of the "messageId" in the update request "Detector" object.)

CustomerAction

data CustomerAction Source #

Contains information about the action that you can take to respond to the alarm.

See: newCustomerAction smart constructor.

Constructors

CustomerAction' 

Fields

Instances

Instances details
FromJSON CustomerAction Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerAction

Generic CustomerAction Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerAction

Associated Types

type Rep CustomerAction :: Type -> Type #

Read CustomerAction Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerAction

Show CustomerAction Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerAction

NFData CustomerAction Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerAction

Methods

rnf :: CustomerAction -> () #

Eq CustomerAction Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerAction

Hashable CustomerAction Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerAction

type Rep CustomerAction Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.CustomerAction

type Rep CustomerAction = D1 ('MetaData "CustomerAction" "Amazonka.IoTEventsData.Types.CustomerAction" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "CustomerAction'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "acknowledgeActionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AcknowledgeActionConfiguration)) :*: (S1 ('MetaSel ('Just "actionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomerActionName)) :*: S1 ('MetaSel ('Just "disableActionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DisableActionConfiguration)))) :*: (S1 ('MetaSel ('Just "enableActionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnableActionConfiguration)) :*: (S1 ('MetaSel ('Just "resetActionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResetActionConfiguration)) :*: S1 ('MetaSel ('Just "snoozeActionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SnoozeActionConfiguration))))))

newCustomerAction :: CustomerAction Source #

Create a value of CustomerAction 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:acknowledgeActionConfiguration:CustomerAction', customerAction_acknowledgeActionConfiguration - Contains the configuration information of an acknowledge action.

$sel:actionName:CustomerAction', customerAction_actionName - The name of the action. The action name can be one of the following values:

  • SNOOZE - When you snooze the alarm, the alarm state changes to SNOOZE_DISABLED.
  • ENABLE - When you enable the alarm, the alarm state changes to NORMAL.
  • DISABLE - When you disable the alarm, the alarm state changes to DISABLED.
  • ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to ACKNOWLEDGED.
  • RESET - When you reset the alarm, the alarm state changes to NORMAL.

For more information, see the AlarmState API.

$sel:disableActionConfiguration:CustomerAction', customerAction_disableActionConfiguration - Contains the configuration information of a disable action.

$sel:enableActionConfiguration:CustomerAction', customerAction_enableActionConfiguration - Contains the configuration information of an enable action.

$sel:resetActionConfiguration:CustomerAction', customerAction_resetActionConfiguration - Contains the configuration information of a reset action.

$sel:snoozeActionConfiguration:CustomerAction', customerAction_snoozeActionConfiguration - Contains the configuration information of a snooze action.

customerAction_acknowledgeActionConfiguration :: Lens' CustomerAction (Maybe AcknowledgeActionConfiguration) Source #

Contains the configuration information of an acknowledge action.

customerAction_actionName :: Lens' CustomerAction (Maybe CustomerActionName) Source #

The name of the action. The action name can be one of the following values:

  • SNOOZE - When you snooze the alarm, the alarm state changes to SNOOZE_DISABLED.
  • ENABLE - When you enable the alarm, the alarm state changes to NORMAL.
  • DISABLE - When you disable the alarm, the alarm state changes to DISABLED.
  • ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to ACKNOWLEDGED.
  • RESET - When you reset the alarm, the alarm state changes to NORMAL.

For more information, see the AlarmState API.

customerAction_disableActionConfiguration :: Lens' CustomerAction (Maybe DisableActionConfiguration) Source #

Contains the configuration information of a disable action.

customerAction_enableActionConfiguration :: Lens' CustomerAction (Maybe EnableActionConfiguration) Source #

Contains the configuration information of an enable action.

customerAction_resetActionConfiguration :: Lens' CustomerAction (Maybe ResetActionConfiguration) Source #

Contains the configuration information of a reset action.

customerAction_snoozeActionConfiguration :: Lens' CustomerAction (Maybe SnoozeActionConfiguration) Source #

Contains the configuration information of a snooze action.

DeleteDetectorRequest

data DeleteDetectorRequest Source #

Information used to delete the detector model.

See: newDeleteDetectorRequest smart constructor.

Constructors

DeleteDetectorRequest' 

Fields

  • keyValue :: Maybe Text

    The value of the key used to identify the detector.

  • messageId :: Text

    The ID to assign to the DeleteDetectorRequest. Each "messageId" must be unique within each batch sent.

  • detectorModelName :: Text

    The name of the detector model that was used to create the detector instance.

Instances

Instances details
ToJSON DeleteDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DeleteDetectorRequest

Generic DeleteDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DeleteDetectorRequest

Associated Types

type Rep DeleteDetectorRequest :: Type -> Type #

Read DeleteDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DeleteDetectorRequest

Show DeleteDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DeleteDetectorRequest

NFData DeleteDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DeleteDetectorRequest

Methods

rnf :: DeleteDetectorRequest -> () #

Eq DeleteDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DeleteDetectorRequest

Hashable DeleteDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DeleteDetectorRequest

type Rep DeleteDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DeleteDetectorRequest

type Rep DeleteDetectorRequest = D1 ('MetaData "DeleteDetectorRequest" "Amazonka.IoTEventsData.Types.DeleteDetectorRequest" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "DeleteDetectorRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "detectorModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDeleteDetectorRequest Source #

Create a value of DeleteDetectorRequest 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:DeleteDetectorRequest', deleteDetectorRequest_keyValue - The value of the key used to identify the detector.

$sel:messageId:DeleteDetectorRequest', deleteDetectorRequest_messageId - The ID to assign to the DeleteDetectorRequest. Each "messageId" must be unique within each batch sent.

$sel:detectorModelName:DeleteDetectorRequest', deleteDetectorRequest_detectorModelName - The name of the detector model that was used to create the detector instance.

deleteDetectorRequest_keyValue :: Lens' DeleteDetectorRequest (Maybe Text) Source #

The value of the key used to identify the detector.

deleteDetectorRequest_messageId :: Lens' DeleteDetectorRequest Text Source #

The ID to assign to the DeleteDetectorRequest. Each "messageId" must be unique within each batch sent.

deleteDetectorRequest_detectorModelName :: Lens' DeleteDetectorRequest Text Source #

The name of the detector model that was used to create the detector instance.

Detector

data Detector Source #

Information about the detector (instance).

See: newDetector smart constructor.

Constructors

Detector' 

Fields

Instances

Instances details
FromJSON Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

Generic Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

Associated Types

type Rep Detector :: Type -> Type #

Methods

from :: Detector -> Rep Detector x #

to :: Rep Detector x -> Detector #

Read Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

Show Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

NFData Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

Methods

rnf :: Detector -> () #

Eq Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

Hashable Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

Methods

hashWithSalt :: Int -> Detector -> Int #

hash :: Detector -> Int #

type Rep Detector Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Detector

type Rep Detector = D1 ('MetaData "Detector" "Amazonka.IoTEventsData.Types.Detector" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "Detector'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "detectorModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "detectorModelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastUpdateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DetectorState))))))

newDetector :: Detector Source #

Create a value of Detector 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:creationTime:Detector', detector_creationTime - The time the detector (instance) was created.

$sel:detectorModelName:Detector', detector_detectorModelName - The name of the detector model that created this detector (instance).

$sel:detectorModelVersion:Detector', detector_detectorModelVersion - The version of the detector model that created this detector (instance).

$sel:keyValue:Detector', detector_keyValue - The value of the key (identifying the device or system) that caused the creation of this detector (instance).

$sel:lastUpdateTime:Detector', detector_lastUpdateTime - The time the detector (instance) was last updated.

$sel:state:Detector', detector_state - The current state of the detector (instance).

detector_creationTime :: Lens' Detector (Maybe UTCTime) Source #

The time the detector (instance) was created.

detector_detectorModelName :: Lens' Detector (Maybe Text) Source #

The name of the detector model that created this detector (instance).

detector_detectorModelVersion :: Lens' Detector (Maybe Text) Source #

The version of the detector model that created this detector (instance).

detector_keyValue :: Lens' Detector (Maybe Text) Source #

The value of the key (identifying the device or system) that caused the creation of this detector (instance).

detector_lastUpdateTime :: Lens' Detector (Maybe UTCTime) Source #

The time the detector (instance) was last updated.

detector_state :: Lens' Detector (Maybe DetectorState) Source #

The current state of the detector (instance).

DetectorState

data DetectorState Source #

Information about the current state of the detector instance.

See: newDetectorState smart constructor.

Constructors

DetectorState' 

Fields

Instances

Instances details
FromJSON DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

Generic DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

Associated Types

type Rep DetectorState :: Type -> Type #

Read DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

Show DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

NFData DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

Methods

rnf :: DetectorState -> () #

Eq DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

Hashable DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

type Rep DetectorState Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorState

type Rep DetectorState = D1 ('MetaData "DetectorState" "Amazonka.IoTEventsData.Types.DetectorState" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "DetectorState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "variables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Variable]) :*: S1 ('MetaSel ('Just "timers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Timer]))))

newDetectorState Source #

Create a value of DetectorState 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:stateName:DetectorState', detectorState_stateName - The name of the state.

$sel:variables:DetectorState', detectorState_variables - The current values of the detector's variables.

$sel:timers:DetectorState', detectorState_timers - The current state of the detector's timers.

detectorState_variables :: Lens' DetectorState [Variable] Source #

The current values of the detector's variables.

detectorState_timers :: Lens' DetectorState [Timer] Source #

The current state of the detector's timers.

DetectorStateDefinition

data DetectorStateDefinition Source #

The new state, variable values, and timer settings of the detector (instance).

See: newDetectorStateDefinition smart constructor.

Constructors

DetectorStateDefinition' 

Fields

  • stateName :: Text

    The name of the new state of the detector (instance).

  • variables :: [VariableDefinition]

    The new values of the detector's variables. Any variable whose value isn't specified is cleared.

  • timers :: [TimerDefinition]

    The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.

Instances

Instances details
ToJSON DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

Generic DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

Associated Types

type Rep DetectorStateDefinition :: Type -> Type #

Read DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

Show DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

NFData DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

Methods

rnf :: DetectorStateDefinition -> () #

Eq DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

Hashable DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

type Rep DetectorStateDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateDefinition

type Rep DetectorStateDefinition = D1 ('MetaData "DetectorStateDefinition" "Amazonka.IoTEventsData.Types.DetectorStateDefinition" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "DetectorStateDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "variables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [VariableDefinition]) :*: S1 ('MetaSel ('Just "timers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TimerDefinition]))))

newDetectorStateDefinition Source #

Create a value of DetectorStateDefinition 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:stateName:DetectorStateDefinition', detectorStateDefinition_stateName - The name of the new state of the detector (instance).

$sel:variables:DetectorStateDefinition', detectorStateDefinition_variables - The new values of the detector's variables. Any variable whose value isn't specified is cleared.

$sel:timers:DetectorStateDefinition', detectorStateDefinition_timers - The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.

detectorStateDefinition_stateName :: Lens' DetectorStateDefinition Text Source #

The name of the new state of the detector (instance).

detectorStateDefinition_variables :: Lens' DetectorStateDefinition [VariableDefinition] Source #

The new values of the detector's variables. Any variable whose value isn't specified is cleared.

detectorStateDefinition_timers :: Lens' DetectorStateDefinition [TimerDefinition] Source #

The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.

DetectorStateSummary

data DetectorStateSummary Source #

Information about the detector state.

See: newDetectorStateSummary smart constructor.

Constructors

DetectorStateSummary' 

Fields

Instances

Instances details
FromJSON DetectorStateSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateSummary

Generic DetectorStateSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateSummary

Associated Types

type Rep DetectorStateSummary :: Type -> Type #

Read DetectorStateSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateSummary

Show DetectorStateSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateSummary

NFData DetectorStateSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateSummary

Methods

rnf :: DetectorStateSummary -> () #

Eq DetectorStateSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateSummary

Hashable DetectorStateSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateSummary

type Rep DetectorStateSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorStateSummary

type Rep DetectorStateSummary = D1 ('MetaData "DetectorStateSummary" "Amazonka.IoTEventsData.Types.DetectorStateSummary" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "DetectorStateSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDetectorStateSummary :: DetectorStateSummary Source #

Create a value of DetectorStateSummary 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:stateName:DetectorStateSummary', detectorStateSummary_stateName - The name of the state.

DetectorSummary

data DetectorSummary Source #

Information about the detector (instance).

See: newDetectorSummary smart constructor.

Constructors

DetectorSummary' 

Fields

Instances

Instances details
FromJSON DetectorSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorSummary

Generic DetectorSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorSummary

Associated Types

type Rep DetectorSummary :: Type -> Type #

Read DetectorSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorSummary

Show DetectorSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorSummary

NFData DetectorSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorSummary

Methods

rnf :: DetectorSummary -> () #

Eq DetectorSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorSummary

Hashable DetectorSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorSummary

type Rep DetectorSummary Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DetectorSummary

type Rep DetectorSummary = D1 ('MetaData "DetectorSummary" "Amazonka.IoTEventsData.Types.DetectorSummary" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "DetectorSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "detectorModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "detectorModelVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastUpdateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DetectorStateSummary))))))

newDetectorSummary :: DetectorSummary Source #

Create a value of DetectorSummary 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:creationTime:DetectorSummary', detectorSummary_creationTime - The time the detector (instance) was created.

$sel:detectorModelName:DetectorSummary', detectorSummary_detectorModelName - The name of the detector model that created this detector (instance).

$sel:detectorModelVersion:DetectorSummary', detectorSummary_detectorModelVersion - The version of the detector model that created this detector (instance).

$sel:keyValue:DetectorSummary', detectorSummary_keyValue - The value of the key (identifying the device or system) that caused the creation of this detector (instance).

$sel:lastUpdateTime:DetectorSummary', detectorSummary_lastUpdateTime - The time the detector (instance) was last updated.

$sel:state:DetectorSummary', detectorSummary_state - The current state of the detector (instance).

detectorSummary_creationTime :: Lens' DetectorSummary (Maybe UTCTime) Source #

The time the detector (instance) was created.

detectorSummary_detectorModelName :: Lens' DetectorSummary (Maybe Text) Source #

The name of the detector model that created this detector (instance).

detectorSummary_detectorModelVersion :: Lens' DetectorSummary (Maybe Text) Source #

The version of the detector model that created this detector (instance).

detectorSummary_keyValue :: Lens' DetectorSummary (Maybe Text) Source #

The value of the key (identifying the device or system) that caused the creation of this detector (instance).

detectorSummary_lastUpdateTime :: Lens' DetectorSummary (Maybe UTCTime) Source #

The time the detector (instance) was last updated.

detectorSummary_state :: Lens' DetectorSummary (Maybe DetectorStateSummary) Source #

The current state of the detector (instance).

DisableActionConfiguration

data DisableActionConfiguration Source #

Contains the configuration information of a disable action.

See: newDisableActionConfiguration smart constructor.

Constructors

DisableActionConfiguration' 

Fields

  • note :: Maybe Text

    The note that you can leave when you disable the alarm.

Instances

Instances details
FromJSON DisableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableActionConfiguration

Generic DisableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableActionConfiguration

Associated Types

type Rep DisableActionConfiguration :: Type -> Type #

Read DisableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableActionConfiguration

Show DisableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableActionConfiguration

NFData DisableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableActionConfiguration

Eq DisableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableActionConfiguration

Hashable DisableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableActionConfiguration

type Rep DisableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableActionConfiguration

type Rep DisableActionConfiguration = D1 ('MetaData "DisableActionConfiguration" "Amazonka.IoTEventsData.Types.DisableActionConfiguration" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "DisableActionConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "note") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDisableActionConfiguration :: DisableActionConfiguration Source #

Create a value of DisableActionConfiguration 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:note:DisableActionConfiguration', disableActionConfiguration_note - The note that you can leave when you disable the alarm.

disableActionConfiguration_note :: Lens' DisableActionConfiguration (Maybe Text) Source #

The note that you can leave when you disable the alarm.

DisableAlarmActionRequest

data DisableAlarmActionRequest Source #

Information used to disable the alarm.

See: newDisableAlarmActionRequest smart constructor.

Constructors

DisableAlarmActionRequest' 

Fields

Instances

Instances details
ToJSON DisableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableAlarmActionRequest

Generic DisableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableAlarmActionRequest

Associated Types

type Rep DisableAlarmActionRequest :: Type -> Type #

Read DisableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableAlarmActionRequest

Show DisableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableAlarmActionRequest

NFData DisableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableAlarmActionRequest

Eq DisableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableAlarmActionRequest

Hashable DisableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableAlarmActionRequest

type Rep DisableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.DisableAlarmActionRequest

type Rep DisableAlarmActionRequest = D1 ('MetaData "DisableAlarmActionRequest" "Amazonka.IoTEventsData.Types.DisableAlarmActionRequest" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "DisableAlarmActionRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "note") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "alarmModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDisableAlarmActionRequest Source #

Create a value of DisableAlarmActionRequest 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:DisableAlarmActionRequest', disableAlarmActionRequest_keyValue - The value of the key used as a filter to select only the alarms associated with the key.

$sel:note:DisableAlarmActionRequest', disableAlarmActionRequest_note - The note that you can leave when you disable the alarm.

$sel:requestId:DisableAlarmActionRequest', disableAlarmActionRequest_requestId - The request ID. Each ID must be unique within each batch.

$sel:alarmModelName:DisableAlarmActionRequest', disableAlarmActionRequest_alarmModelName - The name of the alarm model.

disableAlarmActionRequest_keyValue :: Lens' DisableAlarmActionRequest (Maybe Text) Source #

The value of the key used as a filter to select only the alarms associated with the key.

disableAlarmActionRequest_note :: Lens' DisableAlarmActionRequest (Maybe Text) Source #

The note that you can leave when you disable the alarm.

disableAlarmActionRequest_requestId :: Lens' DisableAlarmActionRequest Text Source #

The request ID. Each ID must be unique within each batch.

EnableActionConfiguration

data EnableActionConfiguration Source #

Contains the configuration information of an enable action.

See: newEnableActionConfiguration smart constructor.

Constructors

EnableActionConfiguration' 

Fields

  • note :: Maybe Text

    The note that you can leave when you enable the alarm.

Instances

Instances details
FromJSON EnableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableActionConfiguration

Generic EnableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableActionConfiguration

Associated Types

type Rep EnableActionConfiguration :: Type -> Type #

Read EnableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableActionConfiguration

Show EnableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableActionConfiguration

NFData EnableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableActionConfiguration

Eq EnableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableActionConfiguration

Hashable EnableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableActionConfiguration

type Rep EnableActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableActionConfiguration

type Rep EnableActionConfiguration = D1 ('MetaData "EnableActionConfiguration" "Amazonka.IoTEventsData.Types.EnableActionConfiguration" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "EnableActionConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "note") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newEnableActionConfiguration :: EnableActionConfiguration Source #

Create a value of EnableActionConfiguration 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:note:EnableActionConfiguration', enableActionConfiguration_note - The note that you can leave when you enable the alarm.

enableActionConfiguration_note :: Lens' EnableActionConfiguration (Maybe Text) Source #

The note that you can leave when you enable the alarm.

EnableAlarmActionRequest

data EnableAlarmActionRequest Source #

Information needed to enable the alarm.

See: newEnableAlarmActionRequest smart constructor.

Constructors

EnableAlarmActionRequest' 

Fields

Instances

Instances details
ToJSON EnableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableAlarmActionRequest

Generic EnableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableAlarmActionRequest

Associated Types

type Rep EnableAlarmActionRequest :: Type -> Type #

Read EnableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableAlarmActionRequest

Show EnableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableAlarmActionRequest

NFData EnableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableAlarmActionRequest

Eq EnableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableAlarmActionRequest

Hashable EnableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableAlarmActionRequest

type Rep EnableAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.EnableAlarmActionRequest

type Rep EnableAlarmActionRequest = D1 ('MetaData "EnableAlarmActionRequest" "Amazonka.IoTEventsData.Types.EnableAlarmActionRequest" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "EnableAlarmActionRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "note") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "alarmModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newEnableAlarmActionRequest Source #

Create a value of EnableAlarmActionRequest 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:EnableAlarmActionRequest', enableAlarmActionRequest_keyValue - The value of the key used as a filter to select only the alarms associated with the key.

$sel:note:EnableAlarmActionRequest', enableAlarmActionRequest_note - The note that you can leave when you enable the alarm.

$sel:requestId:EnableAlarmActionRequest', enableAlarmActionRequest_requestId - The request ID. Each ID must be unique within each batch.

$sel:alarmModelName:EnableAlarmActionRequest', enableAlarmActionRequest_alarmModelName - The name of the alarm model.

enableAlarmActionRequest_keyValue :: Lens' EnableAlarmActionRequest (Maybe Text) Source #

The value of the key used as a filter to select only the alarms associated with the key.

enableAlarmActionRequest_note :: Lens' EnableAlarmActionRequest (Maybe Text) Source #

The note that you can leave when you enable the alarm.

enableAlarmActionRequest_requestId :: Lens' EnableAlarmActionRequest Text Source #

The request ID. Each ID must be unique within each batch.

Message

data Message Source #

Information about a message.

See: newMessage smart constructor.

Constructors

Message' 

Fields

  • timestamp :: Maybe TimestampValue

    The timestamp associated with the message.

  • messageId :: Text

    The ID to assign to the message. Within each batch sent, each "messageId" must be unique.

  • inputName :: Text

    The name of the input into which the message payload is transformed.

  • payload :: Base64

    The payload of the message. This can be a JSON string or a Base-64-encoded string representing binary data (in which case you must decode it).

Instances

Instances details
ToJSON Message Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Message

Generic Message Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Message

Associated Types

type Rep Message :: Type -> Type #

Methods

from :: Message -> Rep Message x #

to :: Rep Message x -> Message #

Read Message Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Message

Show Message Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Message

NFData Message Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Message

Methods

rnf :: Message -> () #

Eq Message Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Message

Methods

(==) :: Message -> Message -> Bool #

(/=) :: Message -> Message -> Bool #

Hashable Message Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Message

Methods

hashWithSalt :: Int -> Message -> Int #

hash :: Message -> Int #

type Rep Message Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Message

type Rep Message = D1 ('MetaData "Message" "Amazonka.IoTEventsData.Types.Message" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "Message'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimestampValue)) :*: S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "inputName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64))))

newMessage Source #

Create a value of Message 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:timestamp:Message', message_timestamp - The timestamp associated with the message.

$sel:messageId:Message', message_messageId - The ID to assign to the message. Within each batch sent, each "messageId" must be unique.

$sel:inputName:Message', message_inputName - The name of the input into which the message payload is transformed.

$sel:payload:Message', message_payload - The payload of the message. This can be a JSON string or a Base-64-encoded string representing binary data (in which case you must decode it).-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

message_timestamp :: Lens' Message (Maybe TimestampValue) Source #

The timestamp associated with the message.

message_messageId :: Lens' Message Text Source #

The ID to assign to the message. Within each batch sent, each "messageId" must be unique.

message_inputName :: Lens' Message Text Source #

The name of the input into which the message payload is transformed.

message_payload :: Lens' Message ByteString Source #

The payload of the message. This can be a JSON string or a Base-64-encoded string representing binary data (in which case you must decode it).-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

ResetActionConfiguration

data ResetActionConfiguration Source #

Contains the configuration information of a reset action.

See: newResetActionConfiguration smart constructor.

Constructors

ResetActionConfiguration' 

Fields

  • note :: Maybe Text

    The note that you can leave when you reset the alarm.

Instances

Instances details
FromJSON ResetActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetActionConfiguration

Generic ResetActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetActionConfiguration

Associated Types

type Rep ResetActionConfiguration :: Type -> Type #

Read ResetActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetActionConfiguration

Show ResetActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetActionConfiguration

NFData ResetActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetActionConfiguration

Eq ResetActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetActionConfiguration

Hashable ResetActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetActionConfiguration

type Rep ResetActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetActionConfiguration

type Rep ResetActionConfiguration = D1 ('MetaData "ResetActionConfiguration" "Amazonka.IoTEventsData.Types.ResetActionConfiguration" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "ResetActionConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "note") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newResetActionConfiguration :: ResetActionConfiguration Source #

Create a value of ResetActionConfiguration 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:note:ResetActionConfiguration', resetActionConfiguration_note - The note that you can leave when you reset the alarm.

resetActionConfiguration_note :: Lens' ResetActionConfiguration (Maybe Text) Source #

The note that you can leave when you reset the alarm.

ResetAlarmActionRequest

data ResetAlarmActionRequest Source #

Information needed to reset the alarm.

See: newResetAlarmActionRequest smart constructor.

Constructors

ResetAlarmActionRequest' 

Fields

Instances

Instances details
ToJSON ResetAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetAlarmActionRequest

Generic ResetAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetAlarmActionRequest

Associated Types

type Rep ResetAlarmActionRequest :: Type -> Type #

Read ResetAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetAlarmActionRequest

Show ResetAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetAlarmActionRequest

NFData ResetAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetAlarmActionRequest

Methods

rnf :: ResetAlarmActionRequest -> () #

Eq ResetAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetAlarmActionRequest

Hashable ResetAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetAlarmActionRequest

type Rep ResetAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.ResetAlarmActionRequest

type Rep ResetAlarmActionRequest = D1 ('MetaData "ResetAlarmActionRequest" "Amazonka.IoTEventsData.Types.ResetAlarmActionRequest" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "ResetAlarmActionRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "note") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "alarmModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newResetAlarmActionRequest Source #

Create a value of ResetAlarmActionRequest 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:ResetAlarmActionRequest', resetAlarmActionRequest_keyValue - The value of the key used as a filter to select only the alarms associated with the key.

$sel:note:ResetAlarmActionRequest', resetAlarmActionRequest_note - The note that you can leave when you reset the alarm.

$sel:requestId:ResetAlarmActionRequest', resetAlarmActionRequest_requestId - The request ID. Each ID must be unique within each batch.

$sel:alarmModelName:ResetAlarmActionRequest', resetAlarmActionRequest_alarmModelName - The name of the alarm model.

resetAlarmActionRequest_keyValue :: Lens' ResetAlarmActionRequest (Maybe Text) Source #

The value of the key used as a filter to select only the alarms associated with the key.

resetAlarmActionRequest_note :: Lens' ResetAlarmActionRequest (Maybe Text) Source #

The note that you can leave when you reset the alarm.

resetAlarmActionRequest_requestId :: Lens' ResetAlarmActionRequest Text Source #

The request ID. Each ID must be unique within each batch.

RuleEvaluation

data RuleEvaluation Source #

Information needed to evaluate data.

See: newRuleEvaluation smart constructor.

Constructors

RuleEvaluation' 

Fields

Instances

Instances details
FromJSON RuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.RuleEvaluation

Generic RuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.RuleEvaluation

Associated Types

type Rep RuleEvaluation :: Type -> Type #

Read RuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.RuleEvaluation

Show RuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.RuleEvaluation

NFData RuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.RuleEvaluation

Methods

rnf :: RuleEvaluation -> () #

Eq RuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.RuleEvaluation

Hashable RuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.RuleEvaluation

type Rep RuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.RuleEvaluation

type Rep RuleEvaluation = D1 ('MetaData "RuleEvaluation" "Amazonka.IoTEventsData.Types.RuleEvaluation" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "RuleEvaluation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "simpleRuleEvaluation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SimpleRuleEvaluation))))

newRuleEvaluation :: RuleEvaluation Source #

Create a value of RuleEvaluation 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:simpleRuleEvaluation:RuleEvaluation', ruleEvaluation_simpleRuleEvaluation - Information needed to compare two values with a comparison operator.

ruleEvaluation_simpleRuleEvaluation :: Lens' RuleEvaluation (Maybe SimpleRuleEvaluation) Source #

Information needed to compare two values with a comparison operator.

SimpleRuleEvaluation

data SimpleRuleEvaluation Source #

Information needed to compare two values with a comparison operator.

See: newSimpleRuleEvaluation smart constructor.

Constructors

SimpleRuleEvaluation' 

Fields

Instances

Instances details
FromJSON SimpleRuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SimpleRuleEvaluation

Generic SimpleRuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SimpleRuleEvaluation

Associated Types

type Rep SimpleRuleEvaluation :: Type -> Type #

Read SimpleRuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SimpleRuleEvaluation

Show SimpleRuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SimpleRuleEvaluation

NFData SimpleRuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SimpleRuleEvaluation

Methods

rnf :: SimpleRuleEvaluation -> () #

Eq SimpleRuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SimpleRuleEvaluation

Hashable SimpleRuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SimpleRuleEvaluation

type Rep SimpleRuleEvaluation Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SimpleRuleEvaluation

type Rep SimpleRuleEvaluation = D1 ('MetaData "SimpleRuleEvaluation" "Amazonka.IoTEventsData.Types.SimpleRuleEvaluation" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "SimpleRuleEvaluation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "inputPropertyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "operator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComparisonOperator)) :*: S1 ('MetaSel ('Just "thresholdValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSimpleRuleEvaluation :: SimpleRuleEvaluation Source #

Create a value of SimpleRuleEvaluation 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:inputPropertyValue:SimpleRuleEvaluation', simpleRuleEvaluation_inputPropertyValue - The value of the input property, on the left side of the comparison operator.

$sel:operator:SimpleRuleEvaluation', simpleRuleEvaluation_operator - The comparison operator.

$sel:thresholdValue:SimpleRuleEvaluation', simpleRuleEvaluation_thresholdValue - The threshold value, on the right side of the comparison operator.

simpleRuleEvaluation_inputPropertyValue :: Lens' SimpleRuleEvaluation (Maybe Text) Source #

The value of the input property, on the left side of the comparison operator.

simpleRuleEvaluation_thresholdValue :: Lens' SimpleRuleEvaluation (Maybe Text) Source #

The threshold value, on the right side of the comparison operator.

SnoozeActionConfiguration

data SnoozeActionConfiguration Source #

Contains the configuration information of a snooze action.

See: newSnoozeActionConfiguration smart constructor.

Constructors

SnoozeActionConfiguration' 

Fields

  • note :: Maybe Text

    The note that you can leave when you snooze the alarm.

  • snoozeDuration :: Maybe Int

    The snooze time in seconds. The alarm automatically changes to the NORMAL state after this duration.

Instances

Instances details
FromJSON SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

Generic SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

Associated Types

type Rep SnoozeActionConfiguration :: Type -> Type #

Read SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

Show SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

NFData SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

Eq SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

Hashable SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

type Rep SnoozeActionConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeActionConfiguration

type Rep SnoozeActionConfiguration = D1 ('MetaData "SnoozeActionConfiguration" "Amazonka.IoTEventsData.Types.SnoozeActionConfiguration" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "SnoozeActionConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "note") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snoozeDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newSnoozeActionConfiguration :: SnoozeActionConfiguration Source #

Create a value of SnoozeActionConfiguration 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:note:SnoozeActionConfiguration', snoozeActionConfiguration_note - The note that you can leave when you snooze the alarm.

$sel:snoozeDuration:SnoozeActionConfiguration', snoozeActionConfiguration_snoozeDuration - The snooze time in seconds. The alarm automatically changes to the NORMAL state after this duration.

snoozeActionConfiguration_note :: Lens' SnoozeActionConfiguration (Maybe Text) Source #

The note that you can leave when you snooze the alarm.

snoozeActionConfiguration_snoozeDuration :: Lens' SnoozeActionConfiguration (Maybe Int) Source #

The snooze time in seconds. The alarm automatically changes to the NORMAL state after this duration.

SnoozeAlarmActionRequest

data SnoozeAlarmActionRequest Source #

Information needed to snooze the alarm.

See: newSnoozeAlarmActionRequest smart constructor.

Constructors

SnoozeAlarmActionRequest' 

Fields

  • keyValue :: Maybe Text

    The value of the key used as a filter to select only the alarms associated with the key.

  • note :: Maybe Text

    The note that you can leave when you snooze the alarm.

  • requestId :: Text

    The request ID. Each ID must be unique within each batch.

  • alarmModelName :: Text

    The name of the alarm model.

  • snoozeDuration :: Int

    The snooze time in seconds. The alarm automatically changes to the NORMAL state after this duration.

Instances

Instances details
ToJSON SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

Generic SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

Associated Types

type Rep SnoozeAlarmActionRequest :: Type -> Type #

Read SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

Show SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

NFData SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

Eq SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

Hashable SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

type Rep SnoozeAlarmActionRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest

type Rep SnoozeAlarmActionRequest = D1 ('MetaData "SnoozeAlarmActionRequest" "Amazonka.IoTEventsData.Types.SnoozeAlarmActionRequest" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "SnoozeAlarmActionRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "note") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "alarmModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "snoozeDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newSnoozeAlarmActionRequest Source #

Create a value of SnoozeAlarmActionRequest 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:SnoozeAlarmActionRequest', snoozeAlarmActionRequest_keyValue - The value of the key used as a filter to select only the alarms associated with the key.

$sel:note:SnoozeAlarmActionRequest', snoozeAlarmActionRequest_note - The note that you can leave when you snooze the alarm.

$sel:requestId:SnoozeAlarmActionRequest', snoozeAlarmActionRequest_requestId - The request ID. Each ID must be unique within each batch.

$sel:alarmModelName:SnoozeAlarmActionRequest', snoozeAlarmActionRequest_alarmModelName - The name of the alarm model.

$sel:snoozeDuration:SnoozeAlarmActionRequest', snoozeAlarmActionRequest_snoozeDuration - The snooze time in seconds. The alarm automatically changes to the NORMAL state after this duration.

snoozeAlarmActionRequest_keyValue :: Lens' SnoozeAlarmActionRequest (Maybe Text) Source #

The value of the key used as a filter to select only the alarms associated with the key.

snoozeAlarmActionRequest_note :: Lens' SnoozeAlarmActionRequest (Maybe Text) Source #

The note that you can leave when you snooze the alarm.

snoozeAlarmActionRequest_requestId :: Lens' SnoozeAlarmActionRequest Text Source #

The request ID. Each ID must be unique within each batch.

snoozeAlarmActionRequest_snoozeDuration :: Lens' SnoozeAlarmActionRequest Int Source #

The snooze time in seconds. The alarm automatically changes to the NORMAL state after this duration.

StateChangeConfiguration

data StateChangeConfiguration Source #

Contains the configuration information of alarm state changes.

See: newStateChangeConfiguration smart constructor.

Constructors

StateChangeConfiguration' 

Fields

  • triggerType :: Maybe TriggerType

    The trigger type. If the value is SNOOZE_TIMEOUT, the snooze duration ends and the alarm automatically changes to the NORMAL state.

Instances

Instances details
FromJSON StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

Generic StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

Associated Types

type Rep StateChangeConfiguration :: Type -> Type #

Read StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

Show StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

NFData StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

Eq StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

Hashable StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

type Rep StateChangeConfiguration Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.StateChangeConfiguration

type Rep StateChangeConfiguration = D1 ('MetaData "StateChangeConfiguration" "Amazonka.IoTEventsData.Types.StateChangeConfiguration" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "StateChangeConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "triggerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TriggerType))))

newStateChangeConfiguration :: StateChangeConfiguration Source #

Create a value of StateChangeConfiguration 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:triggerType:StateChangeConfiguration', stateChangeConfiguration_triggerType - The trigger type. If the value is SNOOZE_TIMEOUT, the snooze duration ends and the alarm automatically changes to the NORMAL state.

stateChangeConfiguration_triggerType :: Lens' StateChangeConfiguration (Maybe TriggerType) Source #

The trigger type. If the value is SNOOZE_TIMEOUT, the snooze duration ends and the alarm automatically changes to the NORMAL state.

SystemEvent

data SystemEvent Source #

Contains information about alarm state changes.

See: newSystemEvent smart constructor.

Constructors

SystemEvent' 

Fields

Instances

Instances details
FromJSON SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

Generic SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

Associated Types

type Rep SystemEvent :: Type -> Type #

Read SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

Show SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

NFData SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

Methods

rnf :: SystemEvent -> () #

Eq SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

Hashable SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

type Rep SystemEvent Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.SystemEvent

type Rep SystemEvent = D1 ('MetaData "SystemEvent" "Amazonka.IoTEventsData.Types.SystemEvent" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "SystemEvent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventType)) :*: S1 ('MetaSel ('Just "stateChangeConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StateChangeConfiguration))))

newSystemEvent :: SystemEvent Source #

Create a value of SystemEvent 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:eventType:SystemEvent', systemEvent_eventType - The event type. If the value is STATE_CHANGE, the event contains information about alarm state changes.

$sel:stateChangeConfiguration:SystemEvent', systemEvent_stateChangeConfiguration - Contains the configuration information of alarm state changes.

systemEvent_eventType :: Lens' SystemEvent (Maybe EventType) Source #

The event type. If the value is STATE_CHANGE, the event contains information about alarm state changes.

systemEvent_stateChangeConfiguration :: Lens' SystemEvent (Maybe StateChangeConfiguration) Source #

Contains the configuration information of alarm state changes.

Timer

data Timer Source #

The current state of a timer.

See: newTimer smart constructor.

Constructors

Timer' 

Fields

Instances

Instances details
FromJSON Timer Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Timer

Generic Timer Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Timer

Associated Types

type Rep Timer :: Type -> Type #

Methods

from :: Timer -> Rep Timer x #

to :: Rep Timer x -> Timer #

Read Timer Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Timer

Show Timer Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Timer

Methods

showsPrec :: Int -> Timer -> ShowS #

show :: Timer -> String #

showList :: [Timer] -> ShowS #

NFData Timer Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Timer

Methods

rnf :: Timer -> () #

Eq Timer Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Timer

Methods

(==) :: Timer -> Timer -> Bool #

(/=) :: Timer -> Timer -> Bool #

Hashable Timer Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Timer

Methods

hashWithSalt :: Int -> Timer -> Int #

hash :: Timer -> Int #

type Rep Timer Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Timer

type Rep Timer = D1 ('MetaData "Timer" "Amazonka.IoTEventsData.Types.Timer" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "Timer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))

newTimer Source #

Create a value of Timer 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:name:Timer', timer_name - The name of the timer.

$sel:timestamp:Timer', timer_timestamp - The expiration time for the timer.

timer_name :: Lens' Timer Text Source #

The name of the timer.

timer_timestamp :: Lens' Timer UTCTime Source #

The expiration time for the timer.

TimerDefinition

data TimerDefinition Source #

The new setting of a timer.

See: newTimerDefinition smart constructor.

Constructors

TimerDefinition' 

Fields

  • name :: Text

    The name of the timer.

  • seconds :: Int

    The new setting of the timer (the number of seconds before the timer elapses).

Instances

Instances details
ToJSON TimerDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimerDefinition

Generic TimerDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimerDefinition

Associated Types

type Rep TimerDefinition :: Type -> Type #

Read TimerDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimerDefinition

Show TimerDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimerDefinition

NFData TimerDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimerDefinition

Methods

rnf :: TimerDefinition -> () #

Eq TimerDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimerDefinition

Hashable TimerDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimerDefinition

type Rep TimerDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimerDefinition

type Rep TimerDefinition = D1 ('MetaData "TimerDefinition" "Amazonka.IoTEventsData.Types.TimerDefinition" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "TimerDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "seconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newTimerDefinition Source #

Create a value of TimerDefinition 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:name:TimerDefinition', timerDefinition_name - The name of the timer.

$sel:seconds:TimerDefinition', timerDefinition_seconds - The new setting of the timer (the number of seconds before the timer elapses).

timerDefinition_seconds :: Lens' TimerDefinition Int Source #

The new setting of the timer (the number of seconds before the timer elapses).

TimestampValue

data TimestampValue Source #

Contains information about a timestamp.

See: newTimestampValue smart constructor.

Constructors

TimestampValue' 

Fields

Instances

Instances details
ToJSON TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

Generic TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

Associated Types

type Rep TimestampValue :: Type -> Type #

Read TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

Show TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

NFData TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

Methods

rnf :: TimestampValue -> () #

Eq TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

Hashable TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

type Rep TimestampValue Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.TimestampValue

type Rep TimestampValue = D1 ('MetaData "TimestampValue" "Amazonka.IoTEventsData.Types.TimestampValue" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "TimestampValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timeInMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newTimestampValue :: TimestampValue Source #

Create a value of TimestampValue 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:timeInMillis:TimestampValue', timestampValue_timeInMillis - The value of the timestamp, in the Unix epoch format.

timestampValue_timeInMillis :: Lens' TimestampValue (Maybe Natural) Source #

The value of the timestamp, in the Unix epoch format.

UpdateDetectorRequest

data UpdateDetectorRequest Source #

Information used to update the detector (instance).

See: newUpdateDetectorRequest smart constructor.

Constructors

UpdateDetectorRequest' 

Fields

  • keyValue :: Maybe Text

    The value of the input key attribute (identifying the device or system) that caused the creation of this detector (instance).

  • messageId :: Text

    The ID to assign to the detector update "message". Each "messageId" must be unique within each batch sent.

  • detectorModelName :: Text

    The name of the detector model that created the detectors (instances).

  • state :: DetectorStateDefinition

    The new state, variable values, and timer settings of the detector (instance).

Instances

Instances details
ToJSON UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

Generic UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

Associated Types

type Rep UpdateDetectorRequest :: Type -> Type #

Read UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

Show UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

NFData UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

Methods

rnf :: UpdateDetectorRequest -> () #

Eq UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

Hashable UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

type Rep UpdateDetectorRequest Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.UpdateDetectorRequest

type Rep UpdateDetectorRequest = D1 ('MetaData "UpdateDetectorRequest" "Amazonka.IoTEventsData.Types.UpdateDetectorRequest" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "UpdateDetectorRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "keyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "detectorModelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DetectorStateDefinition))))

newUpdateDetectorRequest Source #

Create a value of UpdateDetectorRequest 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:UpdateDetectorRequest', updateDetectorRequest_keyValue - The value of the input key attribute (identifying the device or system) that caused the creation of this detector (instance).

$sel:messageId:UpdateDetectorRequest', updateDetectorRequest_messageId - The ID to assign to the detector update "message". Each "messageId" must be unique within each batch sent.

$sel:detectorModelName:UpdateDetectorRequest', updateDetectorRequest_detectorModelName - The name of the detector model that created the detectors (instances).

$sel:state:UpdateDetectorRequest', updateDetectorRequest_state - The new state, variable values, and timer settings of the detector (instance).

updateDetectorRequest_keyValue :: Lens' UpdateDetectorRequest (Maybe Text) Source #

The value of the input key attribute (identifying the device or system) that caused the creation of this detector (instance).

updateDetectorRequest_messageId :: Lens' UpdateDetectorRequest Text Source #

The ID to assign to the detector update "message". Each "messageId" must be unique within each batch sent.

updateDetectorRequest_detectorModelName :: Lens' UpdateDetectorRequest Text Source #

The name of the detector model that created the detectors (instances).

updateDetectorRequest_state :: Lens' UpdateDetectorRequest DetectorStateDefinition Source #

The new state, variable values, and timer settings of the detector (instance).

Variable

data Variable Source #

The current state of the variable.

See: newVariable smart constructor.

Constructors

Variable' 

Fields

Instances

Instances details
FromJSON Variable Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Variable

Generic Variable Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Variable

Associated Types

type Rep Variable :: Type -> Type #

Methods

from :: Variable -> Rep Variable x #

to :: Rep Variable x -> Variable #

Read Variable Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Variable

Show Variable Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Variable

NFData Variable Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Variable

Methods

rnf :: Variable -> () #

Eq Variable Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Variable

Hashable Variable Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Variable

Methods

hashWithSalt :: Int -> Variable -> Int #

hash :: Variable -> Int #

type Rep Variable Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.Variable

type Rep Variable = D1 ('MetaData "Variable" "Amazonka.IoTEventsData.Types.Variable" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "Variable'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newVariable Source #

Create a value of Variable 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:name:Variable', variable_name - The name of the variable.

$sel:value:Variable', variable_value - The current value of the variable.

variable_name :: Lens' Variable Text Source #

The name of the variable.

variable_value :: Lens' Variable Text Source #

The current value of the variable.

VariableDefinition

data VariableDefinition Source #

The new value of the variable.

See: newVariableDefinition smart constructor.

Constructors

VariableDefinition' 

Fields

Instances

Instances details
ToJSON VariableDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.VariableDefinition

Generic VariableDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.VariableDefinition

Associated Types

type Rep VariableDefinition :: Type -> Type #

Read VariableDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.VariableDefinition

Show VariableDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.VariableDefinition

NFData VariableDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.VariableDefinition

Methods

rnf :: VariableDefinition -> () #

Eq VariableDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.VariableDefinition

Hashable VariableDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.VariableDefinition

type Rep VariableDefinition Source # 
Instance details

Defined in Amazonka.IoTEventsData.Types.VariableDefinition

type Rep VariableDefinition = D1 ('MetaData "VariableDefinition" "Amazonka.IoTEventsData.Types.VariableDefinition" "amazonka-iotevents-data-2.0-2nkzod7vvQTAS38g00IbEB" 'False) (C1 ('MetaCons "VariableDefinition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newVariableDefinition Source #

Create a value of VariableDefinition 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:name:VariableDefinition', variableDefinition_name - The name of the variable.

$sel:value:VariableDefinition', variableDefinition_value - The new value of the variable.