{ "version":"2.0", "metadata":{ "apiVersion":"2018-07-27", "endpointPrefix":"iotevents", "protocol":"rest-json", "serviceFullName":"AWS IoT Events", "serviceId":"IoT Events", "signatureVersion":"v4", "signingName":"iotevents", "uid":"iotevents-2018-07-27" }, "operations":{ "CreateDetectorModel":{ "name":"CreateDetectorModel", "http":{ "method":"POST", "requestUri":"/detector-models" }, "input":{"shape":"CreateDetectorModelRequest"}, "output":{"shape":"CreateDetectorModelResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ResourceInUseException"}, {"shape":"ResourceAlreadyExistsException"}, {"shape":"LimitExceededException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Creates a detector model.

" }, "CreateInput":{ "name":"CreateInput", "http":{ "method":"POST", "requestUri":"/inputs", "responseCode":201 }, "input":{"shape":"CreateInputRequest"}, "output":{"shape":"CreateInputResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ResourceAlreadyExistsException"} ], "documentation":"

Creates an input.

" }, "DeleteDetectorModel":{ "name":"DeleteDetectorModel", "http":{ "method":"DELETE", "requestUri":"/detector-models/{detectorModelName}", "responseCode":204 }, "input":{"shape":"DeleteDetectorModelRequest"}, "output":{"shape":"DeleteDetectorModelResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ResourceInUseException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Deletes a detector model. Any active instances of the detector model are also deleted.

" }, "DeleteInput":{ "name":"DeleteInput", "http":{ "method":"DELETE", "requestUri":"/inputs/{inputName}" }, "input":{"shape":"DeleteInputRequest"}, "output":{"shape":"DeleteInputResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ResourceInUseException"} ], "documentation":"

Deletes an input.

" }, "DescribeDetectorModel":{ "name":"DescribeDetectorModel", "http":{ "method":"GET", "requestUri":"/detector-models/{detectorModelName}" }, "input":{"shape":"DescribeDetectorModelRequest"}, "output":{"shape":"DescribeDetectorModelResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Describes a detector model. If the version parameter is not specified, information about the latest version is returned.

" }, "DescribeDetectorModelAnalysis":{ "name":"DescribeDetectorModelAnalysis", "http":{ "method":"GET", "requestUri":"/analysis/detector-models/{analysisId}" }, "input":{"shape":"DescribeDetectorModelAnalysisRequest"}, "output":{"shape":"DescribeDetectorModelAnalysisResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Retrieves execution information about a detector model analysis

" }, "DescribeInput":{ "name":"DescribeInput", "http":{ "method":"GET", "requestUri":"/inputs/{inputName}" }, "input":{"shape":"DescribeInputRequest"}, "output":{"shape":"DescribeInputResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Describes an input.

" }, "DescribeLoggingOptions":{ "name":"DescribeLoggingOptions", "http":{ "method":"GET", "requestUri":"/logging" }, "input":{"shape":"DescribeLoggingOptionsRequest"}, "output":{"shape":"DescribeLoggingOptionsResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ServiceUnavailableException"}, {"shape":"UnsupportedOperationException"} ], "documentation":"

Retrieves the current settings of the AWS IoT Events logging options.

" }, "GetDetectorModelAnalysisResults":{ "name":"GetDetectorModelAnalysisResults", "http":{ "method":"GET", "requestUri":"/analysis/detector-models/{analysisId}/results" }, "input":{"shape":"GetDetectorModelAnalysisResultsRequest"}, "output":{"shape":"GetDetectorModelAnalysisResultsResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Retrieves one or more analysis results of the detector model.

" }, "ListDetectorModelVersions":{ "name":"ListDetectorModelVersions", "http":{ "method":"GET", "requestUri":"/detector-models/{detectorModelName}/versions" }, "input":{"shape":"ListDetectorModelVersionsRequest"}, "output":{"shape":"ListDetectorModelVersionsResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Lists all the versions of a detector model. Only the metadata associated with each detector model version is returned.

" }, "ListDetectorModels":{ "name":"ListDetectorModels", "http":{ "method":"GET", "requestUri":"/detector-models" }, "input":{"shape":"ListDetectorModelsRequest"}, "output":{"shape":"ListDetectorModelsResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Lists the detector models you have created. Only the metadata associated with each detector model is returned.

" }, "ListInputs":{ "name":"ListInputs", "http":{ "method":"GET", "requestUri":"/inputs" }, "input":{"shape":"ListInputsRequest"}, "output":{"shape":"ListInputsResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Lists the inputs you have created.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ "method":"GET", "requestUri":"/tags" }, "input":{"shape":"ListTagsForResourceRequest"}, "output":{"shape":"ListTagsForResourceResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ResourceInUseException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"} ], "documentation":"

Lists the tags (metadata) you have assigned to the resource.

" }, "PutLoggingOptions":{ "name":"PutLoggingOptions", "http":{ "method":"PUT", "requestUri":"/logging" }, "input":{"shape":"PutLoggingOptionsRequest"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"}, {"shape":"ServiceUnavailableException"}, {"shape":"UnsupportedOperationException"}, {"shape":"ResourceInUseException"} ], "documentation":"

Sets or updates the AWS IoT Events logging options.

If you update the value of any loggingOptions field, it takes up to one minute for the change to take effect. If you change the policy attached to the role you specified in the roleArn field (for example, to correct an invalid policy), it takes up to five minutes for that change to take effect.

" }, "StartDetectorModelAnalysis":{ "name":"StartDetectorModelAnalysis", "http":{ "method":"POST", "requestUri":"/analysis/detector-models/" }, "input":{"shape":"StartDetectorModelAnalysisRequest"}, "output":{"shape":"StartDetectorModelAnalysisResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"LimitExceededException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

Performs an analysis of your detector model. For more information, see Running detector model analyses in the AWS IoT Events Developer Guide.

" }, "TagResource":{ "name":"TagResource", "http":{ "method":"POST", "requestUri":"/tags" }, "input":{"shape":"TagResourceRequest"}, "output":{"shape":"TagResourceResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ResourceInUseException"}, {"shape":"ThrottlingException"}, {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"} ], "documentation":"

Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.

" }, "UntagResource":{ "name":"UntagResource", "http":{ "method":"DELETE", "requestUri":"/tags" }, "input":{"shape":"UntagResourceRequest"}, "output":{"shape":"UntagResourceResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ResourceInUseException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"} ], "documentation":"

