aws-sdk-for-zig/codegen/models/ioteventsdata.2018-10-23.json

974 lines
40 KiB
JSON

{
"smithy": "1.0",
"metadata": {
"suppressions": [
{
"id": "HttpMethodSemantics",
"namespace": "*"
},
{
"id": "HttpResponseCodeSemantics",
"namespace": "*"
},
{
"id": "PaginatedTrait",
"namespace": "*"
},
{
"id": "HttpHeaderTrait",
"namespace": "*"
},
{
"id": "HttpUriConflict",
"namespace": "*"
},
{
"id": "Service",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.ioteventsdata#BatchPutMessage": {
"type": "operation",
"input": {
"target": "com.amazonaws.ioteventsdata#BatchPutMessageRequest"
},
"output": {
"target": "com.amazonaws.ioteventsdata#BatchPutMessageResponse"
},
"errors": [
{
"target": "com.amazonaws.ioteventsdata#InternalFailureException"
},
{
"target": "com.amazonaws.ioteventsdata#InvalidRequestException"
},
{
"target": "com.amazonaws.ioteventsdata#ServiceUnavailableException"
},
{
"target": "com.amazonaws.ioteventsdata#ThrottlingException"
}
],
"traits": {
"smithy.api#documentation": "<p>Sends a set of messages to the AWS IoT Events system. Each message payload is transformed\n into the input you specify (<code>\"inputName\"</code>) and ingested into any detectors that monitor \n that input. If multiple messages are sent, the order in which the messages are processed isn't \n guaranteed. To guarantee ordering, you must send messages one at a time and wait for a successful \n response.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/inputs/messages",
"code": 200
}
}
},
"com.amazonaws.ioteventsdata#BatchPutMessageErrorEntries": {
"type": "list",
"member": {
"target": "com.amazonaws.ioteventsdata#BatchPutMessageErrorEntry"
}
},
"com.amazonaws.ioteventsdata#BatchPutMessageErrorEntry": {
"type": "structure",
"members": {
"messageId": {
"target": "com.amazonaws.ioteventsdata#MessageId",
"traits": {
"smithy.api#documentation": "<p>The ID of the message that caused the error. (See the value corresponding to the \n <code>\"messageId\"</code> key in the <code>\"message\"</code> object.)</p>"
}
},
"errorCode": {
"target": "com.amazonaws.ioteventsdata#ErrorCode",
"traits": {
"smithy.api#documentation": "<p>The code associated with the error.</p>"
}
},
"errorMessage": {
"target": "com.amazonaws.ioteventsdata#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>More information about the error.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains information about the errors encountered.</p>"
}
},
"com.amazonaws.ioteventsdata#BatchPutMessageRequest": {
"type": "structure",
"members": {
"messages": {
"target": "com.amazonaws.ioteventsdata#Messages",
"traits": {
"smithy.api#documentation": "<p>The list of messages to send. Each message has the following format:\n <code>'{ \"messageId\": \"string\", \"inputName\": \"string\", \"payload\": \"string\"}'</code>\n </p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ioteventsdata#BatchPutMessageResponse": {
"type": "structure",
"members": {
"BatchPutMessageErrorEntries": {
"target": "com.amazonaws.ioteventsdata#BatchPutMessageErrorEntries",
"traits": {
"smithy.api#documentation": "<p>A list of any errors encountered when sending the messages.</p>"
}
}
}
},
"com.amazonaws.ioteventsdata#BatchUpdateDetector": {
"type": "operation",
"input": {
"target": "com.amazonaws.ioteventsdata#BatchUpdateDetectorRequest"
},
"output": {
"target": "com.amazonaws.ioteventsdata#BatchUpdateDetectorResponse"
},
"errors": [
{
"target": "com.amazonaws.ioteventsdata#InternalFailureException"
},
{
"target": "com.amazonaws.ioteventsdata#InvalidRequestException"
},
{
"target": "com.amazonaws.ioteventsdata#ServiceUnavailableException"
},
{
"target": "com.amazonaws.ioteventsdata#ThrottlingException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates the state, variable values, and timer settings of one or more detectors (instances)\n of a specified detector model.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/detectors",
"code": 200
}
}
},
"com.amazonaws.ioteventsdata#BatchUpdateDetectorErrorEntries": {
"type": "list",
"member": {
"target": "com.amazonaws.ioteventsdata#BatchUpdateDetectorErrorEntry"
}
},
"com.amazonaws.ioteventsdata#BatchUpdateDetectorErrorEntry": {
"type": "structure",
"members": {
"messageId": {
"target": "com.amazonaws.ioteventsdata#MessageId",
"traits": {
"smithy.api#documentation": "<p>The <code>\"messageId\"</code> of the update request that caused the error. (The value of the \n <code>\"messageId\"</code> in the update request <code>\"Detector\"</code> object.)</p>"
}
},
"errorCode": {
"target": "com.amazonaws.ioteventsdata#ErrorCode",
"traits": {
"smithy.api#documentation": "<p>The code of the error.</p>"
}
},
"errorMessage": {
"target": "com.amazonaws.ioteventsdata#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>A message describing the error.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about the error that occured when attempting to update a detector.</p>"
}
},
"com.amazonaws.ioteventsdata#BatchUpdateDetectorRequest": {
"type": "structure",
"members": {
"detectors": {
"target": "com.amazonaws.ioteventsdata#UpdateDetectorRequests",
"traits": {
"smithy.api#documentation": "<p>The list of detectors (instances) to update, along with the values to update.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.ioteventsdata#BatchUpdateDetectorResponse": {
"type": "structure",
"members": {
"batchUpdateDetectorErrorEntries": {
"target": "com.amazonaws.ioteventsdata#BatchUpdateDetectorErrorEntries",
"traits": {
"smithy.api#documentation": "<p>A list of those detector updates that resulted in errors. (If an error is listed here, the \n specific update did not occur.)</p>"
}
}
}
},
"com.amazonaws.ioteventsdata#DescribeDetector": {
"type": "operation",
"input": {
"target": "com.amazonaws.ioteventsdata#DescribeDetectorRequest"
},
"output": {
"target": "com.amazonaws.ioteventsdata#DescribeDetectorResponse"
},
"errors": [
{
"target": "com.amazonaws.ioteventsdata#InternalFailureException"
},
{
"target": "com.amazonaws.ioteventsdata#InvalidRequestException"
},
{
"target": "com.amazonaws.ioteventsdata#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ioteventsdata#ServiceUnavailableException"
},
{
"target": "com.amazonaws.ioteventsdata#ThrottlingException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns information about the specified detector (instance).</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/detectors/{detectorModelName}/keyValues",
"code": 200
}
}
},
"com.amazonaws.ioteventsdata#DescribeDetectorRequest": {
"type": "structure",
"members": {
"detectorModelName": {
"target": "com.amazonaws.ioteventsdata#DetectorModelName",
"traits": {
"smithy.api#documentation": "<p>The name of the detector model whose detectors (instances) you want information about.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"keyValue": {
"target": "com.amazonaws.ioteventsdata#KeyValue",
"traits": {
"smithy.api#documentation": "<p>A filter used to limit results to detectors (instances) created because of the given key ID.</p>",
"smithy.api#httpQuery": "keyValue"
}
}
}
},
"com.amazonaws.ioteventsdata#DescribeDetectorResponse": {
"type": "structure",
"members": {
"detector": {
"target": "com.amazonaws.ioteventsdata#Detector",
"traits": {
"smithy.api#documentation": "<p>Information about the detector (instance).</p>"
}
}
}
},
"com.amazonaws.ioteventsdata#Detector": {
"type": "structure",
"members": {
"detectorModelName": {
"target": "com.amazonaws.ioteventsdata#DetectorModelName",
"traits": {
"smithy.api#documentation": "<p>The name of the detector model that created this detector (instance).</p>"
}
},
"keyValue": {
"target": "com.amazonaws.ioteventsdata#KeyValue",
"traits": {
"smithy.api#documentation": "<p>The value of the key (identifying the device or system) that caused the creation of this \n detector (instance).</p>"
}
},
"detectorModelVersion": {
"target": "com.amazonaws.ioteventsdata#DetectorModelVersion",
"traits": {
"smithy.api#documentation": "<p>The version of the detector model that created this detector (instance).</p>"
}
},
"state": {
"target": "com.amazonaws.ioteventsdata#DetectorState",
"traits": {
"smithy.api#documentation": "<p>The current state of the detector (instance).</p>"
}
},
"creationTime": {
"target": "com.amazonaws.ioteventsdata#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time the detector (instance) was created.</p>"
}
},
"lastUpdateTime": {
"target": "com.amazonaws.ioteventsdata#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time the detector (instance) was last updated.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about the detector (instance).</p>"
}
},
"com.amazonaws.ioteventsdata#DetectorModelName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "^[a-zA-Z0-9_-]+$"
}
},
"com.amazonaws.ioteventsdata#DetectorModelVersion": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
}
}
},
"com.amazonaws.ioteventsdata#DetectorState": {
"type": "structure",
"members": {
"stateName": {
"target": "com.amazonaws.ioteventsdata#StateName",
"traits": {
"smithy.api#documentation": "<p>The name of the state.</p>",
"smithy.api#required": {}
}
},
"variables": {
"target": "com.amazonaws.ioteventsdata#Variables",
"traits": {
"smithy.api#documentation": "<p>The current values of the detector's variables.</p>",
"smithy.api#required": {}
}
},
"timers": {
"target": "com.amazonaws.ioteventsdata#Timers",
"traits": {
"smithy.api#documentation": "<p>The current state of the detector's timers.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about the current state of the detector instance.</p>"
}
},
"com.amazonaws.ioteventsdata#DetectorStateDefinition": {
"type": "structure",
"members": {
"stateName": {
"target": "com.amazonaws.ioteventsdata#StateName",
"traits": {
"smithy.api#documentation": "<p>The name of the new state of the detector (instance).</p>",
"smithy.api#required": {}
}
},
"variables": {
"target": "com.amazonaws.ioteventsdata#VariableDefinitions",
"traits": {
"smithy.api#documentation": "<p>The new values of the detector's variables. Any variable whose value isn't specified is cleared.</p>",
"smithy.api#required": {}
}
},
"timers": {
"target": "com.amazonaws.ioteventsdata#TimerDefinitions",
"traits": {
"smithy.api#documentation": "<p>The new values of the detector's timers. Any timer whose value isn't specified is \n cleared, and its timeout event won't occur.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The new state, variable values, and timer settings of the detector (instance).</p>"
}
},
"com.amazonaws.ioteventsdata#DetectorStateSummary": {
"type": "structure",
"members": {
"stateName": {
"target": "com.amazonaws.ioteventsdata#StateName",
"traits": {
"smithy.api#documentation": "<p>The name of the state.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about the detector state.</p>"
}
},
"com.amazonaws.ioteventsdata#DetectorSummaries": {
"type": "list",
"member": {
"target": "com.amazonaws.ioteventsdata#DetectorSummary"
}
},
"com.amazonaws.ioteventsdata#DetectorSummary": {
"type": "structure",
"members": {
"detectorModelName": {
"target": "com.amazonaws.ioteventsdata#DetectorModelName",
"traits": {
"smithy.api#documentation": "<p>The name of the detector model that created this detector (instance).</p>"
}
},
"keyValue": {
"target": "com.amazonaws.ioteventsdata#KeyValue",
"traits": {
"smithy.api#documentation": "<p>The value of the key (identifying the device or system) that caused the creation of this \n detector (instance).</p>"
}
},
"detectorModelVersion": {
"target": "com.amazonaws.ioteventsdata#DetectorModelVersion",
"traits": {
"smithy.api#documentation": "<p>The version of the detector model that created this detector (instance).</p>"
}
},
"state": {
"target": "com.amazonaws.ioteventsdata#DetectorStateSummary",
"traits": {
"smithy.api#documentation": "<p>The current state of the detector (instance).</p>"
}
},
"creationTime": {
"target": "com.amazonaws.ioteventsdata#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time the detector (instance) was created.</p>"
}
},
"lastUpdateTime": {
"target": "com.amazonaws.ioteventsdata#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The time the detector (instance) was last updated.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about the detector (instance).</p>"
}
},
"com.amazonaws.ioteventsdata#ErrorCode": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ResourceNotFoundException",
"name": "ResourceNotFoundException"
},
{
"value": "InvalidRequestException",
"name": "InvalidRequestException"
},
{
"value": "InternalFailureException",
"name": "InternalFailureException"
},
{
"value": "ServiceUnavailableException",
"name": "ServiceUnavailableException"
},
{
"value": "ThrottlingException",
"name": "ThrottlingException"
}
]
}
},
"com.amazonaws.ioteventsdata#ErrorMessage": {
"type": "string"
},
"com.amazonaws.ioteventsdata#InputName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "^[a-zA-Z][a-zA-Z0-9_]*$"
}
},
"com.amazonaws.ioteventsdata#InternalFailureException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.ioteventsdata#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>The message for the exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>An internal failure occured.</p>",
"smithy.api#error": "server",
"smithy.api#httpError": 500
}
},
"com.amazonaws.ioteventsdata#InvalidRequestException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.ioteventsdata#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>The message for the exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The request was invalid.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.ioteventsdata#IotColumboDataService": {
"type": "service",
"version": "2018-10-23",
"operations": [
{
"target": "com.amazonaws.ioteventsdata#BatchPutMessage"
},
{
"target": "com.amazonaws.ioteventsdata#BatchUpdateDetector"
},
{
"target": "com.amazonaws.ioteventsdata#DescribeDetector"
},
{
"target": "com.amazonaws.ioteventsdata#ListDetectors"
}
],
"traits": {
"aws.api#service": {
"sdkId": "IoT Events Data",
"arnNamespace": "ioteventsdata",
"cloudFormationName": "IoTEventsData",
"cloudTrailEventSource": "ioteventsdata.amazonaws.com",
"endpointPrefix": "data.iotevents"
},
"aws.auth#sigv4": {
"name": "ioteventsdata"
},
"aws.protocols#restJson1": {},
"smithy.api#documentation": "<p>AWS IoT Events monitors your equipment or device fleets for failures or changes in operation, \n and triggers actions when such events occur. AWS IoT Events Data API commands enable you to send\n inputs to detectors, list detectors, and view or update a detector's status.</p>",
"smithy.api#title": "AWS IoT Events Data"
}
},
"com.amazonaws.ioteventsdata#KeyValue": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "^[a-zA-Z0-9\\-_:]+$"
}
},
"com.amazonaws.ioteventsdata#ListDetectors": {
"type": "operation",
"input": {
"target": "com.amazonaws.ioteventsdata#ListDetectorsRequest"
},
"output": {
"target": "com.amazonaws.ioteventsdata#ListDetectorsResponse"
},
"errors": [
{
"target": "com.amazonaws.ioteventsdata#InternalFailureException"
},
{
"target": "com.amazonaws.ioteventsdata#InvalidRequestException"
},
{
"target": "com.amazonaws.ioteventsdata#ResourceNotFoundException"
},
{
"target": "com.amazonaws.ioteventsdata#ServiceUnavailableException"
},
{
"target": "com.amazonaws.ioteventsdata#ThrottlingException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists detectors (the instances of a detector model).</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/detectors/{detectorModelName}",
"code": 200
}
}
},
"com.amazonaws.ioteventsdata#ListDetectorsRequest": {
"type": "structure",
"members": {
"detectorModelName": {
"target": "com.amazonaws.ioteventsdata#DetectorModelName",
"traits": {
"smithy.api#documentation": "<p>The name of the detector model whose detectors (instances) are listed.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"stateName": {
"target": "com.amazonaws.ioteventsdata#StateName",
"traits": {
"smithy.api#documentation": "<p>A filter that limits results to those detectors (instances) in the given state.</p>",
"smithy.api#httpQuery": "stateName"
}
},
"nextToken": {
"target": "com.amazonaws.ioteventsdata#NextToken",
"traits": {
"smithy.api#documentation": "<p>The token for the next set of results.</p>",
"smithy.api#httpQuery": "nextToken"
}
},
"maxResults": {
"target": "com.amazonaws.ioteventsdata#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to return at one time.</p>",
"smithy.api#httpQuery": "maxResults"
}
}
}
},
"com.amazonaws.ioteventsdata#ListDetectorsResponse": {
"type": "structure",
"members": {
"detectorSummaries": {
"target": "com.amazonaws.ioteventsdata#DetectorSummaries",
"traits": {
"smithy.api#documentation": "<p>A list of summary information about the detectors (instances).</p>"
}
},
"nextToken": {
"target": "com.amazonaws.ioteventsdata#NextToken",
"traits": {
"smithy.api#documentation": "<p>A token to retrieve the next set of results, or <code>null</code> if there are no additional \n results.</p>"
}
}
}
},
"com.amazonaws.ioteventsdata#MaxResults": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 250
}
}
},
"com.amazonaws.ioteventsdata#Message": {
"type": "structure",
"members": {
"messageId": {
"target": "com.amazonaws.ioteventsdata#MessageId",
"traits": {
"smithy.api#documentation": "<p>The ID to assign to the message. Within each batch sent, each <code>\"messageId\"</code> must \n be unique.</p>",
"smithy.api#required": {}
}
},
"inputName": {
"target": "com.amazonaws.ioteventsdata#InputName",
"traits": {
"smithy.api#documentation": "<p>The name of the input into which the message payload is transformed.</p>",
"smithy.api#required": {}
}
},
"payload": {
"target": "com.amazonaws.ioteventsdata#Payload",
"traits": {
"smithy.api#documentation": "<p>The payload of the message. This can be a JSON string or a Base-64-encoded string representing\n binary data (in which case you must decode it).</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about a message.</p>"
}
},
"com.amazonaws.ioteventsdata#MessageId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 64
},
"smithy.api#pattern": "^[a-zA-Z0-9_-]+$"
}
},
"com.amazonaws.ioteventsdata#Messages": {
"type": "list",
"member": {
"target": "com.amazonaws.ioteventsdata#Message"
},
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.ioteventsdata#NextToken": {
"type": "string"
},
"com.amazonaws.ioteventsdata#Payload": {
"type": "blob"
},
"com.amazonaws.ioteventsdata#ResourceNotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.ioteventsdata#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>The message for the exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The resource was not found.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.ioteventsdata#Seconds": {
"type": "integer",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.ioteventsdata#ServiceUnavailableException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.ioteventsdata#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>The message for the exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The service is currently unavailable.</p>",
"smithy.api#error": "server",
"smithy.api#httpError": 503
}
},
"com.amazonaws.ioteventsdata#StateName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
}
}
},
"com.amazonaws.ioteventsdata#ThrottlingException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.ioteventsdata#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>The message for the exception.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The request could not be completed due to throttling.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 429
}
},
"com.amazonaws.ioteventsdata#Timer": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.ioteventsdata#TimerName",
"traits": {
"smithy.api#documentation": "<p>The name of the timer.</p>",
"smithy.api#required": {}
}
},
"timestamp": {
"target": "com.amazonaws.ioteventsdata#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The number of seconds which have elapsed on the timer.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The current state of a timer.</p>"
}
},
"com.amazonaws.ioteventsdata#TimerDefinition": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.ioteventsdata#TimerName",
"traits": {
"smithy.api#documentation": "<p>The name of the timer.</p>",
"smithy.api#required": {}
}
},
"seconds": {
"target": "com.amazonaws.ioteventsdata#Seconds",
"traits": {
"smithy.api#documentation": "<p>The new setting of the timer (the number of seconds before the timer elapses).</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The new setting of a timer.</p>"
}
},
"com.amazonaws.ioteventsdata#TimerDefinitions": {
"type": "list",
"member": {
"target": "com.amazonaws.ioteventsdata#TimerDefinition"
}
},
"com.amazonaws.ioteventsdata#TimerName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
}
}
},
"com.amazonaws.ioteventsdata#Timers": {
"type": "list",
"member": {
"target": "com.amazonaws.ioteventsdata#Timer"
}
},
"com.amazonaws.ioteventsdata#Timestamp": {
"type": "timestamp"
},
"com.amazonaws.ioteventsdata#UpdateDetectorRequest": {
"type": "structure",
"members": {
"messageId": {
"target": "com.amazonaws.ioteventsdata#MessageId",
"traits": {
"smithy.api#documentation": "<p>The ID to assign to the detector update <code>\"message\"</code>. Each <code>\"messageId\"</code> \n must be unique within each batch sent.</p>",
"smithy.api#required": {}
}
},
"detectorModelName": {
"target": "com.amazonaws.ioteventsdata#DetectorModelName",
"traits": {
"smithy.api#documentation": "<p>The name of the detector model that created the detectors (instances).</p>",
"smithy.api#required": {}
}
},
"keyValue": {
"target": "com.amazonaws.ioteventsdata#KeyValue",
"traits": {
"smithy.api#documentation": "<p>The value of the input key attribute (identifying the device or system) that caused the creation \n of this detector (instance).</p>"
}
},
"state": {
"target": "com.amazonaws.ioteventsdata#DetectorStateDefinition",
"traits": {
"smithy.api#documentation": "<p>The new state, variable values, and timer settings of the detector (instance).</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information used to update the detector (instance).</p>"
}
},
"com.amazonaws.ioteventsdata#UpdateDetectorRequests": {
"type": "list",
"member": {
"target": "com.amazonaws.ioteventsdata#UpdateDetectorRequest"
},
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.ioteventsdata#Variable": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.ioteventsdata#VariableName",
"traits": {
"smithy.api#documentation": "<p>The name of the variable.</p>",
"smithy.api#required": {}
}
},
"value": {
"target": "com.amazonaws.ioteventsdata#VariableValue",
"traits": {
"smithy.api#documentation": "<p>The current value of the variable.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The current state of the variable.</p>"
}
},
"com.amazonaws.ioteventsdata#VariableDefinition": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.ioteventsdata#VariableName",
"traits": {
"smithy.api#documentation": "<p>The name of the variable.</p>",
"smithy.api#required": {}
}
},
"value": {
"target": "com.amazonaws.ioteventsdata#VariableValue",
"traits": {
"smithy.api#documentation": "<p>The new value of the variable.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The new value of the variable.</p>"
}
},
"com.amazonaws.ioteventsdata#VariableDefinitions": {
"type": "list",
"member": {
"target": "com.amazonaws.ioteventsdata#VariableDefinition"
}
},
"com.amazonaws.ioteventsdata#VariableName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "^[a-zA-Z][a-zA-Z0-9_]*$"
}
},
"com.amazonaws.ioteventsdata#VariableValue": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1024
}
}
},
"com.amazonaws.ioteventsdata#Variables": {
"type": "list",
"member": {
"target": "com.amazonaws.ioteventsdata#Variable"
}
}
}
}