| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTEventsData
Contents
- Service Configuration
- Errors
- Waiters
- Operations
- Types
- AlarmStateName
- ComparisonOperator
- CustomerActionName
- ErrorCode
- EventType
- TriggerType
- AcknowledgeActionConfiguration
- AcknowledgeAlarmActionRequest
- Alarm
- AlarmState
- AlarmSummary
- BatchAlarmActionErrorEntry
- BatchDeleteDetectorErrorEntry
- BatchPutMessageErrorEntry
- BatchUpdateDetectorErrorEntry
- CustomerAction
- DeleteDetectorRequest
- Detector
- DetectorState
- DetectorStateDefinition
- DetectorStateSummary
- DetectorSummary
- DisableActionConfiguration
- DisableAlarmActionRequest
- EnableActionConfiguration
- EnableAlarmActionRequest
- Message
- ResetActionConfiguration
- ResetAlarmActionRequest
- RuleEvaluation
- SimpleRuleEvaluation
- SnoozeActionConfiguration
- SnoozeAlarmActionRequest
- StateChangeConfiguration
- SystemEvent
- Timer
- TimerDefinition
- TimestampValue
- UpdateDetectorRequest
- Variable
- VariableDefinition
Description
Derived from API version 2018-10-23 of the AWS service descriptions, licensed under Apache 2.0.
IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur. You can use IoT Events Data API commands to send inputs to detectors, list detectors, and view or update a detector's status.
For more information, see What is IoT Events? in the IoT Events Developer Guide.
Synopsis
- defaultService :: Service
- _InternalFailureException :: AsError a => Fold a ServiceError
- _InvalidRequestException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceUnavailableException :: AsError a => Fold a ServiceError
- _ThrottlingException :: AsError a => Fold a ServiceError
- data BatchAcknowledgeAlarm = BatchAcknowledgeAlarm' (NonEmpty AcknowledgeAlarmActionRequest)
- newBatchAcknowledgeAlarm :: NonEmpty AcknowledgeAlarmActionRequest -> BatchAcknowledgeAlarm
- data BatchAcknowledgeAlarmResponse = BatchAcknowledgeAlarmResponse' (Maybe [BatchAlarmActionErrorEntry]) Int
- newBatchAcknowledgeAlarmResponse :: Int -> BatchAcknowledgeAlarmResponse
- data BatchDeleteDetector = BatchDeleteDetector' (NonEmpty DeleteDetectorRequest)
- newBatchDeleteDetector :: NonEmpty DeleteDetectorRequest -> BatchDeleteDetector
- data BatchDeleteDetectorResponse = BatchDeleteDetectorResponse' (Maybe [BatchDeleteDetectorErrorEntry]) Int
- newBatchDeleteDetectorResponse :: Int -> BatchDeleteDetectorResponse
- data BatchDisableAlarm = BatchDisableAlarm' (NonEmpty DisableAlarmActionRequest)
- newBatchDisableAlarm :: NonEmpty DisableAlarmActionRequest -> BatchDisableAlarm
- data BatchDisableAlarmResponse = BatchDisableAlarmResponse' (Maybe [BatchAlarmActionErrorEntry]) Int
- newBatchDisableAlarmResponse :: Int -> BatchDisableAlarmResponse
- data BatchEnableAlarm = BatchEnableAlarm' (NonEmpty EnableAlarmActionRequest)
- newBatchEnableAlarm :: NonEmpty EnableAlarmActionRequest -> BatchEnableAlarm
- data BatchEnableAlarmResponse = BatchEnableAlarmResponse' (Maybe [BatchAlarmActionErrorEntry]) Int
- newBatchEnableAlarmResponse :: Int -> BatchEnableAlarmResponse
- data BatchPutMessage = BatchPutMessage' (NonEmpty Message)
- newBatchPutMessage :: NonEmpty Message -> BatchPutMessage
- data BatchPutMessageResponse = BatchPutMessageResponse' (Maybe [BatchPutMessageErrorEntry]) Int
- newBatchPutMessageResponse :: Int -> BatchPutMessageResponse
- data BatchResetAlarm = BatchResetAlarm' (NonEmpty ResetAlarmActionRequest)
- newBatchResetAlarm :: NonEmpty ResetAlarmActionRequest -> BatchResetAlarm
- data BatchResetAlarmResponse = BatchResetAlarmResponse' (Maybe [BatchAlarmActionErrorEntry]) Int
- newBatchResetAlarmResponse :: Int -> BatchResetAlarmResponse
- data BatchSnoozeAlarm = BatchSnoozeAlarm' (NonEmpty SnoozeAlarmActionRequest)
- newBatchSnoozeAlarm :: NonEmpty SnoozeAlarmActionRequest -> BatchSnoozeAlarm
- data BatchSnoozeAlarmResponse = BatchSnoozeAlarmResponse' (Maybe [BatchAlarmActionErrorEntry]) Int
- newBatchSnoozeAlarmResponse :: Int -> BatchSnoozeAlarmResponse
- data BatchUpdateDetector = BatchUpdateDetector' (NonEmpty UpdateDetectorRequest)
- newBatchUpdateDetector :: NonEmpty UpdateDetectorRequest -> BatchUpdateDetector
- data BatchUpdateDetectorResponse = BatchUpdateDetectorResponse' (Maybe [BatchUpdateDetectorErrorEntry]) Int
- newBatchUpdateDetectorResponse :: Int -> BatchUpdateDetectorResponse
- data DescribeAlarm = DescribeAlarm' (Maybe Text) Text
- newDescribeAlarm :: Text -> DescribeAlarm
- data DescribeAlarmResponse = DescribeAlarmResponse' (Maybe Alarm) Int
- newDescribeAlarmResponse :: Int -> DescribeAlarmResponse
- data DescribeDetector = DescribeDetector' (Maybe Text) Text
- newDescribeDetector :: Text -> DescribeDetector
- data DescribeDetectorResponse = DescribeDetectorResponse' (Maybe Detector) Int
- newDescribeDetectorResponse :: Int -> DescribeDetectorResponse
- data ListAlarms = ListAlarms' (Maybe Natural) (Maybe Text) Text
- newListAlarms :: Text -> ListAlarms
- data ListAlarmsResponse = ListAlarmsResponse' (Maybe [AlarmSummary]) (Maybe Text) Int
- newListAlarmsResponse :: Int -> ListAlarmsResponse
- data ListDetectors = ListDetectors' (Maybe Natural) (Maybe Text) (Maybe Text) Text
- newListDetectors :: Text -> ListDetectors
- data ListDetectorsResponse = ListDetectorsResponse' (Maybe [DetectorSummary]) (Maybe Text) Int
- newListDetectorsResponse :: Int -> ListDetectorsResponse
- newtype AlarmStateName where
- AlarmStateName' { }
- pattern AlarmStateName_ACKNOWLEDGED :: AlarmStateName
- pattern AlarmStateName_ACTIVE :: AlarmStateName
- pattern AlarmStateName_DISABLED :: AlarmStateName
- pattern AlarmStateName_LATCHED :: AlarmStateName
- pattern AlarmStateName_NORMAL :: AlarmStateName
- pattern AlarmStateName_SNOOZE_DISABLED :: AlarmStateName
- newtype ComparisonOperator where
- ComparisonOperator' { }
- pattern ComparisonOperator_EQUAL :: ComparisonOperator
- pattern ComparisonOperator_GREATER :: ComparisonOperator
- pattern ComparisonOperator_GREATER_OR_EQUAL :: ComparisonOperator
- pattern ComparisonOperator_LESS :: ComparisonOperator
- pattern ComparisonOperator_LESS_OR_EQUAL :: ComparisonOperator
- pattern ComparisonOperator_NOT_EQUAL :: ComparisonOperator
- newtype CustomerActionName where
- CustomerActionName' { }
- pattern CustomerActionName_ACKNOWLEDGE :: CustomerActionName
- pattern CustomerActionName_DISABLE :: CustomerActionName
- pattern CustomerActionName_ENABLE :: CustomerActionName
- pattern CustomerActionName_RESET :: CustomerActionName
- pattern CustomerActionName_SNOOZE :: CustomerActionName
- newtype ErrorCode where
- ErrorCode' { }
- pattern ErrorCode_InternalFailureException :: ErrorCode
- pattern ErrorCode_InvalidRequestException :: ErrorCode
- pattern ErrorCode_ResourceNotFoundException :: ErrorCode
- pattern ErrorCode_ServiceUnavailableException :: ErrorCode
- pattern ErrorCode_ThrottlingException :: ErrorCode
- newtype EventType where
- EventType' { }
- pattern EventType_STATE_CHANGE :: EventType
- newtype TriggerType where
- TriggerType' { }
- pattern TriggerType_SNOOZE_TIMEOUT :: TriggerType
- data AcknowledgeActionConfiguration = AcknowledgeActionConfiguration' (Maybe Text)
- newAcknowledgeActionConfiguration :: AcknowledgeActionConfiguration
- data AcknowledgeAlarmActionRequest = AcknowledgeAlarmActionRequest' (Maybe Text) (Maybe Text) Text Text
- newAcknowledgeAlarmActionRequest :: Text -> Text -> AcknowledgeAlarmActionRequest
- data Alarm = Alarm' (Maybe Text) (Maybe Text) (Maybe AlarmState) (Maybe POSIX) (Maybe Text) (Maybe POSIX) (Maybe Natural)
- newAlarm :: Alarm
- data AlarmState = AlarmState' (Maybe CustomerAction) (Maybe RuleEvaluation) (Maybe AlarmStateName) (Maybe SystemEvent)
- newAlarmState :: AlarmState
- data AlarmSummary = AlarmSummary' (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe POSIX) (Maybe AlarmStateName)
- newAlarmSummary :: AlarmSummary
- data BatchAlarmActionErrorEntry = BatchAlarmActionErrorEntry' (Maybe ErrorCode) (Maybe Text) (Maybe Text)
- newBatchAlarmActionErrorEntry :: BatchAlarmActionErrorEntry
- data BatchDeleteDetectorErrorEntry = BatchDeleteDetectorErrorEntry' (Maybe ErrorCode) (Maybe Text) (Maybe Text)
- newBatchDeleteDetectorErrorEntry :: BatchDeleteDetectorErrorEntry
- data BatchPutMessageErrorEntry = BatchPutMessageErrorEntry' (Maybe ErrorCode) (Maybe Text) (Maybe Text)
- newBatchPutMessageErrorEntry :: BatchPutMessageErrorEntry
- data BatchUpdateDetectorErrorEntry = BatchUpdateDetectorErrorEntry' (Maybe ErrorCode) (Maybe Text) (Maybe Text)
- newBatchUpdateDetectorErrorEntry :: BatchUpdateDetectorErrorEntry
- data CustomerAction = CustomerAction' (Maybe AcknowledgeActionConfiguration) (Maybe CustomerActionName) (Maybe DisableActionConfiguration) (Maybe EnableActionConfiguration) (Maybe ResetActionConfiguration) (Maybe SnoozeActionConfiguration)
- newCustomerAction :: CustomerAction
- data DeleteDetectorRequest = DeleteDetectorRequest' (Maybe Text) Text Text
- newDeleteDetectorRequest :: Text -> Text -> DeleteDetectorRequest
- data Detector = Detector' (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe DetectorState)
- newDetector :: Detector
- data DetectorState = DetectorState' Text [Variable] [Timer]
- newDetectorState :: Text -> DetectorState
- data DetectorStateDefinition = DetectorStateDefinition' Text [VariableDefinition] [TimerDefinition]
- newDetectorStateDefinition :: Text -> DetectorStateDefinition
- data DetectorStateSummary = DetectorStateSummary' (Maybe Text)
- newDetectorStateSummary :: DetectorStateSummary
- data DetectorSummary = DetectorSummary' (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe DetectorStateSummary)
- newDetectorSummary :: DetectorSummary
- data DisableActionConfiguration = DisableActionConfiguration' (Maybe Text)
- newDisableActionConfiguration :: DisableActionConfiguration
- data DisableAlarmActionRequest = DisableAlarmActionRequest' (Maybe Text) (Maybe Text) Text Text
- newDisableAlarmActionRequest :: Text -> Text -> DisableAlarmActionRequest
- data EnableActionConfiguration = EnableActionConfiguration' (Maybe Text)
- newEnableActionConfiguration :: EnableActionConfiguration
- data EnableAlarmActionRequest = EnableAlarmActionRequest' (Maybe Text) (Maybe Text) Text Text
- newEnableAlarmActionRequest :: Text -> Text -> EnableAlarmActionRequest
- data Message = Message' (Maybe TimestampValue) Text Text Base64
- newMessage :: Text -> Text -> ByteString -> Message
- data ResetActionConfiguration = ResetActionConfiguration' (Maybe Text)
- newResetActionConfiguration :: ResetActionConfiguration
- data ResetAlarmActionRequest = ResetAlarmActionRequest' (Maybe Text) (Maybe Text) Text Text
- newResetAlarmActionRequest :: Text -> Text -> ResetAlarmActionRequest
- data RuleEvaluation = RuleEvaluation' (Maybe SimpleRuleEvaluation)
- newRuleEvaluation :: RuleEvaluation
- data SimpleRuleEvaluation = SimpleRuleEvaluation' (Maybe Text) (Maybe ComparisonOperator) (Maybe Text)
- newSimpleRuleEvaluation :: SimpleRuleEvaluation
- data SnoozeActionConfiguration = SnoozeActionConfiguration' (Maybe Text) (Maybe Int)
- newSnoozeActionConfiguration :: SnoozeActionConfiguration
- data SnoozeAlarmActionRequest = SnoozeAlarmActionRequest' (Maybe Text) (Maybe Text) Text Text Int
- newSnoozeAlarmActionRequest :: Text -> Text -> Int -> SnoozeAlarmActionRequest
- data StateChangeConfiguration = StateChangeConfiguration' (Maybe TriggerType)
- newStateChangeConfiguration :: StateChangeConfiguration
- data SystemEvent = SystemEvent' (Maybe EventType) (Maybe StateChangeConfiguration)
- newSystemEvent :: SystemEvent
- data Timer = Timer' Text POSIX
- newTimer :: Text -> UTCTime -> Timer
- data TimerDefinition = TimerDefinition' Text Int
- newTimerDefinition :: Text -> Int -> TimerDefinition
- data TimestampValue = TimestampValue' (Maybe Natural)
- newTimestampValue :: TimestampValue
- data UpdateDetectorRequest = UpdateDetectorRequest' (Maybe Text) Text Text DetectorStateDefinition
- newUpdateDetectorRequest :: Text -> Text -> DetectorStateDefinition -> UpdateDetectorRequest
- data Variable = Variable' Text Text
- newVariable :: Text -> Text -> Variable
- data VariableDefinition = VariableDefinition' Text Text
- newVariableDefinition :: Text -> Text -> VariableDefinition
Service Configuration
defaultService :: Service Source #
API version 2018-10-23 of the Amazon IoT Events Data SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by IoTEventsData.
InternalFailureException
_InternalFailureException :: AsError a => Fold a ServiceError Source #
An internal failure occurred.
InvalidRequestException
_InvalidRequestException :: AsError a => Fold a ServiceError Source #
The request was invalid.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
The resource was not found.
ServiceUnavailableException
_ServiceUnavailableException :: AsError a => Fold a ServiceError Source #
The service is currently unavailable.
ThrottlingException
_ThrottlingException :: AsError a => Fold a ServiceError Source #
The request could not be completed due to throttling.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait specification is fulfilled. The Wait specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
BatchAcknowledgeAlarm
data BatchAcknowledgeAlarm Source #
See: newBatchAcknowledgeAlarm smart constructor.
Constructors
| BatchAcknowledgeAlarm' (NonEmpty AcknowledgeAlarmActionRequest) |
Instances
newBatchAcknowledgeAlarm Source #
Arguments
| :: NonEmpty AcknowledgeAlarmActionRequest | |
| -> BatchAcknowledgeAlarm |
Create a value of BatchAcknowledgeAlarm 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:acknowledgeActionRequests:BatchAcknowledgeAlarm', batchAcknowledgeAlarm_acknowledgeActionRequests - The list of acknowledge action requests. You can specify up to 10
requests per operation.
data BatchAcknowledgeAlarmResponse Source #
See: newBatchAcknowledgeAlarmResponse smart constructor.
Constructors
| BatchAcknowledgeAlarmResponse' (Maybe [BatchAlarmActionErrorEntry]) Int |
Instances
newBatchAcknowledgeAlarmResponse Source #
Create a value of BatchAcknowledgeAlarmResponse 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:errorEntries:BatchAcknowledgeAlarmResponse', batchAcknowledgeAlarmResponse_errorEntries - A list of errors associated with the request, or null if there are no
errors. Each error entry contains an entry ID that helps you identify
the entry that failed.
$sel:httpStatus:BatchAcknowledgeAlarmResponse', batchAcknowledgeAlarmResponse_httpStatus - The response's http status code.
BatchDeleteDetector
data BatchDeleteDetector Source #
See: newBatchDeleteDetector smart constructor.
Constructors
| BatchDeleteDetector' (NonEmpty DeleteDetectorRequest) |
Instances
newBatchDeleteDetector Source #
Create a value of BatchDeleteDetector 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:detectors:BatchDeleteDetector', batchDeleteDetector_detectors - The list of one or more detectors to be deleted.
data BatchDeleteDetectorResponse Source #
See: newBatchDeleteDetectorResponse smart constructor.
Constructors
| BatchDeleteDetectorResponse' (Maybe [BatchDeleteDetectorErrorEntry]) Int |
Instances
newBatchDeleteDetectorResponse Source #
Create a value of BatchDeleteDetectorResponse 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:batchDeleteDetectorErrorEntries:BatchDeleteDetectorResponse', batchDeleteDetectorResponse_batchDeleteDetectorErrorEntries - A list of errors associated with the request, or an empty array ([])
if there are no errors. Each error entry contains a messageId that
helps you identify the entry that failed.
$sel:httpStatus:BatchDeleteDetectorResponse', batchDeleteDetectorResponse_httpStatus - The response's http status code.
BatchDisableAlarm
data BatchDisableAlarm Source #
See: newBatchDisableAlarm smart constructor.
Constructors
| BatchDisableAlarm' (NonEmpty DisableAlarmActionRequest) |
Instances
Arguments
| :: NonEmpty DisableAlarmActionRequest | |
| -> BatchDisableAlarm |
Create a value of BatchDisableAlarm 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:disableActionRequests:BatchDisableAlarm', batchDisableAlarm_disableActionRequests - The list of disable action requests. You can specify up to 10 requests
per operation.
data BatchDisableAlarmResponse Source #
See: newBatchDisableAlarmResponse smart constructor.
Constructors
| BatchDisableAlarmResponse' (Maybe [BatchAlarmActionErrorEntry]) Int |
Instances
newBatchDisableAlarmResponse Source #
Create a value of BatchDisableAlarmResponse 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:errorEntries:BatchDisableAlarmResponse', batchDisableAlarmResponse_errorEntries - A list of errors associated with the request, or null if there are no
errors. Each error entry contains an entry ID that helps you identify
the entry that failed.
$sel:httpStatus:BatchDisableAlarmResponse', batchDisableAlarmResponse_httpStatus - The response's http status code.
BatchEnableAlarm
data BatchEnableAlarm Source #
See: newBatchEnableAlarm smart constructor.
Constructors
| BatchEnableAlarm' (NonEmpty EnableAlarmActionRequest) |
Instances
Arguments
| :: NonEmpty EnableAlarmActionRequest | |
| -> BatchEnableAlarm |
Create a value of BatchEnableAlarm 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:enableActionRequests:BatchEnableAlarm', batchEnableAlarm_enableActionRequests - The list of enable action requests. You can specify up to 10 requests
per operation.
data BatchEnableAlarmResponse Source #
See: newBatchEnableAlarmResponse smart constructor.
Constructors
| BatchEnableAlarmResponse' (Maybe [BatchAlarmActionErrorEntry]) Int |
Instances
newBatchEnableAlarmResponse Source #
Create a value of BatchEnableAlarmResponse 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:errorEntries:BatchEnableAlarmResponse', batchEnableAlarmResponse_errorEntries - A list of errors associated with the request, or null if there are no
errors. Each error entry contains an entry ID that helps you identify
the entry that failed.
$sel:httpStatus:BatchEnableAlarmResponse', batchEnableAlarmResponse_httpStatus - The response's http status code.
BatchPutMessage
data BatchPutMessage Source #
See: newBatchPutMessage smart constructor.
Constructors
| BatchPutMessage' (NonEmpty Message) |
Instances
Arguments
| :: NonEmpty Message | |
| -> BatchPutMessage |
Create a value of BatchPutMessage 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:messages:BatchPutMessage', batchPutMessage_messages - The list of messages to send. Each message has the following format:
'{ "messageId": "string", "inputName": "string", "payload": "string"}'
data BatchPutMessageResponse Source #
See: newBatchPutMessageResponse smart constructor.
Constructors
| BatchPutMessageResponse' (Maybe [BatchPutMessageErrorEntry]) Int |
Instances
newBatchPutMessageResponse Source #
Create a value of BatchPutMessageResponse 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:batchPutMessageErrorEntries:BatchPutMessageResponse', batchPutMessageResponse_batchPutMessageErrorEntries - A list of any errors encountered when sending the messages.
$sel:httpStatus:BatchPutMessageResponse', batchPutMessageResponse_httpStatus - The response's http status code.
BatchResetAlarm
data BatchResetAlarm Source #
See: newBatchResetAlarm smart constructor.
Constructors
| BatchResetAlarm' (NonEmpty ResetAlarmActionRequest) |
Instances
Arguments
| :: NonEmpty ResetAlarmActionRequest | |
| -> BatchResetAlarm |
Create a value of BatchResetAlarm 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:resetActionRequests:BatchResetAlarm', batchResetAlarm_resetActionRequests - The list of reset action requests. You can specify up to 10 requests per
operation.
data BatchResetAlarmResponse Source #
See: newBatchResetAlarmResponse smart constructor.
Constructors
| BatchResetAlarmResponse' (Maybe [BatchAlarmActionErrorEntry]) Int |
Instances
newBatchResetAlarmResponse Source #
Create a value of BatchResetAlarmResponse 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:errorEntries:BatchResetAlarmResponse', batchResetAlarmResponse_errorEntries - A list of errors associated with the request, or null if there are no
errors. Each error entry contains an entry ID that helps you identify
the entry that failed.
$sel:httpStatus:BatchResetAlarmResponse', batchResetAlarmResponse_httpStatus - The response's http status code.
BatchSnoozeAlarm
data BatchSnoozeAlarm Source #
See: newBatchSnoozeAlarm smart constructor.
Constructors
| BatchSnoozeAlarm' (NonEmpty SnoozeAlarmActionRequest) |
Instances
Arguments
| :: NonEmpty SnoozeAlarmActionRequest | |
| -> BatchSnoozeAlarm |
Create a value of BatchSnoozeAlarm 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:snoozeActionRequests:BatchSnoozeAlarm', batchSnoozeAlarm_snoozeActionRequests - The list of snooze action requests. You can specify up to 10 requests
per operation.
data BatchSnoozeAlarmResponse Source #
See: newBatchSnoozeAlarmResponse smart constructor.
Constructors
| BatchSnoozeAlarmResponse' (Maybe [BatchAlarmActionErrorEntry]) Int |
Instances
newBatchSnoozeAlarmResponse Source #
Create a value of BatchSnoozeAlarmResponse 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:errorEntries:BatchSnoozeAlarmResponse', batchSnoozeAlarmResponse_errorEntries - A list of errors associated with the request, or null if there are no
errors. Each error entry contains an entry ID that helps you identify
the entry that failed.
$sel:httpStatus:BatchSnoozeAlarmResponse', batchSnoozeAlarmResponse_httpStatus - The response's http status code.
BatchUpdateDetector
data BatchUpdateDetector Source #
See: newBatchUpdateDetector smart constructor.
Constructors
| BatchUpdateDetector' (NonEmpty UpdateDetectorRequest) |
Instances
newBatchUpdateDetector Source #
Create a value of BatchUpdateDetector 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:detectors:BatchUpdateDetector', batchUpdateDetector_detectors - The list of detectors (instances) to update, along with the values to
update.
data BatchUpdateDetectorResponse Source #
See: newBatchUpdateDetectorResponse smart constructor.
Constructors
| BatchUpdateDetectorResponse' (Maybe [BatchUpdateDetectorErrorEntry]) Int |
Instances
newBatchUpdateDetectorResponse Source #
Create a value of BatchUpdateDetectorResponse 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:batchUpdateDetectorErrorEntries:BatchUpdateDetectorResponse', batchUpdateDetectorResponse_batchUpdateDetectorErrorEntries - A list of those detector updates that resulted in errors. (If an error
is listed here, the specific update did not occur.)
$sel:httpStatus:BatchUpdateDetectorResponse', batchUpdateDetectorResponse_httpStatus - The response's http status code.
DescribeAlarm
data DescribeAlarm Source #
See: newDescribeAlarm smart constructor.
Constructors
| DescribeAlarm' (Maybe Text) Text |
Instances
Arguments
| :: Text | |
| -> DescribeAlarm |
Create a value of DescribeAlarm 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:
DescribeAlarm, describeAlarm_keyValue - The value of the key used as a filter to select only the alarms
associated with the
key.
DescribeAlarm, describeAlarm_alarmModelName - The name of the alarm model.
data DescribeAlarmResponse Source #
See: newDescribeAlarmResponse smart constructor.
Constructors
| DescribeAlarmResponse' (Maybe Alarm) Int |
Instances
newDescribeAlarmResponse Source #
Create a value of DescribeAlarmResponse 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:alarm:DescribeAlarmResponse', describeAlarmResponse_alarm - Contains information about an alarm.
$sel:httpStatus:DescribeAlarmResponse', describeAlarmResponse_httpStatus - The response's http status code.
DescribeDetector
data DescribeDetector Source #
See: newDescribeDetector smart constructor.
Constructors
| DescribeDetector' (Maybe Text) Text |
Instances
Arguments
| :: Text | |
| -> DescribeDetector |
Create a value of DescribeDetector with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeDetector, describeDetector_keyValue - A filter used to limit results to detectors (instances) created because
of the given key ID.
DescribeDetector, describeDetector_detectorModelName - The name of the detector model whose detectors (instances) you want
information about.
data DescribeDetectorResponse Source #
See: newDescribeDetectorResponse smart constructor.
Constructors
| DescribeDetectorResponse' (Maybe Detector) Int |
Instances
newDescribeDetectorResponse Source #
Create a value of DescribeDetectorResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:detector:DescribeDetectorResponse', describeDetectorResponse_detector - Information about the detector (instance).
$sel:httpStatus:DescribeDetectorResponse', describeDetectorResponse_httpStatus - The response's http status code.
ListAlarms
data ListAlarms Source #
See: newListAlarms smart constructor.
Instances
Arguments
| :: Text | |
| -> ListAlarms |
Create a value of ListAlarms 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:maxResults:ListAlarms', listAlarms_maxResults - The maximum number of results to be returned per request.
ListAlarms, listAlarms_nextToken - The token that you can use to return the next set of results.
ListAlarms, listAlarms_alarmModelName - The name of the alarm model.
data ListAlarmsResponse Source #
See: newListAlarmsResponse smart constructor.
Constructors
| ListAlarmsResponse' (Maybe [AlarmSummary]) (Maybe Text) Int |
Instances
newListAlarmsResponse Source #
Arguments
| :: Int | |
| -> ListAlarmsResponse |
Create a value of ListAlarmsResponse 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:alarmSummaries:ListAlarmsResponse', listAlarmsResponse_alarmSummaries - A list that summarizes each alarm.
ListAlarms, listAlarmsResponse_nextToken - The token that you can use to return the next set of results, or null
if there are no more results.
$sel:httpStatus:ListAlarmsResponse', listAlarmsResponse_httpStatus - The response's http status code.
ListDetectors
data ListDetectors Source #
See: newListDetectors smart constructor.
Instances
Arguments
| :: Text | |
| -> ListDetectors |
Create a value of ListDetectors 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:maxResults:ListDetectors', listDetectors_maxResults - The maximum number of results to be returned per request.
ListDetectors, listDetectors_nextToken - The token that you can use to return the next set of results.
ListDetectors, listDetectors_stateName - A filter that limits results to those detectors (instances) in the given
state.
ListDetectors, listDetectors_detectorModelName - The name of the detector model whose detectors (instances) are listed.
data ListDetectorsResponse Source #
See: newListDetectorsResponse smart constructor.
Constructors
| ListDetectorsResponse' (Maybe [DetectorSummary]) (Maybe Text) Int |
Instances
newListDetectorsResponse Source #
Create a value of ListDetectorsResponse 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:detectorSummaries:ListDetectorsResponse', listDetectorsResponse_detectorSummaries - A list of summary information about the detectors (instances).
ListDetectors, listDetectorsResponse_nextToken - The token that you can use to return the next set of results, or null
if there are no more results.
$sel:httpStatus:ListDetectorsResponse', listDetectorsResponse_httpStatus - The response's http status code.
Types
AlarmStateName
newtype AlarmStateName Source #
Constructors
| AlarmStateName' | |
Fields | |
Bundled Patterns
| pattern AlarmStateName_ACKNOWLEDGED :: AlarmStateName | |
| pattern AlarmStateName_ACTIVE :: AlarmStateName | |
| pattern AlarmStateName_DISABLED :: AlarmStateName | |
| pattern AlarmStateName_LATCHED :: AlarmStateName | |
| pattern AlarmStateName_NORMAL :: AlarmStateName | |
| pattern AlarmStateName_SNOOZE_DISABLED :: AlarmStateName |
Instances
ComparisonOperator
newtype ComparisonOperator Source #
Constructors
| ComparisonOperator' | |
Fields | |
Bundled Patterns
| pattern ComparisonOperator_EQUAL :: ComparisonOperator | |
| pattern ComparisonOperator_GREATER :: ComparisonOperator | |
| pattern ComparisonOperator_GREATER_OR_EQUAL :: ComparisonOperator | |
| pattern ComparisonOperator_LESS :: ComparisonOperator | |
| pattern ComparisonOperator_LESS_OR_EQUAL :: ComparisonOperator | |
| pattern ComparisonOperator_NOT_EQUAL :: ComparisonOperator |
Instances
CustomerActionName
newtype CustomerActionName Source #
Constructors
| CustomerActionName' | |
Fields | |
Bundled Patterns
| pattern CustomerActionName_ACKNOWLEDGE :: CustomerActionName | |
| pattern CustomerActionName_DISABLE :: CustomerActionName | |
| pattern CustomerActionName_ENABLE :: CustomerActionName | |
| pattern CustomerActionName_RESET :: CustomerActionName | |
| pattern CustomerActionName_SNOOZE :: CustomerActionName |
Instances
ErrorCode
Constructors
| ErrorCode' | |
Fields | |
Bundled Patterns
| pattern ErrorCode_InternalFailureException :: ErrorCode | |
| pattern ErrorCode_InvalidRequestException :: ErrorCode | |
| pattern ErrorCode_ResourceNotFoundException :: ErrorCode | |
| pattern ErrorCode_ServiceUnavailableException :: ErrorCode | |
| pattern ErrorCode_ThrottlingException :: ErrorCode |
Instances
EventType
Constructors
| EventType' | |
Fields | |
Bundled Patterns
| pattern EventType_STATE_CHANGE :: EventType |
Instances
TriggerType
newtype TriggerType Source #
Constructors
| TriggerType' | |
Fields | |
Bundled Patterns
| pattern TriggerType_SNOOZE_TIMEOUT :: TriggerType |
Instances
AcknowledgeActionConfiguration
data AcknowledgeActionConfiguration Source #
Contains the configuration information of an acknowledge action.
See: newAcknowledgeActionConfiguration smart constructor.
Constructors
| AcknowledgeActionConfiguration' (Maybe Text) |
Instances
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.
AcknowledgeAlarmActionRequest
data AcknowledgeAlarmActionRequest Source #
Information needed to acknowledge the alarm.
See: newAcknowledgeAlarmActionRequest smart constructor.
Instances
newAcknowledgeAlarmActionRequest Source #
Arguments
| :: Text | |
| -> Text | |
| -> AcknowledgeAlarmActionRequest |
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.
Alarm
Contains information about an alarm.
See: newAlarm smart constructor.
Constructors
| Alarm' (Maybe Text) (Maybe Text) (Maybe AlarmState) (Maybe POSIX) (Maybe Text) (Maybe POSIX) (Maybe Natural) |
Instances
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.
AlarmState
data AlarmState Source #
Contains information about the current state of the alarm.
See: newAlarmState smart constructor.
Constructors
| AlarmState' (Maybe CustomerAction) (Maybe RuleEvaluation) (Maybe AlarmStateName) (Maybe SystemEvent) |
Instances
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 theDISABLEDstate, it isn't ready to evaluate data. To enable the alarm, you must change the alarm to theNORMALstate.NORMAL- When the alarm is in theNORMALstate, it's ready to evaluate data.ACTIVE- If the alarm is in theACTIVEstate, the alarm is invoked.ACKNOWLEDGED- When the alarm is in theACKNOWLEDGEDstate, the alarm was invoked and you acknowledged the alarm.SNOOZE_DISABLED- When the alarm is in theSNOOZE_DISABLEDstate, the alarm is disabled for a specified period of time. After the snooze time, the alarm automatically changes to theNORMALstate.LATCHED- When the alarm is in theLATCHEDstate, the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. To change the alarm to theNORMALstate, you must acknowledge the alarm.
$sel:systemEvent:AlarmState', alarmState_systemEvent - Contains information about alarm state changes.
AlarmSummary
data AlarmSummary Source #
Contains a summary of an alarm.
See: newAlarmSummary smart constructor.
Constructors
| AlarmSummary' (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe POSIX) (Maybe AlarmStateName) |
Instances
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 theDISABLEDstate, it isn't ready to evaluate data. To enable the alarm, you must change the alarm to theNORMALstate.NORMAL- When the alarm is in theNORMALstate, it's ready to evaluate data.ACTIVE- If the alarm is in theACTIVEstate, the alarm is invoked.ACKNOWLEDGED- When the alarm is in theACKNOWLEDGEDstate, the alarm was invoked and you acknowledged the alarm.SNOOZE_DISABLED- When the alarm is in theSNOOZE_DISABLEDstate, the alarm is disabled for a specified period of time. After the snooze time, the alarm automatically changes to theNORMALstate.LATCHED- When the alarm is in theLATCHEDstate, the alarm was invoked. However, the data that the alarm is currently evaluating is within the specified range. To change the alarm to theNORMALstate, you must acknowledge the alarm.
BatchAlarmActionErrorEntry
data BatchAlarmActionErrorEntry Source #
Contains error messages associated with one of the following requests:
See: newBatchAlarmActionErrorEntry smart constructor.
Instances
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.
BatchDeleteDetectorErrorEntry
data BatchDeleteDetectorErrorEntry Source #
Contains error messages associated with the deletion request.
See: newBatchDeleteDetectorErrorEntry smart constructor.
Instances
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.)
BatchPutMessageErrorEntry
data BatchPutMessageErrorEntry Source #
Contains information about the errors encountered.
See: newBatchPutMessageErrorEntry smart constructor.
Instances
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.)
BatchUpdateDetectorErrorEntry
data BatchUpdateDetectorErrorEntry Source #
Information about the error that occurred when attempting to update a detector.
See: newBatchUpdateDetectorErrorEntry smart constructor.
Instances
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.)
CustomerAction
data CustomerAction Source #
Contains information about the action that you can take to respond to the alarm.
See: newCustomerAction smart constructor.
Constructors
Instances
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 toSNOOZE_DISABLED.ENABLE- When you enable the alarm, the alarm state changes toNORMAL.DISABLE- When you disable the alarm, the alarm state changes toDISABLED.ACKNOWLEDGE- When you acknowledge the alarm, the alarm state changes toACKNOWLEDGED.RESET- When you reset the alarm, the alarm state changes toNORMAL.
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.
DeleteDetectorRequest
data DeleteDetectorRequest Source #
Information used to delete the detector model.
See: newDeleteDetectorRequest smart constructor.
Constructors
| DeleteDetectorRequest' (Maybe Text) Text Text |
Instances
newDeleteDetectorRequest Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteDetectorRequest |
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.
Detector
Information about the detector (instance).
See: newDetector smart constructor.
Constructors
| Detector' (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe DetectorState) |
Instances
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).
DetectorState
data DetectorState Source #
Information about the current state of the detector instance.
See: newDetectorState smart constructor.
Constructors
| DetectorState' Text [Variable] [Timer] |
Instances
Arguments
| :: Text | |
| -> DetectorState |
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.
DetectorStateDefinition
data DetectorStateDefinition Source #
The new state, variable values, and timer settings of the detector (instance).
See: newDetectorStateDefinition smart constructor.
Constructors
| DetectorStateDefinition' Text [VariableDefinition] [TimerDefinition] |
Instances
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.
DetectorStateSummary
data DetectorStateSummary Source #
Information about the detector state.
See: newDetectorStateSummary smart constructor.
Constructors
| DetectorStateSummary' (Maybe Text) |
Instances
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' (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe DetectorStateSummary) |
Instances
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).
DisableActionConfiguration
data DisableActionConfiguration Source #
Contains the configuration information of a disable action.
See: newDisableActionConfiguration smart constructor.
Constructors
| DisableActionConfiguration' (Maybe Text) |
Instances
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.
DisableAlarmActionRequest
data DisableAlarmActionRequest Source #
Information used to disable the alarm.
See: newDisableAlarmActionRequest smart constructor.
Instances
newDisableAlarmActionRequest Source #
Arguments
| :: Text | |
| -> Text | |
| -> DisableAlarmActionRequest |
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.
EnableActionConfiguration
data EnableActionConfiguration Source #
Contains the configuration information of an enable action.
See: newEnableActionConfiguration smart constructor.
Constructors
| EnableActionConfiguration' (Maybe Text) |
Instances
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.
EnableAlarmActionRequest
data EnableAlarmActionRequest Source #
Information needed to enable the alarm.
See: newEnableAlarmActionRequest smart constructor.
Instances
newEnableAlarmActionRequest Source #
Arguments
| :: Text | |
| -> Text | |
| -> EnableAlarmActionRequest |
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.
Message
Information about a message.
See: newMessage smart constructor.
Instances
Arguments
| :: Text | |
| -> Text | |
| -> ByteString | |
| -> Message |
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.
ResetActionConfiguration
data ResetActionConfiguration Source #
Contains the configuration information of a reset action.
See: newResetActionConfiguration smart constructor.
Constructors
| ResetActionConfiguration' (Maybe Text) |
Instances
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.
ResetAlarmActionRequest
data ResetAlarmActionRequest Source #
Information needed to reset the alarm.
See: newResetAlarmActionRequest smart constructor.
Instances
newResetAlarmActionRequest Source #
Arguments
| :: Text | |
| -> Text | |
| -> ResetAlarmActionRequest |
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.
RuleEvaluation
data RuleEvaluation Source #
Information needed to evaluate data.
See: newRuleEvaluation smart constructor.
Constructors
| RuleEvaluation' (Maybe SimpleRuleEvaluation) |
Instances
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.
SimpleRuleEvaluation
data SimpleRuleEvaluation Source #
Information needed to compare two values with a comparison operator.
See: newSimpleRuleEvaluation smart constructor.
Constructors
| SimpleRuleEvaluation' (Maybe Text) (Maybe ComparisonOperator) (Maybe Text) |
Instances
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.
SnoozeActionConfiguration
data SnoozeActionConfiguration Source #
Contains the configuration information of a snooze action.
See: newSnoozeActionConfiguration smart constructor.
Constructors
| SnoozeActionConfiguration' (Maybe Text) (Maybe Int) |
Instances
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.
SnoozeAlarmActionRequest
data SnoozeAlarmActionRequest Source #
Information needed to snooze the alarm.
See: newSnoozeAlarmActionRequest smart constructor.
Instances
newSnoozeAlarmActionRequest Source #
Arguments
| :: Text | |
| -> Text | |
| -> Int | |
| -> SnoozeAlarmActionRequest |
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.
StateChangeConfiguration
data StateChangeConfiguration Source #
Contains the configuration information of alarm state changes.
See: newStateChangeConfiguration smart constructor.
Constructors
| StateChangeConfiguration' (Maybe TriggerType) |
Instances
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.
SystemEvent
data SystemEvent Source #
Contains information about alarm state changes.
See: newSystemEvent smart constructor.
Constructors
| SystemEvent' (Maybe EventType) (Maybe StateChangeConfiguration) |
Instances
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.
Timer
The current state of a timer.
See: newTimer smart constructor.
Instances
| FromJSON Timer Source # | |
| Generic Timer Source # | |
| Read Timer Source # | |
| Show Timer Source # | |
| NFData Timer Source # | |
Defined in Amazonka.IoTEventsData.Types.Timer | |
| Eq Timer Source # | |
| Hashable Timer Source # | |
Defined in Amazonka.IoTEventsData.Types.Timer | |
| type Rep Timer Source # | |
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))) | |
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.
TimerDefinition
data TimerDefinition Source #
The new setting of a timer.
See: newTimerDefinition smart constructor.
Constructors
| TimerDefinition' Text Int |
Instances
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).
TimestampValue
data TimestampValue Source #
Contains information about a timestamp.
See: newTimestampValue smart constructor.
Constructors
| TimestampValue' (Maybe Natural) |
Instances
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.
UpdateDetectorRequest
data UpdateDetectorRequest Source #
Information used to update the detector (instance).
See: newUpdateDetectorRequest smart constructor.
Constructors
| UpdateDetectorRequest' (Maybe Text) Text Text DetectorStateDefinition |
Instances
newUpdateDetectorRequest Source #
Arguments
| :: Text | |
| -> Text | |
| -> DetectorStateDefinition | |
| -> UpdateDetectorRequest |
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).
Variable
The current state of the variable.
See: newVariable smart constructor.
Instances
| FromJSON Variable Source # | |
| Generic Variable Source # | |
| Read Variable Source # | |
| Show Variable Source # | |
| NFData Variable Source # | |
Defined in Amazonka.IoTEventsData.Types.Variable | |
| Eq Variable Source # | |
| Hashable Variable Source # | |
Defined in Amazonka.IoTEventsData.Types.Variable | |
| type Rep Variable Source # | |
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))) | |
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.
VariableDefinition
data VariableDefinition Source #
The new value of the variable.
See: newVariableDefinition smart constructor.
Constructors
| VariableDefinition' Text Text |
Instances
newVariableDefinition Source #
Arguments
| :: Text | |
| -> Text | |
| -> VariableDefinition |
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.