Removes the given tags (metadata) from the resource.

" }, "UpdateDetectorModel":{ "name":"UpdateDetectorModel", "http":{ "method":"POST", "requestUri":"/detector-models/{detectorModelName}" }, "input":{"shape":"UpdateDetectorModelRequest"}, "output":{"shape":"UpdateDetectorModelResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ResourceInUseException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"}, {"shape":"InternalFailureException"}, {"shape":"ServiceUnavailableException"} ], "documentation":"

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

" }, "UpdateInput":{ "name":"UpdateInput", "http":{ "method":"PUT", "requestUri":"/inputs/{inputName}" }, "input":{"shape":"UpdateInputRequest"}, "output":{"shape":"UpdateInputResponse"}, "errors":[ {"shape":"InvalidRequestException"}, {"shape":"ThrottlingException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InternalFailureException"}, {"shape":"ServiceUnavailableException"}, {"shape":"ResourceInUseException"} ], "documentation":"

Updates an input.

" } }, "shapes":{ "Action":{ "type":"structure", "members":{ "setVariable":{ "shape":"SetVariableAction", "documentation":"

Sets a variable to a specified value.

" }, "sns":{ "shape":"SNSTopicPublishAction", "documentation":"

Sends an Amazon SNS message.

" }, "iotTopicPublish":{ "shape":"IotTopicPublishAction", "documentation":"

Publishes an MQTT message with the given topic to the AWS IoT message broker.

" }, "setTimer":{ "shape":"SetTimerAction", "documentation":"

Information needed to set the timer.

" }, "clearTimer":{ "shape":"ClearTimerAction", "documentation":"

Information needed to clear the timer.

" }, "resetTimer":{ "shape":"ResetTimerAction", "documentation":"

Information needed to reset the timer.

" }, "lambda":{ "shape":"LambdaAction", "documentation":"

Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.

" }, "iotEvents":{ "shape":"IotEventsAction", "documentation":"

Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.

" }, "sqs":{ "shape":"SqsAction", "documentation":"

Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.

" }, "firehose":{ "shape":"FirehoseAction", "documentation":"

Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.

" }, "dynamoDB":{ "shape":"DynamoDBAction", "documentation":"

Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the payload. One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. For more information, see Actions in AWS IoT Events Developer Guide.

" }, "dynamoDBv2":{ "shape":"DynamoDBv2Action", "documentation":"

Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the payload. A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. For more information, see Actions in AWS IoT Events Developer Guide.

" }, "iotSiteWise":{ "shape":"IotSiteWiseAction", "documentation":"

Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .

" } }, "documentation":"

An action to be performed when the condition is TRUE.

" }, "Actions":{ "type":"list", "member":{"shape":"Action"} }, "AmazonResourceName":{ "type":"string", "max":2048, "min":1 }, "AnalysisId":{"type":"string"}, "AnalysisMessage":{"type":"string"}, "AnalysisResult":{ "type":"structure", "members":{ "type":{ "shape":"AnalysisType", "documentation":"

The type of the analysis result. Analyses fall into the following types based on the validators used to generate the analysis result:

For more information, see Running detector model analyses in the AWS IoT Events Developer Guide.

" }, "level":{ "shape":"AnalysisResultLevel", "documentation":"

The severity level of the analysis result. Analysis results fall into three general categories based on the severity level:

" }, "message":{ "shape":"AnalysisMessage", "documentation":"

Contains additional information about the analysis result.

" }, "locations":{ "shape":"AnalysisResultLocations", "documentation":"

Contains one or more locations that you can use to locate the fields in your detector model that the analysis result references.

" } }, "documentation":"

Contains the result of the analysis.

" }, "AnalysisResultLevel":{ "type":"string", "enum":[ "INFO", "WARNING", "ERROR" ] }, "AnalysisResultLocation":{ "type":"structure", "members":{ "path":{ "shape":"AnalysisResultLocationPath", "documentation":"

A JsonPath expression that identifies the error field in your detector model.

" } }, "documentation":"

Contains information that you can use to locate the field in your detector model that the analysis result references.

" }, "AnalysisResultLocationPath":{"type":"string"}, "AnalysisResultLocations":{ "type":"list", "member":{"shape":"AnalysisResultLocation"} }, "AnalysisResults":{ "type":"list", "member":{"shape":"AnalysisResult"} }, "AnalysisStatus":{ "type":"string", "enum":[ "RUNNING", "COMPLETE", "FAILED" ] }, "AnalysisType":{"type":"string"}, "AssetId":{"type":"string"}, "AssetPropertyAlias":{"type":"string"}, "AssetPropertyBooleanValue":{"type":"string"}, "AssetPropertyDoubleValue":{"type":"string"}, "AssetPropertyEntryId":{"type":"string"}, "AssetPropertyId":{"type":"string"}, "AssetPropertyIntegerValue":{"type":"string"}, "AssetPropertyOffsetInNanos":{"type":"string"}, "AssetPropertyQuality":{"type":"string"}, "AssetPropertyStringValue":{"type":"string"}, "AssetPropertyTimeInSeconds":{"type":"string"}, "AssetPropertyTimestamp":{ "type":"structure", "required":["timeInSeconds"], "members":{ "timeInSeconds":{ "shape":"AssetPropertyTimeInSeconds", "documentation":"

The timestamp, in seconds, in the Unix epoch format. The valid range is between 1-31556889864403199.

" }, "offsetInNanos":{ "shape":"AssetPropertyOffsetInNanos", "documentation":"

The nanosecond offset converted from timeInSeconds. The valid range is between 0-999999999.

" } }, "documentation":"

A structure that contains timestamp information. For more information, see TimeInNanos in the AWS IoT SiteWise API Reference.

You must use expressions for all parameters in AssetPropertyTimestamp. The expressions accept literals, operators, functions, references, and substitution templates.

Examples

For more information, see Expressions in the AWS IoT Events Developer Guide.

" }, "AssetPropertyValue":{ "type":"structure", "required":["value"], "members":{ "value":{ "shape":"AssetPropertyVariant", "documentation":"

The value to send to an asset property.

" }, "timestamp":{ "shape":"AssetPropertyTimestamp", "documentation":"

The timestamp associated with the asset property value. The default is the current event time.

