{ "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": { "CreateAlarmModel": { "name": "CreateAlarmModel", "http": { "method": "POST", "requestUri": "/alarm-models" }, "input": { "shape": "CreateAlarmModelRequest" }, "output": { "shape": "CreateAlarmModelResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceInUseException" }, { "shape": "ResourceAlreadyExistsException" }, { "shape": "LimitExceededException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "

Creates an alarm model to monitor an AWS IoT Events input attribute. You can use the alarm to get notified when the value is outside a specified range. For more information, see Create an alarm model in the AWS IoT Events Developer Guide.

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

" }, "DeleteAlarmModel": { "name": "DeleteAlarmModel", "http": { "method": "DELETE", "requestUri": "/alarm-models/{alarmModelName}", "responseCode": 204 }, "input": { "shape": "DeleteAlarmModelRequest" }, "output": { "shape": "DeleteAlarmModelResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceInUseException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "

Deletes an alarm model. Any alarm instances that were created based on this alarm model are also deleted. This action can't be undone.

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

" }, "DescribeAlarmModel": { "name": "DescribeAlarmModel", "http": { "method": "GET", "requestUri": "/alarm-models/{alarmModelName}" }, "input": { "shape": "DescribeAlarmModelRequest" }, "output": { "shape": "DescribeAlarmModelResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "

Retrieves information about an alarm model. If you don't specify a value for the alarmModelVersion parameter, the latest version is returned.

" }, "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 runtime information about a detector model analysis.

After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.

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

After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.

" }, "ListAlarmModelVersions": { "name": "ListAlarmModelVersions", "http": { "method": "GET", "requestUri": "/alarm-models/{alarmModelName}/versions" }, "input": { "shape": "ListAlarmModelVersionsRequest" }, "output": { "shape": "ListAlarmModelVersionsResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "

Lists all the versions of an alarm model. The operation returns only the metadata associated with each alarm model version.

" }, "ListAlarmModels": { "name": "ListAlarmModels", "http": { "method": "GET", "requestUri": "/alarm-models" }, "input": { "shape": "ListAlarmModelsRequest" }, "output": { "shape": "ListAlarmModelsResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "

Lists the alarm models that you created. The operation returns only the metadata associated with each alarm 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.

" }, "ListInputRoutings": { "name": "ListInputRoutings", "http": { "method": "POST", "requestUri": "/input-routings" }, "input": { "shape": "ListInputRoutingsRequest" }, "output": { "shape": "ListInputRoutingsResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ServiceUnavailableException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Lists one or more input routings.

" }, "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 Troubleshooting a detector model 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.

" }, "UpdateAlarmModel": { "name": "UpdateAlarmModel", "http": { "method": "POST", "requestUri": "/alarm-models/{alarmModelName}" }, "input": { "shape": "UpdateAlarmModelRequest" }, "output": { "shape": "UpdateAlarmModelResponse" }, "errors": [ { "shape": "InvalidRequestException" }, { "shape": "ResourceInUseException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalFailureException" }, { "shape": "ServiceUnavailableException" } ], "documentation": "

Updates an alarm model. Any alarms that were created based on the previous version are deleted and then created again as new data arrives.

" }, "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": { "AcknowledgeFlow": { "type": "structure", "required": [ "enabled" ], "members": { "enabled": { "shape": "AcknowledgeFlowEnabled", "documentation": "

The value must be TRUE or FALSE. If TRUE, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to NORMAL. If FALSE, you won't receive notifications. The alarm automatically changes to the NORMAL state when the input property value returns to the specified range.

" } }, "documentation": "

Specifies whether to get notified for alarm state changes.

" }, "AcknowledgeFlowEnabled": { "type": "boolean", "box": true }, "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" } }, "AlarmAction": { "type": "structure", "members": { "sns": { "shape": "SNSTopicPublishAction" }, "iotTopicPublish": { "shape": "IotTopicPublishAction" }, "lambda": { "shape": "LambdaAction" }, "iotEvents": { "shape": "IotEventsAction" }, "sqs": { "shape": "SqsAction" }, "firehose": { "shape": "FirehoseAction" }, "dynamoDB": { "shape": "DynamoDBAction" }, "dynamoDBv2": { "shape": "DynamoDBv2Action" }, "iotSiteWise": { "shape": "IotSiteWiseAction" } }, "documentation": "

Specifies one of the following actions to receive notifications when the alarm state changes.

" }, "AlarmActions": { "type": "list", "member": { "shape": "AlarmAction" } }, "AlarmCapabilities": { "type": "structure", "members": { "initializationConfiguration": { "shape": "InitializationConfiguration", "documentation": "

Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.

" }, "acknowledgeFlow": { "shape": "AcknowledgeFlow", "documentation": "

Specifies whether to get notified for alarm state changes.

" } }, "documentation": "

Contains the configuration information of alarm state changes.

" }, "AlarmEventActions": { "type": "structure", "members": { "alarmActions": { "shape": "AlarmActions", "documentation": "

Specifies one or more supported actions to receive notifications when the alarm state changes.

" } }, "documentation": "

Contains information about one or more alarm actions.

" }, "AlarmModelArn": { "type": "string" }, "AlarmModelDescription": { "type": "string", "max": 1024 }, "AlarmModelName": { "type": "string", "max": 128, "min": 1, "pattern": "^[a-zA-Z0-9_-]+$" }, "AlarmModelSummaries": { "type": "list", "member": { "shape": "AlarmModelSummary" } }, "AlarmModelSummary": { "type": "structure", "members": { "creationTime": { "shape": "Timestamp", "documentation": "

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

" }, "alarmModelDescription": { "shape": "AlarmModelDescription", "documentation": "

The description of the alarm model.

" }, "alarmModelName": { "shape": "AlarmModelName", "documentation": "

The name of the alarm model.

" } }, "documentation": "

Contains a summary of an alarm model.

" }, "AlarmModelVersion": { "type": "string", "max": 128, "min": 1 }, "AlarmModelVersionStatus": { "type": "string", "enum": [ "ACTIVE", "ACTIVATING", "INACTIVE", "FAILED" ] }, "AlarmModelVersionSummaries": { "type": "list", "member": { "shape": "AlarmModelVersionSummary" } }, "AlarmModelVersionSummary": { "type": "structure", "members": { "alarmModelName": { "shape": "AlarmModelName", "documentation": "

The name of the alarm model.

" }, "alarmModelArn": { "shape": "AlarmModelArn", "documentation": "

The ARN of the alarm model. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.

" }, "alarmModelVersion": { "shape": "AlarmModelVersion", "documentation": "

The version of the alarm model.

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

The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.

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

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

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

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

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

The status of the alarm model. The status can be one of the following values:

" }, "statusMessage": { "shape": "StatusMessage", "documentation": "

Contains information about the status of the alarm model version.

" } }, "documentation": "

Contains a summary of an alarm model version.

" }, "AlarmNotification": { "type": "structure", "members": { "notificationActions": { "shape": "NotificationActions", "documentation": "

Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.

" } }, "documentation": "

Contains information about one or more notification actions.

" }, "AlarmRule": { "type": "structure", "members": { "simpleRule": { "shape": "SimpleRule", "documentation": "

A rule that compares an input property value to a threshold value with a comparison operator.

" } }, "documentation": "

Defines when your alarm is invoked.

" }, "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. Based on the severity level, analysis results fall into three general categories:

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

" }, "ComparisonOperator": { "type": "string", "enum": [ "GREATER", "GREATER_OR_EQUAL", "LESS", "LESS_OR_EQUAL", "EQUAL", "NOT_EQUAL" ] }, "Condition": { "type": "string", "max": 512 }, "ContentExpression": { "type": "string", "min": 1 }, "CreateAlarmModelRequest": { "type": "structure", "required": [ "alarmModelName", "roleArn", "alarmRule" ], "members": { "alarmModelName": { "shape": "AlarmModelName", "documentation": "

A unique name that helps you identify the alarm model. You can't change this name after you create the alarm model.

" }, "alarmModelDescription": { "shape": "AlarmModelDescription", "documentation": "

A description that tells you what the alarm model detects.

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

The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.

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

A list of key-value pairs that contain metadata for the alarm model. The tags help you manage the alarm model. For more information, see Tagging your AWS IoT Events resources in the AWS IoT Events Developer Guide.

You can create up to 50 tags for one alarm model.

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

An input attribute used as a key to create an alarm. AWS IoT Events routes inputs associated with this key to the alarm.

" }, "severity": { "shape": "Severity", "documentation": "

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

" }, "alarmRule": { "shape": "AlarmRule", "documentation": "

Defines when your alarm is invoked.

" }, "alarmNotification": { "shape": "AlarmNotification", "documentation": "

Contains information about one or more notification actions.

" }, "alarmEventActions": { "shape": "AlarmEventActions", "documentation": "

Contains information about one or more alarm actions.

" }, "alarmCapabilities": { "shape": "AlarmCapabilities", "documentation": "

Contains the configuration information of alarm state changes.

" } } }, "CreateAlarmModelResponse": { "type": "structure", "members": { "creationTime": { "shape": "Timestamp", "documentation": "

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

" }, "alarmModelArn": { "shape": "AlarmModelArn", "documentation": "

The ARN of the alarm model. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.

" }, "alarmModelVersion": { "shape": "AlarmModelVersion", "documentation": "

The version of the alarm model.

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

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

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

The status of the alarm model. The status can be one of the following values:

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

" } } }, "DeleteAlarmModelRequest": { "type": "structure", "required": [ "alarmModelName" ], "members": { "alarmModelName": { "shape": "AlarmModelName", "documentation": "

The name of the alarm model.

", "location": "uri", "locationName": "alarmModelName" } } }, "DeleteAlarmModelResponse": { "type": "structure", "members": {} }, "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" }, "DescribeAlarmModelRequest": { "type": "structure", "required": [ "alarmModelName" ], "members": { "alarmModelName": { "shape": "AlarmModelName", "documentation": "

The name of the alarm model.

", "location": "uri", "locationName": "alarmModelName" }, "alarmModelVersion": { "shape": "AlarmModelVersion", "documentation": "

The version of the alarm model.

", "location": "querystring", "locationName": "version" } } }, "DescribeAlarmModelResponse": { "type": "structure", "members": { "creationTime": { "shape": "Timestamp", "documentation": "

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

" }, "alarmModelArn": { "shape": "AlarmModelArn", "documentation": "

The ARN of the alarm model. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.

" }, "alarmModelVersion": { "shape": "AlarmModelVersion", "documentation": "

The version of the alarm model.

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

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

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

The status of the alarm model. The status can be one of the following values:

" }, "statusMessage": { "shape": "StatusMessage", "documentation": "

Contains information about the status of the alarm model.

" }, "alarmModelName": { "shape": "AlarmModelName", "documentation": "

The name of the alarm model.

" }, "alarmModelDescription": { "shape": "AlarmModelDescription", "documentation": "

The description of the alarm model.

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

The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.

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

An input attribute used as a key to create an alarm. AWS IoT Events routes inputs associated with this key to the alarm.

" }, "severity": { "shape": "Severity", "documentation": "

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

" }, "alarmRule": { "shape": "AlarmRule", "documentation": "

Defines when your alarm is invoked.

" }, "alarmNotification": { "shape": "AlarmNotification", "documentation": "

Contains information about one or more notification actions.

" }, "alarmEventActions": { "shape": "AlarmEventActions", "documentation": "

Contains information about one or more alarm actions.

" }, "alarmCapabilities": { "shape": "AlarmCapabilities", "documentation": "

Contains the configuration information of alarm state changes.

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

" }, "DisabledOnInitialization": { "type": "boolean", "box": true }, "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" }, "EmailConfiguration": { "type": "structure", "required": [ "from", "recipients" ], "members": { "from": { "shape": "FromEmail", "documentation": "

The email address that sends emails.

If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must verify the email address that sends emails in Amazon SES.

" }, "content": { "shape": "EmailContent", "documentation": "

Contains the subject and message of an email.

" }, "recipients": { "shape": "EmailRecipients", "documentation": "

Contains the information of one or more recipients who receive the emails.

You must add the users that receive emails to your AWS SSO store.

" } }, "documentation": "

Contains the configuration information of email notifications.

" }, "EmailConfigurations": { "type": "list", "member": { "shape": "EmailConfiguration" }, "min": 1 }, "EmailContent": { "type": "structure", "members": { "subject": { "shape": "EmailSubject", "documentation": "

The subject of the email.

" }, "additionalMessage": { "shape": "NotificationAdditionalMessage", "documentation": "

The message that you want to send. The message can be up to 200 characters.

" } }, "documentation": "

Contains the subject and message of an email.

" }, "EmailRecipients": { "type": "structure", "members": { "to": { "shape": "RecipientDetails", "documentation": "

Specifies one or more recipients who receive the email.

" } }, "documentation": "

Contains the information of one or more recipients who receive the emails.

You must add the users that receive emails to your AWS SSO store.

" }, "EmailSubject": { "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)|(,)" }, "FromEmail": { "type": "string" }, "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.

" } } }, "IdentityStoreId": { "type": "string" }, "InitializationConfiguration": { "type": "structure", "required": [ "disabledOnInitialization" ], "members": { "disabledOnInitialization": { "shape": "DisabledOnInitialization", "documentation": "

The value must be TRUE or FALSE. If FALSE, all alarm instances created based on the alarm model are activated. The default value is TRUE.

" } }, "documentation": "

Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.

" }, "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": 1024 }, "InputIdentifier": { "type": "structure", "members": { "iotEventsInputIdentifier": { "shape": "IotEventsInputIdentifier", "documentation": "

The identifier of the input routed to AWS IoT Events.

" }, "iotSiteWiseInputIdentifier": { "shape": "IotSiteWiseInputIdentifier", "documentation": "

The identifer of the input routed from AWS IoT SiteWise.

" } }, "documentation": "

The identifer of the input.

" }, "InputName": { "type": "string", "max": 128, "min": 1, "pattern": "^[a-zA-Z][a-zA-Z0-9_]*$" }, "InputProperty": { "type": "string", "max": 512, "min": 1 }, "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.

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

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

The name of the input routed to AWS IoT Events.

" } }, "documentation": "

The identifier of the input routed to AWS IoT Events.

" }, "IotSiteWiseAction": { "type": "structure", "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.

" }, "IotSiteWiseAssetModelPropertyIdentifier": { "type": "structure", "required": [ "assetModelId", "propertyId" ], "members": { "assetModelId": { "shape": "AssetModelId", "documentation": "

The ID of the AWS IoT SiteWise asset model.

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

The ID of the AWS IoT SiteWise asset property.

" } }, "documentation": "

The asset model property identifer of the input routed from AWS IoT SiteWise.

" }, "IotSiteWiseInputIdentifier": { "type": "structure", "members": { "iotSiteWiseAssetModelPropertyIdentifier": { "shape": "IotSiteWiseAssetModelPropertyIdentifier", "documentation": "

The identifier of the AWS IoT SiteWise asset model property.

" } }, "documentation": "

The identifer of the input routed from AWS IoT SiteWise.

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

" }, "ListAlarmModelVersionsRequest": { "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" } } }, "ListAlarmModelVersionsResponse": { "type": "structure", "members": { "alarmModelVersionSummaries": { "shape": "AlarmModelVersionSummaries", "documentation": "

A list that summarizes each alarm model version.

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

" } } }, "ListAlarmModelsRequest": { "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" } } }, "ListAlarmModelsResponse": { "type": "structure", "members": { "alarmModelSummaries": { "shape": "AlarmModelSummaries", "documentation": "

A list that summarizes each alarm model.

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

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

" } } }, "ListInputRoutingsRequest": { "type": "structure", "required": [ "inputIdentifier" ], "members": { "inputIdentifier": { "shape": "InputIdentifier", "documentation": "

The identifer of the routed input.

" }, "maxResults": { "shape": "MaxResults", "documentation": "

The maximum number of results to be returned per request.

" }, "nextToken": { "shape": "NextToken", "documentation": "

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

" } } }, "ListInputRoutingsResponse": { "type": "structure", "members": { "routedResources": { "shape": "RoutedResources", "documentation": "

Summary information about the routed resources.

" }, "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" }, "NotificationAction": { "type": "structure", "required": [ "action" ], "members": { "action": { "shape": "NotificationTargetActions", "documentation": "

Specifies an AWS Lambda function to manage alarm notifications. You can create one or use the AWS Lambda function provided by AWS IoT Events.

" }, "smsConfigurations": { "shape": "SMSConfigurations", "documentation": "

Contains the configuration information of SMS notifications.

" }, "emailConfigurations": { "shape": "EmailConfigurations", "documentation": "

Contains the configuration information of email notifications.

" } }, "documentation": "

Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.

" }, "NotificationActions": { "type": "list", "member": { "shape": "NotificationAction" }, "min": 1 }, "NotificationAdditionalMessage": { "type": "string" }, "NotificationTargetActions": { "type": "structure", "members": { "lambdaAction": { "shape": "LambdaAction" } }, "documentation": "

Specifies an AWS Lambda function to manage alarm notifications. You can create one or use the AWS Lambda function provided by AWS IoT Events.

" }, "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" }, "RecipientDetail": { "type": "structure", "members": { "ssoIdentity": { "shape": "SSOIdentity", "documentation": "

The AWS Single Sign-On (AWS SSO) authentication information.

" } }, "documentation": "

The information that identifies the recipient.

" }, "RecipientDetails": { "type": "list", "member": { "shape": "RecipientDetail" }, "min": 1 }, "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.

" }, "ResourceName": { "type": "string" }, "RoutedResource": { "type": "structure", "members": { "name": { "shape": "ResourceName", "documentation": "

The name of the routed resource.

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

The ARN of the routed resource. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.

" } }, "documentation": "

Contains information about the routed resource.

" }, "RoutedResources": { "type": "list", "member": { "shape": "RoutedResource" } }, "SMSConfiguration": { "type": "structure", "required": [ "recipients" ], "members": { "senderId": { "shape": "SMSSenderId", "documentation": "

The sender ID.

" }, "additionalMessage": { "shape": "NotificationAdditionalMessage", "documentation": "

The message that you want to send. The message can be up to 200 characters.

" }, "recipients": { "shape": "RecipientDetails", "documentation": "

Specifies one or more recipients who receive the message.

You must add the users that receive SMS messages to your AWS SSO store.

" } }, "documentation": "

Contains the configuration information of SMS notifications.

" }, "SMSConfigurations": { "type": "list", "member": { "shape": "SMSConfiguration" }, "min": 1 }, "SMSSenderId": { "type": "string" }, "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.

" }, "SSOIdentity": { "type": "structure", "required": [ "identityStoreId" ], "members": { "identityStoreId": { "shape": "IdentityStoreId", "documentation": "

The ID of the AWS SSO identity store.

" }, "userId": { "shape": "SSOReferenceId", "documentation": "

The user ID.

" } }, "documentation": "

Contains information about your identity source in AWS Single Sign-On. For more information, see the AWS Single Sign-On User Guide.

" }, "SSOReferenceId": { "type": "string" }, "Seconds": { "type": "integer", "max": 31622400, "min": 1 }, "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.

" }, "Severity": { "type": "integer", "box": true, "max": 2147483647, "min": 0 }, "SimpleRule": { "type": "structure", "required": [ "inputProperty", "comparisonOperator", "threshold" ], "members": { "inputProperty": { "shape": "InputProperty", "documentation": "

The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.

" }, "comparisonOperator": { "shape": "ComparisonOperator", "documentation": "

The comparison operator.

" }, "threshold": { "shape": "Threshold", "documentation": "

The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.

" } }, "documentation": "

A rule that compares an input property value to a threshold value with a comparison operator.

" }, "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 }, "StatusMessage": { "type": "string" }, "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" } }, "Threshold": { "type": "string", "max": 512, "min": 1 }, "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" } }, "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": {} }, "UpdateAlarmModelRequest": { "type": "structure", "required": [ "alarmModelName", "roleArn", "alarmRule" ], "members": { "alarmModelName": { "shape": "AlarmModelName", "documentation": "

The name of the alarm model.

", "location": "uri", "locationName": "alarmModelName" }, "alarmModelDescription": { "shape": "AlarmModelDescription", "documentation": "

The description of the alarm model.

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

The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.

" }, "severity": { "shape": "Severity", "documentation": "

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

" }, "alarmRule": { "shape": "AlarmRule", "documentation": "

Defines when your alarm is invoked.

" }, "alarmNotification": { "shape": "AlarmNotification", "documentation": "

Contains information about one or more notification actions.

" }, "alarmEventActions": { "shape": "AlarmEventActions", "documentation": "

Contains information about one or more alarm actions.

" }, "alarmCapabilities": { "shape": "AlarmCapabilities", "documentation": "

Contains the configuration information of alarm state changes.

" } } }, "UpdateAlarmModelResponse": { "type": "structure", "members": { "creationTime": { "shape": "Timestamp", "documentation": "

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

" }, "alarmModelArn": { "shape": "AlarmModelArn", "documentation": "

The ARN of the alarm model. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.

" }, "alarmModelVersion": { "shape": "AlarmModelVersion", "documentation": "

The version of the alarm model.

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

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

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

The status of the alarm model. The status can be one of the following values:

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

" }