python-botocore/botocore/data/iotevents/2018-07-27/service-2.json
2021-08-18 08:45:16 -07:00

2943 lines
124 KiB
JSON

{
"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":"<p>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 <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/create-alarms.html\">Create an alarm model</a> in the <i>AWS IoT Events Developer Guide</i>.</p>"
},
"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":"<p>Creates a detector model.</p>"
},
"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":"<p>Creates an input.</p>"
},
"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":"<p>Deletes an alarm model. Any alarm instances that were created based on this alarm model are also deleted. This action can't be undone.</p>"
},
"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":"<p>Deletes a detector model. Any active instances of the detector model are also deleted.</p>"
},
"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":"<p>Deletes an input.</p>"
},
"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":"<p>Retrieves information about an alarm model. If you don't specify a value for the <code>alarmModelVersion</code> parameter, the latest version is returned.</p>"
},
"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":"<p>Describes a detector model. If the <code>version</code> parameter is not specified, information about the latest version is returned.</p>"
},
"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":"<p>Retrieves runtime information about a detector model analysis.</p> <note> <p>After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.</p> </note>"
},
"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":"<p>Describes an input.</p>"
},
"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":"<p>Retrieves the current settings of the AWS IoT Events logging options.</p>"
},
"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":"<p>Retrieves one or more analysis results of the detector model.</p> <note> <p>After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.</p> </note>"
},
"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":"<p>Lists all the versions of an alarm model. The operation returns only the metadata associated with each alarm model version.</p>"
},
"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":"<p>Lists the alarm models that you created. The operation returns only the metadata associated with each alarm model.</p>"
},
"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":"<p>Lists all the versions of a detector model. Only the metadata associated with each detector model version is returned.</p>"
},
"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":"<p>Lists the detector models you have created. Only the metadata associated with each detector model is returned.</p>"
},
"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":"<p> Lists one or more input routings. </p>"
},
"ListInputs":{
"name":"ListInputs",
"http":{
"method":"GET",
"requestUri":"/inputs"
},
"input":{"shape":"ListInputsRequest"},
"output":{"shape":"ListInputsResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Lists the inputs you have created.</p>"
},
"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":"<p>Lists the tags (metadata) you have assigned to the resource.</p>"
},
"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":"<p>Sets or updates the AWS IoT Events logging options.</p> <p>If you update the value of any <code>loggingOptions</code> 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 <code>roleArn</code> field (for example, to correct an invalid policy), it takes up to five minutes for that change to take effect.</p>"
},
"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":"<p>Performs an analysis of your detector model. For more information, see <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-analyze-api.html\">Troubleshooting a detector model</a> in the <i>AWS IoT Events Developer Guide</i>.</p>"
},
"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":"<p>Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.</p>"
},
"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":"<p>Removes the given tags (metadata) from the resource.</p>"
},
"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":"<p>Updates an alarm model. Any alarms that were created based on the previous version are deleted and then created again as new data arrives.</p>"
},
"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":"<p>Updates a detector model. Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.</p>"
},
"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":"<p>Updates an input.</p>"
}
},
"shapes":{
"AcknowledgeFlow":{
"type":"structure",
"required":["enabled"],
"members":{
"enabled":{
"shape":"AcknowledgeFlowEnabled",
"documentation":"<p>The value must be <code>TRUE</code> or <code>FALSE</code>. If <code>TRUE</code>, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to <code>NORMAL</code>. If <code>FALSE</code>, you won't receive notifications. The alarm automatically changes to the <code>NORMAL</code> state when the input property value returns to the specified range.</p>"
}
},
"documentation":"<p>Specifies whether to get notified for alarm state changes.</p>"
},
"AcknowledgeFlowEnabled":{
"type":"boolean",
"box":true
},
"Action":{
"type":"structure",
"members":{
"setVariable":{
"shape":"SetVariableAction",
"documentation":"<p>Sets a variable to a specified value.</p>"
},
"sns":{
"shape":"SNSTopicPublishAction",
"documentation":"<p>Sends an Amazon SNS message.</p>"
},
"iotTopicPublish":{
"shape":"IotTopicPublishAction",
"documentation":"<p>Publishes an MQTT message with the given topic to the AWS IoT message broker.</p>"
},
"setTimer":{
"shape":"SetTimerAction",
"documentation":"<p>Information needed to set the timer.</p>"
},
"clearTimer":{
"shape":"ClearTimerAction",
"documentation":"<p>Information needed to clear the timer.</p>"
},
"resetTimer":{
"shape":"ResetTimerAction",
"documentation":"<p>Information needed to reset the timer.</p>"
},
"lambda":{
"shape":"LambdaAction",
"documentation":"<p>Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.</p>"
},
"iotEvents":{
"shape":"IotEventsAction",
"documentation":"<p>Sends AWS IoT Events input, which passes information about the detector model instance and the event that triggered the action.</p>"
},
"sqs":{
"shape":"SqsAction",
"documentation":"<p>Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.</p>"
},
"firehose":{
"shape":"FirehoseAction",
"documentation":"<p>Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.</p>"
},
"dynamoDB":{
"shape":"DynamoDBAction",
"documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html\">payload</a>. One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. For more information, see <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html\">Actions</a> in <i>AWS IoT Events Developer Guide</i>.</p>"
},
"dynamoDBv2":{
"shape":"DynamoDBv2Action",
"documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html\">payload</a>. A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. For more information, see <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html\">Actions</a> in <i>AWS IoT Events Developer Guide</i>.</p>"
},
"iotSiteWise":{
"shape":"IotSiteWiseAction",
"documentation":"<p>Sends information about the detector model instance and the event that triggered the action to an asset property in AWS IoT SiteWise .</p>"
}
},
"documentation":"<p>An action to be performed when the <code>condition</code> is TRUE.</p>"
},
"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":"<p>Specifies one of the following actions to receive notifications when the alarm state changes.</p>"
},
"AlarmActions":{
"type":"list",
"member":{"shape":"AlarmAction"}
},
"AlarmCapabilities":{
"type":"structure",
"members":{
"initializationConfiguration":{
"shape":"InitializationConfiguration",
"documentation":"<p>Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.</p>"
},
"acknowledgeFlow":{
"shape":"AcknowledgeFlow",
"documentation":"<p>Specifies whether to get notified for alarm state changes.</p>"
}
},
"documentation":"<p>Contains the configuration information of alarm state changes.</p>"
},
"AlarmEventActions":{
"type":"structure",
"members":{
"alarmActions":{
"shape":"AlarmActions",
"documentation":"<p>Specifies one or more supported actions to receive notifications when the alarm state changes.</p>"
}
},
"documentation":"<p>Contains information about one or more alarm actions.</p>"
},
"AlarmModelArn":{"type":"string"},
"AlarmModelDescription":{
"type":"string",
"max":128
},
"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":"<p>The time the alarm model was created, in the Unix epoch format.</p>"
},
"alarmModelDescription":{
"shape":"AlarmModelDescription",
"documentation":"<p>The description of the alarm model.</p>"
},
"alarmModelName":{
"shape":"AlarmModelName",
"documentation":"<p>The name of the alarm model.</p>"
}
},
"documentation":"<p>Contains a summary of an alarm model.</p>"
},
"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":"<p>The name of the alarm model.</p>"
},
"alarmModelArn":{
"shape":"AlarmModelArn",
"documentation":"<p>The ARN of the alarm model. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>"
},
"alarmModelVersion":{
"shape":"AlarmModelVersion",
"documentation":"<p>The version of the alarm model.</p>"
},
"roleArn":{
"shape":"AmazonResourceName",
"documentation":"<p>The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>"
},
"creationTime":{
"shape":"Timestamp",
"documentation":"<p>The time the alarm model was created, in the Unix epoch format.</p>"
},
"lastUpdateTime":{
"shape":"Timestamp",
"documentation":"<p>The time the alarm model was last updated, in the Unix epoch format.</p>"
},
"status":{
"shape":"AlarmModelVersionStatus",
"documentation":"<p>The status of the alarm model. The status can be one of the following values:</p> <ul> <li> <p> <code>ACTIVE</code> - The alarm model is active and it's ready to evaluate data.</p> </li> <li> <p> <code>ACTIVATING</code> - AWS IoT Events is activating your alarm model. Activating an alarm model can take up to a few minutes.</p> </li> <li> <p> <code>INACTIVE</code> - The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model information and update the alarm model.</p> </li> <li> <p> <code>FAILED</code> - You couldn't create or update the alarm model. Check your alarm model information and try again.</p> </li> </ul>"
},
"statusMessage":{
"shape":"StatusMessage",
"documentation":"<p> Contains information about the status of the alarm model version. </p>"
}
},
"documentation":"<p>Contains a summary of an alarm model version.</p>"
},
"AlarmNotification":{
"type":"structure",
"members":{
"notificationActions":{
"shape":"NotificationActions",
"documentation":"<p>Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.</p>"
}
},
"documentation":"<p>Contains information about one or more notification actions.</p>"
},
"AlarmRule":{
"type":"structure",
"members":{
"simpleRule":{
"shape":"SimpleRule",
"documentation":"<p>A rule that compares an input property value to a threshold value with a comparison operator.</p>"
}
},
"documentation":"<p>Defines when your alarm is invoked.</p>"
},
"AmazonResourceName":{
"type":"string",
"max":2048,
"min":1
},
"AnalysisId":{"type":"string"},
"AnalysisMessage":{"type":"string"},
"AnalysisResult":{
"type":"structure",
"members":{
"type":{
"shape":"AnalysisType",
"documentation":"<p>The type of the analysis result. Analyses fall into the following types based on the validators used to generate the analysis result:</p> <ul> <li> <p> <code>supported-actions</code> - You must specify AWS IoT Events supported actions that work with other AWS services in a supported AWS Region.</p> </li> <li> <p> <code>service-limits</code> - Resources or API operations can't exceed service quotas (also known as limits). Update your detector model or request a quota increase.</p> </li> <li> <p> <code>structure</code> - The detector model must follow a structure that AWS IoT Events supports. </p> </li> <li> <p> <code>expression-syntax</code> - Your expression must follow the required syntax.</p> </li> <li> <p> <code>data-type</code> - Data types referenced in the detector model must be compatible.</p> </li> <li> <p> <code>referenced-data</code> - You must define the data referenced in your detector model before you can use the data.</p> </li> <li> <p> <code>referenced-resource</code> - Resources that the detector model uses must be available.</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-analyze-api.html\">Running detector model analyses</a> in the <i>AWS IoT Events Developer Guide</i>.</p>"
},
"level":{
"shape":"AnalysisResultLevel",
"documentation":"<p>The severity level of the analysis result. Based on the severity level, analysis results fall into three general categories:</p> <ul> <li> <p> <code>INFO</code> - An information result tells you about a significant field in your detector model. This type of result usually doesn't require immediate action.</p> </li> <li> <p> <code>WARNING</code> - A warning result draws special attention to fields that might cause issues for your detector model. We recommend that you review warnings and take necessary actions before you use your detector model in production environments. Otherwise, the detector model might not work as expected.</p> </li> <li> <p> <code>ERROR</code> - An error result notifies you about a problem found in your detector model. You must fix all errors before you can publish your detector model.</p> </li> </ul>"
},
"message":{
"shape":"AnalysisMessage",
"documentation":"<p>Contains additional information about the analysis result.</p>"
},
"locations":{
"shape":"AnalysisResultLocations",
"documentation":"<p>Contains one or more locations that you can use to locate the fields in your detector model that the analysis result references.</p>"
}
},
"documentation":"<p>Contains the result of the analysis.</p>"
},
"AnalysisResultLevel":{
"type":"string",
"enum":[
"INFO",
"WARNING",
"ERROR"
]
},
"AnalysisResultLocation":{
"type":"structure",
"members":{
"path":{
"shape":"AnalysisResultLocationPath",
"documentation":"<p>A <a href=\"https://github.com/json-path/JsonPath\">JsonPath</a> expression that identifies the error field in your detector model.</p>"
}
},
"documentation":"<p>Contains information that you can use to locate the field in your detector model that the analysis result references.</p>"
},
"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":"<p>The timestamp, in seconds, in the Unix epoch format. The valid range is between 1-31556889864403199.</p>"
},
"offsetInNanos":{
"shape":"AssetPropertyOffsetInNanos",
"documentation":"<p>The nanosecond offset converted from <code>timeInSeconds</code>. The valid range is between 0-999999999.</p>"
}
},
"documentation":"<p>A structure that contains timestamp information. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_TimeInNanos.html\">TimeInNanos</a> in the <i>AWS IoT SiteWise API Reference</i>.</p> <p>You must use expressions for all parameters in <code>AssetPropertyTimestamp</code>. The expressions accept literals, operators, functions, references, and substitution templates.</p> <p class=\"title\"> <b>Examples</b> </p> <ul> <li> <p>For literal values, the expressions must contain single quotes. For example, the value for the <code>timeInSeconds</code> parameter can be <code>'1586400675'</code>.</p> </li> <li> <p>For references, you must specify either variables or input values. For example, the value for the <code>offsetInNanos</code> parameter can be <code>$variable.time</code>.</p> </li> <li> <p>For a substitution template, you must use <code>${}</code>, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.</p> <p>In the following example, the value for the <code>timeInSeconds</code> parameter uses a substitution template.</p> <p> <code>'${$input.TemperatureInput.sensorData.timestamp / 1000}'</code> </p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html\">Expressions</a> in the <i>AWS IoT Events Developer Guide</i>.</p>"
},
"AssetPropertyValue":{
"type":"structure",
"members":{
"value":{
"shape":"AssetPropertyVariant",
"documentation":"<p>The value to send to an asset property.</p>"
},
"timestamp":{
"shape":"AssetPropertyTimestamp",
"documentation":"<p>The timestamp associated with the asset property value. The default is the current event time.</p>"
},
"quality":{
"shape":"AssetPropertyQuality",
"documentation":"<p>The quality of the asset property value. The value must be <code>'GOOD'</code>, <code>'BAD'</code>, or <code>'UNCERTAIN'</code>.</p>"
}
},
"documentation":"<p>A structure that contains value information. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetPropertyValue.html\">AssetPropertyValue</a> in the <i>AWS IoT SiteWise API Reference</i>.</p> <p>You must use expressions for all parameters in <code>AssetPropertyValue</code>. The expressions accept literals, operators, functions, references, and substitution templates.</p> <p class=\"title\"> <b>Examples</b> </p> <ul> <li> <p>For literal values, the expressions must contain single quotes. For example, the value for the <code>quality</code> parameter can be <code>'GOOD'</code>.</p> </li> <li> <p>For references, you must specify either variables or input values. For example, the value for the <code>quality</code> parameter can be <code>$input.TemperatureInput.sensorData.quality</code>.</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html\">Expressions</a> in the <i>AWS IoT Events Developer Guide</i>.</p>"
},
"AssetPropertyVariant":{
"type":"structure",
"members":{
"stringValue":{
"shape":"AssetPropertyStringValue",
"documentation":"<p>The asset property value is a string. You must use an expression, and the evaluated result should be a string.</p>"
},
"integerValue":{
"shape":"AssetPropertyIntegerValue",
"documentation":"<p>The asset property value is an integer. You must use an expression, and the evaluated result should be an integer.</p>"
},
"doubleValue":{
"shape":"AssetPropertyDoubleValue",
"documentation":"<p>The asset property value is a double. You must use an expression, and the evaluated result should be a double.</p>"
},
"booleanValue":{
"shape":"AssetPropertyBooleanValue",
"documentation":"<p>The asset property value is a Boolean value that must be <code>'TRUE'</code> or <code>'FALSE'</code>. You must use an expression, and the evaluated result should be a Boolean value.</p>"
}
},
"documentation":"<p>A structure that contains an asset property value. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_Variant.html\">Variant</a> in the <i>AWS IoT SiteWise API Reference</i>.</p> <p>You must use expressions for all parameters in <code>AssetPropertyVariant</code>. The expressions accept literals, operators, functions, references, and substitution templates.</p> <p class=\"title\"> <b>Examples</b> </p> <ul> <li> <p>For literal values, the expressions must contain single quotes. For example, the value for the <code>integerValue</code> parameter can be <code>'100'</code>.</p> </li> <li> <p>For references, you must specify either variables or parameters. For example, the value for the <code>booleanValue</code> parameter can be <code>$variable.offline</code>.</p> </li> <li> <p>For a substitution template, you must use <code>${}</code>, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates. </p> <p>In the following example, the value for the <code>doubleValue</code> parameter uses a substitution template. </p> <p> <code>'${$input.TemperatureInput.sensorData.temperature * 6 / 5 + 32}'</code> </p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html\">Expressions</a> in the <i>AWS IoT Events Developer Guide</i>.</p> <p>You must specify one of the following value types, depending on the <code>dataType</code> of the specified asset property. For more information, see <a href=\"https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetProperty.html\">AssetProperty</a> in the <i>AWS IoT SiteWise API Reference</i>.</p>"
},
"Attribute":{
"type":"structure",
"required":["jsonPath"],
"members":{
"jsonPath":{
"shape":"AttributeJsonPath",
"documentation":"<p>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 (<code>BatchPutMessage</code>). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in the <code>condition</code> expressions used by detectors. </p> <p>Syntax: <code>&lt;field-name&gt;.&lt;field-name&gt;...</code> </p>"
}
},
"documentation":"<p>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 <code>BatchPutMessage</code>. Each such message contains a JSON payload. Those attributes (and their paired values) specified here are available for use in the <code>condition</code> expressions used by detectors. </p>"
},
"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":"<p>The name of the timer to clear.</p>"
}
},
"documentation":"<p>Information needed to clear the timer.</p>"
},
"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":"<p>A unique name that helps you identify the alarm model. You can't change this name after you create the alarm model.</p>"
},
"alarmModelDescription":{
"shape":"AlarmModelDescription",
"documentation":"<p>A description that tells you what the alarm model detects.</p>"
},
"roleArn":{
"shape":"AmazonResourceName",
"documentation":"<p>The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>"
},
"tags":{
"shape":"Tags",
"documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/tagging-iotevents.html\">Tagging your AWS IoT Events resources</a> in the <i>AWS IoT Events Developer Guide</i>.</p> <p>You can create up to 50 tags for one alarm model.</p>"
},
"key":{
"shape":"AttributeJsonPath",
"documentation":"<p>An input attribute used as a key to create an alarm. AWS IoT Events routes <a href=\"https://docs.aws.amazon.com/iotevents/latest/apireference/API_Input.html\">inputs</a> associated with this key to the alarm.</p>"
},
"severity":{
"shape":"Severity",
"documentation":"<p>A non-negative integer that reflects the severity level of the alarm.</p>"
},
"alarmRule":{
"shape":"AlarmRule",
"documentation":"<p>Defines when your alarm is invoked.</p>"
},
"alarmNotification":{
"shape":"AlarmNotification",
"documentation":"<p>Contains information about one or more notification actions.</p>"
},
"alarmEventActions":{
"shape":"AlarmEventActions",
"documentation":"<p>Contains information about one or more alarm actions.</p>"
},
"alarmCapabilities":{
"shape":"AlarmCapabilities",
"documentation":"<p>Contains the configuration information of alarm state changes.</p>"
}
}
},
"CreateAlarmModelResponse":{
"type":"structure",
"members":{
"creationTime":{
"shape":"Timestamp",
"documentation":"<p>The time the alarm model was created, in the Unix epoch format.</p>"
},
"alarmModelArn":{
"shape":"AlarmModelArn",
"documentation":"<p>The ARN of the alarm model. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>"
},
"alarmModelVersion":{
"shape":"AlarmModelVersion",
"documentation":"<p>The version of the alarm model.</p>"
},
"lastUpdateTime":{
"shape":"Timestamp",
"documentation":"<p>The time the alarm model was last updated, in the Unix epoch format.</p>"
},
"status":{
"shape":"AlarmModelVersionStatus",
"documentation":"<p>The status of the alarm model. The status can be one of the following values:</p> <ul> <li> <p> <code>ACTIVE</code> - The alarm model is active and it's ready to evaluate data.</p> </li> <li> <p> <code>ACTIVATING</code> - AWS IoT Events is activating your alarm model. Activating an alarm model can take up to a few minutes.</p> </li> <li> <p> <code>INACTIVE</code> - The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model information and update the alarm model.</p> </li> <li> <p> <code>FAILED</code> - You couldn't create or update the alarm model. Check your alarm model information and try again.</p> </li> </ul>"
}
}
},
"CreateDetectorModelRequest":{
"type":"structure",
"required":[
"detectorModelName",
"detectorModelDefinition",
"roleArn"
],
"members":{
"detectorModelName":{
"shape":"DetectorModelName",
"documentation":"<p>The name of the detector model.</p>"
},
"detectorModelDefinition":{
"shape":"DetectorModelDefinition",
"documentation":"<p>Information that defines how the detectors operate.</p>"
},
"detectorModelDescription":{
"shape":"DetectorModelDescription",
"documentation":"<p>A brief description of the detector model.</p>"
},
"key":{
"shape":"AttributeJsonPath",
"documentation":"<p>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.</p>"
},
"roleArn":{
"shape":"AmazonResourceName",
"documentation":"<p>The ARN of the role that grants permission to AWS IoT Events to perform its operations.</p>"
},
"tags":{
"shape":"Tags",
"documentation":"<p>Metadata that can be used to manage the detector model.</p>"
},
"evaluationMethod":{
"shape":"EvaluationMethod",
"documentation":"<p>Information about the order in which events are evaluated and how actions are executed. </p>"
}
}
},
"CreateDetectorModelResponse":{
"type":"structure",
"members":{
"detectorModelConfiguration":{
"shape":"DetectorModelConfiguration",
"documentation":"<p>Information about how the detector model is configured.</p>"
}
}
},
"CreateInputRequest":{
"type":"structure",
"required":[
"inputName",
"inputDefinition"
],
"members":{
"inputName":{
"shape":"InputName",
"documentation":"<p>The name you want to give to the input.</p>"
},
"inputDescription":{
"shape":"InputDescription",
"documentation":"<p>A brief description of the input.</p>"
},
"inputDefinition":{
"shape":"InputDefinition",
"documentation":"<p>The definition of the input.</p>"
},
"tags":{
"shape":"Tags",
"documentation":"<p>Metadata that can be used to manage the input.</p>"
}
}
},
"CreateInputResponse":{
"type":"structure",
"members":{
"inputConfiguration":{
"shape":"InputConfiguration",
"documentation":"<p>Information about the configuration of the input.</p>"
}
}
},
"DeleteAlarmModelRequest":{
"type":"structure",
"required":["alarmModelName"],
"members":{
"alarmModelName":{
"shape":"AlarmModelName",
"documentation":"<p>The name of the alarm model.</p>",
"location":"uri",
"locationName":"alarmModelName"
}
}
},
"DeleteAlarmModelResponse":{
"type":"structure",
"members":{
}
},
"DeleteDetectorModelRequest":{
"type":"structure",
"required":["detectorModelName"],
"members":{
"detectorModelName":{
"shape":"DetectorModelName",
"documentation":"<p>The name of the detector model to be deleted.</p>",
"location":"uri",
"locationName":"detectorModelName"
}
}
},
"DeleteDetectorModelResponse":{
"type":"structure",
"members":{
}
},
"DeleteInputRequest":{
"type":"structure",
"required":["inputName"],
"members":{
"inputName":{
"shape":"InputName",
"documentation":"<p>The name of the input to delete.</p>",
"location":"uri",
"locationName":"inputName"
}
}
},
"DeleteInputResponse":{
"type":"structure",
"members":{
}
},
"DeliveryStreamName":{"type":"string"},
"DescribeAlarmModelRequest":{
"type":"structure",
"required":["alarmModelName"],
"members":{
"alarmModelName":{
"shape":"AlarmModelName",
"documentation":"<p>The name of the alarm model.</p>",
"location":"uri",
"locationName":"alarmModelName"
},
"alarmModelVersion":{
"shape":"AlarmModelVersion",
"documentation":"<p>The version of the alarm model.</p>",
"location":"querystring",
"locationName":"version"
}
}
},
"DescribeAlarmModelResponse":{
"type":"structure",
"members":{
"creationTime":{
"shape":"Timestamp",
"documentation":"<p>The time the alarm model was created, in the Unix epoch format.</p>"
},
"alarmModelArn":{
"shape":"AlarmModelArn",
"documentation":"<p>The ARN of the alarm model. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>"
},
"alarmModelVersion":{
"shape":"AlarmModelVersion",
"documentation":"<p>The version of the alarm model.</p>"
},
"lastUpdateTime":{
"shape":"Timestamp",
"documentation":"<p>The time the alarm model was last updated, in the Unix epoch format.</p>"
},
"status":{
"shape":"AlarmModelVersionStatus",
"documentation":"<p>The status of the alarm model. The status can be one of the following values:</p> <ul> <li> <p> <code>ACTIVE</code> - The alarm model is active and it's ready to evaluate data.</p> </li> <li> <p> <code>ACTIVATING</code> - AWS IoT Events is activating your alarm model. Activating an alarm model can take up to a few minutes.</p> </li> <li> <p> <code>INACTIVE</code> - The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model information and update the alarm model.</p> </li> <li> <p> <code>FAILED</code> - You couldn't create or update the alarm model. Check your alarm model information and try again.</p> </li> </ul>"
},
"statusMessage":{
"shape":"StatusMessage",
"documentation":"<p> Contains information about the status of the alarm model. </p>"
},
"alarmModelName":{
"shape":"AlarmModelName",
"documentation":"<p>The name of the alarm model.</p>"
},
"alarmModelDescription":{
"shape":"AlarmModelDescription",
"documentation":"<p>The description of the alarm model.</p>"
},
"roleArn":{
"shape":"AmazonResourceName",
"documentation":"<p>The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>"
},
"key":{
"shape":"AttributeJsonPath",
"documentation":"<p>An input attribute used as a key to create an alarm. AWS IoT Events routes <a href=\"https://docs.aws.amazon.com/iotevents/latest/apireference/API_Input.html\">inputs</a> associated with this key to the alarm.</p>"
},
"severity":{
"shape":"Severity",
"documentation":"<p>A non-negative integer that reflects the severity level of the alarm.</p>"
},
"alarmRule":{
"shape":"AlarmRule",
"documentation":"<p>Defines when your alarm is invoked.</p>"
},
"alarmNotification":{
"shape":"AlarmNotification",
"documentation":"<p>Contains information about one or more notification actions.</p>"
},
"alarmEventActions":{
"shape":"AlarmEventActions",
"documentation":"<p>Contains information about one or more alarm actions.</p>"
},
"alarmCapabilities":{
"shape":"AlarmCapabilities",
"documentation":"<p>Contains the configuration information of alarm state changes.</p>"
}
}
},
"DescribeDetectorModelAnalysisRequest":{
"type":"structure",
"required":["analysisId"],
"members":{
"analysisId":{
"shape":"AnalysisId",
"documentation":"<p>The ID of the analysis result that you want to retrieve.</p>",
"location":"uri",
"locationName":"analysisId"
}
}
},
"DescribeDetectorModelAnalysisResponse":{
"type":"structure",
"members":{
"status":{
"shape":"AnalysisStatus",
"documentation":"<p>The status of the analysis activity. The status can be one of the following values:</p> <ul> <li> <p> <code>RUNNING</code> - AWS IoT Events is analyzing your detector model. This process can take several minutes to complete.</p> </li> <li> <p> <code>COMPLETE</code> - AWS IoT Events finished analyzing your detector model.</p> </li> <li> <p> <code>FAILED</code> - AWS IoT Events couldn't analyze your detector model. Try again later.</p> </li> </ul>"
}
}
},
"DescribeDetectorModelRequest":{
"type":"structure",
"required":["detectorModelName"],
"members":{
"detectorModelName":{
"shape":"DetectorModelName",
"documentation":"<p>The name of the detector model.</p>",
"location":"uri",
"locationName":"detectorModelName"
},
"detectorModelVersion":{
"shape":"DetectorModelVersion",
"documentation":"<p>The version of the detector model.</p>",
"location":"querystring",
"locationName":"version"
}
}
},
"DescribeDetectorModelResponse":{
"type":"structure",
"members":{
"detectorModel":{
"shape":"DetectorModel",
"documentation":"<p>Information about the detector model.</p>"
}
}
},
"DescribeInputRequest":{
"type":"structure",
"required":["inputName"],
"members":{
"inputName":{
"shape":"InputName",
"documentation":"<p>The name of the input.</p>",
"location":"uri",
"locationName":"inputName"
}
}
},
"DescribeInputResponse":{
"type":"structure",
"members":{
"input":{
"shape":"Input",
"documentation":"<p>Information about the input.</p>"
}
}
},
"DescribeLoggingOptionsRequest":{
"type":"structure",
"members":{
}
},
"DescribeLoggingOptionsResponse":{
"type":"structure",
"members":{
"loggingOptions":{
"shape":"LoggingOptions",
"documentation":"<p>The current settings of the AWS IoT Events logging options.</p>"
}
}
},
"DetectorDebugOption":{
"type":"structure",
"required":["detectorModelName"],
"members":{
"detectorModelName":{
"shape":"DetectorModelName",
"documentation":"<p>The name of the detector model.</p>"
},
"keyValue":{
"shape":"KeyValue",
"documentation":"<p>The value of the input attribute key used to create the detector (the instance of the detector model).</p>"
}
},
"documentation":"<p>The detector model and the specific detectors (instances) for which the logging level is given.</p>"
},
"DetectorDebugOptions":{
"type":"list",
"member":{"shape":"DetectorDebugOption"},
"min":1
},
"DetectorModel":{
"type":"structure",
"members":{
"detectorModelDefinition":{
"shape":"DetectorModelDefinition",
"documentation":"<p>Information that defines how a detector operates.</p>"
},
"detectorModelConfiguration":{
"shape":"DetectorModelConfiguration",
"documentation":"<p>Information about how the detector is configured.</p>"
}
},
"documentation":"<p>Information about the detector model.</p>"
},
"DetectorModelArn":{"type":"string"},
"DetectorModelConfiguration":{
"type":"structure",
"members":{
"detectorModelName":{
"shape":"DetectorModelName",
"documentation":"<p>The name of the detector model.</p>"
},
"detectorModelVersion":{
"shape":"DetectorModelVersion",
"documentation":"<p>The version of the detector model.</p>"
},
"detectorModelDescription":{
"shape":"DetectorModelDescription",
"documentation":"<p>A brief description of the detector model.</p>"
},
"detectorModelArn":{
"shape":"DetectorModelArn",
"documentation":"<p>The ARN of the detector model.</p>"
},
"roleArn":{
"shape":"AmazonResourceName",
"documentation":"<p>The ARN of the role that grants permission to AWS IoT Events to perform its operations.</p>"
},
"creationTime":{
"shape":"Timestamp",
"documentation":"<p>The time the detector model was created.</p>"
},
"lastUpdateTime":{
"shape":"Timestamp",
"documentation":"<p>The time the detector model was last updated.</p>"
},
"status":{
"shape":"DetectorModelVersionStatus",
"documentation":"<p>The status of the detector model.</p>"
},
"key":{
"shape":"AttributeJsonPath",
"documentation":"<p>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. </p> <p>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.</p>"
},
"evaluationMethod":{
"shape":"EvaluationMethod",
"documentation":"<p>Information about the order in which events are evaluated and how actions are executed. </p>"
}
},
"documentation":"<p>Information about how the detector model is configured.</p>"
},
"DetectorModelDefinition":{
"type":"structure",
"required":[
"states",
"initialStateName"
],
"members":{
"states":{
"shape":"States",
"documentation":"<p>Information about the states of the detector.</p>"
},
"initialStateName":{
"shape":"StateName",
"documentation":"<p>The state that is entered at the creation of each detector (instance).</p>"
}
},
"documentation":"<p>Information that defines how a detector operates.</p>"
},
"DetectorModelDescription":{
"type":"string",
"max":128
},
"DetectorModelName":{
"type":"string",
"max":128,
"min":1,
"pattern":"^[a-zA-Z0-9_-]+$"
},
"DetectorModelSummaries":{
"type":"list",
"member":{"shape":"DetectorModelSummary"}
},
"DetectorModelSummary":{
"type":"structure",
"members":{
"detectorModelName":{
"shape":"DetectorModelName",
"documentation":"<p>The name of the detector model.</p>"
},
"detectorModelDescription":{
"shape":"DetectorModelDescription",
"documentation":"<p>A brief description of the detector model.</p>"
},
"creationTime":{
"shape":"Timestamp",
"documentation":"<p>The time the detector model was created.</p>"
}
},
"documentation":"<p>Information about the detector model.</p>"
},
"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":"<p>The name of the detector model.</p>"
},
"detectorModelVersion":{
"shape":"DetectorModelVersion",
"documentation":"<p>The ID of the detector model version.</p>"
},
"detectorModelArn":{
"shape":"DetectorModelArn",
"documentation":"<p>The ARN of the detector model version.</p>"
},
"roleArn":{
"shape":"AmazonResourceName",
"documentation":"<p>The ARN of the role that grants the detector model permission to perform its tasks.</p>"
},
"creationTime":{
"shape":"Timestamp",
"documentation":"<p>The time the detector model version was created.</p>"
},
"lastUpdateTime":{
"shape":"Timestamp",
"documentation":"<p>The last time the detector model version was updated.</p>"
},
"status":{
"shape":"DetectorModelVersionStatus",
"documentation":"<p>The status of the detector model version.</p>"
},
"evaluationMethod":{
"shape":"EvaluationMethod",
"documentation":"<p>Information about the order in which events are evaluated and how actions are executed. </p>"
}
},
"documentation":"<p>Information about the detector model version.</p>"
},
"DisabledOnInitialization":{
"type":"boolean",
"box":true
},
"DynamoDBAction":{
"type":"structure",
"required":[
"hashKeyField",
"hashKeyValue",
"tableName"
],
"members":{
"hashKeyType":{
"shape":"DynamoKeyType",
"documentation":"<p>The data type for the hash key (also called the partition key). You can specify the following values:</p> <ul> <li> <p> <code>'STRING'</code> - The hash key is a string.</p> </li> <li> <p> <code>'NUMBER'</code> - The hash key is a number.</p> </li> </ul> <p>If you don't specify <code>hashKeyType</code>, the default value is <code>'STRING'</code>.</p>"
},
"hashKeyField":{
"shape":"DynamoKeyField",
"documentation":"<p>The name of the hash key (also called the partition key). The <code>hashKeyField</code> value must match the partition key of the target DynamoDB table.</p>"
},
"hashKeyValue":{
"shape":"DynamoKeyValue",
"documentation":"<p>The value of the hash key (also called the partition key).</p>"
},
"rangeKeyType":{
"shape":"DynamoKeyType",
"documentation":"<p>The data type for the range key (also called the sort key), You can specify the following values:</p> <ul> <li> <p> <code>'STRING'</code> - The range key is a string.</p> </li> <li> <p> <code>'NUMBER'</code> - The range key is number.</p> </li> </ul> <p>If you don't specify <code>rangeKeyField</code>, the default value is <code>'STRING'</code>.</p>"
},
"rangeKeyField":{
"shape":"DynamoKeyField",
"documentation":"<p>The name of the range key (also called the sort key). The <code>rangeKeyField</code> value must match the sort key of the target DynamoDB table. </p>"
},
"rangeKeyValue":{
"shape":"DynamoKeyValue",
"documentation":"<p>The value of the range key (also called the sort key).</p>"
},
"operation":{
"shape":"DynamoOperation",
"documentation":"<p>The type of operation to perform. You can specify the following values: </p> <ul> <li> <p> <code>'INSERT'</code> - Insert data as a new item into the DynamoDB table. This item uses the specified hash key as a partition key. If you specified a range key, the item uses the range key as a sort key.</p> </li> <li> <p> <code>'UPDATE'</code> - Update an existing item of the DynamoDB table with new data. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.</p> </li> <li> <p> <code>'DELETE'</code> - Delete an existing item of the DynamoDB table. This item's partition key must match the specified hash key. If you specified a range key, the range key must match the item's sort key.</p> </li> </ul> <p>If you don't specify this parameter, AWS IoT Events triggers the <code>'INSERT'</code> operation.</p>"
},
"payloadField":{
"shape":"DynamoKeyField",
"documentation":"<p>The name of the DynamoDB column that receives the action payload.</p> <p>If you don't specify this parameter, the name of the DynamoDB column is <code>payload</code>.</p>"
},
"tableName":{
"shape":"DynamoTableName",
"documentation":"<p>The name of the DynamoDB table. The <code>tableName</code> value must match the table name of the target DynamoDB table. </p>"
},
"payload":{"shape":"Payload"}
},
"documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html\">payload</a>. One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify.</p> <p>You must use expressions for all parameters in <code>DynamoDBAction</code>. The expressions accept literals, operators, functions, references, and substitution templates.</p> <p class=\"title\"> <b>Examples</b> </p> <ul> <li> <p>For literal values, the expressions must contain single quotes. For example, the value for the <code>hashKeyType</code> parameter can be <code>'STRING'</code>.</p> </li> <li> <p>For references, you must specify either variables or input values. For example, the value for the <code>hashKeyField</code> parameter can be <code>$input.GreenhouseInput.name</code>.</p> </li> <li> <p>For a substitution template, you must use <code>${}</code>, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.</p> <p>In the following example, the value for the <code>hashKeyValue</code> parameter uses a substitution template. </p> <p> <code>'${$input.GreenhouseInput.temperature * 6 / 5 + 32} in Fahrenheit'</code> </p> </li> <li> <p>For a string concatenation, you must use <code>+</code>. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.</p> <p>In the following example, the value for the <code>tableName</code> parameter uses a string concatenation. </p> <p> <code>'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date</code> </p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html\">Expressions</a> in the <i>AWS IoT Events Developer Guide</i>.</p> <p>If the defined payload type is a string, <code>DynamoDBAction</code> 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 <code>payloadField</code> parameter is <code>&lt;payload-field&gt;_raw</code>.</p>"
},
"DynamoDBv2Action":{
"type":"structure",
"required":["tableName"],
"members":{
"tableName":{
"shape":"DynamoTableName",
"documentation":"<p>The name of the DynamoDB table.</p>"
},
"payload":{"shape":"Payload"}
},
"documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html\">payload</a>. A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify.</p> <p>You must use expressions for all parameters in <code>DynamoDBv2Action</code>. The expressions accept literals, operators, functions, references, and substitution templates.</p> <p class=\"title\"> <b>Examples</b> </p> <ul> <li> <p>For literal values, the expressions must contain single quotes. For example, the value for the <code>tableName</code> parameter can be <code>'GreenhouseTemperatureTable'</code>.</p> </li> <li> <p>For references, you must specify either variables or input values. For example, the value for the <code>tableName</code> parameter can be <code>$variable.ddbtableName</code>.</p> </li> <li> <p>For a substitution template, you must use <code>${}</code>, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.</p> <p>In the following example, the value for the <code>contentExpression</code> parameter in <code>Payload</code> uses a substitution template. </p> <p> <code>'{\\\"sensorID\\\": \\\"${$input.GreenhouseInput.sensor_id}\\\", \\\"temperature\\\": \\\"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\\\"}'</code> </p> </li> <li> <p>For a string concatenation, you must use <code>+</code>. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.</p> <p>In the following example, the value for the <code>tableName</code> parameter uses a string concatenation. </p> <p> <code>'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date</code> </p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html\">Expressions</a> in the <i>AWS IoT Events Developer Guide</i>.</p> <p>The value for the <code>type</code> parameter in <code>Payload</code> must be <code>JSON</code>.</p>"
},
"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":"<p>The email address that sends emails.</p> <important> <p>If you use the AWS IoT Events managed AWS Lambda function to manage your emails, you must <a href=\"https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-email-addresses.html\">verify the email address that sends emails in Amazon SES</a>.</p> </important>"
},
"content":{
"shape":"EmailContent",
"documentation":"<p>Contains the subject and message of an email.</p>"
},
"recipients":{
"shape":"EmailRecipients",
"documentation":"<p>Contains the information of one or more recipients who receive the emails.</p> <important> <p>You must <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/addusers.html\">add the users that receive emails to your AWS SSO store</a>.</p> </important>"
}
},
"documentation":"<p>Contains the configuration information of email notifications.</p>"
},
"EmailConfigurations":{
"type":"list",
"member":{"shape":"EmailConfiguration"},
"min":1
},
"EmailContent":{
"type":"structure",
"members":{
"subject":{
"shape":"EmailSubject",
"documentation":"<p>The subject of the email.</p>"
},
"additionalMessage":{
"shape":"NotificationAdditionalMessage",
"documentation":"<p>The message that you want to send. The message can be up to 200 characters.</p>"
}
},
"documentation":"<p>Contains the subject and message of an email.</p>"
},
"EmailRecipients":{
"type":"structure",
"members":{
"to":{
"shape":"RecipientDetails",
"documentation":"<p>Specifies one or more recipients who receive the email.</p>"
}
},
"documentation":"<p>Contains the information of one or more recipients who receive the emails.</p> <important> <p>You must <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/addusers.html\">add the users that receive emails to your AWS SSO store</a>.</p> </important>"
},
"EmailSubject":{"type":"string"},
"EvaluationMethod":{
"type":"string",
"enum":[
"BATCH",
"SERIAL"
]
},
"Event":{
"type":"structure",
"required":["eventName"],
"members":{
"eventName":{
"shape":"EventName",
"documentation":"<p>The name of the event.</p>"
},
"condition":{
"shape":"Condition",
"documentation":"<p>Optional. The Boolean expression that, when TRUE, causes the <code>actions</code> 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).</p>"
},
"actions":{
"shape":"Actions",
"documentation":"<p>The actions to be performed.</p>"
}
},
"documentation":"<p>Specifies the <code>actions</code> to be performed when the <code>condition</code> evaluates to TRUE.</p>"
},
"EventName":{
"type":"string",
"max":128
},
"Events":{
"type":"list",
"member":{"shape":"Event"}
},
"FirehoseAction":{
"type":"structure",
"required":["deliveryStreamName"],
"members":{
"deliveryStreamName":{
"shape":"DeliveryStreamName",
"documentation":"<p>The name of the Kinesis Data Firehose delivery stream where the data is written.</p>"
},
"separator":{
"shape":"FirehoseSeparator",
"documentation":"<p>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).</p>"
},
"payload":{
"shape":"Payload",
"documentation":"<p>You can configure the action payload when you send a message to an Amazon Kinesis Data Firehose delivery stream.</p>"
}
},
"documentation":"<p>Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.</p>"
},
"FirehoseSeparator":{
"type":"string",
"pattern":"([\\n\\t])|(\\r\\n)|(,)"
},
"FromEmail":{"type":"string"},
"GetDetectorModelAnalysisResultsRequest":{
"type":"structure",
"required":["analysisId"],
"members":{
"analysisId":{
"shape":"AnalysisId",
"documentation":"<p>The ID of the analysis result that you want to retrieve.</p>",
"location":"uri",
"locationName":"analysisId"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token that you can use to return the next set of results.</p>",
"location":"querystring",
"locationName":"nextToken"
},
"maxResults":{
"shape":"MaxAnalysisResults",
"documentation":"<p>The maximum number of results to be returned per request.</p>",
"location":"querystring",
"locationName":"maxResults"
}
}
},
"GetDetectorModelAnalysisResultsResponse":{
"type":"structure",
"members":{
"analysisResults":{
"shape":"AnalysisResults",
"documentation":"<p>Contains information about one or more analysis results.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token that you can use to return the next set of results, or <code>null</code> if there are no more results.</p>"
}
}
},
"IdentityStoreId":{"type":"string"},
"InitializationConfiguration":{
"type":"structure",
"required":["disabledOnInitialization"],
"members":{
"disabledOnInitialization":{
"shape":"DisabledOnInitialization",
"documentation":"<p>The value must be <code>TRUE</code> or <code>FALSE</code>. If <code>FALSE</code>, all alarm instances created based on the alarm model are activated. The default value is <code>TRUE</code>.</p>"
}
},
"documentation":"<p>Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.</p>"
},
"Input":{
"type":"structure",
"members":{
"inputConfiguration":{
"shape":"InputConfiguration",
"documentation":"<p>Information about the configuration of an input.</p>"
},
"inputDefinition":{
"shape":"InputDefinition",
"documentation":"<p>The definition of the input.</p>"
}
},
"documentation":"<p>Information about the input.</p>"
},
"InputArn":{"type":"string"},
"InputConfiguration":{
"type":"structure",
"required":[
"inputName",
"inputArn",
"creationTime",
"lastUpdateTime",
"status"
],
"members":{
"inputName":{
"shape":"InputName",
"documentation":"<p>The name of the input.</p>"
},
"inputDescription":{
"shape":"InputDescription",
"documentation":"<p>A brief description of the input.</p>"
},
"inputArn":{
"shape":"InputArn",
"documentation":"<p>The ARN of the input.</p>"
},
"creationTime":{
"shape":"Timestamp",
"documentation":"<p>The time the input was created.</p>"
},
"lastUpdateTime":{
"shape":"Timestamp",
"documentation":"<p>The last time the input was updated.</p>"
},
"status":{
"shape":"InputStatus",
"documentation":"<p>The status of the input.</p>"
}
},
"documentation":"<p>Information about the configuration of an input.</p>"
},
"InputDefinition":{
"type":"structure",
"required":["attributes"],
"members":{
"attributes":{
"shape":"Attributes",
"documentation":"<p>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 <code>BatchPutMessage</code>. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in the <code>condition</code> expressions used by detectors that monitor this input. </p>"
}
},
"documentation":"<p>The definition of the input.</p>"
},
"InputDescription":{
"type":"string",
"max":128
},
"InputIdentifier":{
"type":"structure",
"members":{
"iotEventsInputIdentifier":{
"shape":"IotEventsInputIdentifier",
"documentation":"<p> The identifier of the input routed to AWS IoT Events. </p>"
},
"iotSiteWiseInputIdentifier":{
"shape":"IotSiteWiseInputIdentifier",
"documentation":"<p> The identifer of the input routed from AWS IoT SiteWise. </p>"
}
},
"documentation":"<p> The identifer of the input. </p>"
},
"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":"<p>The name of the input.</p>"
},
"inputDescription":{
"shape":"InputDescription",
"documentation":"<p>A brief description of the input.</p>"
},
"inputArn":{
"shape":"InputArn",
"documentation":"<p>The ARN of the input.</p>"
},
"creationTime":{
"shape":"Timestamp",
"documentation":"<p>The time the input was created.</p>"
},
"lastUpdateTime":{
"shape":"Timestamp",
"documentation":"<p>The last time the input was updated.</p>"
},
"status":{
"shape":"InputStatus",
"documentation":"<p>The status of the input.</p>"
}
},
"documentation":"<p>Information about the input.</p>"
},
"InternalFailureException":{
"type":"structure",
"members":{
"message":{
"shape":"errorMessage",
"documentation":"<p>The message for the exception.</p>"
}
},
"documentation":"<p>An internal failure occurred.</p>",
"error":{"httpStatusCode":500},
"exception":true,
"fault":true
},
"InvalidRequestException":{
"type":"structure",
"members":{
"message":{
"shape":"errorMessage",
"documentation":"<p>The message for the exception.</p>"
}
},
"documentation":"<p>The request was invalid.</p>",
"error":{"httpStatusCode":400},
"exception":true
},
"IotEventsAction":{
"type":"structure",
"required":["inputName"],
"members":{
"inputName":{
"shape":"InputName",
"documentation":"<p>The name of the AWS IoT Events input where the data is sent.</p>"
},
"payload":{
"shape":"Payload",
"documentation":"<p>You can configure the action payload when you send a message to an AWS IoT Events input.</p>"
}
},
"documentation":"<p>Sends an AWS IoT Events input, passing in information about the detector model instance and the event that triggered the action.</p>"
},
"IotEventsInputIdentifier":{
"type":"structure",
"required":["inputName"],
"members":{
"inputName":{
"shape":"InputName",
"documentation":"<p> The name of the input routed to AWS IoT Events. </p>"
}
},
"documentation":"<p> The identifier of the input routed to AWS IoT Events. </p>"
},
"IotSiteWiseAction":{
"type":"structure",
"members":{
"entryId":{
"shape":"AssetPropertyEntryId",
"documentation":"<p>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.</p>"
},
"assetId":{
"shape":"AssetId",
"documentation":"<p>The ID of the asset that has the specified property.</p>"
},
"propertyId":{
"shape":"AssetPropertyId",
"documentation":"<p>The ID of the asset property.</p>"
},
"propertyAlias":{
"shape":"AssetPropertyAlias",
"documentation":"<p>The alias of the asset property.</p>"
},
"propertyValue":{
"shape":"AssetPropertyValue",
"documentation":"<p>The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information. </p>"
}
},
"documentation":"<p>Sends information about the detector model instance and the event that triggered the action to a specified asset property in AWS IoT SiteWise.</p> <p>You must use expressions for all parameters in <code>IotSiteWiseAction</code>. The expressions accept literals, operators, functions, references, and substitutions templates.</p> <p class=\"title\"> <b>Examples</b> </p> <ul> <li> <p>For literal values, the expressions must contain single quotes. For example, the value for the <code>propertyAlias</code> parameter can be <code>'/company/windfarm/3/turbine/7/temperature'</code>.</p> </li> <li> <p>For references, you must specify either variables or input values. For example, the value for the <code>assetId</code> parameter can be <code>$input.TurbineInput.assetId1</code>.</p> </li> <li> <p>For a substitution template, you must use <code>${}</code>, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.</p> <p>In the following example, the value for the <code>propertyAlias</code> parameter uses a substitution template. </p> <p> <code>'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ ${$input.TemperatureInput.sensorData.turbineID}/temperature'</code> </p> </li> </ul> <p>You must specify either <code>propertyAlias</code> or both <code>assetId</code> and <code>propertyId</code> to identify the target asset property in AWS IoT SiteWise.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html\">Expressions</a> in the <i>AWS IoT Events Developer Guide</i>.</p>"
},
"IotSiteWiseAssetModelPropertyIdentifier":{
"type":"structure",
"required":[
"assetModelId",
"propertyId"
],
"members":{
"assetModelId":{
"shape":"AssetModelId",
"documentation":"<p> The ID of the AWS IoT SiteWise asset model. </p>"
},
"propertyId":{
"shape":"AssetPropertyId",
"documentation":"<p> The ID of the AWS IoT SiteWise asset property. </p>"
}
},
"documentation":"<p> The asset model property identifer of the input routed from AWS IoT SiteWise. </p>"
},
"IotSiteWiseInputIdentifier":{
"type":"structure",
"members":{
"iotSiteWiseAssetModelPropertyIdentifier":{
"shape":"IotSiteWiseAssetModelPropertyIdentifier",
"documentation":"<p> The identifier of the AWS IoT SiteWise asset model property. </p>"
}
},
"documentation":"<p> The identifer of the input routed from AWS IoT SiteWise. </p>"
},
"IotTopicPublishAction":{
"type":"structure",
"required":["mqttTopic"],
"members":{
"mqttTopic":{
"shape":"MQTTTopic",
"documentation":"<p>The MQTT topic of the message. You can use a string expression that includes variables (<code>$variable.&lt;variable-name&gt;</code>) and input values (<code>$input.&lt;input-name&gt;.&lt;path-to-datum&gt;</code>) as the topic string.</p>"
},
"payload":{
"shape":"Payload",
"documentation":"<p>You can configure the action payload when you publish a message to an AWS IoT Core topic.</p>"
}
},
"documentation":"<p>Information required to publish the MQTT message through the AWS IoT message broker.</p>"
},
"KeyValue":{
"type":"string",
"max":128,
"min":1,
"pattern":"^[a-zA-Z0-9\\-_:]+$"
},
"LambdaAction":{
"type":"structure",
"required":["functionArn"],
"members":{
"functionArn":{
"shape":"AmazonResourceName",
"documentation":"<p>The ARN of the Lambda function that is executed.</p>"
},
"payload":{
"shape":"Payload",
"documentation":"<p>You can configure the action payload when you send a message to a Lambda function.</p>"
}
},
"documentation":"<p>Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.</p>"
},
"LimitExceededException":{
"type":"structure",
"members":{
"message":{
"shape":"errorMessage",
"documentation":"<p>The message for the exception.</p>"
}
},
"documentation":"<p>A limit was exceeded.</p>",
"error":{"httpStatusCode":410},
"exception":true
},
"ListAlarmModelVersionsRequest":{
"type":"structure",
"required":["alarmModelName"],
"members":{
"alarmModelName":{
"shape":"AlarmModelName",
"documentation":"<p>The name of the alarm model.</p>",
"location":"uri",
"locationName":"alarmModelName"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token that you can use to return the next set of results.</p>",
"location":"querystring",
"locationName":"nextToken"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of results to be returned per request.</p>",
"location":"querystring",
"locationName":"maxResults"
}
}
},
"ListAlarmModelVersionsResponse":{
"type":"structure",
"members":{
"alarmModelVersionSummaries":{
"shape":"AlarmModelVersionSummaries",
"documentation":"<p>A list that summarizes each alarm model version.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token that you can use to return the next set of results, or <code>null</code> if there are no more results.</p>"
}
}
},
"ListAlarmModelsRequest":{
"type":"structure",
"members":{
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token that you can use to return the next set of results.</p>",
"location":"querystring",
"locationName":"nextToken"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of results to be returned per request.</p>",
"location":"querystring",
"locationName":"maxResults"
}
}
},
"ListAlarmModelsResponse":{
"type":"structure",
"members":{
"alarmModelSummaries":{
"shape":"AlarmModelSummaries",
"documentation":"<p>A list that summarizes each alarm model.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token that you can use to return the next set of results, or <code>null</code> if there are no more results.</p>"
}
}
},
"ListDetectorModelVersionsRequest":{
"type":"structure",
"required":["detectorModelName"],
"members":{
"detectorModelName":{
"shape":"DetectorModelName",
"documentation":"<p>The name of the detector model whose versions are returned.</p>",
"location":"uri",
"locationName":"detectorModelName"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token that you can use to return the next set of results.</p>",
"location":"querystring",
"locationName":"nextToken"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of results to be returned per request.</p>",
"location":"querystring",
"locationName":"maxResults"
}
}
},
"ListDetectorModelVersionsResponse":{
"type":"structure",
"members":{
"detectorModelVersionSummaries":{
"shape":"DetectorModelVersionSummaries",
"documentation":"<p>Summary information about the detector model versions.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token that you can use to return the next set of results, or <code>null</code> if there are no more results.</p>"
}
}
},
"ListDetectorModelsRequest":{
"type":"structure",
"members":{
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token that you can use to return the next set of results.</p>",
"location":"querystring",
"locationName":"nextToken"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of results to be returned per request.</p>",
"location":"querystring",
"locationName":"maxResults"
}
}
},
"ListDetectorModelsResponse":{
"type":"structure",
"members":{
"detectorModelSummaries":{
"shape":"DetectorModelSummaries",
"documentation":"<p>Summary information about the detector models.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token that you can use to return the next set of results, or <code>null</code> if there are no more results.</p>"
}
}
},
"ListInputRoutingsRequest":{
"type":"structure",
"required":["inputIdentifier"],
"members":{
"inputIdentifier":{
"shape":"InputIdentifier",
"documentation":"<p> The identifer of the routed input. </p>"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p> The maximum number of results to be returned per request. </p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p> The token that you can use to return the next set of results. </p>"
}
}
},
"ListInputRoutingsResponse":{
"type":"structure",
"members":{
"routedResources":{
"shape":"RoutedResources",
"documentation":"<p> Summary information about the routed resources. </p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p> The token that you can use to return the next set of results, or <code>null</code> if there are no more results. </p>"
}
}
},
"ListInputsRequest":{
"type":"structure",
"members":{
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token that you can use to return the next set of results.</p>",
"location":"querystring",
"locationName":"nextToken"
},
"maxResults":{
"shape":"MaxResults",
"documentation":"<p>The maximum number of results to be returned per request.</p>",
"location":"querystring",
"locationName":"maxResults"
}
}
},
"ListInputsResponse":{
"type":"structure",
"members":{
"inputSummaries":{
"shape":"InputSummaries",
"documentation":"<p>Summary information about the inputs.</p>"
},
"nextToken":{
"shape":"NextToken",
"documentation":"<p>The token that you can use to return the next set of results, or <code>null</code> if there are no more results.</p>"
}
}
},
"ListTagsForResourceRequest":{
"type":"structure",
"required":["resourceArn"],
"members":{
"resourceArn":{
"shape":"AmazonResourceName",
"documentation":"<p>The ARN of the resource.</p>",
"location":"querystring",
"locationName":"resourceArn"
}
}
},
"ListTagsForResourceResponse":{
"type":"structure",
"members":{
"tags":{
"shape":"Tags",
"documentation":"<p>The list of tags assigned to the resource.</p>"
}
}
},
"LoggingEnabled":{"type":"boolean"},
"LoggingLevel":{
"type":"string",
"enum":[
"ERROR",
"INFO",
"DEBUG"
]
},
"LoggingOptions":{
"type":"structure",
"required":[
"roleArn",
"level",
"enabled"
],
"members":{
"roleArn":{
"shape":"AmazonResourceName",
"documentation":"<p>The ARN of the role that grants permission to AWS IoT Events to perform logging.</p>"
},
"level":{
"shape":"LoggingLevel",
"documentation":"<p>The logging level.</p>"
},
"enabled":{
"shape":"LoggingEnabled",
"documentation":"<p>If TRUE, logging is enabled for AWS IoT Events.</p>"
},
"detectorDebugOptions":{
"shape":"DetectorDebugOptions",
"documentation":"<p>Information that identifies those detector models and their detectors (instances) for which the logging level is given.</p>"
}
},
"documentation":"<p>The values of the AWS IoT Events logging options.</p>"
},
"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":"<p>Specifies an AWS Lambda function to manage alarm notifications. You can create one or use the <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/lambda-support.html\">AWS Lambda function provided by AWS IoT Events</a>.</p>"
},
"smsConfigurations":{
"shape":"SMSConfigurations",
"documentation":"<p>Contains the configuration information of SMS notifications.</p>"
},
"emailConfigurations":{
"shape":"EmailConfigurations",
"documentation":"<p>Contains the configuration information of email notifications.</p>"
}
},
"documentation":"<p>Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.</p>"
},
"NotificationActions":{
"type":"list",
"member":{"shape":"NotificationAction"},
"min":1
},
"NotificationAdditionalMessage":{"type":"string"},
"NotificationTargetActions":{
"type":"structure",
"members":{
"lambdaAction":{"shape":"LambdaAction"}
},
"documentation":"<p>Specifies an AWS Lambda function to manage alarm notifications. You can create one or use the <a href=\"https://docs.aws.amazon.com/iotevents/latest/developerguide/lambda-support.html\">AWS Lambda function provided by AWS IoT Events</a>.</p>"
},
"OnEnterLifecycle":{
"type":"structure",
"members":{
"events":{
"shape":"Events",
"documentation":"<p>Specifies the actions that are performed when the state is entered and the <code>condition</code> is <code>TRUE</code>.</p>"
}
},
"documentation":"<p>When entering this state, perform these <code>actions</code> if the <code>condition</code> is TRUE.</p>"
},
"OnExitLifecycle":{
"type":"structure",
"members":{
"events":{
"shape":"Events",
"documentation":"<p>Specifies the <code>actions</code> that are performed when the state is exited and the <code>condition</code> is <code>TRUE</code>.</p>"
}
},
"documentation":"<p>When exiting this state, perform these <code>actions</code> if the specified <code>condition</code> is <code>TRUE</code>.</p>"
},
"OnInputLifecycle":{
"type":"structure",
"members":{
"events":{
"shape":"Events",
"documentation":"<p>Specifies the actions performed when the <code>condition</code> evaluates to TRUE.</p>"
},
"transitionEvents":{
"shape":"TransitionEvents",
"documentation":"<p>Specifies the actions performed, and the next state entered, when a <code>condition</code> evaluates to TRUE.</p>"
}
},
"documentation":"<p>Specifies the actions performed when the <code>condition</code> evaluates to TRUE.</p>"
},
"Payload":{
"type":"structure",
"required":[
"contentExpression",
"type"
],
"members":{
"contentExpression":{
"shape":"ContentExpression",
"documentation":"<p>The content of the payload. You can use a string expression that includes quoted strings (<code>'&lt;string&gt;'</code>), variables (<code>$variable.&lt;variable-name&gt;</code>), input values (<code>$input.&lt;input-name&gt;.&lt;path-to-datum&gt;</code>), string concatenations, and quoted strings that contain <code>${}</code> as the content. The recommended maximum size of a content expression is 1 KB.</p>"
},
"type":{
"shape":"PayloadType",
"documentation":"<p>The value of the payload type can be either <code>STRING</code> or <code>JSON</code>.</p>"
}
},
"documentation":"<p>Information needed to configure the payload.</p> <p>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 <code>contentExpression</code>.</p>"
},
"PayloadType":{
"type":"string",
"enum":[
"STRING",
"JSON"
]
},
"PutLoggingOptionsRequest":{
"type":"structure",
"required":["loggingOptions"],
"members":{
"loggingOptions":{
"shape":"LoggingOptions",
"documentation":"<p>The new values of the AWS IoT Events logging options.</p>"
}
}
},
"QueueUrl":{"type":"string"},
"RecipientDetail":{
"type":"structure",
"members":{
"ssoIdentity":{
"shape":"SSOIdentity",
"documentation":"<p>The AWS Single Sign-On (AWS SSO) authentication information.</p>"
}
},
"documentation":"<p>The information that identifies the recipient.</p>"
},
"RecipientDetails":{
"type":"list",
"member":{"shape":"RecipientDetail"},
"min":1
},
"ResetTimerAction":{
"type":"structure",
"required":["timerName"],
"members":{
"timerName":{
"shape":"TimerName",
"documentation":"<p>The name of the timer to reset.</p>"
}
},
"documentation":"<p>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.</p>"
},
"ResourceAlreadyExistsException":{
"type":"structure",
"members":{
"message":{
"shape":"errorMessage",
"documentation":"<p>The message for the exception.</p>"
},
"resourceId":{
"shape":"resourceId",
"documentation":"<p>The ID of the resource.</p>"
},
"resourceArn":{
"shape":"resourceArn",
"documentation":"<p>The ARN of the resource.</p>"
}
},
"documentation":"<p>The resource already exists.</p>",
"error":{"httpStatusCode":409},
"exception":true
},
"ResourceInUseException":{
"type":"structure",
"members":{
"message":{
"shape":"errorMessage",
"documentation":"<p>The message for the exception.</p>"
}
},
"documentation":"<p>The resource is in use.</p>",
"error":{"httpStatusCode":409},
"exception":true
},
"ResourceName":{"type":"string"},
"ResourceNotFoundException":{
"type":"structure",
"members":{
"message":{
"shape":"errorMessage",
"documentation":"<p>The message for the exception.</p>"
}
},
"documentation":"<p>The resource was not found.</p>",
"error":{"httpStatusCode":404},
"exception":true
},
"RoutedResource":{
"type":"structure",
"members":{
"name":{
"shape":"ResourceName",
"documentation":"<p> The name of the routed resource. </p>"
},
"arn":{
"shape":"AmazonResourceName",
"documentation":"<p> The ARN of the routed resource. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>. </p>"
}
},
"documentation":"<p> Contains information about the routed resource. </p>"
},
"RoutedResources":{
"type":"list",
"member":{"shape":"RoutedResource"}
},
"SMSConfiguration":{
"type":"structure",
"required":["recipients"],
"members":{
"senderId":{
"shape":"SMSSenderId",
"documentation":"<p>The sender ID.</p>"
},
"additionalMessage":{
"shape":"NotificationAdditionalMessage",
"documentation":"<p>The message that you want to send. The message can be up to 200 characters.</p>"
},
"recipients":{
"shape":"RecipientDetails",
"documentation":"<p>Specifies one or more recipients who receive the message.</p> <important> <p>You must <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/addusers.html\">add the users that receive SMS messages to your AWS SSO store</a>.</p> </important>"
}
},
"documentation":"<p>Contains the configuration information of SMS notifications.</p>"
},
"SMSConfigurations":{
"type":"list",
"member":{"shape":"SMSConfiguration"},
"min":1
},
"SMSSenderId":{"type":"string"},
"SNSTopicPublishAction":{
"type":"structure",
"required":["targetArn"],
"members":{
"targetArn":{
"shape":"AmazonResourceName",
"documentation":"<p>The ARN of the Amazon SNS target where the message is sent.</p>"
},
"payload":{
"shape":"Payload",
"documentation":"<p>You can configure the action payload when you send a message as an Amazon SNS push notification.</p>"
}
},
"documentation":"<p>Information required to publish the Amazon SNS message.</p>"
},
"SSOIdentity":{
"type":"structure",
"required":["identityStoreId"],
"members":{
"identityStoreId":{
"shape":"IdentityStoreId",
"documentation":"<p>The ID of the AWS SSO identity store.</p>"
},
"userId":{
"shape":"SSOReferenceId",
"documentation":"<p>The user ID.</p>"
}
},
"documentation":"<p>Contains information about your identity source in AWS Single Sign-On. For more information, see the <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html\">AWS Single Sign-On User Guide</a>.</p>"
},
"SSOReferenceId":{"type":"string"},
"Seconds":{
"type":"integer",
"max":31622400,
"min":1
},
"ServiceUnavailableException":{
"type":"structure",
"members":{
"message":{
"shape":"errorMessage",
"documentation":"<p>The message for the exception.</p>"
}
},
"documentation":"<p>The service is currently unavailable.</p>",
"error":{"httpStatusCode":503},
"exception":true,
"fault":true
},
"SetTimerAction":{
"type":"structure",
"required":["timerName"],
"members":{
"timerName":{
"shape":"TimerName",
"documentation":"<p>The name of the timer.</p>"
},
"seconds":{
"shape":"Seconds",
"documentation":"<p>The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds. </p>",
"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":"<p>The duration of the timer, in seconds. You can use a string expression that includes numbers, variables (<code>$variable.&lt;variable-name&gt;</code>), and input values (<code>$input.&lt;input-name&gt;.&lt;path-to-datum&gt;</code>) 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. </p>"
}
},
"documentation":"<p>Information needed to set the timer.</p>"
},
"SetVariableAction":{
"type":"structure",
"required":[
"variableName",
"value"
],
"members":{
"variableName":{
"shape":"VariableName",
"documentation":"<p>The name of the variable.</p>"
},
"value":{
"shape":"VariableValue",
"documentation":"<p>The new value of the variable.</p>"
}
},
"documentation":"<p>Information about the variable and its new value.</p>"
},
"Severity":{
"type":"integer",
"box":true,
"max":2147483647,
"min":0
},
"SimpleRule":{
"type":"structure",
"required":[
"inputProperty",
"comparisonOperator",
"threshold"
],
"members":{
"inputProperty":{
"shape":"InputProperty",
"documentation":"<p>The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.</p>"
},
"comparisonOperator":{
"shape":"ComparisonOperator",
"documentation":"<p>The comparison operator.</p>"
},
"threshold":{
"shape":"Threshold",
"documentation":"<p>The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.</p>"
}
},
"documentation":"<p>A rule that compares an input property value to a threshold value with a comparison operator.</p>"
},
"SqsAction":{
"type":"structure",
"required":["queueUrl"],
"members":{
"queueUrl":{
"shape":"QueueUrl",
"documentation":"<p>The URL of the SQS queue where the data is written.</p>"
},
"useBase64":{
"shape":"UseBase64",
"documentation":"<p>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.</p>"
},
"payload":{
"shape":"Payload",
"documentation":"<p>You can configure the action payload when you send a message to an Amazon SQS queue.</p>"
}
},
"documentation":"<p>Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.</p>"
},
"StartDetectorModelAnalysisRequest":{
"type":"structure",
"required":["detectorModelDefinition"],
"members":{
"detectorModelDefinition":{"shape":"DetectorModelDefinition"}
}
},
"StartDetectorModelAnalysisResponse":{
"type":"structure",
"members":{
"analysisId":{
"shape":"AnalysisId",
"documentation":"<p>The ID that you can use to retrieve the analysis result.</p>"
}
}
},
"State":{
"type":"structure",
"required":["stateName"],
"members":{
"stateName":{
"shape":"StateName",
"documentation":"<p>The name of the state.</p>"
},
"onInput":{
"shape":"OnInputLifecycle",
"documentation":"<p>When an input is received and the <code>condition</code> is TRUE, perform the specified <code>actions</code>.</p>"
},
"onEnter":{
"shape":"OnEnterLifecycle",
"documentation":"<p>When entering this state, perform these <code>actions</code> if the <code>condition</code> is TRUE.</p>"
},
"onExit":{
"shape":"OnExitLifecycle",
"documentation":"<p>When exiting this state, perform these <code>actions</code> if the specified <code>condition</code> is <code>TRUE</code>.</p>"
}
},
"documentation":"<p>Information that defines a state of a detector.</p>"
},
"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":"<p>The tag's key.</p>"
},
"value":{
"shape":"TagValue",
"documentation":"<p>The tag's value.</p>"
}
},
"documentation":"<p>Metadata that can be used to manage the resource.</p>"
},
"TagKey":{
"type":"string",
"max":128,
"min":1
},
"TagKeys":{
"type":"list",
"member":{"shape":"TagKey"}
},
"TagResourceRequest":{
"type":"structure",
"required":[
"resourceArn",
"tags"
],
"members":{
"resourceArn":{
"shape":"AmazonResourceName",
"documentation":"<p>The ARN of the resource.</p>",
"location":"querystring",
"locationName":"resourceArn"
},
"tags":{
"shape":"Tags",
"documentation":"<p>The new or modified tags for the resource.</p>"
}
}
},
"TagResourceResponse":{
"type":"structure",
"members":{
}
},
"TagValue":{
"type":"string",
"max":256,
"min":0
},
"Tags":{
"type":"list",
"member":{"shape":"Tag"}
},
"Threshold":{
"type":"string",
"max":512,
"min":1
},
"ThrottlingException":{
"type":"structure",
"members":{
"message":{
"shape":"errorMessage",
"documentation":"<p>The message for the exception.</p>"
}
},
"documentation":"<p>The request could not be completed due to throttling.</p>",
"error":{"httpStatusCode":429},
"exception":true
},
"TimerName":{
"type":"string",
"max":128,
"min":1
},
"Timestamp":{"type":"timestamp"},
"TransitionEvent":{
"type":"structure",
"required":[
"eventName",
"condition",
"nextState"
],
"members":{
"eventName":{
"shape":"EventName",
"documentation":"<p>The name of the transition event.</p>"
},
"condition":{
"shape":"Condition",
"documentation":"<p>Required. A Boolean expression that when TRUE causes the actions to be performed and the <code>nextState</code> to be entered.</p>"
},
"actions":{
"shape":"Actions",
"documentation":"<p>The actions to be performed.</p>"
},
"nextState":{
"shape":"StateName",
"documentation":"<p>The next state to enter.</p>"
}
},
"documentation":"<p>Specifies the actions performed and the next state entered when a <code>condition</code> evaluates to TRUE.</p>"
},
"TransitionEvents":{
"type":"list",
"member":{"shape":"TransitionEvent"}
},
"UnsupportedOperationException":{
"type":"structure",
"members":{
"message":{
"shape":"errorMessage",
"documentation":"<p>The message for the exception.</p>"
}
},
"documentation":"<p>The requested operation is not supported.</p>",
"error":{"httpStatusCode":501},
"exception":true,
"fault":true
},
"UntagResourceRequest":{
"type":"structure",
"required":[
"resourceArn",
"tagKeys"
],
"members":{
"resourceArn":{
"shape":"AmazonResourceName",
"documentation":"<p>The ARN of the resource.</p>",
"location":"querystring",
"locationName":"resourceArn"
},
"tagKeys":{
"shape":"TagKeys",
"documentation":"<p>A list of the keys of the tags to be removed from the resource.</p>",
"location":"querystring",
"locationName":"tagKeys"
}
}
},
"UntagResourceResponse":{
"type":"structure",
"members":{
}
},
"UpdateAlarmModelRequest":{
"type":"structure",
"required":[
"alarmModelName",
"roleArn",
"alarmRule"
],
"members":{
"alarmModelName":{
"shape":"AlarmModelName",
"documentation":"<p>The name of the alarm model.</p>",
"location":"uri",
"locationName":"alarmModelName"
},
"alarmModelDescription":{
"shape":"AlarmModelDescription",
"documentation":"<p>The description of the alarm model.</p>"
},
"roleArn":{
"shape":"AmazonResourceName",
"documentation":"<p>The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>"
},
"severity":{
"shape":"Severity",
"documentation":"<p>A non-negative integer that reflects the severity level of the alarm.</p>"
},
"alarmRule":{
"shape":"AlarmRule",
"documentation":"<p>Defines when your alarm is invoked.</p>"
},
"alarmNotification":{
"shape":"AlarmNotification",
"documentation":"<p>Contains information about one or more notification actions.</p>"
},
"alarmEventActions":{
"shape":"AlarmEventActions",
"documentation":"<p>Contains information about one or more alarm actions.</p>"
},
"alarmCapabilities":{
"shape":"AlarmCapabilities",
"documentation":"<p>Contains the configuration information of alarm state changes.</p>"
}
}
},
"UpdateAlarmModelResponse":{
"type":"structure",
"members":{
"creationTime":{
"shape":"Timestamp",
"documentation":"<p>The time the alarm model was created, in the Unix epoch format.</p>"
},
"alarmModelArn":{
"shape":"AlarmModelArn",
"documentation":"<p>The ARN of the alarm model. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">Amazon Resource Names (ARNs)</a> in the <i>AWS General Reference</i>.</p>"
},
"alarmModelVersion":{
"shape":"AlarmModelVersion",
"documentation":"<p>The version of the alarm model.</p>"
},
"lastUpdateTime":{
"shape":"Timestamp",
"documentation":"<p>The time the alarm model was last updated, in the Unix epoch format.</p>"
},
"status":{
"shape":"AlarmModelVersionStatus",
"documentation":"<p>The status of the alarm model. The status can be one of the following values:</p> <ul> <li> <p> <code>ACTIVE</code> - The alarm model is active and it's ready to evaluate data.</p> </li> <li> <p> <code>ACTIVATING</code> - AWS IoT Events is activating your alarm model. Activating an alarm model can take up to a few minutes.</p> </li> <li> <p> <code>INACTIVE</code> - The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model information and update the alarm model.</p> </li> <li> <p> <code>FAILED</code> - You couldn't create or update the alarm model. Check your alarm model information and try again.</p> </li> </ul>"
}
}
},
"UpdateDetectorModelRequest":{
"type":"structure",
"required":[
"detectorModelName",
"detectorModelDefinition",
"roleArn"
],
"members":{
"detectorModelName":{
"shape":"DetectorModelName",
"documentation":"<p>The name of the detector model that is updated.</p>",
"location":"uri",
"locationName":"detectorModelName"
},
"detectorModelDefinition":{
"shape":"DetectorModelDefinition",
"documentation":"<p>Information that defines how a detector operates.</p>"
},
"detectorModelDescription":{
"shape":"DetectorModelDescription",
"documentation":"<p>A brief description of the detector model.</p>"
},
"roleArn":{
"shape":"AmazonResourceName",
"documentation":"<p>The ARN of the role that grants permission to AWS IoT Events to perform its operations.</p>"
},
"evaluationMethod":{
"shape":"EvaluationMethod",
"documentation":"<p>Information about the order in which events are evaluated and how actions are executed. </p>"
}
}
},
"UpdateDetectorModelResponse":{
"type":"structure",
"members":{
"detectorModelConfiguration":{
"shape":"DetectorModelConfiguration",
"documentation":"<p>Information about how the detector model is configured.</p>"
}
}
},
"UpdateInputRequest":{
"type":"structure",
"required":[
"inputName",
"inputDefinition"
],
"members":{
"inputName":{
"shape":"InputName",
"documentation":"<p>The name of the input you want to update.</p>",
"location":"uri",
"locationName":"inputName"
},
"inputDescription":{
"shape":"InputDescription",
"documentation":"<p>A brief description of the input.</p>"
},
"inputDefinition":{
"shape":"InputDefinition",
"documentation":"<p>The definition of the input.</p>"
}
}
},
"UpdateInputResponse":{
"type":"structure",
"members":{
"inputConfiguration":{
"shape":"InputConfiguration",
"documentation":"<p>Information about the configuration of the input.</p>"
}
}
},
"UseBase64":{"type":"boolean"},
"VariableName":{
"type":"string",
"max":128,
"min":1,
"pattern":"^[a-zA-Z][a-zA-Z0-9_]*$"
},
"VariableValue":{
"type":"string",
"max":1024,
"min":1
},
"errorMessage":{"type":"string"},
"resourceArn":{"type":"string"},
"resourceId":{"type":"string"}
},
"documentation":"<p>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.</p>"
}