" }, "quality":{ "shape":"AssetPropertyQuality", "documentation":"

The quality of the asset property value. The value must be 'GOOD', 'BAD', or 'UNCERTAIN'.

" } }, "documentation":"

A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference.

You must use expressions for all parameters in AssetPropertyValue. The expressions accept literals, operators, functions, references, and substitution templates.

Examples

For more information, see Expressions in the AWS IoT Events Developer Guide.

" }, "AssetPropertyVariant":{ "type":"structure", "members":{ "stringValue":{ "shape":"AssetPropertyStringValue", "documentation":"

The asset property value is a string. You must use an expression, and the evaluated result should be a string.

" }, "integerValue":{ "shape":"AssetPropertyIntegerValue", "documentation":"

The asset property value is an integer. You must use an expression, and the evaluated result should be an integer.

" }, "doubleValue":{ "shape":"AssetPropertyDoubleValue", "documentation":"

The asset property value is a double. You must use an expression, and the evaluated result should be a double.

" }, "booleanValue":{ "shape":"AssetPropertyBooleanValue", "documentation":"

The asset property value is a Boolean value that must be 'TRUE' or 'FALSE'. You must use an expression, and the evaluated result should be a Boolean value.

" } }, "documentation":"

A structure that contains an asset property value. For more information, see Variant in the AWS IoT SiteWise API Reference.

You must use expressions for all parameters in AssetPropertyVariant. The expressions accept literals, operators, functions, references, and substitution templates.

Examples

For more information, see Expressions in the AWS IoT Events Developer Guide.

You must specify one of the following value types, depending on the dataType of the specified asset property. For more information, see AssetProperty in the AWS IoT SiteWise API Reference.

" }, "Attribute":{ "type":"structure", "required":["jsonPath"], "members":{ "jsonPath":{ "shape":"AttributeJsonPath", "documentation":"

An expression that specifies an attribute-value pair in a JSON structure. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to AWS IoT Events (BatchPutMessage). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in the condition expressions used by detectors.

Syntax: <field-name>.<field-name>...

" } }, "documentation":"

The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using BatchPutMessage. Each such message contains a JSON payload. Those attributes (and their paired values) specified here are available for use in the condition expressions used by detectors.

" }, "AttributeJsonPath":{ "type":"string", "max":128, "min":1, "pattern":"^((`[\\w\\- ]+`)|([\\w\\-]+))(\\.((`[\\w- ]+`)|([\\w\\-]+)))*$" }, "Attributes":{ "type":"list", "member":{"shape":"Attribute"}, "max":200, "min":1 }, "ClearTimerAction":{ "type":"structure", "required":["timerName"], "members":{ "timerName":{ "shape":"TimerName", "documentation":"

The name of the timer to clear.

" } }, "documentation":"

Information needed to clear the timer.

" }, "Condition":{ "type":"string", "max":512 }, "ContentExpression":{ "type":"string", "min":1 }, "CreateDetectorModelRequest":{ "type":"structure", "required":[ "detectorModelName", "detectorModelDefinition", "roleArn" ], "members":{ "detectorModelName":{ "shape":"DetectorModelName", "documentation":"

The name of the detector model.

" }, "detectorModelDefinition":{ "shape":"DetectorModelDefinition", "documentation":"

Information that defines how the detectors operate.

" }, "detectorModelDescription":{ "shape":"DetectorModelDescription", "documentation":"

A brief description of the detector model.

" }, "key":{ "shape":"AttributeJsonPath", "documentation":"

The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression in the message payload of each input to specify the attribute-value pair that is used to identify the device associated with the input.

" }, "roleArn":{ "shape":"AmazonResourceName", "documentation":"

The ARN of the role that grants permission to AWS IoT Events to perform its operations.

" }, "tags":{ "shape":"Tags", "documentation":"

Metadata that can be used to manage the detector model.

" }, "evaluationMethod":{ "shape":"EvaluationMethod", "documentation":"

Information about the order in which events are evaluated and how actions are executed.

" } } }, "CreateDetectorModelResponse":{ "type":"structure", "members":{ "detectorModelConfiguration":{ "shape":"DetectorModelConfiguration", "documentation":"

Information about how the detector model is configured.

" } } }, "CreateInputRequest":{ "type":"structure", "required":[ "inputName", "inputDefinition" ], "members":{ "inputName":{ "shape":"InputName", "documentation":"

The name you want to give to the input.

" }, "inputDescription":{ "shape":"InputDescription", "documentation":"

A brief description of the input.

" }, "inputDefinition":{ "shape":"InputDefinition", "documentation":"

The definition of the input.

" }, "tags":{ "shape":"Tags", "documentation":"

Metadata that can be used to manage the input.

" } } }, "CreateInputResponse":{ "type":"structure", "members":{ "inputConfiguration":{ "shape":"InputConfiguration", "documentation":"

Information about the configuration of the input.

" } } }, "DeleteDetectorModelRequest":{ "type":"structure", "required":["detectorModelName"], "members":{ "detectorModelName":{ "shape":"DetectorModelName", "documentation":"

The name of the detector model to be deleted.

", "location":"uri", "locationName":"detectorModelName" } } }, "DeleteDetectorModelResponse":{ "type":"structure", "members":{ } }, "DeleteInputRequest":{ "type":"structure", "required":["inputName"], "members":{ "inputName":{ "shape":"InputName", "documentation":"

The name of the input to delete.

", "location":"uri", "locationName":"inputName" } } }, "DeleteInputResponse":{ "type":"structure", "members":{ } }, "DeliveryStreamName":{"type":"string"}, "DescribeDetectorModelAnalysisRequest":{ "type":"structure", "required":["analysisId"], "members":{ "analysisId":{ "shape":"AnalysisId", "documentation":"

The ID of the analysis result that you want to retrieve.

", "location":"uri", "locationName":"analysisId" } } }, "DescribeDetectorModelAnalysisResponse":{ "type":"structure", "members":{ "status":{ "shape":"AnalysisStatus", "documentation":"

The status of the analysis activity. The status can be one of the following values:

" } } }, "DescribeDetectorModelRequest":{ "type":"structure", "required":["detectorModelName"], "members":{ "detectorModelName":{ "shape":"DetectorModelName", "documentation":"

The name of the detector model.

", "location":"uri", "locationName":"detectorModelName" }, "detectorModelVersion":{ "shape":"DetectorModelVersion", "documentation":"

