{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.iotevents#Action": { "type": "structure", "members": { "setVariable": { "target": "com.amazonaws.iotevents#SetVariableAction", "traits": { "smithy.api#documentation": "

Sets a variable to a specified value.

" } }, "sns": { "target": "com.amazonaws.iotevents#SNSTopicPublishAction", "traits": { "smithy.api#documentation": "

Sends an Amazon SNS message.

" } }, "iotTopicPublish": { "target": "com.amazonaws.iotevents#IotTopicPublishAction", "traits": { "smithy.api#documentation": "

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

" } }, "setTimer": { "target": "com.amazonaws.iotevents#SetTimerAction", "traits": { "smithy.api#documentation": "

Information needed to set the timer.

" } }, "clearTimer": { "target": "com.amazonaws.iotevents#ClearTimerAction", "traits": { "smithy.api#documentation": "

Information needed to clear the timer.

" } }, "resetTimer": { "target": "com.amazonaws.iotevents#ResetTimerAction", "traits": { "smithy.api#documentation": "

Information needed to reset the timer.

" } }, "lambda": { "target": "com.amazonaws.iotevents#LambdaAction", "traits": { "smithy.api#documentation": "

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

" } }, "iotEvents": { "target": "com.amazonaws.iotevents#IotEventsAction", "traits": { "smithy.api#documentation": "

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

" } }, "sqs": { "target": "com.amazonaws.iotevents#SqsAction", "traits": { "smithy.api#documentation": "

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

" } }, "firehose": { "target": "com.amazonaws.iotevents#FirehoseAction", "traits": { "smithy.api#documentation": "

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

" } }, "dynamoDB": { "target": "com.amazonaws.iotevents#DynamoDBAction", "traits": { "smithy.api#documentation": "

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

" } }, "dynamoDBv2": { "target": "com.amazonaws.iotevents#DynamoDBv2Action", "traits": { "smithy.api#documentation": "

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

" } }, "iotSiteWise": { "target": "com.amazonaws.iotevents#IotSiteWiseAction", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

An action to be performed when the condition is TRUE.

" } }, "com.amazonaws.iotevents#Actions": { "type": "list", "member": { "target": "com.amazonaws.iotevents#Action" } }, "com.amazonaws.iotevents#AmazonResourceName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 } } }, "com.amazonaws.iotevents#AnalysisId": { "type": "string" }, "com.amazonaws.iotevents#AnalysisMessage": { "type": "string" }, "com.amazonaws.iotevents#AnalysisResult": { "type": "structure", "members": { "type": { "target": "com.amazonaws.iotevents#AnalysisType", "traits": { "smithy.api#documentation": "

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

\n \n

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

" } }, "level": { "target": "com.amazonaws.iotevents#AnalysisResultLevel", "traits": { "smithy.api#documentation": "

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

\n " } }, "message": { "target": "com.amazonaws.iotevents#AnalysisMessage", "traits": { "smithy.api#documentation": "

Contains additional information about the analysis result.

" } }, "locations": { "target": "com.amazonaws.iotevents#AnalysisResultLocations", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

Contains the result of the analysis.

" } }, "com.amazonaws.iotevents#AnalysisResultLevel": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "INFO", "name": "INFO" }, { "value": "WARNING", "name": "WARNING" }, { "value": "ERROR", "name": "ERROR" } ] } }, "com.amazonaws.iotevents#AnalysisResultLocation": { "type": "structure", "members": { "path": { "target": "com.amazonaws.iotevents#AnalysisResultLocationPath", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.iotevents#AnalysisResultLocationPath": { "type": "string" }, "com.amazonaws.iotevents#AnalysisResultLocations": { "type": "list", "member": { "target": "com.amazonaws.iotevents#AnalysisResultLocation" } }, "com.amazonaws.iotevents#AnalysisResults": { "type": "list", "member": { "target": "com.amazonaws.iotevents#AnalysisResult" } }, "com.amazonaws.iotevents#AnalysisStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "RUNNING", "name": "RUNNING" }, { "value": "COMPLETE", "name": "COMPLETE" }, { "value": "FAILED", "name": "FAILED" } ] } }, "com.amazonaws.iotevents#AnalysisType": { "type": "string" }, "com.amazonaws.iotevents#AssetId": { "type": "string" }, "com.amazonaws.iotevents#AssetPropertyAlias": { "type": "string" }, "com.amazonaws.iotevents#AssetPropertyBooleanValue": { "type": "string" }, "com.amazonaws.iotevents#AssetPropertyDoubleValue": { "type": "string" }, "com.amazonaws.iotevents#AssetPropertyEntryId": { "type": "string" }, "com.amazonaws.iotevents#AssetPropertyId": { "type": "string" }, "com.amazonaws.iotevents#AssetPropertyIntegerValue": { "type": "string" }, "com.amazonaws.iotevents#AssetPropertyOffsetInNanos": { "type": "string" }, "com.amazonaws.iotevents#AssetPropertyQuality": { "type": "string" }, "com.amazonaws.iotevents#AssetPropertyStringValue": { "type": "string" }, "com.amazonaws.iotevents#AssetPropertyTimeInSeconds": { "type": "string" }, "com.amazonaws.iotevents#AssetPropertyTimestamp": { "type": "structure", "members": { "timeInSeconds": { "target": "com.amazonaws.iotevents#AssetPropertyTimeInSeconds", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } }, "offsetInNanos": { "target": "com.amazonaws.iotevents#AssetPropertyOffsetInNanos", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

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

\n

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

\n

\n Examples\n

\n \n

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

" } }, "com.amazonaws.iotevents#AssetPropertyValue": { "type": "structure", "members": { "value": { "target": "com.amazonaws.iotevents#AssetPropertyVariant", "traits": { "smithy.api#documentation": "

The value to send to an asset property.

", "smithy.api#required": {} } }, "timestamp": { "target": "com.amazonaws.iotevents#AssetPropertyTimestamp", "traits": { "smithy.api#documentation": "

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

" } }, "quality": { "target": "com.amazonaws.iotevents#AssetPropertyQuality", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

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

\n

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

\n

\n Examples\n

\n \n

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

" } }, "com.amazonaws.iotevents#AssetPropertyVariant": { "type": "structure", "members": { "stringValue": { "target": "com.amazonaws.iotevents#AssetPropertyStringValue", "traits": { "smithy.api#documentation": "

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

" } }, "integerValue": { "target": "com.amazonaws.iotevents#AssetPropertyIntegerValue", "traits": { "smithy.api#documentation": "

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

" } }, "doubleValue": { "target": "com.amazonaws.iotevents#AssetPropertyDoubleValue", "traits": { "smithy.api#documentation": "

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

" } }, "booleanValue": { "target": "com.amazonaws.iotevents#AssetPropertyBooleanValue", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

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

\n

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

\n

\n Examples\n

\n \n

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

\n

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

" } }, "com.amazonaws.iotevents#Attribute": { "type": "structure", "members": { "jsonPath": { "target": "com.amazonaws.iotevents#AttributeJsonPath", "traits": { "smithy.api#documentation": "

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

\n

Syntax: ....\n

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.iotevents#AttributeJsonPath": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^((`[\\w\\- ]+`)|([\\w\\-]+))(\\.((`[\\w- ]+`)|([\\w\\-]+)))*$" } }, "com.amazonaws.iotevents#Attributes": { "type": "list", "member": { "target": "com.amazonaws.iotevents#Attribute" }, "traits": { "smithy.api#length": { "min": 1, "max": 200 } } }, "com.amazonaws.iotevents#ClearTimerAction": { "type": "structure", "members": { "timerName": { "target": "com.amazonaws.iotevents#TimerName", "traits": { "smithy.api#documentation": "

The name of the timer to clear.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Information needed to clear the timer.

" } }, "com.amazonaws.iotevents#Condition": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 512 } } }, "com.amazonaws.iotevents#ContentExpression": { "type": "string", "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.iotevents#CreateDetectorModel": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#CreateDetectorModelRequest" }, "output": { "target": "com.amazonaws.iotevents#CreateDetectorModelResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#LimitExceededException" }, { "target": "com.amazonaws.iotevents#ResourceAlreadyExistsException" }, { "target": "com.amazonaws.iotevents#ResourceInUseException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

Creates a detector model.

", "smithy.api#http": { "method": "POST", "uri": "/detector-models", "code": 200 } } }, "com.amazonaws.iotevents#CreateDetectorModelRequest": { "type": "structure", "members": { "detectorModelName": { "target": "com.amazonaws.iotevents#DetectorModelName", "traits": { "smithy.api#documentation": "

The name of the detector model.

", "smithy.api#required": {} } }, "detectorModelDefinition": { "target": "com.amazonaws.iotevents#DetectorModelDefinition", "traits": { "smithy.api#documentation": "

Information that defines how the detectors operate.

", "smithy.api#required": {} } }, "detectorModelDescription": { "target": "com.amazonaws.iotevents#DetectorModelDescription", "traits": { "smithy.api#documentation": "

A brief description of the detector model.

" } }, "key": { "target": "com.amazonaws.iotevents#AttributeJsonPath", "traits": { "smithy.api#documentation": "

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

" } }, "roleArn": { "target": "com.amazonaws.iotevents#AmazonResourceName", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.iotevents#Tags", "traits": { "smithy.api#documentation": "

Metadata that can be used to manage the detector model.

" } }, "evaluationMethod": { "target": "com.amazonaws.iotevents#EvaluationMethod", "traits": { "smithy.api#documentation": "

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

" } } } }, "com.amazonaws.iotevents#CreateDetectorModelResponse": { "type": "structure", "members": { "detectorModelConfiguration": { "target": "com.amazonaws.iotevents#DetectorModelConfiguration", "traits": { "smithy.api#documentation": "

Information about how the detector model is configured.

" } } } }, "com.amazonaws.iotevents#CreateInput": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#CreateInputRequest" }, "output": { "target": "com.amazonaws.iotevents#CreateInputResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ResourceAlreadyExistsException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

Creates an input.

", "smithy.api#http": { "method": "POST", "uri": "/inputs", "code": 201 } } }, "com.amazonaws.iotevents#CreateInputRequest": { "type": "structure", "members": { "inputName": { "target": "com.amazonaws.iotevents#InputName", "traits": { "smithy.api#documentation": "

The name you want to give to the input.

", "smithy.api#required": {} } }, "inputDescription": { "target": "com.amazonaws.iotevents#InputDescription", "traits": { "smithy.api#documentation": "

A brief description of the input.

" } }, "inputDefinition": { "target": "com.amazonaws.iotevents#InputDefinition", "traits": { "smithy.api#documentation": "

The definition of the input.

", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.iotevents#Tags", "traits": { "smithy.api#documentation": "

Metadata that can be used to manage the input.

" } } } }, "com.amazonaws.iotevents#CreateInputResponse": { "type": "structure", "members": { "inputConfiguration": { "target": "com.amazonaws.iotevents#InputConfiguration", "traits": { "smithy.api#documentation": "

Information about the configuration of the input.

" } } } }, "com.amazonaws.iotevents#DeleteDetectorModel": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#DeleteDetectorModelRequest" }, "output": { "target": "com.amazonaws.iotevents#DeleteDetectorModelResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ResourceInUseException" }, { "target": "com.amazonaws.iotevents#ResourceNotFoundException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#http": { "method": "DELETE", "uri": "/detector-models/{detectorModelName}", "code": 204 } } }, "com.amazonaws.iotevents#DeleteDetectorModelRequest": { "type": "structure", "members": { "detectorModelName": { "target": "com.amazonaws.iotevents#DetectorModelName", "traits": { "smithy.api#documentation": "

The name of the detector model to be deleted.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.iotevents#DeleteDetectorModelResponse": { "type": "structure", "members": {} }, "com.amazonaws.iotevents#DeleteInput": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#DeleteInputRequest" }, "output": { "target": "com.amazonaws.iotevents#DeleteInputResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ResourceInUseException" }, { "target": "com.amazonaws.iotevents#ResourceNotFoundException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

Deletes an input.

", "smithy.api#http": { "method": "DELETE", "uri": "/inputs/{inputName}", "code": 200 } } }, "com.amazonaws.iotevents#DeleteInputRequest": { "type": "structure", "members": { "inputName": { "target": "com.amazonaws.iotevents#InputName", "traits": { "smithy.api#documentation": "

The name of the input to delete.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.iotevents#DeleteInputResponse": { "type": "structure", "members": {} }, "com.amazonaws.iotevents#DeliveryStreamName": { "type": "string" }, "com.amazonaws.iotevents#DescribeDetectorModel": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#DescribeDetectorModelRequest" }, "output": { "target": "com.amazonaws.iotevents#DescribeDetectorModelResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ResourceNotFoundException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#http": { "method": "GET", "uri": "/detector-models/{detectorModelName}", "code": 200 } } }, "com.amazonaws.iotevents#DescribeDetectorModelAnalysis": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#DescribeDetectorModelAnalysisRequest" }, "output": { "target": "com.amazonaws.iotevents#DescribeDetectorModelAnalysisResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ResourceNotFoundException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

Retrieves execution information about a detector model analysis

", "smithy.api#http": { "method": "GET", "uri": "/analysis/detector-models/{analysisId}", "code": 200 } } }, "com.amazonaws.iotevents#DescribeDetectorModelAnalysisRequest": { "type": "structure", "members": { "analysisId": { "target": "com.amazonaws.iotevents#AnalysisId", "traits": { "smithy.api#documentation": "

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

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.iotevents#DescribeDetectorModelAnalysisResponse": { "type": "structure", "members": { "status": { "target": "com.amazonaws.iotevents#AnalysisStatus", "traits": { "smithy.api#documentation": "

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

\n " } } } }, "com.amazonaws.iotevents#DescribeDetectorModelRequest": { "type": "structure", "members": { "detectorModelName": { "target": "com.amazonaws.iotevents#DetectorModelName", "traits": { "smithy.api#documentation": "

The name of the detector model.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "detectorModelVersion": { "target": "com.amazonaws.iotevents#DetectorModelVersion", "traits": { "smithy.api#documentation": "

The version of the detector model.

", "smithy.api#httpQuery": "version" } } } }, "com.amazonaws.iotevents#DescribeDetectorModelResponse": { "type": "structure", "members": { "detectorModel": { "target": "com.amazonaws.iotevents#DetectorModel", "traits": { "smithy.api#documentation": "

Information about the detector model.

" } } } }, "com.amazonaws.iotevents#DescribeInput": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#DescribeInputRequest" }, "output": { "target": "com.amazonaws.iotevents#DescribeInputResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ResourceNotFoundException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

Describes an input.

", "smithy.api#http": { "method": "GET", "uri": "/inputs/{inputName}", "code": 200 } } }, "com.amazonaws.iotevents#DescribeInputRequest": { "type": "structure", "members": { "inputName": { "target": "com.amazonaws.iotevents#InputName", "traits": { "smithy.api#documentation": "

The name of the input.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.iotevents#DescribeInputResponse": { "type": "structure", "members": { "input": { "target": "com.amazonaws.iotevents#Input", "traits": { "smithy.api#documentation": "

Information about the input.

" } } } }, "com.amazonaws.iotevents#DescribeLoggingOptions": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#DescribeLoggingOptionsRequest" }, "output": { "target": "com.amazonaws.iotevents#DescribeLoggingOptionsResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ResourceNotFoundException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" }, { "target": "com.amazonaws.iotevents#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#http": { "method": "GET", "uri": "/logging", "code": 200 } } }, "com.amazonaws.iotevents#DescribeLoggingOptionsRequest": { "type": "structure", "members": {} }, "com.amazonaws.iotevents#DescribeLoggingOptionsResponse": { "type": "structure", "members": { "loggingOptions": { "target": "com.amazonaws.iotevents#LoggingOptions", "traits": { "smithy.api#documentation": "

The current settings of the AWS IoT Events logging options.

" } } } }, "com.amazonaws.iotevents#DetectorDebugOption": { "type": "structure", "members": { "detectorModelName": { "target": "com.amazonaws.iotevents#DetectorModelName", "traits": { "smithy.api#documentation": "

The name of the detector model.

", "smithy.api#required": {} } }, "keyValue": { "target": "com.amazonaws.iotevents#KeyValue", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.iotevents#DetectorDebugOptions": { "type": "list", "member": { "target": "com.amazonaws.iotevents#DetectorDebugOption" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.iotevents#DetectorModel": { "type": "structure", "members": { "detectorModelDefinition": { "target": "com.amazonaws.iotevents#DetectorModelDefinition", "traits": { "smithy.api#documentation": "

Information that defines how a detector operates.

" } }, "detectorModelConfiguration": { "target": "com.amazonaws.iotevents#DetectorModelConfiguration", "traits": { "smithy.api#documentation": "

Information about how the detector is configured.

" } } }, "traits": { "smithy.api#documentation": "

Information about the detector model.

" } }, "com.amazonaws.iotevents#DetectorModelArn": { "type": "string" }, "com.amazonaws.iotevents#DetectorModelConfiguration": { "type": "structure", "members": { "detectorModelName": { "target": "com.amazonaws.iotevents#DetectorModelName", "traits": { "smithy.api#documentation": "

The name of the detector model.

" } }, "detectorModelVersion": { "target": "com.amazonaws.iotevents#DetectorModelVersion", "traits": { "smithy.api#documentation": "

The version of the detector model.

" } }, "detectorModelDescription": { "target": "com.amazonaws.iotevents#DetectorModelDescription", "traits": { "smithy.api#documentation": "

A brief description of the detector model.

" } }, "detectorModelArn": { "target": "com.amazonaws.iotevents#DetectorModelArn", "traits": { "smithy.api#documentation": "

The ARN of the detector model.

" } }, "roleArn": { "target": "com.amazonaws.iotevents#AmazonResourceName", "traits": { "smithy.api#documentation": "

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

" } }, "creationTime": { "target": "com.amazonaws.iotevents#Timestamp", "traits": { "smithy.api#documentation": "

The time the detector model was created.

" } }, "lastUpdateTime": { "target": "com.amazonaws.iotevents#Timestamp", "traits": { "smithy.api#documentation": "

The time the detector model was last updated.

" } }, "status": { "target": "com.amazonaws.iotevents#DetectorModelVersionStatus", "traits": { "smithy.api#documentation": "

The status of the detector model.

" } }, "key": { "target": "com.amazonaws.iotevents#AttributeJsonPath", "traits": { "smithy.api#documentation": "

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

\n

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

" } }, "evaluationMethod": { "target": "com.amazonaws.iotevents#EvaluationMethod", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

Information about how the detector model is configured.

" } }, "com.amazonaws.iotevents#DetectorModelDefinition": { "type": "structure", "members": { "states": { "target": "com.amazonaws.iotevents#States", "traits": { "smithy.api#documentation": "

Information about the states of the detector.

", "smithy.api#required": {} } }, "initialStateName": { "target": "com.amazonaws.iotevents#StateName", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Information that defines how a detector operates.

" } }, "com.amazonaws.iotevents#DetectorModelDescription": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 128 } } }, "com.amazonaws.iotevents#DetectorModelName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" } }, "com.amazonaws.iotevents#DetectorModelSummaries": { "type": "list", "member": { "target": "com.amazonaws.iotevents#DetectorModelSummary" } }, "com.amazonaws.iotevents#DetectorModelSummary": { "type": "structure", "members": { "detectorModelName": { "target": "com.amazonaws.iotevents#DetectorModelName", "traits": { "smithy.api#documentation": "

The name of the detector model.

" } }, "detectorModelDescription": { "target": "com.amazonaws.iotevents#DetectorModelDescription", "traits": { "smithy.api#documentation": "

A brief description of the detector model.

" } }, "creationTime": { "target": "com.amazonaws.iotevents#Timestamp", "traits": { "smithy.api#documentation": "

The time the detector model was created.

" } } }, "traits": { "smithy.api#documentation": "

Information about the detector model.

" } }, "com.amazonaws.iotevents#DetectorModelVersion": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 } } }, "com.amazonaws.iotevents#DetectorModelVersionStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ACTIVE", "name": "ACTIVE" }, { "value": "ACTIVATING", "name": "ACTIVATING" }, { "value": "INACTIVE", "name": "INACTIVE" }, { "value": "DEPRECATED", "name": "DEPRECATED" }, { "value": "DRAFT", "name": "DRAFT" }, { "value": "PAUSED", "name": "PAUSED" }, { "value": "FAILED", "name": "FAILED" } ] } }, "com.amazonaws.iotevents#DetectorModelVersionSummaries": { "type": "list", "member": { "target": "com.amazonaws.iotevents#DetectorModelVersionSummary" } }, "com.amazonaws.iotevents#DetectorModelVersionSummary": { "type": "structure", "members": { "detectorModelName": { "target": "com.amazonaws.iotevents#DetectorModelName", "traits": { "smithy.api#documentation": "

The name of the detector model.

" } }, "detectorModelVersion": { "target": "com.amazonaws.iotevents#DetectorModelVersion", "traits": { "smithy.api#documentation": "

The ID of the detector model version.

" } }, "detectorModelArn": { "target": "com.amazonaws.iotevents#DetectorModelArn", "traits": { "smithy.api#documentation": "

The ARN of the detector model version.

" } }, "roleArn": { "target": "com.amazonaws.iotevents#AmazonResourceName", "traits": { "smithy.api#documentation": "

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

" } }, "creationTime": { "target": "com.amazonaws.iotevents#Timestamp", "traits": { "smithy.api#documentation": "

The time the detector model version was created.

" } }, "lastUpdateTime": { "target": "com.amazonaws.iotevents#Timestamp", "traits": { "smithy.api#documentation": "

The last time the detector model version was updated.

" } }, "status": { "target": "com.amazonaws.iotevents#DetectorModelVersionStatus", "traits": { "smithy.api#documentation": "

The status of the detector model version.

" } }, "evaluationMethod": { "target": "com.amazonaws.iotevents#EvaluationMethod", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

Information about the detector model version.

" } }, "com.amazonaws.iotevents#DynamoDBAction": { "type": "structure", "members": { "hashKeyType": { "target": "com.amazonaws.iotevents#DynamoKeyType", "traits": { "smithy.api#documentation": "

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

\n \n

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

" } }, "hashKeyField": { "target": "com.amazonaws.iotevents#DynamoKeyField", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } }, "hashKeyValue": { "target": "com.amazonaws.iotevents#DynamoKeyValue", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } }, "rangeKeyType": { "target": "com.amazonaws.iotevents#DynamoKeyType", "traits": { "smithy.api#documentation": "

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

\n \n

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

" } }, "rangeKeyField": { "target": "com.amazonaws.iotevents#DynamoKeyField", "traits": { "smithy.api#documentation": "

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

" } }, "rangeKeyValue": { "target": "com.amazonaws.iotevents#DynamoKeyValue", "traits": { "smithy.api#documentation": "

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

" } }, "operation": { "target": "com.amazonaws.iotevents#DynamoOperation", "traits": { "smithy.api#documentation": "

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

\n \n

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

" } }, "payloadField": { "target": "com.amazonaws.iotevents#DynamoKeyField", "traits": { "smithy.api#documentation": "

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

\n

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

" } }, "tableName": { "target": "com.amazonaws.iotevents#DynamoTableName", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } }, "payload": { "target": "com.amazonaws.iotevents#Payload" } }, "traits": { "smithy.api#documentation": "

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

\n

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

\n

\n Examples\n

\n \n

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

\n

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

" } }, "com.amazonaws.iotevents#DynamoDBv2Action": { "type": "structure", "members": { "tableName": { "target": "com.amazonaws.iotevents#DynamoTableName", "traits": { "smithy.api#documentation": "

The name of the DynamoDB table.

", "smithy.api#required": {} } }, "payload": { "target": "com.amazonaws.iotevents#Payload" } }, "traits": { "smithy.api#documentation": "

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

\n

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

\n

\n Examples\n

\n \n

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

\n

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

" } }, "com.amazonaws.iotevents#DynamoKeyField": { "type": "string" }, "com.amazonaws.iotevents#DynamoKeyType": { "type": "string" }, "com.amazonaws.iotevents#DynamoKeyValue": { "type": "string" }, "com.amazonaws.iotevents#DynamoOperation": { "type": "string" }, "com.amazonaws.iotevents#DynamoTableName": { "type": "string" }, "com.amazonaws.iotevents#EvaluationMethod": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "BATCH", "name": "BATCH" }, { "value": "SERIAL", "name": "SERIAL" } ] } }, "com.amazonaws.iotevents#Event": { "type": "structure", "members": { "eventName": { "target": "com.amazonaws.iotevents#EventName", "traits": { "smithy.api#documentation": "

The name of the event.

", "smithy.api#required": {} } }, "condition": { "target": "com.amazonaws.iotevents#Condition", "traits": { "smithy.api#documentation": "

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

" } }, "actions": { "target": "com.amazonaws.iotevents#Actions", "traits": { "smithy.api#documentation": "

The actions to be performed.

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.iotevents#EventName": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 128 } } }, "com.amazonaws.iotevents#Events": { "type": "list", "member": { "target": "com.amazonaws.iotevents#Event" } }, "com.amazonaws.iotevents#FirehoseAction": { "type": "structure", "members": { "deliveryStreamName": { "target": "com.amazonaws.iotevents#DeliveryStreamName", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } }, "separator": { "target": "com.amazonaws.iotevents#FirehoseSeparator", "traits": { "smithy.api#documentation": "

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

" } }, "payload": { "target": "com.amazonaws.iotevents#Payload", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.iotevents#FirehoseSeparator": { "type": "string", "traits": { "smithy.api#pattern": "([\\n\\t])|(\\r\\n)|(,)" } }, "com.amazonaws.iotevents#GetDetectorModelAnalysisResults": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#GetDetectorModelAnalysisResultsRequest" }, "output": { "target": "com.amazonaws.iotevents#GetDetectorModelAnalysisResultsResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ResourceNotFoundException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

Retrieves one or more analysis results of the detector model.

", "smithy.api#http": { "method": "GET", "uri": "/analysis/detector-models/{analysisId}/results", "code": 200 } } }, "com.amazonaws.iotevents#GetDetectorModelAnalysisResultsRequest": { "type": "structure", "members": { "analysisId": { "target": "com.amazonaws.iotevents#AnalysisId", "traits": { "smithy.api#documentation": "

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

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.iotevents#NextToken", "traits": { "smithy.api#documentation": "

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

", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.iotevents#MaxAnalysisResults", "traits": { "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.iotevents#GetDetectorModelAnalysisResultsResponse": { "type": "structure", "members": { "analysisResults": { "target": "com.amazonaws.iotevents#AnalysisResults", "traits": { "smithy.api#documentation": "

Contains information about one or more analysis results.

" } }, "nextToken": { "target": "com.amazonaws.iotevents#NextToken", "traits": { "smithy.api#documentation": "

The token that you can use to return the next set of results, \nor null if there are no more results.

" } } } }, "com.amazonaws.iotevents#Input": { "type": "structure", "members": { "inputConfiguration": { "target": "com.amazonaws.iotevents#InputConfiguration", "traits": { "smithy.api#documentation": "

Information about the configuration of an input.

" } }, "inputDefinition": { "target": "com.amazonaws.iotevents#InputDefinition", "traits": { "smithy.api#documentation": "

The definition of the input.

" } } }, "traits": { "smithy.api#documentation": "

Information about the input.

" } }, "com.amazonaws.iotevents#InputArn": { "type": "string" }, "com.amazonaws.iotevents#InputConfiguration": { "type": "structure", "members": { "inputName": { "target": "com.amazonaws.iotevents#InputName", "traits": { "smithy.api#documentation": "

The name of the input.

", "smithy.api#required": {} } }, "inputDescription": { "target": "com.amazonaws.iotevents#InputDescription", "traits": { "smithy.api#documentation": "

A brief description of the input.

" } }, "inputArn": { "target": "com.amazonaws.iotevents#InputArn", "traits": { "smithy.api#documentation": "

The ARN of the input.

", "smithy.api#required": {} } }, "creationTime": { "target": "com.amazonaws.iotevents#Timestamp", "traits": { "smithy.api#documentation": "

The time the input was created.

", "smithy.api#required": {} } }, "lastUpdateTime": { "target": "com.amazonaws.iotevents#Timestamp", "traits": { "smithy.api#documentation": "

The last time the input was updated.

", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.iotevents#InputStatus", "traits": { "smithy.api#documentation": "

The status of the input.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Information about the configuration of an input.

" } }, "com.amazonaws.iotevents#InputDefinition": { "type": "structure", "members": { "attributes": { "target": "com.amazonaws.iotevents#Attributes", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The definition of the input.

" } }, "com.amazonaws.iotevents#InputDescription": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 128 } } }, "com.amazonaws.iotevents#InputName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^[a-zA-Z][a-zA-Z0-9_]*$" } }, "com.amazonaws.iotevents#InputStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CREATING", "name": "CREATING" }, { "value": "UPDATING", "name": "UPDATING" }, { "value": "ACTIVE", "name": "ACTIVE" }, { "value": "DELETING", "name": "DELETING" } ] } }, "com.amazonaws.iotevents#InputSummaries": { "type": "list", "member": { "target": "com.amazonaws.iotevents#InputSummary" } }, "com.amazonaws.iotevents#InputSummary": { "type": "structure", "members": { "inputName": { "target": "com.amazonaws.iotevents#InputName", "traits": { "smithy.api#documentation": "

The name of the input.

" } }, "inputDescription": { "target": "com.amazonaws.iotevents#InputDescription", "traits": { "smithy.api#documentation": "

A brief description of the input.

" } }, "inputArn": { "target": "com.amazonaws.iotevents#InputArn", "traits": { "smithy.api#documentation": "

The ARN of the input.

" } }, "creationTime": { "target": "com.amazonaws.iotevents#Timestamp", "traits": { "smithy.api#documentation": "

The time the input was created.

" } }, "lastUpdateTime": { "target": "com.amazonaws.iotevents#Timestamp", "traits": { "smithy.api#documentation": "

The last time the input was updated.

" } }, "status": { "target": "com.amazonaws.iotevents#InputStatus", "traits": { "smithy.api#documentation": "

The status of the input.

" } } }, "traits": { "smithy.api#documentation": "

Information about the input.

" } }, "com.amazonaws.iotevents#InternalFailureException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.iotevents#errorMessage", "traits": { "smithy.api#documentation": "

The message for the exception.

" } } }, "traits": { "smithy.api#documentation": "

An internal failure occurred.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.iotevents#InvalidRequestException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.iotevents#errorMessage", "traits": { "smithy.api#documentation": "

The message for the exception.

" } } }, "traits": { "smithy.api#documentation": "

The request was invalid.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.iotevents#IotColumboService": { "type": "service", "version": "2018-07-27", "operations": [ { "target": "com.amazonaws.iotevents#CreateDetectorModel" }, { "target": "com.amazonaws.iotevents#CreateInput" }, { "target": "com.amazonaws.iotevents#DeleteDetectorModel" }, { "target": "com.amazonaws.iotevents#DeleteInput" }, { "target": "com.amazonaws.iotevents#DescribeDetectorModel" }, { "target": "com.amazonaws.iotevents#DescribeDetectorModelAnalysis" }, { "target": "com.amazonaws.iotevents#DescribeInput" }, { "target": "com.amazonaws.iotevents#DescribeLoggingOptions" }, { "target": "com.amazonaws.iotevents#GetDetectorModelAnalysisResults" }, { "target": "com.amazonaws.iotevents#ListDetectorModels" }, { "target": "com.amazonaws.iotevents#ListDetectorModelVersions" }, { "target": "com.amazonaws.iotevents#ListInputs" }, { "target": "com.amazonaws.iotevents#ListTagsForResource" }, { "target": "com.amazonaws.iotevents#PutLoggingOptions" }, { "target": "com.amazonaws.iotevents#StartDetectorModelAnalysis" }, { "target": "com.amazonaws.iotevents#TagResource" }, { "target": "com.amazonaws.iotevents#UntagResource" }, { "target": "com.amazonaws.iotevents#UpdateDetectorModel" }, { "target": "com.amazonaws.iotevents#UpdateInput" } ], "traits": { "aws.api#service": { "sdkId": "IoT Events", "arnNamespace": "iotevents", "cloudFormationName": "IoTEvents", "cloudTrailEventSource": "iotevents.amazonaws.com", "endpointPrefix": "iotevents" }, "aws.auth#sigv4": { "name": "iotevents" }, "aws.protocols#restJson1": {}, "smithy.api#documentation": "

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

", "smithy.api#title": "AWS IoT Events" } }, "com.amazonaws.iotevents#IotEventsAction": { "type": "structure", "members": { "inputName": { "target": "com.amazonaws.iotevents#InputName", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } }, "payload": { "target": "com.amazonaws.iotevents#Payload", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.iotevents#IotSiteWiseAction": { "type": "structure", "members": { "entryId": { "target": "com.amazonaws.iotevents#AssetPropertyEntryId", "traits": { "smithy.api#documentation": "

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

" } }, "assetId": { "target": "com.amazonaws.iotevents#AssetId", "traits": { "smithy.api#documentation": "

The ID of the asset that has the specified property.

" } }, "propertyId": { "target": "com.amazonaws.iotevents#AssetPropertyId", "traits": { "smithy.api#documentation": "

The ID of the asset property.

" } }, "propertyAlias": { "target": "com.amazonaws.iotevents#AssetPropertyAlias", "traits": { "smithy.api#documentation": "

The alias of the asset property.

" } }, "propertyValue": { "target": "com.amazonaws.iotevents#AssetPropertyValue", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

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

\n

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

\n

\n Examples\n

\n \n

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

\n

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

" } }, "com.amazonaws.iotevents#IotTopicPublishAction": { "type": "structure", "members": { "mqttTopic": { "target": "com.amazonaws.iotevents#MQTTTopic", "traits": { "smithy.api#documentation": "

The MQTT topic of the message. You can use a string expression that includes variables\n ($variable.) and input values\n ($input..) as the topic string.

", "smithy.api#required": {} } }, "payload": { "target": "com.amazonaws.iotevents#Payload", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.iotevents#KeyValue": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^[a-zA-Z0-9\\-_:]+$" } }, "com.amazonaws.iotevents#LambdaAction": { "type": "structure", "members": { "functionArn": { "target": "com.amazonaws.iotevents#AmazonResourceName", "traits": { "smithy.api#documentation": "

The ARN of the Lambda function that is executed.

", "smithy.api#required": {} } }, "payload": { "target": "com.amazonaws.iotevents#Payload", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.iotevents#LimitExceededException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.iotevents#errorMessage", "traits": { "smithy.api#documentation": "

The message for the exception.

" } } }, "traits": { "smithy.api#documentation": "

A limit was exceeded.

", "smithy.api#error": "client", "smithy.api#httpError": 410 } }, "com.amazonaws.iotevents#ListDetectorModelVersions": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#ListDetectorModelVersionsRequest" }, "output": { "target": "com.amazonaws.iotevents#ListDetectorModelVersionsResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ResourceNotFoundException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#http": { "method": "GET", "uri": "/detector-models/{detectorModelName}/versions", "code": 200 } } }, "com.amazonaws.iotevents#ListDetectorModelVersionsRequest": { "type": "structure", "members": { "detectorModelName": { "target": "com.amazonaws.iotevents#DetectorModelName", "traits": { "smithy.api#documentation": "

The name of the detector model whose versions are returned.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.iotevents#NextToken", "traits": { "smithy.api#documentation": "

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

", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.iotevents#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.iotevents#ListDetectorModelVersionsResponse": { "type": "structure", "members": { "detectorModelVersionSummaries": { "target": "com.amazonaws.iotevents#DetectorModelVersionSummaries", "traits": { "smithy.api#documentation": "

Summary information about the detector model versions.

" } }, "nextToken": { "target": "com.amazonaws.iotevents#NextToken", "traits": { "smithy.api#documentation": "

The token that you can use to return the next set of results, \nor null if there are no more results.

" } } } }, "com.amazonaws.iotevents#ListDetectorModels": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#ListDetectorModelsRequest" }, "output": { "target": "com.amazonaws.iotevents#ListDetectorModelsResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#http": { "method": "GET", "uri": "/detector-models", "code": 200 } } }, "com.amazonaws.iotevents#ListDetectorModelsRequest": { "type": "structure", "members": { "nextToken": { "target": "com.amazonaws.iotevents#NextToken", "traits": { "smithy.api#documentation": "

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

", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.iotevents#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.iotevents#ListDetectorModelsResponse": { "type": "structure", "members": { "detectorModelSummaries": { "target": "com.amazonaws.iotevents#DetectorModelSummaries", "traits": { "smithy.api#documentation": "

Summary information about the detector models.

" } }, "nextToken": { "target": "com.amazonaws.iotevents#NextToken", "traits": { "smithy.api#documentation": "

The token that you can use to return the next set of results, \nor null if there are no more results.

" } } } }, "com.amazonaws.iotevents#ListInputs": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#ListInputsRequest" }, "output": { "target": "com.amazonaws.iotevents#ListInputsResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

Lists the inputs you have created.

", "smithy.api#http": { "method": "GET", "uri": "/inputs", "code": 200 } } }, "com.amazonaws.iotevents#ListInputsRequest": { "type": "structure", "members": { "nextToken": { "target": "com.amazonaws.iotevents#NextToken", "traits": { "smithy.api#documentation": "

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

", "smithy.api#httpQuery": "nextToken" } }, "maxResults": { "target": "com.amazonaws.iotevents#MaxResults", "traits": { "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "maxResults" } } } }, "com.amazonaws.iotevents#ListInputsResponse": { "type": "structure", "members": { "inputSummaries": { "target": "com.amazonaws.iotevents#InputSummaries", "traits": { "smithy.api#documentation": "

Summary information about the inputs.

" } }, "nextToken": { "target": "com.amazonaws.iotevents#NextToken", "traits": { "smithy.api#documentation": "

The token that you can use to return the next set of results, \nor null if there are no more results.

" } } } }, "com.amazonaws.iotevents#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#ListTagsForResourceRequest" }, "output": { "target": "com.amazonaws.iotevents#ListTagsForResourceResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ResourceInUseException" }, { "target": "com.amazonaws.iotevents#ResourceNotFoundException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#http": { "method": "GET", "uri": "/tags", "code": 200 } } }, "com.amazonaws.iotevents#ListTagsForResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.iotevents#AmazonResourceName", "traits": { "smithy.api#documentation": "

The ARN of the resource.

", "smithy.api#httpQuery": "resourceArn", "smithy.api#required": {} } } } }, "com.amazonaws.iotevents#ListTagsForResourceResponse": { "type": "structure", "members": { "tags": { "target": "com.amazonaws.iotevents#Tags", "traits": { "smithy.api#documentation": "

The list of tags assigned to the resource.

" } } } }, "com.amazonaws.iotevents#LoggingEnabled": { "type": "boolean" }, "com.amazonaws.iotevents#LoggingLevel": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ERROR", "name": "ERROR" }, { "value": "INFO", "name": "INFO" }, { "value": "DEBUG", "name": "DEBUG" } ] } }, "com.amazonaws.iotevents#LoggingOptions": { "type": "structure", "members": { "roleArn": { "target": "com.amazonaws.iotevents#AmazonResourceName", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } }, "level": { "target": "com.amazonaws.iotevents#LoggingLevel", "traits": { "smithy.api#documentation": "

The logging level.

", "smithy.api#required": {} } }, "enabled": { "target": "com.amazonaws.iotevents#LoggingEnabled", "traits": { "smithy.api#documentation": "

If TRUE, logging is enabled for AWS IoT Events.

", "smithy.api#required": {} } }, "detectorDebugOptions": { "target": "com.amazonaws.iotevents#DetectorDebugOptions", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

The values of the AWS IoT Events logging options.

" } }, "com.amazonaws.iotevents#MQTTTopic": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 } } }, "com.amazonaws.iotevents#MaxAnalysisResults": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.iotevents#MaxResults": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 } } }, "com.amazonaws.iotevents#NextToken": { "type": "string" }, "com.amazonaws.iotevents#OnEnterLifecycle": { "type": "structure", "members": { "events": { "target": "com.amazonaws.iotevents#Events", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.iotevents#OnExitLifecycle": { "type": "structure", "members": { "events": { "target": "com.amazonaws.iotevents#Events", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.iotevents#OnInputLifecycle": { "type": "structure", "members": { "events": { "target": "com.amazonaws.iotevents#Events", "traits": { "smithy.api#documentation": "

Specifies the actions performed when the condition evaluates to TRUE.

" } }, "transitionEvents": { "target": "com.amazonaws.iotevents#TransitionEvents", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

Specifies the actions performed when the condition evaluates to TRUE.

" } }, "com.amazonaws.iotevents#Payload": { "type": "structure", "members": { "contentExpression": { "target": "com.amazonaws.iotevents#ContentExpression", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } }, "type": { "target": "com.amazonaws.iotevents#PayloadType", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Information needed to configure the payload.

\n

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

" } }, "com.amazonaws.iotevents#PayloadType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "STRING", "name": "STRING" }, { "value": "JSON", "name": "JSON" } ] } }, "com.amazonaws.iotevents#PutLoggingOptions": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#PutLoggingOptionsRequest" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ResourceInUseException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" }, { "target": "com.amazonaws.iotevents#UnsupportedOperationException" } ], "traits": { "smithy.api#documentation": "

Sets or updates the AWS IoT Events logging options.

\n

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

", "smithy.api#http": { "method": "PUT", "uri": "/logging", "code": 200 } } }, "com.amazonaws.iotevents#PutLoggingOptionsRequest": { "type": "structure", "members": { "loggingOptions": { "target": "com.amazonaws.iotevents#LoggingOptions", "traits": { "smithy.api#documentation": "

The new values of the AWS IoT Events logging options.

", "smithy.api#required": {} } } } }, "com.amazonaws.iotevents#QueueUrl": { "type": "string" }, "com.amazonaws.iotevents#ResetTimerAction": { "type": "structure", "members": { "timerName": { "target": "com.amazonaws.iotevents#TimerName", "traits": { "smithy.api#documentation": "

The name of the timer to reset.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.iotevents#ResourceAlreadyExistsException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.iotevents#errorMessage", "traits": { "smithy.api#documentation": "

The message for the exception.

" } }, "resourceId": { "target": "com.amazonaws.iotevents#resourceId", "traits": { "smithy.api#documentation": "

The ID of the resource.

" } }, "resourceArn": { "target": "com.amazonaws.iotevents#resourceArn", "traits": { "smithy.api#documentation": "

The ARN of the resource.

" } } }, "traits": { "smithy.api#documentation": "

The resource already exists.

", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.iotevents#ResourceInUseException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.iotevents#errorMessage", "traits": { "smithy.api#documentation": "

The message for the exception.

" } } }, "traits": { "smithy.api#documentation": "

The resource is in use.

", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.iotevents#ResourceNotFoundException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.iotevents#errorMessage", "traits": { "smithy.api#documentation": "

The message for the exception.

" } } }, "traits": { "smithy.api#documentation": "

The resource was not found.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.iotevents#SNSTopicPublishAction": { "type": "structure", "members": { "targetArn": { "target": "com.amazonaws.iotevents#AmazonResourceName", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } }, "payload": { "target": "com.amazonaws.iotevents#Payload", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

Information required to publish the Amazon SNS message.

" } }, "com.amazonaws.iotevents#Seconds": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 31622400 } } }, "com.amazonaws.iotevents#ServiceUnavailableException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.iotevents#errorMessage", "traits": { "smithy.api#documentation": "

The message for the exception.

" } } }, "traits": { "smithy.api#documentation": "

The service is currently unavailable.

", "smithy.api#error": "server", "smithy.api#httpError": 503 } }, "com.amazonaws.iotevents#SetTimerAction": { "type": "structure", "members": { "timerName": { "target": "com.amazonaws.iotevents#TimerName", "traits": { "smithy.api#documentation": "

The name of the timer.

", "smithy.api#required": {} } }, "seconds": { "target": "com.amazonaws.iotevents#Seconds", "traits": { "smithy.api#deprecated": { "message": "seconds is deprecated. You can use durationExpression for SetTimerAction. The value of seconds can be used as a string expression for durationExpression." }, "smithy.api#documentation": "

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

" } }, "durationExpression": { "target": "com.amazonaws.iotevents#VariableValue", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

Information needed to set the timer.

" } }, "com.amazonaws.iotevents#SetVariableAction": { "type": "structure", "members": { "variableName": { "target": "com.amazonaws.iotevents#VariableName", "traits": { "smithy.api#documentation": "

The name of the variable.

", "smithy.api#required": {} } }, "value": { "target": "com.amazonaws.iotevents#VariableValue", "traits": { "smithy.api#documentation": "

The new value of the variable.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Information about the variable and its new value.

" } }, "com.amazonaws.iotevents#SqsAction": { "type": "structure", "members": { "queueUrl": { "target": "com.amazonaws.iotevents#QueueUrl", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } }, "useBase64": { "target": "com.amazonaws.iotevents#UseBase64", "traits": { "smithy.api#documentation": "

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

" } }, "payload": { "target": "com.amazonaws.iotevents#Payload", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.iotevents#StartDetectorModelAnalysis": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#StartDetectorModelAnalysisRequest" }, "output": { "target": "com.amazonaws.iotevents#StartDetectorModelAnalysisResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#LimitExceededException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#http": { "method": "POST", "uri": "/analysis/detector-models", "code": 200 } } }, "com.amazonaws.iotevents#StartDetectorModelAnalysisRequest": { "type": "structure", "members": { "detectorModelDefinition": { "target": "com.amazonaws.iotevents#DetectorModelDefinition", "traits": { "smithy.api#required": {} } } } }, "com.amazonaws.iotevents#StartDetectorModelAnalysisResponse": { "type": "structure", "members": { "analysisId": { "target": "com.amazonaws.iotevents#AnalysisId", "traits": { "smithy.api#documentation": "

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

" } } } }, "com.amazonaws.iotevents#State": { "type": "structure", "members": { "stateName": { "target": "com.amazonaws.iotevents#StateName", "traits": { "smithy.api#documentation": "

The name of the state.

", "smithy.api#required": {} } }, "onInput": { "target": "com.amazonaws.iotevents#OnInputLifecycle", "traits": { "smithy.api#documentation": "

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

" } }, "onEnter": { "target": "com.amazonaws.iotevents#OnEnterLifecycle", "traits": { "smithy.api#documentation": "

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

" } }, "onExit": { "target": "com.amazonaws.iotevents#OnExitLifecycle", "traits": { "smithy.api#documentation": "

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

" } } }, "traits": { "smithy.api#documentation": "

Information that defines a state of a detector.

" } }, "com.amazonaws.iotevents#StateName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 } } }, "com.amazonaws.iotevents#States": { "type": "list", "member": { "target": "com.amazonaws.iotevents#State" }, "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.iotevents#Tag": { "type": "structure", "members": { "key": { "target": "com.amazonaws.iotevents#TagKey", "traits": { "smithy.api#documentation": "

The tag's key.

", "smithy.api#required": {} } }, "value": { "target": "com.amazonaws.iotevents#TagValue", "traits": { "smithy.api#documentation": "

The tag's value.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Metadata that can be used to manage the resource.

" } }, "com.amazonaws.iotevents#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 } } }, "com.amazonaws.iotevents#TagKeys": { "type": "list", "member": { "target": "com.amazonaws.iotevents#TagKey" } }, "com.amazonaws.iotevents#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#TagResourceRequest" }, "output": { "target": "com.amazonaws.iotevents#TagResourceResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#LimitExceededException" }, { "target": "com.amazonaws.iotevents#ResourceInUseException" }, { "target": "com.amazonaws.iotevents#ResourceNotFoundException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#http": { "method": "POST", "uri": "/tags", "code": 200 } } }, "com.amazonaws.iotevents#TagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.iotevents#AmazonResourceName", "traits": { "smithy.api#documentation": "

The ARN of the resource.

", "smithy.api#httpQuery": "resourceArn", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.iotevents#Tags", "traits": { "smithy.api#documentation": "

The new or modified tags for the resource.

", "smithy.api#required": {} } } } }, "com.amazonaws.iotevents#TagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.iotevents#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.iotevents#Tags": { "type": "list", "member": { "target": "com.amazonaws.iotevents#Tag" } }, "com.amazonaws.iotevents#ThrottlingException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.iotevents#errorMessage", "traits": { "smithy.api#documentation": "

The message for the exception.

" } } }, "traits": { "smithy.api#documentation": "

The request could not be completed due to throttling.

", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.iotevents#TimerName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 } } }, "com.amazonaws.iotevents#Timestamp": { "type": "timestamp" }, "com.amazonaws.iotevents#TransitionEvent": { "type": "structure", "members": { "eventName": { "target": "com.amazonaws.iotevents#EventName", "traits": { "smithy.api#documentation": "

The name of the transition event.

", "smithy.api#required": {} } }, "condition": { "target": "com.amazonaws.iotevents#Condition", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } }, "actions": { "target": "com.amazonaws.iotevents#Actions", "traits": { "smithy.api#documentation": "

The actions to be performed.

" } }, "nextState": { "target": "com.amazonaws.iotevents#StateName", "traits": { "smithy.api#documentation": "

The next state to enter.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

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

" } }, "com.amazonaws.iotevents#TransitionEvents": { "type": "list", "member": { "target": "com.amazonaws.iotevents#TransitionEvent" } }, "com.amazonaws.iotevents#UnsupportedOperationException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.iotevents#errorMessage", "traits": { "smithy.api#documentation": "

The message for the exception.

" } } }, "traits": { "smithy.api#documentation": "

The requested operation is not supported.

", "smithy.api#error": "server", "smithy.api#httpError": 501 } }, "com.amazonaws.iotevents#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#UntagResourceRequest" }, "output": { "target": "com.amazonaws.iotevents#UntagResourceResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ResourceInUseException" }, { "target": "com.amazonaws.iotevents#ResourceNotFoundException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

Removes the given tags (metadata) from the resource.

", "smithy.api#http": { "method": "DELETE", "uri": "/tags", "code": 200 } } }, "com.amazonaws.iotevents#UntagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.iotevents#AmazonResourceName", "traits": { "smithy.api#documentation": "

The ARN of the resource.

", "smithy.api#httpQuery": "resourceArn", "smithy.api#required": {} } }, "tagKeys": { "target": "com.amazonaws.iotevents#TagKeys", "traits": { "smithy.api#documentation": "

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

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} } } } }, "com.amazonaws.iotevents#UntagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.iotevents#UpdateDetectorModel": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#UpdateDetectorModelRequest" }, "output": { "target": "com.amazonaws.iotevents#UpdateDetectorModelResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ResourceInUseException" }, { "target": "com.amazonaws.iotevents#ResourceNotFoundException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#http": { "method": "POST", "uri": "/detector-models/{detectorModelName}", "code": 200 } } }, "com.amazonaws.iotevents#UpdateDetectorModelRequest": { "type": "structure", "members": { "detectorModelName": { "target": "com.amazonaws.iotevents#DetectorModelName", "traits": { "smithy.api#documentation": "

The name of the detector model that is updated.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "detectorModelDefinition": { "target": "com.amazonaws.iotevents#DetectorModelDefinition", "traits": { "smithy.api#documentation": "

Information that defines how a detector operates.

", "smithy.api#required": {} } }, "detectorModelDescription": { "target": "com.amazonaws.iotevents#DetectorModelDescription", "traits": { "smithy.api#documentation": "

A brief description of the detector model.

" } }, "roleArn": { "target": "com.amazonaws.iotevents#AmazonResourceName", "traits": { "smithy.api#documentation": "

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

", "smithy.api#required": {} } }, "evaluationMethod": { "target": "com.amazonaws.iotevents#EvaluationMethod", "traits": { "smithy.api#documentation": "

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

" } } } }, "com.amazonaws.iotevents#UpdateDetectorModelResponse": { "type": "structure", "members": { "detectorModelConfiguration": { "target": "com.amazonaws.iotevents#DetectorModelConfiguration", "traits": { "smithy.api#documentation": "

Information about how the detector model is configured.

" } } } }, "com.amazonaws.iotevents#UpdateInput": { "type": "operation", "input": { "target": "com.amazonaws.iotevents#UpdateInputRequest" }, "output": { "target": "com.amazonaws.iotevents#UpdateInputResponse" }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" }, { "target": "com.amazonaws.iotevents#InvalidRequestException" }, { "target": "com.amazonaws.iotevents#ResourceInUseException" }, { "target": "com.amazonaws.iotevents#ResourceNotFoundException" }, { "target": "com.amazonaws.iotevents#ServiceUnavailableException" }, { "target": "com.amazonaws.iotevents#ThrottlingException" } ], "traits": { "smithy.api#documentation": "

Updates an input.

", "smithy.api#http": { "method": "PUT", "uri": "/inputs/{inputName}", "code": 200 } } }, "com.amazonaws.iotevents#UpdateInputRequest": { "type": "structure", "members": { "inputName": { "target": "com.amazonaws.iotevents#InputName", "traits": { "smithy.api#documentation": "

The name of the input you want to update.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "inputDescription": { "target": "com.amazonaws.iotevents#InputDescription", "traits": { "smithy.api#documentation": "

A brief description of the input.

" } }, "inputDefinition": { "target": "com.amazonaws.iotevents#InputDefinition", "traits": { "smithy.api#documentation": "

The definition of the input.

", "smithy.api#required": {} } } } }, "com.amazonaws.iotevents#UpdateInputResponse": { "type": "structure", "members": { "inputConfiguration": { "target": "com.amazonaws.iotevents#InputConfiguration", "traits": { "smithy.api#documentation": "

Information about the configuration of the input.

" } } } }, "com.amazonaws.iotevents#UseBase64": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.iotevents#VariableName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^[a-zA-Z][a-zA-Z0-9_]*$" } }, "com.amazonaws.iotevents#VariableValue": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 } } }, "com.amazonaws.iotevents#errorMessage": { "type": "string" }, "com.amazonaws.iotevents#resourceArn": { "type": "string" }, "com.amazonaws.iotevents#resourceId": { "type": "string" } } }