{ "version": "2.0", "metadata": { "apiVersion": "2018-10-23", "endpointPrefix": "data.iotevents", "protocol": "rest-json", "serviceFullName": "AWS IoT Events Data", "serviceId": "IoT Events Data", "signatureVersion": "v4", "signingName": "ioteventsdata", "uid": "iotevents-data-2018-10-23" }, "operations": { "BatchAcknowledgeAlarm": { "name": "BatchAcknowledgeAlarm", "http": { "method": "POST", "requestUri": "/alarms/acknowledge", "responseCode": 202 }, "input": { "shape": "BatchAcknowledgeAlarmRequest" }, "output": { "shape": "BatchAcknowledgeAlarmResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "InternalFailureException" }, { "shape": "ServiceUnavailableException" }, { "shape": "ThrottlingException" } ], "documentation": "
Acknowledges one or more alarms. The alarms change to the ACKNOWLEDGED
state after you acknowledge them.
Deletes one or more detectors that were created. When a detector is deleted, its state will be cleared and the detector will be removed from the list of detectors. The deleted detector will no longer appear if referenced in the ListDetectors API call.
" }, "BatchDisableAlarm": { "name": "BatchDisableAlarm", "http": { "method": "POST", "requestUri": "/alarms/disable", "responseCode": 202 }, "input": { "shape": "BatchDisableAlarmRequest" }, "output": { "shape": "BatchDisableAlarmResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "InternalFailureException" }, { "shape": "ServiceUnavailableException" }, { "shape": "ThrottlingException" } ], "documentation": "Disables one or more alarms. The alarms change to the DISABLED
state after you disable them.
Enables one or more alarms. The alarms change to the NORMAL
state after you enable them.
Sends a set of messages to the IoT Events system. Each message payload is transformed into the input you specify (\"inputName\"
) and ingested into any detectors that monitor that input. If multiple messages are sent, the order in which the messages are processed isn't guaranteed. To guarantee ordering, you must send messages one at a time and wait for a successful response.
Resets one or more alarms. The alarms return to the NORMAL
state after you reset them.
Changes one or more alarms to the snooze mode. The alarms change to the SNOOZE_DISABLED
state after you set them to the snooze mode.
Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model.
" }, "DescribeAlarm": { "name": "DescribeAlarm", "http": { "method": "GET", "requestUri": "/alarms/{alarmModelName}/keyValues/" }, "input": { "shape": "DescribeAlarmRequest" }, "output": { "shape": "DescribeAlarmResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Retrieves information about an alarm.
" }, "DescribeDetector": { "name": "DescribeDetector", "http": { "method": "GET", "requestUri": "/detectors/{detectorModelName}/keyValues/" }, "input": { "shape": "DescribeDetectorRequest" }, "output": { "shape": "DescribeDetectorResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Returns information about the specified detector (instance).
" }, "ListAlarms": { "name": "ListAlarms", "http": { "method": "GET", "requestUri": "/alarms/{alarmModelName}" }, "input": { "shape": "ListAlarmsRequest" }, "output": { "shape": "ListAlarmsResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Lists one or more alarms. The operation returns only the metadata associated with each alarm.
" }, "ListDetectors": { "name": "ListDetectors", "http": { "method": "GET", "requestUri": "/detectors/{detectorModelName}" }, "input": { "shape": "ListDetectorsRequest" }, "output": { "shape": "ListDetectorsResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "Lists detectors (the instances of a detector model).
" } }, "shapes": { "AcknowledgeActionConfiguration": { "type": "structure", "members": { "note": { "shape": "Note", "documentation": "The note that you can leave when you acknowledge the alarm.
" } }, "documentation": "Contains the configuration information of an acknowledge action.
" }, "AcknowledgeAlarmActionRequest": { "type": "structure", "required": [ "requestId", "alarmModelName" ], "members": { "requestId": { "shape": "RequestId", "documentation": "The request ID. Each ID must be unique within each batch.
" }, "alarmModelName": { "shape": "AlarmModelName", "documentation": "The name of the alarm model.
" }, "keyValue": { "shape": "KeyValue", "documentation": "The value of the key used as a filter to select only the alarms associated with the key.
" }, "note": { "shape": "Note", "documentation": "The note that you can leave when you acknowledge the alarm.
" } }, "documentation": "Information needed to acknowledge the alarm.
" }, "AcknowledgeAlarmActionRequests": { "type": "list", "member": { "shape": "AcknowledgeAlarmActionRequest" }, "min": 1 }, "Alarm": { "type": "structure", "members": { "alarmModelName": { "shape": "AlarmModelName", "documentation": "The name of the alarm model.
" }, "alarmModelVersion": { "shape": "AlarmModelVersion", "documentation": "The version of the alarm model.
" }, "keyValue": { "shape": "KeyValue", "documentation": "The value of the key used as a filter to select only the alarms associated with the key.
" }, "alarmState": { "shape": "AlarmState", "documentation": "Contains information about the current state of the alarm.
" }, "severity": { "shape": "Severity", "documentation": "A non-negative integer that reflects the severity level of the alarm.
" }, "creationTime": { "shape": "Timestamp", "documentation": "The time the alarm was created, in the Unix epoch format.
" }, "lastUpdateTime": { "shape": "Timestamp", "documentation": "The time the alarm was last updated, in the Unix epoch format.
" } }, "documentation": "Contains information about an alarm.
" }, "AlarmModelName": { "type": "string", "max": 128, "min": 1, "pattern": "^[a-zA-Z0-9_-]+$" }, "AlarmModelVersion": { "type": "string", "max": 128, "min": 1 }, "AlarmState": { "type": "structure", "members": { "stateName": { "shape": "AlarmStateName", "documentation": "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.
Information needed to evaluate data.
" }, "customerAction": { "shape": "CustomerAction", "documentation": "Contains information about the action that you can take to respond to the alarm.
" }, "systemEvent": { "shape": "SystemEvent", "documentation": "Contains information about alarm state changes.
" } }, "documentation": "Contains information about the current state of the alarm.
" }, "AlarmStateName": { "type": "string", "enum": [ "DISABLED", "NORMAL", "ACTIVE", "ACKNOWLEDGED", "SNOOZE_DISABLED", "LATCHED" ] }, "AlarmSummaries": { "type": "list", "member": { "shape": "AlarmSummary" } }, "AlarmSummary": { "type": "structure", "members": { "alarmModelName": { "shape": "AlarmModelName", "documentation": "The name of the alarm model.
" }, "alarmModelVersion": { "shape": "AlarmModelVersion", "documentation": "The version of the alarm model.
" }, "keyValue": { "shape": "KeyValue", "documentation": "The value of the key used as a filter to select only the alarms associated with the key.
" }, "stateName": { "shape": "AlarmStateName", "documentation": "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.
The time the alarm was created, in the Unix epoch format.
" }, "lastUpdateTime": { "shape": "Timestamp", "documentation": "The time the alarm was last updated, in the Unix epoch format.
" } }, "documentation": "Contains a summary of an alarm.
" }, "BatchAcknowledgeAlarmRequest": { "type": "structure", "required": [ "acknowledgeActionRequests" ], "members": { "acknowledgeActionRequests": { "shape": "AcknowledgeAlarmActionRequests", "documentation": "The list of acknowledge action requests. You can specify up to 10 requests per operation.
" } } }, "BatchAcknowledgeAlarmResponse": { "type": "structure", "members": { "errorEntries": { "shape": "BatchAlarmActionErrorEntries", "documentation": "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.
The request ID. Each ID must be unique within each batch.
" }, "errorCode": { "shape": "ErrorCode", "documentation": "The error code.
" }, "errorMessage": { "shape": "ErrorMessage", "documentation": "A message that describes the error.
" } }, "documentation": "Contains error messages associated with one of the following requests:
" }, "BatchDeleteDetectorErrorEntries": { "type": "list", "member": { "shape": "BatchDeleteDetectorErrorEntry" } }, "BatchDeleteDetectorErrorEntry": { "type": "structure", "members": { "messageId": { "shape": "MessageId", "documentation": "The ID of the message that caused the error. (See the value of the \"messageId\"
in the detectors object of the DeleteDetectorRequest
.)
The error code.
" }, "errorMessage": { "shape": "ErrorMessage", "documentation": "A message that describes the error.
" } }, "documentation": "Contains error messages associated with the deletion request.
" }, "BatchDeleteDetectorRequest": { "type": "structure", "required": [ "detectors" ], "members": { "detectors": { "shape": "DeleteDetectorRequests", "documentation": "The list of one or more detectors to be deleted.
" } } }, "BatchDeleteDetectorResponse": { "type": "structure", "members": { "batchDeleteDetectorErrorEntries": { "shape": "BatchDeleteDetectorErrorEntries", "documentation": "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.
The list of disable action requests. You can specify up to 10 requests per operation.
" } } }, "BatchDisableAlarmResponse": { "type": "structure", "members": { "errorEntries": { "shape": "BatchAlarmActionErrorEntries", "documentation": "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.
The list of enable action requests. You can specify up to 10 requests per operation.
" } } }, "BatchEnableAlarmResponse": { "type": "structure", "members": { "errorEntries": { "shape": "BatchAlarmActionErrorEntries", "documentation": "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.
The ID of the message that caused the error. (See the value corresponding to the \"messageId\"
key in the \"message\"
object.)
The error code.
" }, "errorMessage": { "shape": "ErrorMessage", "documentation": "A message that describes the error.
" } }, "documentation": "Contains information about the errors encountered.
" }, "BatchPutMessageRequest": { "type": "structure", "required": [ "messages" ], "members": { "messages": { "shape": "Messages", "documentation": "The list of messages to send. Each message has the following format: '{ \"messageId\": \"string\", \"inputName\": \"string\", \"payload\": \"string\"}'
A list of any errors encountered when sending the messages.
" } } }, "BatchResetAlarmRequest": { "type": "structure", "required": [ "resetActionRequests" ], "members": { "resetActionRequests": { "shape": "ResetAlarmActionRequests", "documentation": "The list of reset action requests. You can specify up to 10 requests per operation.
" } } }, "BatchResetAlarmResponse": { "type": "structure", "members": { "errorEntries": { "shape": "BatchAlarmActionErrorEntries", "documentation": "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.
The list of snooze action requests. You can specify up to 10 requests per operation.
" } } }, "BatchSnoozeAlarmResponse": { "type": "structure", "members": { "errorEntries": { "shape": "BatchAlarmActionErrorEntries", "documentation": "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.
The \"messageId\"
of the update request that caused the error. (The value of the \"messageId\"
in the update request \"Detector\"
object.)
The error code.
" }, "errorMessage": { "shape": "ErrorMessage", "documentation": "A message that describes the error.
" } }, "documentation": "Information about the error that occurred when attempting to update a detector.
" }, "BatchUpdateDetectorRequest": { "type": "structure", "required": [ "detectors" ], "members": { "detectors": { "shape": "UpdateDetectorRequests", "documentation": "The list of detectors (instances) to update, along with the values to update.
" } } }, "BatchUpdateDetectorResponse": { "type": "structure", "members": { "batchUpdateDetectorErrorEntries": { "shape": "BatchUpdateDetectorErrorEntries", "documentation": "A list of those detector updates that resulted in errors. (If an error is listed here, the specific update did not occur.)
" } } }, "ComparisonOperator": { "type": "string", "enum": [ "GREATER", "GREATER_OR_EQUAL", "LESS", "LESS_OR_EQUAL", "EQUAL", "NOT_EQUAL" ] }, "CustomerAction": { "type": "structure", "members": { "actionName": { "shape": "CustomerActionName", "documentation": "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.
" }, "snoozeActionConfiguration": { "shape": "SnoozeActionConfiguration", "documentation": "Contains the configuration information of a snooze action.
" }, "enableActionConfiguration": { "shape": "EnableActionConfiguration", "documentation": "Contains the configuration information of an enable action.
" }, "disableActionConfiguration": { "shape": "DisableActionConfiguration", "documentation": "Contains the configuration information of a disable action.
" }, "acknowledgeActionConfiguration": { "shape": "AcknowledgeActionConfiguration", "documentation": "Contains the configuration information of an acknowledge action.
" }, "resetActionConfiguration": { "shape": "ResetActionConfiguration", "documentation": "Contains the configuration information of a reset action.
" } }, "documentation": "Contains information about the action that you can take to respond to the alarm.
" }, "CustomerActionName": { "type": "string", "enum": [ "SNOOZE", "ENABLE", "DISABLE", "ACKNOWLEDGE", "RESET" ] }, "DeleteDetectorRequest": { "type": "structure", "required": [ "messageId", "detectorModelName" ], "members": { "messageId": { "shape": "MessageId", "documentation": "The ID to assign to the DeleteDetectorRequest
. Each \"messageId\"
must be unique within each batch sent.
The name of the detector model that was used to create the detector instance.
" }, "keyValue": { "shape": "KeyValue", "documentation": "The value of the key used to identify the detector.
" } }, "documentation": "Information used to delete the detector model.
" }, "DeleteDetectorRequests": { "type": "list", "member": { "shape": "DeleteDetectorRequest" }, "min": 1 }, "DescribeAlarmRequest": { "type": "structure", "required": [ "alarmModelName" ], "members": { "alarmModelName": { "shape": "AlarmModelName", "documentation": "The name of the alarm model.
", "location": "uri", "locationName": "alarmModelName" }, "keyValue": { "shape": "KeyValue", "documentation": "The value of the key used as a filter to select only the alarms associated with the key.
", "location": "querystring", "locationName": "keyValue" } } }, "DescribeAlarmResponse": { "type": "structure", "members": { "alarm": { "shape": "Alarm", "documentation": "Contains information about an alarm.
" } } }, "DescribeDetectorRequest": { "type": "structure", "required": [ "detectorModelName" ], "members": { "detectorModelName": { "shape": "DetectorModelName", "documentation": "The name of the detector model whose detectors (instances) you want information about.
", "location": "uri", "locationName": "detectorModelName" }, "keyValue": { "shape": "KeyValue", "documentation": "A filter used to limit results to detectors (instances) created because of the given key ID.
", "location": "querystring", "locationName": "keyValue" } } }, "DescribeDetectorResponse": { "type": "structure", "members": { "detector": { "shape": "Detector", "documentation": "Information about the detector (instance).
" } } }, "Detector": { "type": "structure", "members": { "detectorModelName": { "shape": "DetectorModelName", "documentation": "The name of the detector model that created this detector (instance).
" }, "keyValue": { "shape": "KeyValue", "documentation": "The value of the key (identifying the device or system) that caused the creation of this detector (instance).
" }, "detectorModelVersion": { "shape": "DetectorModelVersion", "documentation": "The version of the detector model that created this detector (instance).
" }, "state": { "shape": "DetectorState", "documentation": "The current state of the detector (instance).
" }, "creationTime": { "shape": "Timestamp", "documentation": "The time the detector (instance) was created.
" }, "lastUpdateTime": { "shape": "Timestamp", "documentation": "The time the detector (instance) was last updated.
" } }, "documentation": "Information about the detector (instance).
" }, "DetectorModelName": { "type": "string", "max": 128, "min": 1, "pattern": "^[a-zA-Z0-9_-]+$" }, "DetectorModelVersion": { "type": "string", "max": 128, "min": 1 }, "DetectorState": { "type": "structure", "required": [ "stateName", "variables", "timers" ], "members": { "stateName": { "shape": "StateName", "documentation": "The name of the state.
" }, "variables": { "shape": "Variables", "documentation": "The current values of the detector's variables.
" }, "timers": { "shape": "Timers", "documentation": "The current state of the detector's timers.
" } }, "documentation": "Information about the current state of the detector instance.
" }, "DetectorStateDefinition": { "type": "structure", "required": [ "stateName", "variables", "timers" ], "members": { "stateName": { "shape": "StateName", "documentation": "The name of the new state of the detector (instance).
" }, "variables": { "shape": "VariableDefinitions", "documentation": "The new values of the detector's variables. Any variable whose value isn't specified is cleared.
" }, "timers": { "shape": "TimerDefinitions", "documentation": "The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.
" } }, "documentation": "The new state, variable values, and timer settings of the detector (instance).
" }, "DetectorStateSummary": { "type": "structure", "members": { "stateName": { "shape": "StateName", "documentation": "The name of the state.
" } }, "documentation": "Information about the detector state.
" }, "DetectorSummaries": { "type": "list", "member": { "shape": "DetectorSummary" } }, "DetectorSummary": { "type": "structure", "members": { "detectorModelName": { "shape": "DetectorModelName", "documentation": "The name of the detector model that created this detector (instance).
" }, "keyValue": { "shape": "KeyValue", "documentation": "The value of the key (identifying the device or system) that caused the creation of this detector (instance).
" }, "detectorModelVersion": { "shape": "DetectorModelVersion", "documentation": "The version of the detector model that created this detector (instance).
" }, "state": { "shape": "DetectorStateSummary", "documentation": "The current state of the detector (instance).
" }, "creationTime": { "shape": "Timestamp", "documentation": "The time the detector (instance) was created.
" }, "lastUpdateTime": { "shape": "Timestamp", "documentation": "The time the detector (instance) was last updated.
" } }, "documentation": "Information about the detector (instance).
" }, "DisableActionConfiguration": { "type": "structure", "members": { "note": { "shape": "Note", "documentation": "The note that you can leave when you disable the alarm.
" } }, "documentation": "Contains the configuration information of a disable action.
" }, "DisableAlarmActionRequest": { "type": "structure", "required": [ "requestId", "alarmModelName" ], "members": { "requestId": { "shape": "RequestId", "documentation": "The request ID. Each ID must be unique within each batch.
" }, "alarmModelName": { "shape": "AlarmModelName", "documentation": "The name of the alarm model.
" }, "keyValue": { "shape": "KeyValue", "documentation": "The value of the key used as a filter to select only the alarms associated with the key.
" }, "note": { "shape": "Note", "documentation": "The note that you can leave when you disable the alarm.
" } }, "documentation": "Information used to disable the alarm.
" }, "DisableAlarmActionRequests": { "type": "list", "member": { "shape": "DisableAlarmActionRequest" }, "min": 1 }, "EnableActionConfiguration": { "type": "structure", "members": { "note": { "shape": "Note", "documentation": "The note that you can leave when you enable the alarm.
" } }, "documentation": "Contains the configuration information of an enable action.
" }, "EnableAlarmActionRequest": { "type": "structure", "required": [ "requestId", "alarmModelName" ], "members": { "requestId": { "shape": "RequestId", "documentation": "The request ID. Each ID must be unique within each batch.
" }, "alarmModelName": { "shape": "AlarmModelName", "documentation": "The name of the alarm model.
" }, "keyValue": { "shape": "KeyValue", "documentation": "The value of the key used as a filter to select only the alarms associated with the key.
" }, "note": { "shape": "Note", "documentation": "The note that you can leave when you enable the alarm.
" } }, "documentation": "Information needed to enable the alarm.
" }, "EnableAlarmActionRequests": { "type": "list", "member": { "shape": "EnableAlarmActionRequest" }, "min": 1 }, "EphemeralInputName": { "type": "string", "max": 128, "min": 1, "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" }, "EpochMilliTimestamp": { "type": "long", "max": 9223372036854776000, "min": 1 }, "ErrorCode": { "type": "string", "enum": [ "ResourceNotFoundException", "InvalidRequestException", "InternalFailureException", "ServiceUnavailableException", "ThrottlingException" ] }, "ErrorMessage": { "type": "string" }, "EventType": { "type": "string", "enum": [ "STATE_CHANGE" ] }, "InputPropertyValue": { "type": "string" }, "KeyValue": { "type": "string", "max": 128, "min": 1, "pattern": "^[a-zA-Z0-9\\-_:]+$" }, "ListAlarmsRequest": { "type": "structure", "required": [ "alarmModelName" ], "members": { "alarmModelName": { "shape": "AlarmModelName", "documentation": "The name of the alarm model.
", "location": "uri", "locationName": "alarmModelName" }, "nextToken": { "shape": "NextToken", "documentation": "The token that you can use to return the next set of results.
", "location": "querystring", "locationName": "nextToken" }, "maxResults": { "shape": "MaxResults", "documentation": "The maximum number of results to be returned per request.
", "location": "querystring", "locationName": "maxResults" } } }, "ListAlarmsResponse": { "type": "structure", "members": { "alarmSummaries": { "shape": "AlarmSummaries", "documentation": "A list that summarizes each alarm.
" }, "nextToken": { "shape": "NextToken", "documentation": "The token that you can use to return the next set of results, or null
if there are no more results.
The name of the detector model whose detectors (instances) are listed.
", "location": "uri", "locationName": "detectorModelName" }, "stateName": { "shape": "StateName", "documentation": "A filter that limits results to those detectors (instances) in the given state.
", "location": "querystring", "locationName": "stateName" }, "nextToken": { "shape": "NextToken", "documentation": "The token that you can use to return the next set of results.
", "location": "querystring", "locationName": "nextToken" }, "maxResults": { "shape": "MaxResults", "documentation": "The maximum number of results to be returned per request.
", "location": "querystring", "locationName": "maxResults" } } }, "ListDetectorsResponse": { "type": "structure", "members": { "detectorSummaries": { "shape": "DetectorSummaries", "documentation": "A list of summary information about the detectors (instances).
" }, "nextToken": { "shape": "NextToken", "documentation": "The token that you can use to return the next set of results, or null
if there are no more results.
The ID to assign to the message. Within each batch sent, each \"messageId\"
must be unique.
The name of the input into which the message payload is transformed.
" }, "payload": { "shape": "Payload", "documentation": "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).
" }, "timestamp": { "shape": "TimestampValue", "documentation": "The timestamp associated with the message.
" } }, "documentation": "Information about a message.
" }, "MessageId": { "type": "string", "max": 64, "min": 1, "pattern": "^[a-zA-Z0-9_-]+$" }, "Messages": { "type": "list", "member": { "shape": "Message" }, "min": 1 }, "NextToken": { "type": "string" }, "Note": { "type": "string", "max": 256 }, "Payload": { "type": "blob" }, "RequestId": { "type": "string", "max": 64, "min": 1, "pattern": "^[a-zA-Z0-9_-]+$" }, "ResetActionConfiguration": { "type": "structure", "members": { "note": { "shape": "Note", "documentation": "The note that you can leave when you reset the alarm.
" } }, "documentation": "Contains the configuration information of a reset action.
" }, "ResetAlarmActionRequest": { "type": "structure", "required": [ "requestId", "alarmModelName" ], "members": { "requestId": { "shape": "RequestId", "documentation": "The request ID. Each ID must be unique within each batch.
" }, "alarmModelName": { "shape": "AlarmModelName", "documentation": "The name of the alarm model.
" }, "keyValue": { "shape": "KeyValue", "documentation": "The value of the key used as a filter to select only the alarms associated with the key.
" }, "note": { "shape": "Note", "documentation": "The note that you can leave when you reset the alarm.
" } }, "documentation": "Information needed to reset the alarm.
" }, "ResetAlarmActionRequests": { "type": "list", "member": { "shape": "ResetAlarmActionRequest" }, "min": 1 }, "RuleEvaluation": { "type": "structure", "members": { "simpleRuleEvaluation": { "shape": "SimpleRuleEvaluation", "documentation": "Information needed to compare two values with a comparison operator.
" } }, "documentation": "Information needed to evaluate data.
" }, "Seconds": { "type": "integer" }, "Severity": { "type": "integer", "box": true, "max": 2147483647, "min": 0 }, "SimpleRuleEvaluation": { "type": "structure", "members": { "inputPropertyValue": { "shape": "InputPropertyValue", "documentation": "The value of the input property, on the left side of the comparison operator.
" }, "operator": { "shape": "ComparisonOperator", "documentation": "The comparison operator.
" }, "thresholdValue": { "shape": "ThresholdValue", "documentation": "The threshold value, on the right side of the comparison operator.
" } }, "documentation": "Information needed to compare two values with a comparison operator.
" }, "SnoozeActionConfiguration": { "type": "structure", "members": { "snoozeDuration": { "shape": "SnoozeDuration", "documentation": "The snooze time in seconds. The alarm automatically changes to the NORMAL
state after this duration.
The note that you can leave when you snooze the alarm.
" } }, "documentation": "Contains the configuration information of a snooze action.
" }, "SnoozeAlarmActionRequest": { "type": "structure", "required": [ "requestId", "alarmModelName", "snoozeDuration" ], "members": { "requestId": { "shape": "RequestId", "documentation": "The request ID. Each ID must be unique within each batch.
" }, "alarmModelName": { "shape": "AlarmModelName", "documentation": "The name of the alarm model.
" }, "keyValue": { "shape": "KeyValue", "documentation": "The value of the key used as a filter to select only the alarms associated with the key.
" }, "note": { "shape": "Note", "documentation": "The note that you can leave when you snooze the alarm.
" }, "snoozeDuration": { "shape": "SnoozeDuration", "documentation": "The snooze time in seconds. The alarm automatically changes to the NORMAL
state after this duration.
Information needed to snooze the alarm.
" }, "SnoozeAlarmActionRequests": { "type": "list", "member": { "shape": "SnoozeAlarmActionRequest" }, "min": 1 }, "SnoozeDuration": { "type": "integer" }, "StateChangeConfiguration": { "type": "structure", "members": { "triggerType": { "shape": "TriggerType", "documentation": "The trigger type. If the value is SNOOZE_TIMEOUT
, the snooze duration ends and the alarm automatically changes to the NORMAL
state.
Contains the configuration information of alarm state changes.
" }, "StateName": { "type": "string", "max": 128, "min": 1 }, "SystemEvent": { "type": "structure", "members": { "eventType": { "shape": "EventType", "documentation": "The event type. If the value is STATE_CHANGE
, the event contains information about alarm state changes.
Contains the configuration information of alarm state changes.
" } }, "documentation": "Contains information about alarm state changes.
" }, "ThresholdValue": { "type": "string" }, "Timer": { "type": "structure", "required": [ "name", "timestamp" ], "members": { "name": { "shape": "TimerName", "documentation": "The name of the timer.
" }, "timestamp": { "shape": "Timestamp", "documentation": "The expiration time for the timer.
" } }, "documentation": "The current state of a timer.
" }, "TimerDefinition": { "type": "structure", "required": [ "name", "seconds" ], "members": { "name": { "shape": "TimerName", "documentation": "The name of the timer.
" }, "seconds": { "shape": "Seconds", "documentation": "The new setting of the timer (the number of seconds before the timer elapses).
" } }, "documentation": "The new setting of a timer.
" }, "TimerDefinitions": { "type": "list", "member": { "shape": "TimerDefinition" } }, "TimerName": { "type": "string", "max": 128, "min": 1 }, "Timers": { "type": "list", "member": { "shape": "Timer" } }, "Timestamp": { "type": "timestamp" }, "TimestampValue": { "type": "structure", "members": { "timeInMillis": { "shape": "EpochMilliTimestamp", "documentation": "The value of the timestamp, in the Unix epoch format.
" } }, "documentation": "Contains information about a timestamp.
" }, "TriggerType": { "type": "string", "enum": [ "SNOOZE_TIMEOUT" ] }, "UpdateDetectorRequest": { "type": "structure", "required": [ "messageId", "detectorModelName", "state" ], "members": { "messageId": { "shape": "MessageId", "documentation": "The ID to assign to the detector update \"message\"
. Each \"messageId\"
must be unique within each batch sent.
The name of the detector model that created the detectors (instances).
" }, "keyValue": { "shape": "KeyValue", "documentation": "The value of the input key attribute (identifying the device or system) that caused the creation of this detector (instance).
" }, "state": { "shape": "DetectorStateDefinition", "documentation": "The new state, variable values, and timer settings of the detector (instance).
" } }, "documentation": "Information used to update the detector (instance).
" }, "UpdateDetectorRequests": { "type": "list", "member": { "shape": "UpdateDetectorRequest" }, "min": 1 }, "Variable": { "type": "structure", "required": [ "name", "value" ], "members": { "name": { "shape": "VariableName", "documentation": "The name of the variable.
" }, "value": { "shape": "VariableValue", "documentation": "The current value of the variable.
" } }, "documentation": "The current state of the variable.
" }, "VariableDefinition": { "type": "structure", "required": [ "name", "value" ], "members": { "name": { "shape": "VariableName", "documentation": "The name of the variable.
" }, "value": { "shape": "VariableValue", "documentation": "The new value of the variable.
" } }, "documentation": "The new value of the variable.
" }, "VariableDefinitions": { "type": "list", "member": { "shape": "VariableDefinition" } }, "VariableName": { "type": "string", "max": 128, "min": 1, "pattern": "^[a-zA-Z][a-zA-Z0-9_]*$" }, "VariableValue": { "type": "string", "max": 1024, "min": 1 }, "Variables": { "type": "list", "member": { "shape": "Variable" } } }, "documentation": "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.
" }