The version of the detector model.

", "location":"querystring", "locationName":"version" } } }, "DescribeDetectorModelResponse":{ "type":"structure", "members":{ "detectorModel":{ "shape":"DetectorModel", "documentation":"

Information about the detector model.

" } } }, "DescribeInputRequest":{ "type":"structure", "required":["inputName"], "members":{ "inputName":{ "shape":"InputName", "documentation":"

The name of the input.

", "location":"uri", "locationName":"inputName" } } }, "DescribeInputResponse":{ "type":"structure", "members":{ "input":{ "shape":"Input", "documentation":"

Information about the input.

" } } }, "DescribeLoggingOptionsRequest":{ "type":"structure", "members":{ } }, "DescribeLoggingOptionsResponse":{ "type":"structure", "members":{ "loggingOptions":{ "shape":"LoggingOptions", "documentation":"

The current settings of the AWS IoT Events logging options.

" } } }, "DetectorDebugOption":{ "type":"structure", "required":["detectorModelName"], "members":{ "detectorModelName":{ "shape":"DetectorModelName", "documentation":"

The name of the detector model.

" }, "keyValue":{ "shape":"KeyValue", "documentation":"

The value of the input attribute key used to create the detector (the instance of the detector model).

" } }, "documentation":"

The detector model and the specific detectors (instances) for which the logging level is given.

" }, "DetectorDebugOptions":{ "type":"list", "member":{"shape":"DetectorDebugOption"}, "min":1 }, "DetectorModel":{ "type":"structure", "members":{ "detectorModelDefinition":{ "shape":"DetectorModelDefinition", "documentation":"

Information that defines how a detector operates.

" }, "detectorModelConfiguration":{ "shape":"DetectorModelConfiguration", "documentation":"

Information about how the detector is configured.

" } }, "documentation":"

Information about the detector model.

" }, "DetectorModelArn":{"type":"string"}, "DetectorModelConfiguration":{ "type":"structure", "members":{ "detectorModelName":{ "shape":"DetectorModelName", "documentation":"

The name of the detector model.

" }, "detectorModelVersion":{ "shape":"DetectorModelVersion", "documentation":"

The version of the detector model.

" }, "detectorModelDescription":{ "shape":"DetectorModelDescription", "documentation":"

A brief description of the detector model.

" }, "detectorModelArn":{ "shape":"DetectorModelArn", "documentation":"

The ARN of the detector model.

" }, "roleArn":{ "shape":"AmazonResourceName", "documentation":"

The ARN of the role that grants permission to AWS IoT Events to perform its operations.

" }, "creationTime":{ "shape":"Timestamp", "documentation":"

The time the detector model was created.

" }, "lastUpdateTime":{ "shape":"Timestamp", "documentation":"

The time the detector model was last updated.

" }, "status":{ "shape":"DetectorModelVersionStatus", "documentation":"

The status of the detector model.

" }, "key":{ "shape":"AttributeJsonPath", "documentation":"

The value used to identify a detector instance. When a device or system sends input, a new detector instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding detector instance based on this identifying information.

This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct detector instance, the device must send a message payload that contains the same attribute-value.

" }, "evaluationMethod":{ "shape":"EvaluationMethod", "documentation":"

Information about the order in which events are evaluated and how actions are executed.

" } }, "documentation":"

Information about how the detector model is configured.

" }, "DetectorModelDefinition":{ "type":"structure", "required":[ "states", "initialStateName" ], "members":{ "states":{ "shape":"States", "documentation":"

Information about the states of the detector.

" }, "initialStateName":{ "shape":"StateName", "documentation":"

The state that is entered at the creation of each detector (instance).

" } }, "documentation":"

Information that defines how a detector operates.

" }, "DetectorModelDescription":{ "type":"string", "max":128 }, "DetectorModelName":{ "type":"string", "max":128, "min":1, "pattern":"^[a-zA-Z0-9_-]+$" }, "DetectorModelSummaries":{ "type":"list", "member":{"shape":"DetectorModelSummary"} }, "DetectorModelSummary":{ "type":"structure", "members":{ "detectorModelName":{ "shape":"DetectorModelName", "documentation":"

The name of the detector model.

" }, "detectorModelDescription":{ "shape":"DetectorModelDescription", "documentation":"

A brief description of the detector model.

" }, "creationTime":{ "shape":"Timestamp", "documentation":"

The time the detector model was created.

" } }, "documentation":"

Information about the detector model.

" }, "DetectorModelVersion":{ "type":"string", "max":128, "min":1 }, "DetectorModelVersionStatus":{ "type":"string", "enum":[ "ACTIVE", "ACTIVATING", "INACTIVE", "DEPRECATED", "DRAFT", "PAUSED", "FAILED" ] }, "DetectorModelVersionSummaries":{ "type":"list", "member":{"shape":"DetectorModelVersionSummary"} }, "DetectorModelVersionSummary":{ "type":"structure", "members":{ "detectorModelName":{ "shape":"DetectorModelName", "documentation":"

The name of the detector model.

" }, "detectorModelVersion":{ "shape":"DetectorModelVersion", "documentation":"

The ID of the detector model version.

" }, "detectorModelArn":{ "shape":"DetectorModelArn", "documentation":"

The ARN of the detector model version.

" }, "roleArn":{ "shape":"AmazonResourceName", "documentation":"

The ARN of the role that grants the detector model permission to perform its tasks.

" }, "creationTime":{ "shape":"Timestamp", "documentation":"

The time the detector model version was created.

" }, "lastUpdateTime":{ "shape":"Timestamp", "documentation":"

The last time the detector model version was updated.

" }, "status":{ "shape":"DetectorModelVersionStatus", "documentation":"

The status of the detector model version.

" }, "evaluationMethod":{ "shape":"EvaluationMethod", "documentation":"

Information about the order in which events are evaluated and how actions are executed.

" } }, "documentation":"

Information about the detector model version.

" }, "DynamoDBAction":{ "type":"structure", "required":[ "hashKeyField", "hashKeyValue", "tableName" ], "members":{ "hashKeyType":{ "shape":"DynamoKeyType", "documentation":"

The data type for the hash key (also called the partition key). You can specify the following values:

If you don't specify hashKeyType, the default value is 'STRING'.

" }, "hashKeyField":{ "shape":"DynamoKeyField", "documentation":"

