aws-sdk-iotevents 1.7.0 → 1.8.0
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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iotevents/client.rb +13 -13
- data/lib/aws-sdk-iotevents/types.rb +54 -51
- data/lib/aws-sdk-iotevents.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ea801ccde89ab12188d8853d8bdb0602e873a98
|
4
|
+
data.tar.gz: 1aecb57be78d4f4ae2e8200e8dbe8afebe2ddeef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c68fe139c7d864cf478746cf02e272555a1607cea45135383e7d387a2b89ed3c96df51d5ee0f8dd91824e99d40405f116f8c65d49025cb8b8d67b49d519de4f4
|
7
|
+
data.tar.gz: fe08ad7098c1479c58971d72ac6dbd1336558b57b6be186eef3b5740a5aa16ff5a505055ee1cba23ded1dfa1e70bb2a0857867bb7c3639c46be3380a7c9d7f71
|
@@ -266,12 +266,12 @@ module Aws::IoTEvents
|
|
266
266
|
# A brief description of the detector model.
|
267
267
|
#
|
268
268
|
# @option params [String] :key
|
269
|
-
# The input attribute key used to identify a device or system
|
270
|
-
#
|
271
|
-
#
|
272
|
-
#
|
273
|
-
#
|
274
|
-
#
|
269
|
+
# The input attribute key used to identify a device or system to create
|
270
|
+
# a detector (an instance of the detector model) and then to route each
|
271
|
+
# input received to the appropriate detector (instance). This parameter
|
272
|
+
# uses a JSON-path expression in the message payload of each input to
|
273
|
+
# specify the attribute-value pair that is used to identify the device
|
274
|
+
# associated with the input.
|
275
275
|
#
|
276
276
|
# @option params [required, String] :role_arn
|
277
277
|
# The ARN of the role that grants permission to AWS IoT Events to
|
@@ -610,7 +610,7 @@ module Aws::IoTEvents
|
|
610
610
|
req.send_request(options)
|
611
611
|
end
|
612
612
|
|
613
|
-
# Describes a detector model. If the `
|
613
|
+
# Describes a detector model. If the `version` parameter is not
|
614
614
|
# specified, information about the latest version is returned.
|
615
615
|
#
|
616
616
|
# @option params [required, String] :detector_model_name
|
@@ -930,11 +930,11 @@ module Aws::IoTEvents
|
|
930
930
|
|
931
931
|
# Sets or updates the AWS IoT Events logging options.
|
932
932
|
#
|
933
|
-
# If you update the value of any `
|
934
|
-
#
|
935
|
-
#
|
936
|
-
#
|
937
|
-
#
|
933
|
+
# If you update the value of any `loggingOptions` field, it takes up to
|
934
|
+
# one minute for the change to take effect. If you change the policy
|
935
|
+
# attached to the role you specified in the `roleArn` field (for
|
936
|
+
# example, to correct an invalid policy), it takes up to five minutes
|
937
|
+
# for that change to take effect.
|
938
938
|
#
|
939
939
|
# @option params [required, Types::LoggingOptions] :logging_options
|
940
940
|
# The new values of the AWS IoT Events logging options.
|
@@ -1320,7 +1320,7 @@ module Aws::IoTEvents
|
|
1320
1320
|
params: params,
|
1321
1321
|
config: config)
|
1322
1322
|
context[:gem_name] = 'aws-sdk-iotevents'
|
1323
|
-
context[:gem_version] = '1.
|
1323
|
+
context[:gem_version] = '1.8.0'
|
1324
1324
|
Seahorse::Client::Request.new(handlers, context)
|
1325
1325
|
end
|
1326
1326
|
|
@@ -8,7 +8,7 @@
|
|
8
8
|
module Aws::IoTEvents
|
9
9
|
module Types
|
10
10
|
|
11
|
-
# An action to be performed when the `
|
11
|
+
# An action to be performed when the `condition` is TRUE.
|
12
12
|
#
|
13
13
|
# @note When making an API call, you may pass Action
|
14
14
|
# data as a hash:
|
@@ -81,8 +81,8 @@ module Aws::IoTEvents
|
|
81
81
|
# @return [Types::LambdaAction]
|
82
82
|
#
|
83
83
|
# @!attribute [rw] iot_events
|
84
|
-
# Sends an IoT Events input, passing in information about the
|
85
|
-
# model instance and the event that triggered the action.
|
84
|
+
# Sends an AWS IoT Events input, passing in information about the
|
85
|
+
# detector model instance and the event that triggered the action.
|
86
86
|
# @return [Types::IotEventsAction]
|
87
87
|
#
|
88
88
|
# @!attribute [rw] sqs
|
@@ -92,8 +92,8 @@ module Aws::IoTEvents
|
|
92
92
|
#
|
93
93
|
# @!attribute [rw] firehose
|
94
94
|
# Sends information about the detector model instance and the event
|
95
|
-
# that triggered the action to
|
96
|
-
# stream.
|
95
|
+
# that triggered the action to an Amazon Kinesis Data Firehose
|
96
|
+
# delivery stream.
|
97
97
|
# @return [Types::FirehoseAction]
|
98
98
|
#
|
99
99
|
class Action < Struct.new(
|
@@ -113,9 +113,8 @@ module Aws::IoTEvents
|
|
113
113
|
# The attributes from the JSON payload that are made available by the
|
114
114
|
# input. Inputs are derived from messages sent to the AWS IoT Events
|
115
115
|
# system using `BatchPutMessage`. Each such message contains a JSON
|
116
|
-
# payload
|
117
|
-
#
|
118
|
-
# detectors.
|
116
|
+
# payload. Those attributes (and their paired values) specified here are
|
117
|
+
# available for use in the `condition` expressions used by detectors.
|
119
118
|
#
|
120
119
|
# @note When making an API call, you may pass Attribute
|
121
120
|
# data as a hash:
|
@@ -128,10 +127,10 @@ module Aws::IoTEvents
|
|
128
127
|
# An expression that specifies an attribute-value pair in a JSON
|
129
128
|
# structure. Use this to specify an attribute from the JSON payload
|
130
129
|
# that is made available by the input. Inputs are derived from
|
131
|
-
# messages sent to
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
130
|
+
# messages sent to AWS IoT Events (`BatchPutMessage`). Each such
|
131
|
+
# message contains a JSON payload. The attribute (and its paired
|
132
|
+
# value) specified here are available for use in the `condition`
|
133
|
+
# expressions used by detectors.
|
135
134
|
#
|
136
135
|
# Syntax: `<field-name>.<field-name>...`
|
137
136
|
# @return [String]
|
@@ -380,12 +379,12 @@ module Aws::IoTEvents
|
|
380
379
|
# @return [String]
|
381
380
|
#
|
382
381
|
# @!attribute [rw] key
|
383
|
-
# The input attribute key used to identify a device or system
|
384
|
-
#
|
382
|
+
# The input attribute key used to identify a device or system to
|
383
|
+
# create a detector (an instance of the detector model) and then to
|
385
384
|
# route each input received to the appropriate detector (instance).
|
386
|
-
# This parameter uses a JSON-path expression
|
387
|
-
#
|
388
|
-
#
|
385
|
+
# This parameter uses a JSON-path expression in the message payload of
|
386
|
+
# each input to specify the attribute-value pair that is used to
|
387
|
+
# identify the device associated with the input.
|
389
388
|
# @return [String]
|
390
389
|
#
|
391
390
|
# @!attribute [rw] role_arn
|
@@ -659,12 +658,12 @@ module Aws::IoTEvents
|
|
659
658
|
# @return [String]
|
660
659
|
#
|
661
660
|
# @!attribute [rw] key
|
662
|
-
# The input attribute key used to identify a device or system
|
663
|
-
#
|
661
|
+
# The input attribute key used to identify a device or system to
|
662
|
+
# create a detector (an instance of the detector model) and then to
|
664
663
|
# route each input received to the appropriate detector (instance).
|
665
|
-
# This parameter uses a JSON-path expression
|
666
|
-
#
|
667
|
-
#
|
664
|
+
# This parameter uses a JSON-path expression in the message payload of
|
665
|
+
# each input to specify the attribute-value pair that is used to
|
666
|
+
# identify the device associated with the input.
|
668
667
|
# @return [String]
|
669
668
|
#
|
670
669
|
# @!attribute [rw] evaluation_method
|
@@ -967,8 +966,8 @@ module Aws::IoTEvents
|
|
967
966
|
include Aws::Structure
|
968
967
|
end
|
969
968
|
|
970
|
-
# Specifies the `
|
971
|
-
#
|
969
|
+
# Specifies the `actions` to be performed when the `condition` evaluates
|
970
|
+
# to TRUE.
|
972
971
|
#
|
973
972
|
# @note When making an API call, you may pass Event
|
974
973
|
# data as a hash:
|
@@ -1021,10 +1020,10 @@ module Aws::IoTEvents
|
|
1021
1020
|
# @return [String]
|
1022
1021
|
#
|
1023
1022
|
# @!attribute [rw] condition
|
1024
|
-
#
|
1025
|
-
# `
|
1026
|
-
#
|
1027
|
-
#
|
1023
|
+
# Optional. The Boolean expression that, when TRUE, causes the
|
1024
|
+
# `actions` to be performed. If not present, the actions are performed
|
1025
|
+
# (=TRUE). If the expression result is not a Boolean value, the
|
1026
|
+
# actions are not performed (=FALSE).
|
1028
1027
|
# @return [String]
|
1029
1028
|
#
|
1030
1029
|
# @!attribute [rw] actions
|
@@ -1039,7 +1038,8 @@ module Aws::IoTEvents
|
|
1039
1038
|
end
|
1040
1039
|
|
1041
1040
|
# Sends information about the detector model instance and the event that
|
1042
|
-
# triggered the action to
|
1041
|
+
# triggered the action to an Amazon Kinesis Data Firehose delivery
|
1042
|
+
# stream.
|
1043
1043
|
#
|
1044
1044
|
# @note When making an API call, you may pass FirehoseAction
|
1045
1045
|
# data as a hash:
|
@@ -1137,7 +1137,7 @@ module Aws::IoTEvents
|
|
1137
1137
|
# input. Inputs are derived from messages sent to the AWS IoT Events
|
1138
1138
|
# system using `BatchPutMessage`. Each such message contains a JSON
|
1139
1139
|
# payload, and those attributes (and their paired values) specified
|
1140
|
-
# here are available for use in the `
|
1140
|
+
# here are available for use in the `condition` expressions used by
|
1141
1141
|
# detectors that monitor this input.
|
1142
1142
|
# @return [Array<Types::Attribute>]
|
1143
1143
|
#
|
@@ -1223,7 +1223,7 @@ module Aws::IoTEvents
|
|
1223
1223
|
include Aws::Structure
|
1224
1224
|
end
|
1225
1225
|
|
1226
|
-
# Information required to publish the MQTT message
|
1226
|
+
# Information required to publish the MQTT message through the AWS IoT
|
1227
1227
|
# message broker.
|
1228
1228
|
#
|
1229
1229
|
# @note When making an API call, you may pass IotTopicPublishAction
|
@@ -1234,7 +1234,9 @@ module Aws::IoTEvents
|
|
1234
1234
|
# }
|
1235
1235
|
#
|
1236
1236
|
# @!attribute [rw] mqtt_topic
|
1237
|
-
# The MQTT topic of the message.
|
1237
|
+
# The MQTT topic of the message. You can use a string expression that
|
1238
|
+
# includes variables (`$variable.<variable-name>`) and input values
|
1239
|
+
# (`$input.<input-name>.<path-to-datum>`) as the topic string.
|
1238
1240
|
# @return [String]
|
1239
1241
|
#
|
1240
1242
|
class IotTopicPublishAction < Struct.new(
|
@@ -1512,7 +1514,7 @@ module Aws::IoTEvents
|
|
1512
1514
|
#
|
1513
1515
|
# @!attribute [rw] events
|
1514
1516
|
# Specifies the actions that are performed when the state is entered
|
1515
|
-
# and the `
|
1517
|
+
# and the `condition` is TRUE.
|
1516
1518
|
# @return [Array<Types::Event>]
|
1517
1519
|
#
|
1518
1520
|
class OnEnterLifecycle < Struct.new(
|
@@ -1520,8 +1522,8 @@ module Aws::IoTEvents
|
|
1520
1522
|
include Aws::Structure
|
1521
1523
|
end
|
1522
1524
|
|
1523
|
-
# When exiting this state, perform these `
|
1524
|
-
# `
|
1525
|
+
# When exiting this state, perform these `actions` if the specified
|
1526
|
+
# `condition` is TRUE.
|
1525
1527
|
#
|
1526
1528
|
# @note When making an API call, you may pass OnExitLifecycle
|
1527
1529
|
# data as a hash:
|
@@ -1574,8 +1576,8 @@ module Aws::IoTEvents
|
|
1574
1576
|
# }
|
1575
1577
|
#
|
1576
1578
|
# @!attribute [rw] events
|
1577
|
-
# Specifies the `
|
1578
|
-
#
|
1579
|
+
# Specifies the `actions` that are performed when the state is exited
|
1580
|
+
# and the `condition` is TRUE.
|
1579
1581
|
# @return [Array<Types::Event>]
|
1580
1582
|
#
|
1581
1583
|
class OnExitLifecycle < Struct.new(
|
@@ -1583,7 +1585,7 @@ module Aws::IoTEvents
|
|
1583
1585
|
include Aws::Structure
|
1584
1586
|
end
|
1585
1587
|
|
1586
|
-
# Specifies the actions performed when the `
|
1588
|
+
# Specifies the actions performed when the `condition` evaluates to
|
1587
1589
|
# TRUE.
|
1588
1590
|
#
|
1589
1591
|
# @note When making an API call, you may pass OnInputLifecycle
|
@@ -1682,13 +1684,13 @@ module Aws::IoTEvents
|
|
1682
1684
|
# }
|
1683
1685
|
#
|
1684
1686
|
# @!attribute [rw] events
|
1685
|
-
# Specifies the actions performed when the `
|
1687
|
+
# Specifies the actions performed when the `condition` evaluates to
|
1686
1688
|
# TRUE.
|
1687
1689
|
# @return [Array<Types::Event>]
|
1688
1690
|
#
|
1689
1691
|
# @!attribute [rw] transition_events
|
1690
1692
|
# Specifies the actions performed, and the next state entered, when a
|
1691
|
-
# `
|
1693
|
+
# `condition` evaluates to TRUE.
|
1692
1694
|
# @return [Array<Types::TransitionEvent>]
|
1693
1695
|
#
|
1694
1696
|
class OnInputLifecycle < Struct.new(
|
@@ -1829,7 +1831,8 @@ module Aws::IoTEvents
|
|
1829
1831
|
#
|
1830
1832
|
# @!attribute [rw] seconds
|
1831
1833
|
# The number of seconds until the timer expires. The minimum value is
|
1832
|
-
# 60 seconds to ensure accuracy.
|
1834
|
+
# 60 seconds to ensure accuracy. The maximum value is 31622400
|
1835
|
+
# seconds.
|
1833
1836
|
# @return [Integer]
|
1834
1837
|
#
|
1835
1838
|
class SetTimerAction < Struct.new(
|
@@ -1878,7 +1881,7 @@ module Aws::IoTEvents
|
|
1878
1881
|
# @return [String]
|
1879
1882
|
#
|
1880
1883
|
# @!attribute [rw] use_base_64
|
1881
|
-
# Set this to TRUE if you want the data to be
|
1884
|
+
# Set this to TRUE if you want the data to be base-64 encoded before
|
1882
1885
|
# it is written to the queue. Otherwise, set this to FALSE.
|
1883
1886
|
# @return [Boolean]
|
1884
1887
|
#
|
@@ -2085,18 +2088,18 @@ module Aws::IoTEvents
|
|
2085
2088
|
# @return [String]
|
2086
2089
|
#
|
2087
2090
|
# @!attribute [rw] on_input
|
2088
|
-
# When an input is received and the `
|
2089
|
-
# specified `
|
2091
|
+
# When an input is received and the `condition` is TRUE, perform the
|
2092
|
+
# specified `actions`.
|
2090
2093
|
# @return [Types::OnInputLifecycle]
|
2091
2094
|
#
|
2092
2095
|
# @!attribute [rw] on_enter
|
2093
|
-
# When entering this state, perform these `
|
2094
|
-
#
|
2096
|
+
# When entering this state, perform these `actions` if the `condition`
|
2097
|
+
# is TRUE.
|
2095
2098
|
# @return [Types::OnEnterLifecycle]
|
2096
2099
|
#
|
2097
2100
|
# @!attribute [rw] on_exit
|
2098
|
-
# When exiting this state, perform these `
|
2099
|
-
# `
|
2101
|
+
# When exiting this state, perform these `actions` if the specified
|
2102
|
+
# `condition` is TRUE.
|
2100
2103
|
# @return [Types::OnExitLifecycle]
|
2101
2104
|
#
|
2102
2105
|
class State < Struct.new(
|
@@ -2172,7 +2175,7 @@ module Aws::IoTEvents
|
|
2172
2175
|
end
|
2173
2176
|
|
2174
2177
|
# Specifies the actions performed and the next state entered when a
|
2175
|
-
# `
|
2178
|
+
# `condition` evaluates to TRUE.
|
2176
2179
|
#
|
2177
2180
|
# @note When making an API call, you may pass TransitionEvent
|
2178
2181
|
# data as a hash:
|
@@ -2226,8 +2229,8 @@ module Aws::IoTEvents
|
|
2226
2229
|
# @return [String]
|
2227
2230
|
#
|
2228
2231
|
# @!attribute [rw] condition
|
2229
|
-
#
|
2230
|
-
#
|
2232
|
+
# Required. A Boolean expression that when TRUE causes the actions to
|
2233
|
+
# be performed and the `nextState` to be entered.
|
2231
2234
|
# @return [String]
|
2232
2235
|
#
|
2233
2236
|
# @!attribute [rw] actions
|
data/lib/aws-sdk-iotevents.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iotevents
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|