@pulumi/aws-native 0.121.0 → 0.122.0-alpha.1724761835
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/appintegrations/application.d.ts +2 -2
- package/appintegrations/application.js +3 -0
- package/appintegrations/application.js.map +1 -1
- package/entityresolution/getMatchingWorkflow.d.ts +1 -0
- package/entityresolution/getMatchingWorkflow.js.map +1 -1
- package/entityresolution/matchingWorkflow.d.ts +2 -0
- package/entityresolution/matchingWorkflow.js +2 -0
- package/entityresolution/matchingWorkflow.js.map +1 -1
- package/iotevents/alarmModel.d.ts +11 -19
- package/iotevents/alarmModel.js +1 -3
- package/iotevents/alarmModel.js.map +1 -1
- package/iotevents/detectorModel.d.ts +13 -13
- package/iotevents/detectorModel.js +5 -1
- package/iotevents/detectorModel.js.map +1 -1
- package/iotevents/getAlarmModel.d.ts +6 -11
- package/iotevents/getAlarmModel.js +2 -6
- package/iotevents/getAlarmModel.js.map +1 -1
- package/iotevents/getDetectorModel.d.ts +12 -5
- package/iotevents/getDetectorModel.js +10 -2
- package/iotevents/getDetectorModel.js.map +1 -1
- package/iotevents/getInput.d.ts +3 -4
- package/iotevents/getInput.js +2 -2
- package/iotevents/getInput.js.map +1 -1
- package/iotevents/input.d.ts +3 -5
- package/iotevents/input.js +1 -1
- package/iotevents/input.js.map +1 -1
- package/package.json +3 -3
- package/package.json.dev +2 -2
- package/types/enums/entityresolution/index.d.ts +4 -0
- package/types/enums/entityresolution/index.js +4 -1
- package/types/enums/entityresolution/index.js.map +1 -1
- package/types/input.d.ts +394 -139
- package/types/output.d.ts +394 -139
package/types/output.d.ts
CHANGED
|
@@ -26705,6 +26705,9 @@ export declare namespace entityresolution {
|
|
|
26705
26705
|
*/
|
|
26706
26706
|
ruleName: string;
|
|
26707
26707
|
}
|
|
26708
|
+
interface MatchingWorkflowIncrementalRunConfig {
|
|
26709
|
+
incrementalRunType: enums.entityresolution.MatchingWorkflowIncrementalRunConfigIncrementalRunType;
|
|
26710
|
+
}
|
|
26708
26711
|
interface MatchingWorkflowInputSource {
|
|
26709
26712
|
/**
|
|
26710
26713
|
* Normalizes the attributes defined in the schema in the input data. For example, if an attribute has an `AttributeType` of `PHONE_NUMBER` , and the data in the input table is in a format of 1234567890, AWS Entity Resolution will normalize this field in the output to (123)-456-7890.
|
|
@@ -33534,26 +33537,89 @@ export declare namespace iotevents {
|
|
|
33534
33537
|
*/
|
|
33535
33538
|
interface AlarmModelAcknowledgeFlow {
|
|
33536
33539
|
/**
|
|
33537
|
-
* The value must be TRUE or FALSE
|
|
33540
|
+
* The value must be ``TRUE`` or ``FALSE``. If ``TRUE``, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to ``NORMAL``. If ``FALSE``, you won't receive notifications. The alarm automatically changes to the ``NORMAL`` state when the input property value returns to the specified range.
|
|
33538
33541
|
*/
|
|
33539
33542
|
enabled?: boolean;
|
|
33540
33543
|
}
|
|
33541
33544
|
/**
|
|
33542
|
-
*
|
|
33545
|
+
* Specifies one of the following actions to receive notifications when the alarm state changes.
|
|
33543
33546
|
*/
|
|
33544
33547
|
interface AlarmModelAlarmAction {
|
|
33548
|
+
/**
|
|
33549
|
+
* Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify.
|
|
33550
|
+
* You must use expressions for all parameters in ``DynamoDBv2Action``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
33551
|
+
* **Examples**
|
|
33552
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``tableName`` parameter can be ``'GreenhouseTemperatureTable'``.
|
|
33553
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``tableName`` parameter can be ``$variable.ddbtableName``.
|
|
33554
|
+
* + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
33555
|
+
* In the following example, the value for the ``contentExpression`` parameter in ``Payload`` uses a substitution template.
|
|
33556
|
+
* ``'{\"sensorID\": \"${$input.GreenhouseInput.sensor_id}\", \"temperature\": \"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\"}'``
|
|
33557
|
+
* + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
33558
|
+
* In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
33559
|
+
* ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
33560
|
+
*
|
|
33561
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
33562
|
+
* The value for the ``type`` parameter in ``Payload`` must be ``JSON``.
|
|
33563
|
+
*/
|
|
33545
33564
|
dynamoDBv2?: outputs.iotevents.AlarmModelDynamoDBv2;
|
|
33565
|
+
/**
|
|
33566
|
+
* Defines an action to write to the Amazon DynamoDB table that you created. The standard action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify.
|
|
33567
|
+
* You must use expressions for all parameters in ``DynamoDBAction``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
33568
|
+
* **Examples**
|
|
33569
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``hashKeyType`` parameter can be ``'STRING'``.
|
|
33570
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``hashKeyField`` parameter can be ``$input.GreenhouseInput.name``.
|
|
33571
|
+
* + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
33572
|
+
* In the following example, the value for the ``hashKeyValue`` parameter uses a substitution template.
|
|
33573
|
+
* ``'${$input.GreenhouseInput.temperature * 6 / 5 + 32} in Fahrenheit'``
|
|
33574
|
+
* + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
33575
|
+
* In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
33576
|
+
* ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
33577
|
+
*
|
|
33578
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
33579
|
+
* If the defined payload type is a string, ``DynamoDBAction`` writes non-JSON data to the DynamoDB table as binary data. The DynamoDB console displays the data as Base64-encoded text. The value for the ``payloadField`` parameter is ``<payload-field>_raw``.
|
|
33580
|
+
*/
|
|
33546
33581
|
dynamoDb?: outputs.iotevents.AlarmModelDynamoDb;
|
|
33582
|
+
/**
|
|
33583
|
+
* Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
|
|
33584
|
+
*/
|
|
33547
33585
|
firehose?: outputs.iotevents.AlarmModelFirehose;
|
|
33586
|
+
/**
|
|
33587
|
+
* Sends an ITE input, passing in information about the detector model instance and the event that triggered the action.
|
|
33588
|
+
*/
|
|
33548
33589
|
iotEvents?: outputs.iotevents.AlarmModelIotEvents;
|
|
33590
|
+
/**
|
|
33591
|
+
* Sends information about the detector model instance and the event that triggered the action to a specified asset property in ITSW.
|
|
33592
|
+
* You must use expressions for all parameters in ``IotSiteWiseAction``. The expressions accept literals, operators, functions, references, and substitutions templates.
|
|
33593
|
+
* **Examples**
|
|
33594
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``propertyAlias`` parameter can be ``'/company/windfarm/3/turbine/7/temperature'``.
|
|
33595
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``assetId`` parameter can be ``$input.TurbineInput.assetId1``.
|
|
33596
|
+
* + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
33597
|
+
* In the following example, the value for the ``propertyAlias`` parameter uses a substitution template.
|
|
33598
|
+
* ``'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ ${$input.TemperatureInput.sensorData.turbineID}/temperature'``
|
|
33599
|
+
*
|
|
33600
|
+
* You must specify either ``propertyAlias`` or both ``assetId`` and ``propertyId`` to identify the target asset property in ITSW.
|
|
33601
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
33602
|
+
*/
|
|
33549
33603
|
iotSiteWise?: outputs.iotevents.AlarmModelIotSiteWise;
|
|
33604
|
+
/**
|
|
33605
|
+
* Information required to publish the MQTT message through the IoT message broker.
|
|
33606
|
+
*/
|
|
33550
33607
|
iotTopicPublish?: outputs.iotevents.AlarmModelIotTopicPublish;
|
|
33608
|
+
/**
|
|
33609
|
+
* Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
|
|
33610
|
+
*/
|
|
33551
33611
|
lambda?: outputs.iotevents.AlarmModelLambda;
|
|
33612
|
+
/**
|
|
33613
|
+
* Information required to publish the Amazon SNS message.
|
|
33614
|
+
*/
|
|
33552
33615
|
sns?: outputs.iotevents.AlarmModelSns;
|
|
33616
|
+
/**
|
|
33617
|
+
* Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
|
|
33618
|
+
*/
|
|
33553
33619
|
sqs?: outputs.iotevents.AlarmModelSqs;
|
|
33554
33620
|
}
|
|
33555
33621
|
/**
|
|
33556
|
-
* Contains the configuration information of alarm state changes
|
|
33622
|
+
* Contains the configuration information of alarm state changes.
|
|
33557
33623
|
*/
|
|
33558
33624
|
interface AlarmModelAlarmCapabilities {
|
|
33559
33625
|
/**
|
|
@@ -33584,56 +33650,102 @@ export declare namespace iotevents {
|
|
|
33584
33650
|
simpleRule?: outputs.iotevents.AlarmModelSimpleRule;
|
|
33585
33651
|
}
|
|
33586
33652
|
/**
|
|
33587
|
-
* A structure that contains timestamp information. For more information, see [TimeInNanos](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_TimeInNanos.html) in the *
|
|
33653
|
+
* A structure that contains timestamp information. For more information, see [TimeInNanos](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_TimeInNanos.html) in the *API Reference*.
|
|
33654
|
+
* You must use expressions for all parameters in ``AssetPropertyTimestamp``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
33655
|
+
* **Examples**
|
|
33656
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``timeInSeconds`` parameter can be ``'1586400675'``.
|
|
33657
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``offsetInNanos`` parameter can be ``$variable.time``.
|
|
33658
|
+
* + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
33659
|
+
* In the following example, the value for the ``timeInSeconds`` parameter uses a substitution template.
|
|
33660
|
+
* ``'${$input.TemperatureInput.sensorData.timestamp / 1000}'``
|
|
33661
|
+
*
|
|
33662
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
33588
33663
|
*/
|
|
33589
33664
|
interface AlarmModelAssetPropertyTimestamp {
|
|
33590
33665
|
/**
|
|
33591
|
-
* The
|
|
33666
|
+
* The nanosecond offset converted from ``timeInSeconds``. The valid range is between 0-999999999.
|
|
33592
33667
|
*/
|
|
33593
33668
|
offsetInNanos?: string;
|
|
33594
33669
|
/**
|
|
33595
|
-
* The
|
|
33670
|
+
* The timestamp, in seconds, in the Unix epoch format. The valid range is between 1-31556889864403199.
|
|
33596
33671
|
*/
|
|
33597
33672
|
timeInSeconds: string;
|
|
33598
33673
|
}
|
|
33599
33674
|
/**
|
|
33600
|
-
* A structure that contains value information. For more information, see [AssetPropertyValue](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetPropertyValue.html) in the *
|
|
33675
|
+
* A structure that contains value information. For more information, see [AssetPropertyValue](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetPropertyValue.html) in the *API Reference*.
|
|
33676
|
+
* You must use expressions for all parameters in ``AssetPropertyValue``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
33677
|
+
* **Examples**
|
|
33678
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``quality`` parameter can be ``'GOOD'``.
|
|
33679
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``quality`` parameter can be ``$input.TemperatureInput.sensorData.quality``.
|
|
33680
|
+
*
|
|
33681
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
33601
33682
|
*/
|
|
33602
33683
|
interface AlarmModelAssetPropertyValue {
|
|
33603
33684
|
/**
|
|
33604
|
-
* The quality of the asset property value. The value must be
|
|
33685
|
+
* The quality of the asset property value. The value must be ``'GOOD'``, ``'BAD'``, or ``'UNCERTAIN'``.
|
|
33605
33686
|
*/
|
|
33606
33687
|
quality?: string;
|
|
33688
|
+
/**
|
|
33689
|
+
* The timestamp associated with the asset property value. The default is the current event time.
|
|
33690
|
+
*/
|
|
33607
33691
|
timestamp?: outputs.iotevents.AlarmModelAssetPropertyTimestamp;
|
|
33692
|
+
/**
|
|
33693
|
+
* The value to send to an asset property.
|
|
33694
|
+
*/
|
|
33608
33695
|
value: outputs.iotevents.AlarmModelAssetPropertyVariant;
|
|
33609
33696
|
}
|
|
33610
33697
|
/**
|
|
33611
|
-
* A structure that contains an asset property value. For more information, see [Variant](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_Variant.html) in the *
|
|
33698
|
+
* A structure that contains an asset property value. For more information, see [Variant](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_Variant.html) in the *API Reference*.
|
|
33699
|
+
* You must use expressions for all parameters in ``AssetPropertyVariant``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
33700
|
+
* **Examples**
|
|
33701
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``integerValue`` parameter can be ``'100'``.
|
|
33702
|
+
* + For references, you must specify either variables or parameters. For example, the value for the ``booleanValue`` parameter can be ``$variable.offline``.
|
|
33703
|
+
* + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
33704
|
+
* In the following example, the value for the ``doubleValue`` parameter uses a substitution template.
|
|
33705
|
+
* ``'${$input.TemperatureInput.sensorData.temperature * 6 / 5 + 32}'``
|
|
33706
|
+
*
|
|
33707
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
33708
|
+
* You must specify one of the following value types, depending on the ``dataType`` of the specified asset property. For more information, see [AssetProperty](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetProperty.html) in the *API Reference*.
|
|
33612
33709
|
*/
|
|
33613
33710
|
interface AlarmModelAssetPropertyVariant {
|
|
33614
33711
|
/**
|
|
33615
|
-
* The asset property value is a Boolean value that must be
|
|
33712
|
+
* The asset property value is a Boolean value that must be ``'TRUE'`` or ``'FALSE'``. You must use an expression, and the evaluated result should be a Boolean value.
|
|
33616
33713
|
*/
|
|
33617
33714
|
booleanValue?: string;
|
|
33618
33715
|
/**
|
|
33619
|
-
* The asset property value is a double. You
|
|
33716
|
+
* The asset property value is a double. You must use an expression, and the evaluated result should be a double.
|
|
33620
33717
|
*/
|
|
33621
33718
|
doubleValue?: string;
|
|
33622
33719
|
/**
|
|
33623
|
-
* The asset property value is an integer. You
|
|
33720
|
+
* The asset property value is an integer. You must use an expression, and the evaluated result should be an integer.
|
|
33624
33721
|
*/
|
|
33625
33722
|
integerValue?: string;
|
|
33626
33723
|
/**
|
|
33627
|
-
* The asset property value is a string. You
|
|
33724
|
+
* The asset property value is a string. You must use an expression, and the evaluated result should be a string.
|
|
33628
33725
|
*/
|
|
33629
33726
|
stringValue?: string;
|
|
33630
33727
|
}
|
|
33631
33728
|
/**
|
|
33632
|
-
* Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all
|
|
33729
|
+
* Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify.
|
|
33730
|
+
* You must use expressions for all parameters in ``DynamoDBv2Action``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
33731
|
+
* **Examples**
|
|
33732
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``tableName`` parameter can be ``'GreenhouseTemperatureTable'``.
|
|
33733
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``tableName`` parameter can be ``$variable.ddbtableName``.
|
|
33734
|
+
* + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
33735
|
+
* In the following example, the value for the ``contentExpression`` parameter in ``Payload`` uses a substitution template.
|
|
33736
|
+
* ``'{\"sensorID\": \"${$input.GreenhouseInput.sensor_id}\", \"temperature\": \"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\"}'``
|
|
33737
|
+
* + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
33738
|
+
* In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
33739
|
+
* ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
33633
33740
|
*
|
|
33634
|
-
*
|
|
33741
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
33742
|
+
* The value for the ``type`` parameter in ``Payload`` must be ``JSON``.
|
|
33635
33743
|
*/
|
|
33636
33744
|
interface AlarmModelDynamoDBv2 {
|
|
33745
|
+
/**
|
|
33746
|
+
* Information needed to configure the payload.
|
|
33747
|
+
* By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``.
|
|
33748
|
+
*/
|
|
33637
33749
|
payload?: outputs.iotevents.AlarmModelPayload;
|
|
33638
33750
|
/**
|
|
33639
33751
|
* The name of the DynamoDB table.
|
|
@@ -33641,21 +33753,32 @@ export declare namespace iotevents {
|
|
|
33641
33753
|
tableName: string;
|
|
33642
33754
|
}
|
|
33643
33755
|
/**
|
|
33644
|
-
*
|
|
33756
|
+
* Defines an action to write to the Amazon DynamoDB table that you created. The standard action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify.
|
|
33757
|
+
* You must use expressions for all parameters in ``DynamoDBAction``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
33758
|
+
* **Examples**
|
|
33759
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``hashKeyType`` parameter can be ``'STRING'``.
|
|
33760
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``hashKeyField`` parameter can be ``$input.GreenhouseInput.name``.
|
|
33761
|
+
* + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
33762
|
+
* In the following example, the value for the ``hashKeyValue`` parameter uses a substitution template.
|
|
33763
|
+
* ``'${$input.GreenhouseInput.temperature * 6 / 5 + 32} in Fahrenheit'``
|
|
33764
|
+
* + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
33765
|
+
* In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
33766
|
+
* ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
33767
|
+
*
|
|
33768
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
33769
|
+
* If the defined payload type is a string, ``DynamoDBAction`` writes non-JSON data to the DynamoDB table as binary data. The DynamoDB console displays the data as Base64-encoded text. The value for the ``payloadField`` parameter is ``<payload-field>_raw``.
|
|
33645
33770
|
*/
|
|
33646
33771
|
interface AlarmModelDynamoDb {
|
|
33647
33772
|
/**
|
|
33648
|
-
* The name of the hash key (also called the partition key).
|
|
33773
|
+
* The name of the hash key (also called the partition key). The ``hashKeyField`` value must match the partition key of the target DynamoDB table.
|
|
33649
33774
|
*/
|
|
33650
33775
|
hashKeyField: string;
|
|
33651
33776
|
/**
|
|
33652
33777
|
* The data type for the hash key (also called the partition key). You can specify the following values:
|
|
33778
|
+
* + ``'STRING'`` - The hash key is a string.
|
|
33779
|
+
* + ``'NUMBER'`` - The hash key is a number.
|
|
33653
33780
|
*
|
|
33654
|
-
*
|
|
33655
|
-
*
|
|
33656
|
-
* * `NUMBER` - The hash key is a number.
|
|
33657
|
-
*
|
|
33658
|
-
* If you don't specify `hashKeyType`, the default value is `STRING`.
|
|
33781
|
+
* If you don't specify ``hashKeyType``, the default value is ``'STRING'``.
|
|
33659
33782
|
*/
|
|
33660
33783
|
hashKeyType?: string;
|
|
33661
33784
|
/**
|
|
@@ -33664,35 +33787,33 @@ export declare namespace iotevents {
|
|
|
33664
33787
|
hashKeyValue: string;
|
|
33665
33788
|
/**
|
|
33666
33789
|
* The type of operation to perform. You can specify the following values:
|
|
33790
|
+
* + ``'INSERT'`` - 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.
|
|
33791
|
+
* + ``'UPDATE'`` - 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.
|
|
33792
|
+
* + ``'DELETE'`` - 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.
|
|
33667
33793
|
*
|
|
33668
|
-
*
|
|
33669
|
-
*
|
|
33670
|
-
* * `UPDATE` - 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.
|
|
33671
|
-
*
|
|
33672
|
-
* * `DELETE` - 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.
|
|
33673
|
-
*
|
|
33674
|
-
* If you don't specify this parameter, AWS IoT Events triggers the `INSERT` operation.
|
|
33794
|
+
* If you don't specify this parameter, ITE triggers the ``'INSERT'`` operation.
|
|
33675
33795
|
*/
|
|
33676
33796
|
operation?: string;
|
|
33797
|
+
/**
|
|
33798
|
+
* Information needed to configure the payload.
|
|
33799
|
+
* By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``.
|
|
33800
|
+
*/
|
|
33677
33801
|
payload?: outputs.iotevents.AlarmModelPayload;
|
|
33678
33802
|
/**
|
|
33679
33803
|
* The name of the DynamoDB column that receives the action payload.
|
|
33680
|
-
*
|
|
33681
|
-
* If you don't specify this parameter, the name of the DynamoDB column is `payload`.
|
|
33804
|
+
* If you don't specify this parameter, the name of the DynamoDB column is ``payload``.
|
|
33682
33805
|
*/
|
|
33683
33806
|
payloadField?: string;
|
|
33684
33807
|
/**
|
|
33685
|
-
* The name of the range key (also called the sort key).
|
|
33808
|
+
* The name of the range key (also called the sort key). The ``rangeKeyField`` value must match the sort key of the target DynamoDB table.
|
|
33686
33809
|
*/
|
|
33687
33810
|
rangeKeyField?: string;
|
|
33688
33811
|
/**
|
|
33689
33812
|
* The data type for the range key (also called the sort key), You can specify the following values:
|
|
33813
|
+
* + ``'STRING'`` - The range key is a string.
|
|
33814
|
+
* + ``'NUMBER'`` - The range key is number.
|
|
33690
33815
|
*
|
|
33691
|
-
*
|
|
33692
|
-
*
|
|
33693
|
-
* * `NUMBER` - The range key is number.
|
|
33694
|
-
*
|
|
33695
|
-
* If you don't specify `rangeKeyField`, the default value is `STRING`.
|
|
33816
|
+
* If you don't specify ``rangeKeyField``, the default value is ``'STRING'``.
|
|
33696
33817
|
*/
|
|
33697
33818
|
rangeKeyType?: string;
|
|
33698
33819
|
/**
|
|
@@ -33700,18 +33821,21 @@ export declare namespace iotevents {
|
|
|
33700
33821
|
*/
|
|
33701
33822
|
rangeKeyValue?: string;
|
|
33702
33823
|
/**
|
|
33703
|
-
* The name of the DynamoDB table.
|
|
33824
|
+
* The name of the DynamoDB table. The ``tableName`` value must match the table name of the target DynamoDB table.
|
|
33704
33825
|
*/
|
|
33705
33826
|
tableName: string;
|
|
33706
33827
|
}
|
|
33707
33828
|
/**
|
|
33708
|
-
* Sends information about the
|
|
33829
|
+
* Sends information about the detector model instance and the event that triggered the action to an Amazon Kinesis Data Firehose delivery stream.
|
|
33709
33830
|
*/
|
|
33710
33831
|
interface AlarmModelFirehose {
|
|
33711
33832
|
/**
|
|
33712
33833
|
* The name of the Kinesis Data Firehose delivery stream where the data is written.
|
|
33713
33834
|
*/
|
|
33714
33835
|
deliveryStreamName: string;
|
|
33836
|
+
/**
|
|
33837
|
+
* You can configure the action payload when you send a message to an Amazon Data Firehose delivery stream.
|
|
33838
|
+
*/
|
|
33715
33839
|
payload?: outputs.iotevents.AlarmModelPayload;
|
|
33716
33840
|
/**
|
|
33717
33841
|
* 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).
|
|
@@ -33723,71 +33847,95 @@ export declare namespace iotevents {
|
|
|
33723
33847
|
*/
|
|
33724
33848
|
interface AlarmModelInitializationConfiguration {
|
|
33725
33849
|
/**
|
|
33726
|
-
* The value must be TRUE or FALSE
|
|
33850
|
+
* The value must be ``TRUE`` or ``FALSE``. If ``FALSE``, all alarm instances created based on the alarm model are activated. The default value is ``TRUE``.
|
|
33727
33851
|
*/
|
|
33728
33852
|
disabledOnInitialization: boolean;
|
|
33729
33853
|
}
|
|
33730
33854
|
/**
|
|
33731
|
-
* Sends an
|
|
33855
|
+
* Sends an ITE input, passing in information about the detector model instance and the event that triggered the action.
|
|
33732
33856
|
*/
|
|
33733
33857
|
interface AlarmModelIotEvents {
|
|
33734
33858
|
/**
|
|
33735
|
-
* The name of the
|
|
33859
|
+
* The name of the ITE input where the data is sent.
|
|
33736
33860
|
*/
|
|
33737
33861
|
inputName: string;
|
|
33862
|
+
/**
|
|
33863
|
+
* You can configure the action payload when you send a message to an ITE input.
|
|
33864
|
+
*/
|
|
33738
33865
|
payload?: outputs.iotevents.AlarmModelPayload;
|
|
33739
33866
|
}
|
|
33740
33867
|
/**
|
|
33741
|
-
* Sends information about the
|
|
33868
|
+
* Sends information about the detector model instance and the event that triggered the action to a specified asset property in ITSW.
|
|
33869
|
+
* You must use expressions for all parameters in ``IotSiteWiseAction``. The expressions accept literals, operators, functions, references, and substitutions templates.
|
|
33870
|
+
* **Examples**
|
|
33871
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``propertyAlias`` parameter can be ``'/company/windfarm/3/turbine/7/temperature'``.
|
|
33872
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``assetId`` parameter can be ``$input.TurbineInput.assetId1``.
|
|
33873
|
+
* + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
33874
|
+
* In the following example, the value for the ``propertyAlias`` parameter uses a substitution template.
|
|
33875
|
+
* ``'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ ${$input.TemperatureInput.sensorData.turbineID}/temperature'``
|
|
33876
|
+
*
|
|
33877
|
+
* You must specify either ``propertyAlias`` or both ``assetId`` and ``propertyId`` to identify the target asset property in ITSW.
|
|
33878
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
33742
33879
|
*/
|
|
33743
33880
|
interface AlarmModelIotSiteWise {
|
|
33744
33881
|
/**
|
|
33745
|
-
* The ID of the asset that has the specified property.
|
|
33882
|
+
* The ID of the asset that has the specified property.
|
|
33746
33883
|
*/
|
|
33747
33884
|
assetId?: string;
|
|
33748
33885
|
/**
|
|
33749
|
-
* 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.
|
|
33886
|
+
* 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.
|
|
33750
33887
|
*/
|
|
33751
33888
|
entryId?: string;
|
|
33752
33889
|
/**
|
|
33753
|
-
* The alias of the asset property.
|
|
33890
|
+
* The alias of the asset property.
|
|
33754
33891
|
*/
|
|
33755
33892
|
propertyAlias?: string;
|
|
33756
33893
|
/**
|
|
33757
|
-
* The ID of the asset property.
|
|
33894
|
+
* The ID of the asset property.
|
|
33758
33895
|
*/
|
|
33759
33896
|
propertyId?: string;
|
|
33897
|
+
/**
|
|
33898
|
+
* The value to send to the asset property. This value contains timestamp, quality, and value (TQV) information.
|
|
33899
|
+
*/
|
|
33760
33900
|
propertyValue?: outputs.iotevents.AlarmModelAssetPropertyValue;
|
|
33761
33901
|
}
|
|
33762
33902
|
/**
|
|
33763
|
-
* Information required to publish the MQTT message through the
|
|
33903
|
+
* Information required to publish the MQTT message through the IoT message broker.
|
|
33764
33904
|
*/
|
|
33765
33905
|
interface AlarmModelIotTopicPublish {
|
|
33766
33906
|
/**
|
|
33767
|
-
* The MQTT topic of the message. You can use a string expression that includes variables (
|
|
33907
|
+
* The MQTT topic of the message. You can use a string expression that includes variables (``$variable.<variable-name>``) and input values (``$input.<input-name>.<path-to-datum>``) as the topic string.
|
|
33768
33908
|
*/
|
|
33769
33909
|
mqttTopic: string;
|
|
33910
|
+
/**
|
|
33911
|
+
* You can configure the action payload when you publish a message to an IoTCore topic.
|
|
33912
|
+
*/
|
|
33770
33913
|
payload?: outputs.iotevents.AlarmModelPayload;
|
|
33771
33914
|
}
|
|
33915
|
+
/**
|
|
33916
|
+
* Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
|
|
33917
|
+
*/
|
|
33772
33918
|
interface AlarmModelLambda {
|
|
33773
33919
|
/**
|
|
33774
33920
|
* The ARN of the Lambda function that is executed.
|
|
33775
33921
|
*/
|
|
33776
33922
|
functionArn: string;
|
|
33923
|
+
/**
|
|
33924
|
+
* You can configure the action payload when you send a message to a Lambda function.
|
|
33925
|
+
*/
|
|
33777
33926
|
payload?: outputs.iotevents.AlarmModelPayload;
|
|
33778
33927
|
}
|
|
33779
33928
|
/**
|
|
33780
33929
|
* Information needed to configure the payload.
|
|
33781
|
-
*
|
|
33782
|
-
* 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 alarm model instance and the event triggered the action. To configure the action payload, you can use `contentExpression`.
|
|
33930
|
+
* By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``.
|
|
33783
33931
|
*/
|
|
33784
33932
|
interface AlarmModelPayload {
|
|
33785
33933
|
/**
|
|
33786
|
-
* The content of the payload. You can use a string expression that includes quoted strings (
|
|
33934
|
+
* The content of the payload. You can use a string expression that includes quoted strings (``'<string>'``), variables (``$variable.<variable-name>``), input values (``$input.<input-name>.<path-to-datum>``), string concatenations, and quoted strings that contain ``${}`` as the content. The recommended maximum size of a content expression is 1 KB.
|
|
33787
33935
|
*/
|
|
33788
33936
|
contentExpression: string;
|
|
33789
33937
|
/**
|
|
33790
|
-
* The value of the payload type can be either
|
|
33938
|
+
* The value of the payload type can be either ``STRING`` or ``JSON``.
|
|
33791
33939
|
*/
|
|
33792
33940
|
type: string;
|
|
33793
33941
|
}
|
|
@@ -33800,11 +33948,11 @@ export declare namespace iotevents {
|
|
|
33800
33948
|
*/
|
|
33801
33949
|
comparisonOperator: enums.iotevents.AlarmModelSimpleRuleComparisonOperator;
|
|
33802
33950
|
/**
|
|
33803
|
-
* The value on the left side of the comparison operator. You can specify an
|
|
33951
|
+
* The value on the left side of the comparison operator. You can specify an ITE input attribute as an input property.
|
|
33804
33952
|
*/
|
|
33805
33953
|
inputProperty: string;
|
|
33806
33954
|
/**
|
|
33807
|
-
* The value on the right side of the comparison operator. You can enter a number or specify an
|
|
33955
|
+
* The value on the right side of the comparison operator. You can enter a number or specify an ITE input attribute.
|
|
33808
33956
|
*/
|
|
33809
33957
|
threshold: string;
|
|
33810
33958
|
}
|
|
@@ -33812,25 +33960,34 @@ export declare namespace iotevents {
|
|
|
33812
33960
|
* Information required to publish the Amazon SNS message.
|
|
33813
33961
|
*/
|
|
33814
33962
|
interface AlarmModelSns {
|
|
33963
|
+
/**
|
|
33964
|
+
* You can configure the action payload when you send a message as an Amazon SNS push notification.
|
|
33965
|
+
*/
|
|
33815
33966
|
payload?: outputs.iotevents.AlarmModelPayload;
|
|
33816
33967
|
/**
|
|
33817
33968
|
* The ARN of the Amazon SNS target where the message is sent.
|
|
33818
33969
|
*/
|
|
33819
33970
|
targetArn: string;
|
|
33820
33971
|
}
|
|
33972
|
+
/**
|
|
33973
|
+
* Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
|
|
33974
|
+
*/
|
|
33821
33975
|
interface AlarmModelSqs {
|
|
33976
|
+
/**
|
|
33977
|
+
* You can configure the action payload when you send a message to an Amazon SQS queue.
|
|
33978
|
+
*/
|
|
33822
33979
|
payload?: outputs.iotevents.AlarmModelPayload;
|
|
33823
33980
|
/**
|
|
33824
33981
|
* The URL of the SQS queue where the data is written.
|
|
33825
33982
|
*/
|
|
33826
33983
|
queueUrl: string;
|
|
33827
33984
|
/**
|
|
33828
|
-
* Set this to
|
|
33985
|
+
* 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.
|
|
33829
33986
|
*/
|
|
33830
33987
|
useBase64?: boolean;
|
|
33831
33988
|
}
|
|
33832
33989
|
/**
|
|
33833
|
-
*
|
|
33990
|
+
* An action to be performed when the ``condition`` is TRUE.
|
|
33834
33991
|
*/
|
|
33835
33992
|
interface DetectorModelAction {
|
|
33836
33993
|
/**
|
|
@@ -33838,11 +33995,11 @@ export declare namespace iotevents {
|
|
|
33838
33995
|
*/
|
|
33839
33996
|
clearTimer?: outputs.iotevents.DetectorModelClearTimer;
|
|
33840
33997
|
/**
|
|
33841
|
-
* Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html)
|
|
33998
|
+
* Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify. For more information, see [Actions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html) in *Developer Guide*.
|
|
33842
33999
|
*/
|
|
33843
34000
|
dynamoDBv2?: outputs.iotevents.DetectorModelDynamoDBv2;
|
|
33844
34001
|
/**
|
|
33845
|
-
* Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html)
|
|
34002
|
+
* Writes to the DynamoDB table that you created. The default action payload contains all attribute-value pairs that have the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify. For more information, see [Actions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html) in *Developer Guide*.
|
|
33846
34003
|
*/
|
|
33847
34004
|
dynamoDb?: outputs.iotevents.DetectorModelDynamoDb;
|
|
33848
34005
|
/**
|
|
@@ -33850,15 +34007,15 @@ export declare namespace iotevents {
|
|
|
33850
34007
|
*/
|
|
33851
34008
|
firehose?: outputs.iotevents.DetectorModelFirehose;
|
|
33852
34009
|
/**
|
|
33853
|
-
* Sends
|
|
34010
|
+
* Sends ITE input, which passes information about the detector model instance and the event that triggered the action.
|
|
33854
34011
|
*/
|
|
33855
34012
|
iotEvents?: outputs.iotevents.DetectorModelIotEvents;
|
|
33856
34013
|
/**
|
|
33857
|
-
* Sends information about the detector model instance and the event that triggered the action to an asset property in
|
|
34014
|
+
* Sends information about the detector model instance and the event that triggered the action to an asset property in ITSW .
|
|
33858
34015
|
*/
|
|
33859
34016
|
iotSiteWise?: outputs.iotevents.DetectorModelIotSiteWise;
|
|
33860
34017
|
/**
|
|
33861
|
-
* Publishes an MQTT message with the given topic to the
|
|
34018
|
+
* Publishes an MQTT message with the given topic to the IoT message broker.
|
|
33862
34019
|
*/
|
|
33863
34020
|
iotTopicPublish?: outputs.iotevents.DetectorModelIotTopicPublish;
|
|
33864
34021
|
/**
|
|
@@ -33887,24 +34044,39 @@ export declare namespace iotevents {
|
|
|
33887
34044
|
sqs?: outputs.iotevents.DetectorModelSqs;
|
|
33888
34045
|
}
|
|
33889
34046
|
/**
|
|
33890
|
-
* A structure that contains timestamp information. For more information, see [TimeInNanos](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_TimeInNanos.html) in the *
|
|
34047
|
+
* A structure that contains timestamp information. For more information, see [TimeInNanos](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_TimeInNanos.html) in the *API Reference*.
|
|
34048
|
+
* You must use expressions for all parameters in ``AssetPropertyTimestamp``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
34049
|
+
* **Examples**
|
|
34050
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``timeInSeconds`` parameter can be ``'1586400675'``.
|
|
34051
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``offsetInNanos`` parameter can be ``$variable.time``.
|
|
34052
|
+
* + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
34053
|
+
* In the following example, the value for the ``timeInSeconds`` parameter uses a substitution template.
|
|
34054
|
+
* ``'${$input.TemperatureInput.sensorData.timestamp / 1000}'``
|
|
34055
|
+
*
|
|
34056
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
33891
34057
|
*/
|
|
33892
34058
|
interface DetectorModelAssetPropertyTimestamp {
|
|
33893
34059
|
/**
|
|
33894
|
-
* The
|
|
34060
|
+
* The nanosecond offset converted from ``timeInSeconds``. The valid range is between 0-999999999.
|
|
33895
34061
|
*/
|
|
33896
34062
|
offsetInNanos?: string;
|
|
33897
34063
|
/**
|
|
33898
|
-
* The
|
|
34064
|
+
* The timestamp, in seconds, in the Unix epoch format. The valid range is between 1-31556889864403199.
|
|
33899
34065
|
*/
|
|
33900
34066
|
timeInSeconds: string;
|
|
33901
34067
|
}
|
|
33902
34068
|
/**
|
|
33903
|
-
* A structure that contains value information. For more information, see [AssetPropertyValue](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetPropertyValue.html) in the *
|
|
34069
|
+
* A structure that contains value information. For more information, see [AssetPropertyValue](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetPropertyValue.html) in the *API Reference*.
|
|
34070
|
+
* You must use expressions for all parameters in ``AssetPropertyValue``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
34071
|
+
* **Examples**
|
|
34072
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``quality`` parameter can be ``'GOOD'``.
|
|
34073
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``quality`` parameter can be ``$input.TemperatureInput.sensorData.quality``.
|
|
34074
|
+
*
|
|
34075
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
33904
34076
|
*/
|
|
33905
34077
|
interface DetectorModelAssetPropertyValue {
|
|
33906
34078
|
/**
|
|
33907
|
-
* The quality of the asset property value. The value must be
|
|
34079
|
+
* The quality of the asset property value. The value must be ``'GOOD'``, ``'BAD'``, or ``'UNCERTAIN'``.
|
|
33908
34080
|
*/
|
|
33909
34081
|
quality?: string;
|
|
33910
34082
|
/**
|
|
@@ -33917,23 +34089,33 @@ export declare namespace iotevents {
|
|
|
33917
34089
|
value: outputs.iotevents.DetectorModelAssetPropertyVariant;
|
|
33918
34090
|
}
|
|
33919
34091
|
/**
|
|
33920
|
-
* A structure that contains an asset property value. For more information, see [Variant](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_Variant.html) in the *
|
|
34092
|
+
* A structure that contains an asset property value. For more information, see [Variant](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_Variant.html) in the *API Reference*.
|
|
34093
|
+
* You must use expressions for all parameters in ``AssetPropertyVariant``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
34094
|
+
* **Examples**
|
|
34095
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``integerValue`` parameter can be ``'100'``.
|
|
34096
|
+
* + For references, you must specify either variables or parameters. For example, the value for the ``booleanValue`` parameter can be ``$variable.offline``.
|
|
34097
|
+
* + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
34098
|
+
* In the following example, the value for the ``doubleValue`` parameter uses a substitution template.
|
|
34099
|
+
* ``'${$input.TemperatureInput.sensorData.temperature * 6 / 5 + 32}'``
|
|
34100
|
+
*
|
|
34101
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
34102
|
+
* You must specify one of the following value types, depending on the ``dataType`` of the specified asset property. For more information, see [AssetProperty](https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetProperty.html) in the *API Reference*.
|
|
33921
34103
|
*/
|
|
33922
34104
|
interface DetectorModelAssetPropertyVariant {
|
|
33923
34105
|
/**
|
|
33924
|
-
* The asset property value is a Boolean value that must be
|
|
34106
|
+
* The asset property value is a Boolean value that must be ``'TRUE'`` or ``'FALSE'``. You must use an expression, and the evaluated result should be a Boolean value.
|
|
33925
34107
|
*/
|
|
33926
34108
|
booleanValue?: string;
|
|
33927
34109
|
/**
|
|
33928
|
-
* The asset property value is a double. You
|
|
34110
|
+
* The asset property value is a double. You must use an expression, and the evaluated result should be a double.
|
|
33929
34111
|
*/
|
|
33930
34112
|
doubleValue?: string;
|
|
33931
34113
|
/**
|
|
33932
|
-
* The asset property value is an integer. You
|
|
34114
|
+
* The asset property value is an integer. You must use an expression, and the evaluated result should be an integer.
|
|
33933
34115
|
*/
|
|
33934
34116
|
integerValue?: string;
|
|
33935
34117
|
/**
|
|
33936
|
-
* The asset property value is a string. You
|
|
34118
|
+
* The asset property value is a string. You must use an expression, and the evaluated result should be a string.
|
|
33937
34119
|
*/
|
|
33938
34120
|
stringValue?: string;
|
|
33939
34121
|
}
|
|
@@ -33960,15 +34142,25 @@ export declare namespace iotevents {
|
|
|
33960
34142
|
states: outputs.iotevents.DetectorModelState[];
|
|
33961
34143
|
}
|
|
33962
34144
|
/**
|
|
33963
|
-
* Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all
|
|
34145
|
+
* Defines an action to write to the Amazon DynamoDB table that you created. The default action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). A separate column of the DynamoDB table receives one attribute-value pair in the payload that you specify.
|
|
34146
|
+
* You must use expressions for all parameters in ``DynamoDBv2Action``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
34147
|
+
* **Examples**
|
|
34148
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``tableName`` parameter can be ``'GreenhouseTemperatureTable'``.
|
|
34149
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``tableName`` parameter can be ``$variable.ddbtableName``.
|
|
34150
|
+
* + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
34151
|
+
* In the following example, the value for the ``contentExpression`` parameter in ``Payload`` uses a substitution template.
|
|
34152
|
+
* ``'{\"sensorID\": \"${$input.GreenhouseInput.sensor_id}\", \"temperature\": \"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\"}'``
|
|
34153
|
+
* + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
34154
|
+
* In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
34155
|
+
* ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
33964
34156
|
*
|
|
33965
|
-
*
|
|
34157
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
34158
|
+
* The value for the ``type`` parameter in ``Payload`` must be ``JSON``.
|
|
33966
34159
|
*/
|
|
33967
34160
|
interface DetectorModelDynamoDBv2 {
|
|
33968
34161
|
/**
|
|
33969
34162
|
* Information needed to configure the payload.
|
|
33970
|
-
*
|
|
33971
|
-
* By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use `contentExpression` .
|
|
34163
|
+
* By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``.
|
|
33972
34164
|
*/
|
|
33973
34165
|
payload?: outputs.iotevents.DetectorModelPayload;
|
|
33974
34166
|
/**
|
|
@@ -33977,21 +34169,32 @@ export declare namespace iotevents {
|
|
|
33977
34169
|
tableName: string;
|
|
33978
34170
|
}
|
|
33979
34171
|
/**
|
|
33980
|
-
*
|
|
34172
|
+
* Defines an action to write to the Amazon DynamoDB table that you created. The standard action payload contains all the information about the detector model instance and the event that triggered the action. You can customize the [payload](https://docs.aws.amazon.com/iotevents/latest/apireference/API_Payload.html). One column of the DynamoDB table receives all attribute-value pairs in the payload that you specify.
|
|
34173
|
+
* You must use expressions for all parameters in ``DynamoDBAction``. The expressions accept literals, operators, functions, references, and substitution templates.
|
|
34174
|
+
* **Examples**
|
|
34175
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``hashKeyType`` parameter can be ``'STRING'``.
|
|
34176
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``hashKeyField`` parameter can be ``$input.GreenhouseInput.name``.
|
|
34177
|
+
* + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
34178
|
+
* In the following example, the value for the ``hashKeyValue`` parameter uses a substitution template.
|
|
34179
|
+
* ``'${$input.GreenhouseInput.temperature * 6 / 5 + 32} in Fahrenheit'``
|
|
34180
|
+
* + For a string concatenation, you must use ``+``. A string concatenation can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
34181
|
+
* In the following example, the value for the ``tableName`` parameter uses a string concatenation.
|
|
34182
|
+
* ``'GreenhouseTemperatureTable ' + $input.GreenhouseInput.date``
|
|
34183
|
+
*
|
|
34184
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
34185
|
+
* If the defined payload type is a string, ``DynamoDBAction`` writes non-JSON data to the DynamoDB table as binary data. The DynamoDB console displays the data as Base64-encoded text. The value for the ``payloadField`` parameter is ``<payload-field>_raw``.
|
|
33981
34186
|
*/
|
|
33982
34187
|
interface DetectorModelDynamoDb {
|
|
33983
34188
|
/**
|
|
33984
|
-
* The name of the hash key (also called the partition key).
|
|
34189
|
+
* The name of the hash key (also called the partition key). The ``hashKeyField`` value must match the partition key of the target DynamoDB table.
|
|
33985
34190
|
*/
|
|
33986
34191
|
hashKeyField: string;
|
|
33987
34192
|
/**
|
|
33988
34193
|
* The data type for the hash key (also called the partition key). You can specify the following values:
|
|
34194
|
+
* + ``'STRING'`` - The hash key is a string.
|
|
34195
|
+
* + ``'NUMBER'`` - The hash key is a number.
|
|
33989
34196
|
*
|
|
33990
|
-
*
|
|
33991
|
-
*
|
|
33992
|
-
* * `NUMBER` - The hash key is a number.
|
|
33993
|
-
*
|
|
33994
|
-
* If you don't specify `hashKeyType`, the default value is `STRING`.
|
|
34197
|
+
* If you don't specify ``hashKeyType``, the default value is ``'STRING'``.
|
|
33995
34198
|
*/
|
|
33996
34199
|
hashKeyType?: string;
|
|
33997
34200
|
/**
|
|
@@ -34000,40 +34203,33 @@ export declare namespace iotevents {
|
|
|
34000
34203
|
hashKeyValue: string;
|
|
34001
34204
|
/**
|
|
34002
34205
|
* The type of operation to perform. You can specify the following values:
|
|
34206
|
+
* + ``'INSERT'`` - 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.
|
|
34207
|
+
* + ``'UPDATE'`` - 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.
|
|
34208
|
+
* + ``'DELETE'`` - 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.
|
|
34003
34209
|
*
|
|
34004
|
-
*
|
|
34005
|
-
*
|
|
34006
|
-
* * `UPDATE` - 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.
|
|
34007
|
-
*
|
|
34008
|
-
* * `DELETE` - 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.
|
|
34009
|
-
*
|
|
34010
|
-
* If you don't specify this parameter, AWS IoT Events triggers the `INSERT` operation.
|
|
34210
|
+
* If you don't specify this parameter, ITE triggers the ``'INSERT'`` operation.
|
|
34011
34211
|
*/
|
|
34012
34212
|
operation?: string;
|
|
34013
34213
|
/**
|
|
34014
34214
|
* Information needed to configure the payload.
|
|
34015
|
-
*
|
|
34016
|
-
* By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use `contentExpression` .
|
|
34215
|
+
* By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``.
|
|
34017
34216
|
*/
|
|
34018
34217
|
payload?: outputs.iotevents.DetectorModelPayload;
|
|
34019
34218
|
/**
|
|
34020
34219
|
* The name of the DynamoDB column that receives the action payload.
|
|
34021
|
-
*
|
|
34022
|
-
* If you don't specify this parameter, the name of the DynamoDB column is `payload`.
|
|
34220
|
+
* If you don't specify this parameter, the name of the DynamoDB column is ``payload``.
|
|
34023
34221
|
*/
|
|
34024
34222
|
payloadField?: string;
|
|
34025
34223
|
/**
|
|
34026
|
-
* The name of the range key (also called the sort key).
|
|
34224
|
+
* The name of the range key (also called the sort key). The ``rangeKeyField`` value must match the sort key of the target DynamoDB table.
|
|
34027
34225
|
*/
|
|
34028
34226
|
rangeKeyField?: string;
|
|
34029
34227
|
/**
|
|
34030
34228
|
* The data type for the range key (also called the sort key), You can specify the following values:
|
|
34229
|
+
* + ``'STRING'`` - The range key is a string.
|
|
34230
|
+
* + ``'NUMBER'`` - The range key is number.
|
|
34031
34231
|
*
|
|
34032
|
-
*
|
|
34033
|
-
*
|
|
34034
|
-
* * `NUMBER` - The range key is number.
|
|
34035
|
-
*
|
|
34036
|
-
* If you don't specify `rangeKeyField`, the default value is `STRING`.
|
|
34232
|
+
* If you don't specify ``rangeKeyField``, the default value is ``'STRING'``.
|
|
34037
34233
|
*/
|
|
34038
34234
|
rangeKeyType?: string;
|
|
34039
34235
|
/**
|
|
@@ -34041,12 +34237,12 @@ export declare namespace iotevents {
|
|
|
34041
34237
|
*/
|
|
34042
34238
|
rangeKeyValue?: string;
|
|
34043
34239
|
/**
|
|
34044
|
-
* The name of the DynamoDB table.
|
|
34240
|
+
* The name of the DynamoDB table. The ``tableName`` value must match the table name of the target DynamoDB table.
|
|
34045
34241
|
*/
|
|
34046
34242
|
tableName: string;
|
|
34047
34243
|
}
|
|
34048
34244
|
/**
|
|
34049
|
-
* Specifies the
|
|
34245
|
+
* Specifies the ``actions`` to be performed when the ``condition`` evaluates to TRUE.
|
|
34050
34246
|
*/
|
|
34051
34247
|
interface DetectorModelEvent {
|
|
34052
34248
|
/**
|
|
@@ -34054,7 +34250,7 @@ export declare namespace iotevents {
|
|
|
34054
34250
|
*/
|
|
34055
34251
|
actions?: outputs.iotevents.DetectorModelAction[];
|
|
34056
34252
|
/**
|
|
34057
|
-
* The Boolean expression that, when
|
|
34253
|
+
* Optional. The Boolean expression that, when TRUE, causes the ``actions`` to be performed. If not present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not performed (=FALSE).
|
|
34058
34254
|
*/
|
|
34059
34255
|
condition?: string;
|
|
34060
34256
|
/**
|
|
@@ -34080,36 +34276,46 @@ export declare namespace iotevents {
|
|
|
34080
34276
|
separator?: string;
|
|
34081
34277
|
}
|
|
34082
34278
|
/**
|
|
34083
|
-
* Sends an
|
|
34279
|
+
* Sends an ITE input, passing in information about the detector model instance and the event that triggered the action.
|
|
34084
34280
|
*/
|
|
34085
34281
|
interface DetectorModelIotEvents {
|
|
34086
34282
|
/**
|
|
34087
|
-
* The name of the
|
|
34283
|
+
* The name of the ITE input where the data is sent.
|
|
34088
34284
|
*/
|
|
34089
34285
|
inputName: string;
|
|
34090
34286
|
/**
|
|
34091
|
-
* You can configure the action payload when you send a message to an
|
|
34287
|
+
* You can configure the action payload when you send a message to an ITE input.
|
|
34092
34288
|
*/
|
|
34093
34289
|
payload?: outputs.iotevents.DetectorModelPayload;
|
|
34094
34290
|
}
|
|
34095
34291
|
/**
|
|
34096
|
-
* Sends information about the detector model instance and the event that triggered the action to a specified asset property in
|
|
34292
|
+
* Sends information about the detector model instance and the event that triggered the action to a specified asset property in ITSW.
|
|
34293
|
+
* You must use expressions for all parameters in ``IotSiteWiseAction``. The expressions accept literals, operators, functions, references, and substitutions templates.
|
|
34294
|
+
* **Examples**
|
|
34295
|
+
* + For literal values, the expressions must contain single quotes. For example, the value for the ``propertyAlias`` parameter can be ``'/company/windfarm/3/turbine/7/temperature'``.
|
|
34296
|
+
* + For references, you must specify either variables or input values. For example, the value for the ``assetId`` parameter can be ``$input.TurbineInput.assetId1``.
|
|
34297
|
+
* + For a substitution template, you must use ``${}``, and the template must be in single quotes. A substitution template can also contain a combination of literals, operators, functions, references, and substitution templates.
|
|
34298
|
+
* In the following example, the value for the ``propertyAlias`` parameter uses a substitution template.
|
|
34299
|
+
* ``'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ ${$input.TemperatureInput.sensorData.turbineID}/temperature'``
|
|
34300
|
+
*
|
|
34301
|
+
* You must specify either ``propertyAlias`` or both ``assetId`` and ``propertyId`` to identify the target asset property in ITSW.
|
|
34302
|
+
* For more information, see [Expressions](https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) in the *Developer Guide*.
|
|
34097
34303
|
*/
|
|
34098
34304
|
interface DetectorModelIotSiteWise {
|
|
34099
34305
|
/**
|
|
34100
|
-
* The ID of the asset that has the specified property.
|
|
34306
|
+
* The ID of the asset that has the specified property.
|
|
34101
34307
|
*/
|
|
34102
34308
|
assetId?: string;
|
|
34103
34309
|
/**
|
|
34104
|
-
* 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.
|
|
34310
|
+
* 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.
|
|
34105
34311
|
*/
|
|
34106
34312
|
entryId?: string;
|
|
34107
34313
|
/**
|
|
34108
|
-
* The alias of the asset property.
|
|
34314
|
+
* The alias of the asset property.
|
|
34109
34315
|
*/
|
|
34110
34316
|
propertyAlias?: string;
|
|
34111
34317
|
/**
|
|
34112
|
-
* The ID of the asset property.
|
|
34318
|
+
* The ID of the asset property.
|
|
34113
34319
|
*/
|
|
34114
34320
|
propertyId?: string;
|
|
34115
34321
|
/**
|
|
@@ -34118,18 +34324,21 @@ export declare namespace iotevents {
|
|
|
34118
34324
|
propertyValue: outputs.iotevents.DetectorModelAssetPropertyValue;
|
|
34119
34325
|
}
|
|
34120
34326
|
/**
|
|
34121
|
-
* Information required to publish the MQTT message through the
|
|
34327
|
+
* Information required to publish the MQTT message through the IoT message broker.
|
|
34122
34328
|
*/
|
|
34123
34329
|
interface DetectorModelIotTopicPublish {
|
|
34124
34330
|
/**
|
|
34125
|
-
* The MQTT topic of the message. You can use a string expression that includes variables (
|
|
34331
|
+
* The MQTT topic of the message. You can use a string expression that includes variables (``$variable.<variable-name>``) and input values (``$input.<input-name>.<path-to-datum>``) as the topic string.
|
|
34126
34332
|
*/
|
|
34127
34333
|
mqttTopic: string;
|
|
34128
34334
|
/**
|
|
34129
|
-
* You can configure the action payload when you publish a message to an
|
|
34335
|
+
* You can configure the action payload when you publish a message to an IoTCore topic.
|
|
34130
34336
|
*/
|
|
34131
34337
|
payload?: outputs.iotevents.DetectorModelPayload;
|
|
34132
34338
|
}
|
|
34339
|
+
/**
|
|
34340
|
+
* Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
|
|
34341
|
+
*/
|
|
34133
34342
|
interface DetectorModelLambda {
|
|
34134
34343
|
/**
|
|
34135
34344
|
* The ARN of the Lambda function that is executed.
|
|
@@ -34141,48 +34350,47 @@ export declare namespace iotevents {
|
|
|
34141
34350
|
payload?: outputs.iotevents.DetectorModelPayload;
|
|
34142
34351
|
}
|
|
34143
34352
|
/**
|
|
34144
|
-
* When entering this state, perform these
|
|
34353
|
+
* When entering this state, perform these ``actions`` if the ``condition`` is TRUE.
|
|
34145
34354
|
*/
|
|
34146
34355
|
interface DetectorModelOnEnter {
|
|
34147
34356
|
/**
|
|
34148
|
-
* Specifies the
|
|
34357
|
+
* Specifies the actions that are performed when the state is entered and the ``condition`` is ``TRUE``.
|
|
34149
34358
|
*/
|
|
34150
34359
|
events?: outputs.iotevents.DetectorModelEvent[];
|
|
34151
34360
|
}
|
|
34152
34361
|
/**
|
|
34153
|
-
* When exiting this state, perform these
|
|
34362
|
+
* When exiting this state, perform these ``actions`` if the specified ``condition`` is ``TRUE``.
|
|
34154
34363
|
*/
|
|
34155
34364
|
interface DetectorModelOnExit {
|
|
34156
34365
|
/**
|
|
34157
|
-
* Specifies the
|
|
34366
|
+
* Specifies the ``actions`` that are performed when the state is exited and the ``condition`` is ``TRUE``.
|
|
34158
34367
|
*/
|
|
34159
34368
|
events?: outputs.iotevents.DetectorModelEvent[];
|
|
34160
34369
|
}
|
|
34161
34370
|
/**
|
|
34162
|
-
*
|
|
34371
|
+
* Specifies the actions performed when the ``condition`` evaluates to TRUE.
|
|
34163
34372
|
*/
|
|
34164
34373
|
interface DetectorModelOnInput {
|
|
34165
34374
|
/**
|
|
34166
|
-
* Specifies the
|
|
34375
|
+
* Specifies the actions performed when the ``condition`` evaluates to TRUE.
|
|
34167
34376
|
*/
|
|
34168
34377
|
events?: outputs.iotevents.DetectorModelEvent[];
|
|
34169
34378
|
/**
|
|
34170
|
-
* Specifies the
|
|
34379
|
+
* Specifies the actions performed, and the next state entered, when a ``condition`` evaluates to TRUE.
|
|
34171
34380
|
*/
|
|
34172
34381
|
transitionEvents?: outputs.iotevents.DetectorModelTransitionEvent[];
|
|
34173
34382
|
}
|
|
34174
34383
|
/**
|
|
34175
34384
|
* Information needed to configure the payload.
|
|
34176
|
-
*
|
|
34177
|
-
* By default, AWS IoT Events generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use `contentExpression`.
|
|
34385
|
+
* By default, ITE generates a standard payload in JSON for any action. This action payload contains all attribute-value pairs that have the information about the detector model instance and the event triggered the action. To configure the action payload, you can use ``contentExpression``.
|
|
34178
34386
|
*/
|
|
34179
34387
|
interface DetectorModelPayload {
|
|
34180
34388
|
/**
|
|
34181
|
-
* The content of the payload. You can use a string expression that includes quoted strings (
|
|
34389
|
+
* The content of the payload. You can use a string expression that includes quoted strings (``'<string>'``), variables (``$variable.<variable-name>``), input values (``$input.<input-name>.<path-to-datum>``), string concatenations, and quoted strings that contain ``${}`` as the content. The recommended maximum size of a content expression is 1 KB.
|
|
34182
34390
|
*/
|
|
34183
34391
|
contentExpression: string;
|
|
34184
34392
|
/**
|
|
34185
|
-
* The value of the payload type can be either
|
|
34393
|
+
* The value of the payload type can be either ``STRING`` or ``JSON``.
|
|
34186
34394
|
*/
|
|
34187
34395
|
type: string;
|
|
34188
34396
|
}
|
|
@@ -34200,11 +34408,11 @@ export declare namespace iotevents {
|
|
|
34200
34408
|
*/
|
|
34201
34409
|
interface DetectorModelSetTimer {
|
|
34202
34410
|
/**
|
|
34203
|
-
* The duration of the timer, in seconds. You can use a string expression that includes numbers, variables (
|
|
34411
|
+
* The duration of the timer, in seconds. You can use a string expression that includes numbers, variables (``$variable.<variable-name>``), and input values (``$input.<input-name>.<path-to-datum>``) as the duration. The range of the duration is 1-31622400 seconds. To ensure accuracy, the minimum duration is 60 seconds. The evaluated result of the duration is rounded down to the nearest whole number.
|
|
34204
34412
|
*/
|
|
34205
34413
|
durationExpression?: string;
|
|
34206
34414
|
/**
|
|
34207
|
-
* The number of seconds until the timer expires. The minimum value is
|
|
34415
|
+
* The number of seconds until the timer expires. The minimum value is 60 seconds to ensure accuracy. The maximum value is 31622400 seconds.
|
|
34208
34416
|
*/
|
|
34209
34417
|
seconds?: number;
|
|
34210
34418
|
/**
|
|
@@ -34238,6 +34446,9 @@ export declare namespace iotevents {
|
|
|
34238
34446
|
*/
|
|
34239
34447
|
targetArn: string;
|
|
34240
34448
|
}
|
|
34449
|
+
/**
|
|
34450
|
+
* Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
|
|
34451
|
+
*/
|
|
34241
34452
|
interface DetectorModelSqs {
|
|
34242
34453
|
/**
|
|
34243
34454
|
* You can configure the action payload when you send a message to an Amazon SQS queue.
|
|
@@ -34248,7 +34459,7 @@ export declare namespace iotevents {
|
|
|
34248
34459
|
*/
|
|
34249
34460
|
queueUrl: string;
|
|
34250
34461
|
/**
|
|
34251
|
-
* Set this to
|
|
34462
|
+
* 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.
|
|
34252
34463
|
*/
|
|
34253
34464
|
useBase64?: boolean;
|
|
34254
34465
|
}
|
|
@@ -34257,15 +34468,15 @@ export declare namespace iotevents {
|
|
|
34257
34468
|
*/
|
|
34258
34469
|
interface DetectorModelState {
|
|
34259
34470
|
/**
|
|
34260
|
-
* When entering this state, perform these
|
|
34471
|
+
* When entering this state, perform these ``actions`` if the ``condition`` is TRUE.
|
|
34261
34472
|
*/
|
|
34262
34473
|
onEnter?: outputs.iotevents.DetectorModelOnEnter;
|
|
34263
34474
|
/**
|
|
34264
|
-
* When exiting this state, perform these
|
|
34475
|
+
* When exiting this state, perform these ``actions`` if the specified ``condition`` is ``TRUE``.
|
|
34265
34476
|
*/
|
|
34266
34477
|
onExit?: outputs.iotevents.DetectorModelOnExit;
|
|
34267
34478
|
/**
|
|
34268
|
-
* When an input is received and the
|
|
34479
|
+
* When an input is received and the ``condition`` is TRUE, perform the specified ``actions``.
|
|
34269
34480
|
*/
|
|
34270
34481
|
onInput?: outputs.iotevents.DetectorModelOnInput;
|
|
34271
34482
|
/**
|
|
@@ -34274,7 +34485,7 @@ export declare namespace iotevents {
|
|
|
34274
34485
|
stateName: string;
|
|
34275
34486
|
}
|
|
34276
34487
|
/**
|
|
34277
|
-
* Specifies the
|
|
34488
|
+
* Specifies the actions performed and the next state entered when a ``condition`` evaluates to TRUE.
|
|
34278
34489
|
*/
|
|
34279
34490
|
interface DetectorModelTransitionEvent {
|
|
34280
34491
|
/**
|
|
@@ -34282,11 +34493,11 @@ export declare namespace iotevents {
|
|
|
34282
34493
|
*/
|
|
34283
34494
|
actions?: outputs.iotevents.DetectorModelAction[];
|
|
34284
34495
|
/**
|
|
34285
|
-
* A Boolean expression that when
|
|
34496
|
+
* Required. A Boolean expression that when TRUE causes the actions to be performed and the ``nextState`` to be entered.
|
|
34286
34497
|
*/
|
|
34287
34498
|
condition: string;
|
|
34288
34499
|
/**
|
|
34289
|
-
* The name of the event.
|
|
34500
|
+
* The name of the transition event.
|
|
34290
34501
|
*/
|
|
34291
34502
|
eventName: string;
|
|
34292
34503
|
/**
|
|
@@ -34295,13 +34506,12 @@ export declare namespace iotevents {
|
|
|
34295
34506
|
nextState: string;
|
|
34296
34507
|
}
|
|
34297
34508
|
/**
|
|
34298
|
-
* The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the
|
|
34509
|
+
* The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the ITE system using ``BatchPutMessage``. Each such message contains a JSON payload. Those attributes (and their paired values) specified here are available for use in the ``condition`` expressions used by detectors.
|
|
34299
34510
|
*/
|
|
34300
34511
|
interface InputAttribute {
|
|
34301
34512
|
/**
|
|
34302
|
-
* 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
|
|
34303
|
-
*
|
|
34304
|
-
* _Syntax_: `<field-name>.<field-name>...`
|
|
34513
|
+
* 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 ITE (``BatchPutMessage``). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in the ``condition`` expressions used by detectors.
|
|
34514
|
+
* Syntax: ``<field-name>.<field-name>...``
|
|
34305
34515
|
*/
|
|
34306
34516
|
jsonPath: string;
|
|
34307
34517
|
}
|
|
@@ -34310,7 +34520,7 @@ export declare namespace iotevents {
|
|
|
34310
34520
|
*/
|
|
34311
34521
|
interface InputDefinition {
|
|
34312
34522
|
/**
|
|
34313
|
-
* The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the
|
|
34523
|
+
* The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the ITE system using ``BatchPutMessage``. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in the ``condition`` expressions used by detectors that monitor this input.
|
|
34314
34524
|
*/
|
|
34315
34525
|
attributes: outputs.iotevents.InputAttribute[];
|
|
34316
34526
|
}
|
|
@@ -49106,6 +49316,11 @@ export declare namespace quicksight {
|
|
|
49106
49316
|
*/
|
|
49107
49317
|
filterListConfiguration?: outputs.quicksight.AnalysisFilterListConfiguration;
|
|
49108
49318
|
}
|
|
49319
|
+
interface AnalysisCategoryInnerFilter {
|
|
49320
|
+
column: outputs.quicksight.AnalysisColumnIdentifier;
|
|
49321
|
+
configuration: outputs.quicksight.AnalysisCategoryFilterConfiguration;
|
|
49322
|
+
defaultFilterControlConfiguration?: outputs.quicksight.AnalysisDefaultFilterControlConfiguration;
|
|
49323
|
+
}
|
|
49109
49324
|
interface AnalysisChartAxisLabelOptions {
|
|
49110
49325
|
/**
|
|
49111
49326
|
* The label options for a chart axis.
|
|
@@ -50721,6 +50936,7 @@ export declare namespace quicksight {
|
|
|
50721
50936
|
* For more information, see [Adding text filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) in the *Amazon QuickSight User Guide* .
|
|
50722
50937
|
*/
|
|
50723
50938
|
categoryFilter?: outputs.quicksight.AnalysisCategoryFilter;
|
|
50939
|
+
nestedFilter?: outputs.quicksight.AnalysisNestedFilter;
|
|
50724
50940
|
/**
|
|
50725
50941
|
* A `NumericEqualityFilter` filters numeric values that equal or do not equal a given numeric value.
|
|
50726
50942
|
*/
|
|
@@ -51950,6 +52166,9 @@ export declare namespace quicksight {
|
|
|
51950
52166
|
*/
|
|
51951
52167
|
visualId: string;
|
|
51952
52168
|
}
|
|
52169
|
+
interface AnalysisInnerFilter {
|
|
52170
|
+
categoryInnerFilter?: outputs.quicksight.AnalysisCategoryInnerFilter;
|
|
52171
|
+
}
|
|
51953
52172
|
interface AnalysisInsightConfiguration {
|
|
51954
52173
|
/**
|
|
51955
52174
|
* The computations configurations of the insight visual
|
|
@@ -52696,6 +52915,12 @@ export declare namespace quicksight {
|
|
|
52696
52915
|
*/
|
|
52697
52916
|
displayMode: enums.quicksight.AnalysisNegativeValueDisplayMode;
|
|
52698
52917
|
}
|
|
52918
|
+
interface AnalysisNestedFilter {
|
|
52919
|
+
column: outputs.quicksight.AnalysisColumnIdentifier;
|
|
52920
|
+
filterId: string;
|
|
52921
|
+
includeInnerSet: boolean;
|
|
52922
|
+
innerFilter: outputs.quicksight.AnalysisInnerFilter;
|
|
52923
|
+
}
|
|
52699
52924
|
interface AnalysisNullValueFormatConfiguration {
|
|
52700
52925
|
/**
|
|
52701
52926
|
* Determines the null string of null values.
|
|
@@ -56831,6 +57056,11 @@ export declare namespace quicksight {
|
|
|
56831
57056
|
*/
|
|
56832
57057
|
filterListConfiguration?: outputs.quicksight.DashboardFilterListConfiguration;
|
|
56833
57058
|
}
|
|
57059
|
+
interface DashboardCategoryInnerFilter {
|
|
57060
|
+
column: outputs.quicksight.DashboardColumnIdentifier;
|
|
57061
|
+
configuration: outputs.quicksight.DashboardCategoryFilterConfiguration;
|
|
57062
|
+
defaultFilterControlConfiguration?: outputs.quicksight.DashboardDefaultFilterControlConfiguration;
|
|
57063
|
+
}
|
|
56834
57064
|
interface DashboardChartAxisLabelOptions {
|
|
56835
57065
|
/**
|
|
56836
57066
|
* The label options for a chart axis.
|
|
@@ -58457,6 +58687,7 @@ export declare namespace quicksight {
|
|
|
58457
58687
|
* For more information, see [Adding text filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) in the *Amazon QuickSight User Guide* .
|
|
58458
58688
|
*/
|
|
58459
58689
|
categoryFilter?: outputs.quicksight.DashboardCategoryFilter;
|
|
58690
|
+
nestedFilter?: outputs.quicksight.DashboardNestedFilter;
|
|
58460
58691
|
/**
|
|
58461
58692
|
* A `NumericEqualityFilter` filters numeric values that equal or do not equal a given numeric value.
|
|
58462
58693
|
*/
|
|
@@ -59686,6 +59917,9 @@ export declare namespace quicksight {
|
|
|
59686
59917
|
*/
|
|
59687
59918
|
visualId: string;
|
|
59688
59919
|
}
|
|
59920
|
+
interface DashboardInnerFilter {
|
|
59921
|
+
categoryInnerFilter?: outputs.quicksight.DashboardCategoryInnerFilter;
|
|
59922
|
+
}
|
|
59689
59923
|
interface DashboardInsightConfiguration {
|
|
59690
59924
|
/**
|
|
59691
59925
|
* The computations configurations of the insight visual
|
|
@@ -60438,6 +60672,12 @@ export declare namespace quicksight {
|
|
|
60438
60672
|
*/
|
|
60439
60673
|
displayMode: enums.quicksight.DashboardNegativeValueDisplayMode;
|
|
60440
60674
|
}
|
|
60675
|
+
interface DashboardNestedFilter {
|
|
60676
|
+
column: outputs.quicksight.DashboardColumnIdentifier;
|
|
60677
|
+
filterId: string;
|
|
60678
|
+
includeInnerSet: boolean;
|
|
60679
|
+
innerFilter: outputs.quicksight.DashboardInnerFilter;
|
|
60680
|
+
}
|
|
60441
60681
|
interface DashboardNullValueFormatConfiguration {
|
|
60442
60682
|
/**
|
|
60443
60683
|
* Determines the null string of null values.
|
|
@@ -66159,6 +66399,11 @@ export declare namespace quicksight {
|
|
|
66159
66399
|
*/
|
|
66160
66400
|
filterListConfiguration?: outputs.quicksight.TemplateFilterListConfiguration;
|
|
66161
66401
|
}
|
|
66402
|
+
interface TemplateCategoryInnerFilter {
|
|
66403
|
+
column: outputs.quicksight.TemplateColumnIdentifier;
|
|
66404
|
+
configuration: outputs.quicksight.TemplateCategoryFilterConfiguration;
|
|
66405
|
+
defaultFilterControlConfiguration?: outputs.quicksight.TemplateDefaultFilterControlConfiguration;
|
|
66406
|
+
}
|
|
66162
66407
|
interface TemplateChartAxisLabelOptions {
|
|
66163
66408
|
/**
|
|
66164
66409
|
* The label options for a chart axis.
|
|
@@ -67760,6 +68005,7 @@ export declare namespace quicksight {
|
|
|
67760
68005
|
* For more information, see [Adding text filters](https://docs.aws.amazon.com/quicksight/latest/user/add-a-text-filter-data-prep.html) in the *Amazon QuickSight User Guide* .
|
|
67761
68006
|
*/
|
|
67762
68007
|
categoryFilter?: outputs.quicksight.TemplateCategoryFilter;
|
|
68008
|
+
nestedFilter?: outputs.quicksight.TemplateNestedFilter;
|
|
67763
68009
|
/**
|
|
67764
68010
|
* A `NumericEqualityFilter` filters numeric values that equal or do not equal a given numeric value.
|
|
67765
68011
|
*/
|
|
@@ -68989,6 +69235,9 @@ export declare namespace quicksight {
|
|
|
68989
69235
|
*/
|
|
68990
69236
|
visualId: string;
|
|
68991
69237
|
}
|
|
69238
|
+
interface TemplateInnerFilter {
|
|
69239
|
+
categoryInnerFilter?: outputs.quicksight.TemplateCategoryInnerFilter;
|
|
69240
|
+
}
|
|
68992
69241
|
interface TemplateInsightConfiguration {
|
|
68993
69242
|
/**
|
|
68994
69243
|
* The computations configurations of the insight visual
|
|
@@ -69722,6 +69971,12 @@ export declare namespace quicksight {
|
|
|
69722
69971
|
*/
|
|
69723
69972
|
displayMode: enums.quicksight.TemplateNegativeValueDisplayMode;
|
|
69724
69973
|
}
|
|
69974
|
+
interface TemplateNestedFilter {
|
|
69975
|
+
column: outputs.quicksight.TemplateColumnIdentifier;
|
|
69976
|
+
filterId: string;
|
|
69977
|
+
includeInnerSet: boolean;
|
|
69978
|
+
innerFilter: outputs.quicksight.TemplateInnerFilter;
|
|
69979
|
+
}
|
|
69725
69980
|
interface TemplateNullValueFormatConfiguration {
|
|
69726
69981
|
/**
|
|
69727
69982
|
* Determines the null string of null values.
|