The name of the hash key (also called the partition key). The hashKeyField value must match the partition key of the target DynamoDB table.

" }, "hashKeyValue":{ "shape":"DynamoKeyValue", "documentation":"

The value of the hash key (also called the partition key).

" }, "rangeKeyType":{ "shape":"DynamoKeyType", "documentation":"

The data type for the range key (also called the sort key), You can specify the following values:

If you don't specify rangeKeyField, the default value is 'STRING'.

" }, "rangeKeyField":{ "shape":"DynamoKeyField", "documentation":"

The name of the range key (also called the sort key). The rangeKeyField value must match the sort key of the target DynamoDB table.

" }, "rangeKeyValue":{ "shape":"DynamoKeyValue", "documentation":"

The value of the range key (also called the sort key).

" }, "operation":{ "shape":"DynamoOperation", "documentation":"

The type of operation to perform. You can specify the following values:

If you don't specify this parameter, AWS IoT Events triggers the 'INSERT' operation.

" }, "payloadField":{ "shape":"DynamoKeyField", "documentation":"

The name of the DynamoDB column that receives the action payload.

If you don't specify this parameter, the name of the DynamoDB column is payload.

" }, "tableName":{ "shape":"DynamoTableName", "documentation":"

The name of the DynamoDB table. The tableName value must match the table name of the target DynamoDB table.

" }, "payload":{"shape":"Payload"} }, "documentation":"

Defines an action to write to the Amazon DynamoDB table that you created. The standard action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the payload. One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify.

You must use expressions for all parameters in DynamoDBAction. The expressions accept literals, operators, functions, references, and substitution templates.

Examples

For more information, see Expressions in the AWS IoT Events Developer Guide.

If the defined payload type is a string, DynamoDBAction writes non-JSON data to the DynamoDB table as binary data. The DynamoDB console displays the data as Base64-encoded text. The value for the payloadField parameter is <payload-field>_raw.

" }, "DynamoDBv2Action":{ "type":"structure", "required":["tableName"], "members":{ "tableName":{ "shape":"DynamoTableName", "documentation":"

The name of the DynamoDB table.

" }, "payload":{"shape":"Payload"} }, "documentation":"

Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the payload. A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify.

You must use expressions for all parameters in DynamoDBv2Action. The expressions accept literals, operators, functions, references, and substitution templates.

Examples

For more information, see Expressions in the AWS IoT Events Developer Guide.

The value for the type parameter in Payload must be JSON.

" }, "DynamoKeyField":{"type":"string"}, "DynamoKeyType":{"type":"string"}, "DynamoKeyValue":{"type":"string"}, "DynamoOperation":{"type":"string"}, "DynamoTableName":{"type":"string"}, "EvaluationMethod":{ "type":"string", "enum":[ "BATCH", "SERIAL" ] }, "Event":{ "type":"structure", "required":["eventName"], "members":{ "eventName":{ "shape":"EventName", "documentation":"

The name of the event.

" }, "condition":{ "shape":"Condition", "documentation":"

Optional. The Boolean expression that, when TRUE, causes the actions to be performed. If not present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not performed (=FALSE).

" }, "actions":{ "shape":"Actions", "documentation":"

The actions to be performed.

" } }, "documentation":"

Specifies the actions to be performed when the condition evaluates to TRUE.

" }, "EventName":{ "type":"string", "max":128 }, "Events":{ "type":"list", "member":{"shape":"Event"} }, "FirehoseAction":{ "type":"structure", "required":["deliveryStreamName"], "members":{ "deliveryStreamName":{ "shape":"DeliveryStreamName", "documentation":"

The name of the Kinesis Data Firehose delivery stream where the data is written.

" }, "separator":{ "shape":"FirehoseSeparator", "documentation":"

A character separator that is used to separate records written to the Kinesis Data Firehose delivery stream. Valid values are: '\\n' (newline), '\\t' (tab), '\\r\\n' (Windows newline), ',' (comma).

" }, "payload":{ "shape":"Payload", "documentation":"

You can configure the action payload when you send a message to an Amazon Kinesis Data Firehose delivery stream.

" } }, "documentation":"

Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.

" }, "FirehoseSeparator":{ "type":"string", "pattern":"([\\n\\t])|(\\r\\n)|(,)" }, "GetDetectorModelAnalysisResultsRequest":{ "type":"structure", "required":["analysisId"], "members":{ "analysisId":{ "shape":"AnalysisId", "documentation":"

The ID of the analysis result that you want to retrieve.

", "location":"uri", "locationName":"analysisId" }, "nextToken":{ "shape":"NextToken", "documentation":"

The token that you can use to return the next set of results.

", "location":"querystring", "locationName":"nextToken" }, "maxResults":{ "shape":"MaxAnalysisResults", "documentation":"

The maximum number of results to be returned per request.

", "location":"querystring", "locationName":"maxResults" } } }, "GetDetectorModelAnalysisResultsResponse":{ "type":"structure", "members":{ "analysisResults":{ "shape":"AnalysisResults", "documentation":"

Contains information about one or more analysis results.

" }, "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.

" } } }, "Input":{ "type":"structure", "members":{ "inputConfiguration":{ "shape":"InputConfiguration", "documentation":"

Information about the configuration of an input.

" }, "inputDefinition":{ "shape":"InputDefinition", "documentation":"

The definition of the input.

" } }, "documentation":"

Information about the input.

" }, "InputArn":{"type":"string"}, "InputConfiguration":{ "type":"structure", "required":[ "inputName", "inputArn", "creationTime", "lastUpdateTime", "status" ], "members":{ "inputName":{ "shape":"InputName", "documentation":"

The name of the input.

" }, "inputDescription":{ "shape":"InputDescription", "documentation":"

A brief description of the input.

" }, "inputArn":{ "shape":"InputArn", "documentation":"

The ARN of the input.

" }, "creationTime":{ "shape":"Timestamp", "documentation":"

The time the input was created.

" }, "lastUpdateTime":{ "shape":"Timestamp", "documentation":"

The last time the input was updated.

" }, "status":{ "shape":"InputStatus", "documentation":"

The status of the input.

" } }, "documentation":"

Information about the configuration of an input.

" }, "InputDefinition":{ "type":"structure", "required":["attributes"], "members":{ "attributes":{ "shape":"Attributes", "documentation":"

The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using BatchPutMessage. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in the condition expressions used by detectors that monitor this input.

" } }, "documentation":"

The definition of the input.

" }, "InputDescription":{ "type":"string", "max":128 }, "InputName":{ "type":"string", "max":128, "min":1, "pattern":"^[a-zA-Z][a-zA-Z0-9_]*$" }, "InputStatus":{ "type":"string", "enum":[ "CREATING", "UPDATING", "ACTIVE", "DELETING" ] }, "InputSummaries":{ "type":"list", "member":{"shape":"InputSummary"} }, "InputSummary":{ "type":"structure", "members":{ "inputName":{ "shape":"InputName", "documentation":"

The name of the input.

" }, "inputDescription":{ "shape":"InputDescription", "documentation":"

A brief description of the input.

" }, "inputArn":{ "shape":"InputArn", "documentation":"

The ARN of the input.

" }, "creationTime":{ "shape":"Timestamp", "documentation":"

The time the input was created.

" }, "lastUpdateTime":{ "shape":"Timestamp", "documentation":"

The last time the input was updated.

" }, "status":{ "shape":"InputStatus", "documentation":"

The status of the input.

" } }, "documentation":"

Information about the input.

" }, "InternalFailureException":{ "type":"structure", "members":{ "message":{ "shape":"errorMessage", "documentation":"

The message for the exception.

" } }, "documentation":"

An internal failure occurred.

", "error":{"httpStatusCode":500}, "exception":true, "fault":true }, "InvalidRequestException":{ "type":"structure", "members":{ "message":{ "shape":"errorMessage", "documentation":"

The message for the exception.

" } }, "documentation":"

The request was invalid.

", "error":{"httpStatusCode":400}, "exception":true }, "IotEventsAction":{ "type":"structure", "required":["inputName"], "members":{ "inputName":{ "shape":"InputName", "documentation":"

The name of the AWS IoT Events input where the data is sent.

" }, "payload":{ "shape":"Payload", "documentation":"

You can configure the action payload when you send a message to an AWS IoT Events input.

" } }, "documentation":"

Sends an AWS IoT Events input, passing in information about the detector model instance and the event that triggered the action.

" }, "IotSiteWiseAction":{ "type":"structure", "required":["propertyValue"], "members":{ "entryId":{ "shape":"AssetPropertyEntryId", "documentation":"

A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier.

" }, "assetId":{ "shape":"AssetId", "documentation":"

The ID of the asset that has the specified property.

" }, "propertyId":{ "shape":"AssetPropertyId", "documentation":"

The ID of the asset property.

" }, "propertyAlias":{ "shape":"AssetPropertyAlias", "documentation":"

The alias of the asset property.

" }, "propertyValue":{ "shape":"AssetPropertyValue", "documentation":"

The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information.

" } }, "documentation":"

Sends information about the detector model instance and the event that triggered the action to a specified asset property in AWS IoT SiteWise.

You must use expressions for all parameters in IotSiteWiseAction. The expressions accept literals, operators, functions, references, and substitutions templates.

Examples

You must specify either propertyAlias or both assetId and propertyId to identify the target asset property in AWS IoT SiteWise.

For more information, see Expressions in the AWS IoT Events Developer Guide.

" }, "IotTopicPublishAction":{ "type":"structure", "required":["mqttTopic"], "members":{ "mqttTopic":{ "shape":"MQTTTopic", "documentation":"

The MQTT topic of the message. You can use a string expression that includes variables ($variable.<variable-name>) and input values ($input.<input-name>.<path-to-datum>) as the topic string.

" }, "payload":{ "shape":"Payload", "documentation":"

You can configure the action payload when you publish a message to an AWS IoT Core topic.

" } }, "documentation":"

Information required to publish the MQTT message through the AWS IoT message broker.

" }, "KeyValue":{ "type":"string", "max":128, "min":1, "pattern":"^[a-zA-Z0-9\\-_:]+$" }, "LambdaAction":{ "type":"structure", "required":["functionArn"], "members":{ "functionArn":{ "shape":"AmazonResourceName", "documentation":"

The ARN of the Lambda function that is executed.

" }, "payload":{ "shape":"Payload", "documentation":"

You can configure the action payload when you send a message to a Lambda function.

" } }, "documentation":"

Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.

" }, "LimitExceededException":{ "type":"structure", "members":{ "message":{ "shape":"errorMessage", "documentation":"

The message for the exception.

" } }, "documentation":"

A limit was exceeded.

", "error":{"httpStatusCode":410}, "exception":true }, "ListDetectorModelVersionsRequest":{ "type":"structure", "required":["detectorModelName"], "members":{ "detectorModelName":{ "shape":"DetectorModelName", "documentation":"

The name of the detector model whose versions are returned.

", "location":"uri", "locationName":"detectorModelName" }, "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" } } }, "ListDetectorModelVersionsResponse":{ "type":"structure", "members":{ "detectorModelVersionSummaries":{ "shape":"DetectorModelVersionSummaries", "documentation":"

Summary information about the detector model versions.

" }, "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.

" } } }, "ListDetectorModelsRequest":{ "type":"structure", "members":{ "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" } } }, "ListDetectorModelsResponse":{ "type":"structure", "members":{ "detectorModelSummaries":{ "shape":"DetectorModelSummaries", "documentation":"

Summary information about the detector models.

" }, "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.

" } } }, "ListInputsRequest":{ "type":"structure", "members":{ "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" } } }, "ListInputsResponse":{ "type":"structure", "members":{ "inputSummaries":{ "shape":"InputSummaries", "documentation":"

Summary information about the inputs.

" }, "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.

" } } }, "ListTagsForResourceRequest":{ "type":"structure", "required":["resourceArn"], "members":{ "resourceArn":{ "shape":"AmazonResourceName", "documentation":"

The ARN of the resource.

", "location":"querystring", "locationName":"resourceArn" } } }, "ListTagsForResourceResponse":{ "type":"structure", "members":{ "tags":{ "shape":"Tags", "documentation":"

The list of tags assigned to the resource.

" } } }, "LoggingEnabled":{"type":"boolean"}, "LoggingLevel":{ "type":"string", "enum":[ "ERROR", "INFO", "DEBUG" ] }, "LoggingOptions":{ "type":"structure", "required":[ "roleArn", "level", "enabled" ], "members":{ "roleArn":{ "shape":"AmazonResourceName", "documentation":"

The ARN of the role that grants permission to AWS IoT Events to perform logging.

" }, "level":{ "shape":"LoggingLevel", "documentation":"

The logging level.

" }, "enabled":{ "shape":"LoggingEnabled", "documentation":"

If TRUE, logging is enabled for AWS IoT Events.

" }, "detectorDebugOptions":{ "shape":"DetectorDebugOptions", "documentation":"

Information that identifies those detector models and their detectors (instances) for which the logging level is given.

" } }, "documentation":"

The values of the AWS IoT Events logging options.

" }, "MQTTTopic":{ "type":"string", "max":128, "min":1 }, "MaxAnalysisResults":{"type":"integer"}, "MaxResults":{ "type":"integer", "max":250, "min":1 }, "NextToken":{"type":"string"}, "OnEnterLifecycle":{ "type":"structure", "members":{ "events":{ "shape":"Events", "documentation":"

Specifies the actions that are performed when the state is entered and the condition is TRUE.

" } }, "documentation":"

When entering this state, perform these actions if the condition is TRUE.

" }, "OnExitLifecycle":{ "type":"structure", "members":{ "events":{ "shape":"Events", "documentation":"

Specifies the actions that are performed when the state is exited and the condition is TRUE.

" } }, "documentation":"

When exiting this state, perform these actions if the specified condition is TRUE.

" }, "OnInputLifecycle":{ "type":"structure", "members":{ "events":{ "shape":"Events", "documentation":"

Specifies the actions performed when the condition evaluates to TRUE.

" }, "transitionEvents":{ "shape":"TransitionEvents", "documentation":"

Specifies the actions performed, and the next state entered, when a condition evaluates to TRUE.

" } }, "documentation":"

Specifies the actions performed when the condition evaluates to TRUE.

" }, "Payload":{ "type":"structure", "required":[ "contentExpression", "type" ], "members":{ "contentExpression":{ "shape":"ContentExpression", "documentation":"

The content of the payload. You can use a string expression that includes quoted strings ('<string>'), variables ($variable.<variable-name>), input values ($input.<input-name>.<path-to-datum>), string concatenations, and quoted strings that contain ${} as the content. The recommended maximum size of a content expression is 1 KB.

" }, "type":{ "shape":"PayloadType", "documentation":"

The value of the payload type can be either STRING or JSON.

" } }, "documentation":"

Information needed to configure the payload.

By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use contentExpression.

" }, "PayloadType":{ "type":"string", "enum":[ "STRING", "JSON" ] }, "PutLoggingOptionsRequest":{ "type":"structure", "required":["loggingOptions"], "members":{ "loggingOptions":{ "shape":"LoggingOptions", "documentation":"

The new values of the AWS IoT Events logging options.

" } } }, "QueueUrl":{"type":"string"}, "ResetTimerAction":{ "type":"structure", "required":["timerName"], "members":{ "timerName":{ "shape":"TimerName", "documentation":"

The name of the timer to reset.

" } }, "documentation":"

Information required to reset the timer. The timer is reset to the previously evaluated result of the duration. The duration expression isn't reevaluated when you reset the timer.

" }, "ResourceAlreadyExistsException":{ "type":"structure", "members":{ "message":{ "shape":"errorMessage", "documentation":"

The message for the exception.

" }, "resourceId":{ "shape":"resourceId", "documentation":"

The ID of the resource.

" }, "resourceArn":{ "shape":"resourceArn", "documentation":"

The ARN of the resource.

" } }, "documentation":"

The resource already exists.

", "error":{"httpStatusCode":409}, "exception":true }, "ResourceInUseException":{ "type":"structure", "members":{ "message":{ "shape":"errorMessage", "documentation":"

The message for the exception.

" } }, "documentation":"

The resource is in use.

", "error":{"httpStatusCode":409}, "exception":true }, "ResourceNotFoundException":{ "type":"structure", "members":{ "message":{ "shape":"errorMessage", "documentation":"

The message for the exception.

" } }, "documentation":"

The resource was not found.

", "error":{"httpStatusCode":404}, "exception":true }, "SNSTopicPublishAction":{ "type":"structure", "required":["targetArn"], "members":{ "targetArn":{ "shape":"AmazonResourceName", "documentation":"

The ARN of the Amazon SNS target where the message is sent.

" }, "payload":{ "shape":"Payload", "documentation":"

You can configure the action payload when you send a message as an Amazon SNS push notification.

" } }, "documentation":"

Information required to publish the Amazon SNS message.

" }, "Seconds":{ "type":"integer", "max":31622400, "min":1 }, "ServiceUnavailableException":{ "type":"structure", "members":{ "message":{ "shape":"errorMessage", "documentation":"

The message for the exception.

" } }, "documentation":"

The service is currently unavailable.

", "error":{"httpStatusCode":503}, "exception":true, "fault":true }, "SetTimerAction":{ "type":"structure", "required":["timerName"], "members":{ "timerName":{ "shape":"TimerName", "documentation":"

The name of the timer.

" }, "seconds":{ "shape":"Seconds", "documentation":"

The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.

", "deprecated":true, "deprecatedMessage":"seconds is deprecated. You can use durationExpression for SetTimerAction. The value of seconds can be used as a string expression for durationExpression." }, "durationExpression":{ "shape":"VariableValue", "documentation":"

The duration of the timer, in seconds. You can use a string expression that includes numbers, variables ($variable.<variable-name>), and input values ($input.<input-name>.<path-to-datum>) as the duration. The range of the duration is 1-31622400 seconds. To ensure accuracy, the minimum duration is 60 seconds. The evaluated result of the duration is rounded down to the nearest whole number.

" } }, "documentation":"

Information needed to set the timer.

" }, "SetVariableAction":{ "type":"structure", "required":[ "variableName", "value" ], "members":{ "variableName":{ "shape":"VariableName", "documentation":"

The name of the variable.

" }, "value":{ "shape":"VariableValue", "documentation":"

The new value of the variable.

" } }, "documentation":"

Information about the variable and its new value.

" }, "SqsAction":{ "type":"structure", "required":["queueUrl"], "members":{ "queueUrl":{ "shape":"QueueUrl", "documentation":"

The URL of the SQS queue where the data is written.

" }, "useBase64":{ "shape":"UseBase64", "documentation":"

Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. Otherwise, set this to FALSE.

" }, "payload":{ "shape":"Payload", "documentation":"

You can configure the action payload when you send a message to an Amazon SQS queue.

" } }, "documentation":"

Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.

" }, "StartDetectorModelAnalysisRequest":{ "type":"structure", "required":["detectorModelDefinition"], "members":{ "detectorModelDefinition":{"shape":"DetectorModelDefinition"} } }, "StartDetectorModelAnalysisResponse":{ "type":"structure", "members":{ "analysisId":{ "shape":"AnalysisId", "documentation":"

The ID that you can use to retrieve the analysis result.

" } } }, "State":{ "type":"structure", "required":["stateName"], "members":{ "stateName":{ "shape":"StateName", "documentation":"

The name of the state.

" }, "onInput":{ "shape":"OnInputLifecycle", "documentation":"

When an input is received and the condition is TRUE, perform the specified actions.

" }, "onEnter":{ "shape":"OnEnterLifecycle", "documentation":"

When entering this state, perform these actions if the condition is TRUE.

" }, "onExit":{ "shape":"OnExitLifecycle", "documentation":"

When exiting this state, perform these actions if the specified condition is TRUE.

" } }, "documentation":"

Information that defines a state of a detector.

" }, "StateName":{ "type":"string", "max":128, "min":1 }, "States":{ "type":"list", "member":{"shape":"State"}, "min":1 }, "Tag":{ "type":"structure", "required":[ "key", "value" ], "members":{ "key":{ "shape":"TagKey", "documentation":"

The tag's key.

" }, "value":{ "shape":"TagValue", "documentation":"

The tag's value.

" } }, "documentation":"

Metadata that can be used to manage the resource.

" }, "TagKey":{ "type":"string", "max":128, "min":1 }, "TagKeys":{ "type":"list", "member":{"shape":"TagKey"} }, "TagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tags" ], "members":{ "resourceArn":{ "shape":"AmazonResourceName", "documentation":"

The ARN of the resource.

", "location":"querystring", "locationName":"resourceArn" }, "tags":{ "shape":"Tags", "documentation":"

The new or modified tags for the resource.

" } } }, "TagResourceResponse":{ "type":"structure", "members":{ } }, "TagValue":{ "type":"string", "max":256, "min":0 }, "Tags":{ "type":"list", "member":{"shape":"Tag"} }, "ThrottlingException":{ "type":"structure", "members":{ "message":{ "shape":"errorMessage", "documentation":"

The message for the exception.

" } }, "documentation":"

The request could not be completed due to throttling.

", "error":{"httpStatusCode":429}, "exception":true }, "TimerName":{ "type":"string", "max":128, "min":1 }, "Timestamp":{"type":"timestamp"}, "TransitionEvent":{ "type":"structure", "required":[ "eventName", "condition", "nextState" ], "members":{ "eventName":{ "shape":"EventName", "documentation":"

The name of the transition event.

" }, "condition":{ "shape":"Condition", "documentation":"

Required. A Boolean expression that when TRUE causes the actions to be performed and the nextState to be entered.

" }, "actions":{ "shape":"Actions", "documentation":"

The actions to be performed.

" }, "nextState":{ "shape":"StateName", "documentation":"

The next state to enter.

" } }, "documentation":"

Specifies the actions performed and the next state entered when a condition evaluates to TRUE.

" }, "TransitionEvents":{ "type":"list", "member":{"shape":"TransitionEvent"} }, "UnsupportedOperationException":{ "type":"structure", "members":{ "message":{ "shape":"errorMessage", "documentation":"

The message for the exception.

" } }, "documentation":"

The requested operation is not supported.

", "error":{"httpStatusCode":501}, "exception":true, "fault":true }, "UntagResourceRequest":{ "type":"structure", "required":[ "resourceArn", "tagKeys" ], "members":{ "resourceArn":{ "shape":"AmazonResourceName", "documentation":"

The ARN of the resource.

", "location":"querystring", "locationName":"resourceArn" }, "tagKeys":{ "shape":"TagKeys", "documentation":"

A list of the keys of the tags to be removed from the resource.

", "location":"querystring", "locationName":"tagKeys" } } }, "UntagResourceResponse":{ "type":"structure", "members":{ } }, "UpdateDetectorModelRequest":{ "type":"structure", "required":[ "detectorModelName", "detectorModelDefinition", "roleArn" ], "members":{ "detectorModelName":{ "shape":"DetectorModelName", "documentation":"

The name of the detector model that is updated.

", "location":"uri", "locationName":"detectorModelName" }, "detectorModelDefinition":{ "shape":"DetectorModelDefinition", "documentation":"

Information that defines how a detector operates.

" }, "detectorModelDescription":{ "shape":"DetectorModelDescription", "documentation":"

A brief description of the detector model.

" }, "roleArn":{ "shape":"AmazonResourceName", "documentation":"

The ARN of the role that grants permission to AWS IoT Events to perform its operations.

" }, "evaluationMethod":{ "shape":"EvaluationMethod", "documentation":"

Information about the order in which events are evaluated and how actions are executed.

" } } }, "UpdateDetectorModelResponse":{ "type":"structure", "members":{ "detectorModelConfiguration":{ "shape":"DetectorModelConfiguration", "documentation":"

Information about how the detector model is configured.

" } } }, "UpdateInputRequest":{ "type":"structure", "required":[ "inputName", "inputDefinition" ], "members":{ "inputName":{ "shape":"InputName", "documentation":"

The name of the input you want to update.

", "location":"uri", "locationName":"inputName" }, "inputDescription":{ "shape":"InputDescription", "documentation":"

A brief description of the input.

" }, "inputDefinition":{ "shape":"InputDefinition", "documentation":"

The definition of the input.

" } } }, "UpdateInputResponse":{ "type":"structure", "members":{ "inputConfiguration":{ "shape":"InputConfiguration", "documentation":"

Information about the configuration of the input.

" } } }, "UseBase64":{"type":"boolean"}, "VariableName":{ "type":"string", "max":128, "min":1, "pattern":"^[a-zA-Z][a-zA-Z0-9_]*$" }, "VariableValue":{ "type":"string", "max":1024, "min":1 }, "errorMessage":{"type":"string"}, "resourceArn":{"type":"string"}, "resourceId":{"type":"string"} }, "documentation":"

AWS IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur. You can use AWS IoT Events API operations to create, read, update, and delete inputs and detector models, and to list their versions.

" }