aws-sdk-iotevents 1.11.0 → 1.16.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 923ba74c0236fd5dcf33f29dcef13c7958f9d790c28cbfb013b1210075eb69ad
4
- data.tar.gz: 69f8189293928019a3a329b45bbf648ac5d0bc4f069f1b1124e350d1531ec153
3
+ metadata.gz: 2d8dbab85cb289074e5a82d4badbc71089f25952fccbc80cca5dbce866a2e62f
4
+ data.tar.gz: 42272220213d98a33d711a728701c9a52b4a1edaa9f1874ba3ce4c805483f015
5
5
  SHA512:
6
- metadata.gz: 4642ce404952934ea8a9ca4cf02d8fe92cb5cae8866d71d08d35e2cac935b277d4be5a7ff6409e90a3c43c02e65d59688f1266335641e857c15d69263847c6c6
7
- data.tar.gz: 7d0e987acdc5f5099ed169f8cb3aadbaf9890d2d8b8954ca7158518e5667409ed15fb0628a88cbaae6ecf3e7cb6f199806c72b7f9d9fadfc62c93afcf925807b
6
+ metadata.gz: ed42810c0bae3da528a0c0693ecd0967800b85e8afd9b05ddbdf16c2531bcde62c74bf859192c2e77d5be004a90de1c1d375527c1e0dc273cb04a896ac4f9b38
7
+ data.tar.gz: 52aff9200c79297ec7d58cf2521d7670e07fe3330b03515a47ec423c18956d4840531ab037b7ed3ea08939065593bbf85cb59a9da9fdb2dd8ebdbdbd109ad031
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-iotevents/customizations'
45
45
  # @service
46
46
  module Aws::IoTEvents
47
47
 
48
- GEM_VERSION = '1.11.0'
48
+ GEM_VERSION = '1.16.1'
49
49
 
50
50
  end
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
30
 
@@ -69,6 +70,7 @@ module Aws::IoTEvents
69
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
72
74
  add_plugin(Aws::Plugins::SignatureV4)
73
75
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
76
 
@@ -105,7 +107,7 @@ module Aws::IoTEvents
105
107
  # @option options [required, String] :region
106
108
  # The AWS region to connect to. The configured `:region` is
107
109
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
110
+ # a default `:region` is searched for in the following locations:
109
111
  #
110
112
  # * `Aws.config[:region]`
111
113
  # * `ENV['AWS_REGION']`
@@ -161,7 +163,7 @@ module Aws::IoTEvents
161
163
  # @option options [String] :endpoint
162
164
  # The client endpoint is normally constructed from the `:region`
163
165
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
167
  #
166
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +178,7 @@ module Aws::IoTEvents
176
178
  # requests fetching endpoints information. Defaults to 60 sec.
177
179
  #
178
180
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
181
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
182
  #
181
183
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
184
  # The log formatter.
@@ -438,6 +440,25 @@ module Aws::IoTEvents
438
440
  # type: "STRING", # required, accepts STRING, JSON
439
441
  # },
440
442
  # },
443
+ # iot_site_wise: {
444
+ # entry_id: "AssetPropertyEntryId",
445
+ # asset_id: "AssetId",
446
+ # property_id: "AssetPropertyId",
447
+ # property_alias: "AssetPropertyAlias",
448
+ # property_value: { # required
449
+ # value: { # required
450
+ # string_value: "AssetPropertyStringValue",
451
+ # integer_value: "AssetPropertyIntegerValue",
452
+ # double_value: "AssetPropertyDoubleValue",
453
+ # boolean_value: "AssetPropertyBooleanValue",
454
+ # },
455
+ # timestamp: {
456
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
457
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
458
+ # },
459
+ # quality: "AssetPropertyQuality",
460
+ # },
461
+ # },
441
462
  # },
442
463
  # ],
443
464
  # },
@@ -529,6 +550,25 @@ module Aws::IoTEvents
529
550
  # type: "STRING", # required, accepts STRING, JSON
530
551
  # },
531
552
  # },
553
+ # iot_site_wise: {
554
+ # entry_id: "AssetPropertyEntryId",
555
+ # asset_id: "AssetId",
556
+ # property_id: "AssetPropertyId",
557
+ # property_alias: "AssetPropertyAlias",
558
+ # property_value: { # required
559
+ # value: { # required
560
+ # string_value: "AssetPropertyStringValue",
561
+ # integer_value: "AssetPropertyIntegerValue",
562
+ # double_value: "AssetPropertyDoubleValue",
563
+ # boolean_value: "AssetPropertyBooleanValue",
564
+ # },
565
+ # timestamp: {
566
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
567
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
568
+ # },
569
+ # quality: "AssetPropertyQuality",
570
+ # },
571
+ # },
532
572
  # },
533
573
  # ],
534
574
  # next_state: "StateName", # required
@@ -623,6 +663,25 @@ module Aws::IoTEvents
623
663
  # type: "STRING", # required, accepts STRING, JSON
624
664
  # },
625
665
  # },
666
+ # iot_site_wise: {
667
+ # entry_id: "AssetPropertyEntryId",
668
+ # asset_id: "AssetId",
669
+ # property_id: "AssetPropertyId",
670
+ # property_alias: "AssetPropertyAlias",
671
+ # property_value: { # required
672
+ # value: { # required
673
+ # string_value: "AssetPropertyStringValue",
674
+ # integer_value: "AssetPropertyIntegerValue",
675
+ # double_value: "AssetPropertyDoubleValue",
676
+ # boolean_value: "AssetPropertyBooleanValue",
677
+ # },
678
+ # timestamp: {
679
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
680
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
681
+ # },
682
+ # quality: "AssetPropertyQuality",
683
+ # },
684
+ # },
626
685
  # },
627
686
  # ],
628
687
  # },
@@ -716,6 +775,25 @@ module Aws::IoTEvents
716
775
  # type: "STRING", # required, accepts STRING, JSON
717
776
  # },
718
777
  # },
778
+ # iot_site_wise: {
779
+ # entry_id: "AssetPropertyEntryId",
780
+ # asset_id: "AssetId",
781
+ # property_id: "AssetPropertyId",
782
+ # property_alias: "AssetPropertyAlias",
783
+ # property_value: { # required
784
+ # value: { # required
785
+ # string_value: "AssetPropertyStringValue",
786
+ # integer_value: "AssetPropertyIntegerValue",
787
+ # double_value: "AssetPropertyDoubleValue",
788
+ # boolean_value: "AssetPropertyBooleanValue",
789
+ # },
790
+ # timestamp: {
791
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
792
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
793
+ # },
794
+ # quality: "AssetPropertyQuality",
795
+ # },
796
+ # },
719
797
  # },
720
798
  # ],
721
799
  # },
@@ -921,6 +999,17 @@ module Aws::IoTEvents
921
999
  # resp.detector_model.detector_model_definition.states[0].on_input.events[0].actions[0].dynamo_d_bv_2.table_name #=> String
922
1000
  # resp.detector_model.detector_model_definition.states[0].on_input.events[0].actions[0].dynamo_d_bv_2.payload.content_expression #=> String
923
1001
  # resp.detector_model.detector_model_definition.states[0].on_input.events[0].actions[0].dynamo_d_bv_2.payload.type #=> String, one of "STRING", "JSON"
1002
+ # resp.detector_model.detector_model_definition.states[0].on_input.events[0].actions[0].iot_site_wise.entry_id #=> String
1003
+ # resp.detector_model.detector_model_definition.states[0].on_input.events[0].actions[0].iot_site_wise.asset_id #=> String
1004
+ # resp.detector_model.detector_model_definition.states[0].on_input.events[0].actions[0].iot_site_wise.property_id #=> String
1005
+ # resp.detector_model.detector_model_definition.states[0].on_input.events[0].actions[0].iot_site_wise.property_alias #=> String
1006
+ # resp.detector_model.detector_model_definition.states[0].on_input.events[0].actions[0].iot_site_wise.property_value.value.string_value #=> String
1007
+ # resp.detector_model.detector_model_definition.states[0].on_input.events[0].actions[0].iot_site_wise.property_value.value.integer_value #=> String
1008
+ # resp.detector_model.detector_model_definition.states[0].on_input.events[0].actions[0].iot_site_wise.property_value.value.double_value #=> String
1009
+ # resp.detector_model.detector_model_definition.states[0].on_input.events[0].actions[0].iot_site_wise.property_value.value.boolean_value #=> String
1010
+ # resp.detector_model.detector_model_definition.states[0].on_input.events[0].actions[0].iot_site_wise.property_value.timestamp.time_in_seconds #=> String
1011
+ # resp.detector_model.detector_model_definition.states[0].on_input.events[0].actions[0].iot_site_wise.property_value.timestamp.offset_in_nanos #=> String
1012
+ # resp.detector_model.detector_model_definition.states[0].on_input.events[0].actions[0].iot_site_wise.property_value.quality #=> String
924
1013
  # resp.detector_model.detector_model_definition.states[0].on_input.transition_events #=> Array
925
1014
  # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].event_name #=> String
926
1015
  # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].condition #=> String
@@ -966,6 +1055,17 @@ module Aws::IoTEvents
966
1055
  # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].actions[0].dynamo_d_bv_2.table_name #=> String
967
1056
  # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].actions[0].dynamo_d_bv_2.payload.content_expression #=> String
968
1057
  # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].actions[0].dynamo_d_bv_2.payload.type #=> String, one of "STRING", "JSON"
1058
+ # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].actions[0].iot_site_wise.entry_id #=> String
1059
+ # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].actions[0].iot_site_wise.asset_id #=> String
1060
+ # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].actions[0].iot_site_wise.property_id #=> String
1061
+ # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].actions[0].iot_site_wise.property_alias #=> String
1062
+ # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].actions[0].iot_site_wise.property_value.value.string_value #=> String
1063
+ # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].actions[0].iot_site_wise.property_value.value.integer_value #=> String
1064
+ # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].actions[0].iot_site_wise.property_value.value.double_value #=> String
1065
+ # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].actions[0].iot_site_wise.property_value.value.boolean_value #=> String
1066
+ # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].actions[0].iot_site_wise.property_value.timestamp.time_in_seconds #=> String
1067
+ # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].actions[0].iot_site_wise.property_value.timestamp.offset_in_nanos #=> String
1068
+ # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].actions[0].iot_site_wise.property_value.quality #=> String
969
1069
  # resp.detector_model.detector_model_definition.states[0].on_input.transition_events[0].next_state #=> String
970
1070
  # resp.detector_model.detector_model_definition.states[0].on_enter.events #=> Array
971
1071
  # resp.detector_model.detector_model_definition.states[0].on_enter.events[0].event_name #=> String
@@ -1012,6 +1112,17 @@ module Aws::IoTEvents
1012
1112
  # resp.detector_model.detector_model_definition.states[0].on_enter.events[0].actions[0].dynamo_d_bv_2.table_name #=> String
1013
1113
  # resp.detector_model.detector_model_definition.states[0].on_enter.events[0].actions[0].dynamo_d_bv_2.payload.content_expression #=> String
1014
1114
  # resp.detector_model.detector_model_definition.states[0].on_enter.events[0].actions[0].dynamo_d_bv_2.payload.type #=> String, one of "STRING", "JSON"
1115
+ # resp.detector_model.detector_model_definition.states[0].on_enter.events[0].actions[0].iot_site_wise.entry_id #=> String
1116
+ # resp.detector_model.detector_model_definition.states[0].on_enter.events[0].actions[0].iot_site_wise.asset_id #=> String
1117
+ # resp.detector_model.detector_model_definition.states[0].on_enter.events[0].actions[0].iot_site_wise.property_id #=> String
1118
+ # resp.detector_model.detector_model_definition.states[0].on_enter.events[0].actions[0].iot_site_wise.property_alias #=> String
1119
+ # resp.detector_model.detector_model_definition.states[0].on_enter.events[0].actions[0].iot_site_wise.property_value.value.string_value #=> String
1120
+ # resp.detector_model.detector_model_definition.states[0].on_enter.events[0].actions[0].iot_site_wise.property_value.value.integer_value #=> String
1121
+ # resp.detector_model.detector_model_definition.states[0].on_enter.events[0].actions[0].iot_site_wise.property_value.value.double_value #=> String
1122
+ # resp.detector_model.detector_model_definition.states[0].on_enter.events[0].actions[0].iot_site_wise.property_value.value.boolean_value #=> String
1123
+ # resp.detector_model.detector_model_definition.states[0].on_enter.events[0].actions[0].iot_site_wise.property_value.timestamp.time_in_seconds #=> String
1124
+ # resp.detector_model.detector_model_definition.states[0].on_enter.events[0].actions[0].iot_site_wise.property_value.timestamp.offset_in_nanos #=> String
1125
+ # resp.detector_model.detector_model_definition.states[0].on_enter.events[0].actions[0].iot_site_wise.property_value.quality #=> String
1015
1126
  # resp.detector_model.detector_model_definition.states[0].on_exit.events #=> Array
1016
1127
  # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].event_name #=> String
1017
1128
  # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].condition #=> String
@@ -1057,6 +1168,17 @@ module Aws::IoTEvents
1057
1168
  # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].actions[0].dynamo_d_bv_2.table_name #=> String
1058
1169
  # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].actions[0].dynamo_d_bv_2.payload.content_expression #=> String
1059
1170
  # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].actions[0].dynamo_d_bv_2.payload.type #=> String, one of "STRING", "JSON"
1171
+ # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].actions[0].iot_site_wise.entry_id #=> String
1172
+ # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].actions[0].iot_site_wise.asset_id #=> String
1173
+ # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].actions[0].iot_site_wise.property_id #=> String
1174
+ # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].actions[0].iot_site_wise.property_alias #=> String
1175
+ # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].actions[0].iot_site_wise.property_value.value.string_value #=> String
1176
+ # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].actions[0].iot_site_wise.property_value.value.integer_value #=> String
1177
+ # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].actions[0].iot_site_wise.property_value.value.double_value #=> String
1178
+ # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].actions[0].iot_site_wise.property_value.value.boolean_value #=> String
1179
+ # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].actions[0].iot_site_wise.property_value.timestamp.time_in_seconds #=> String
1180
+ # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].actions[0].iot_site_wise.property_value.timestamp.offset_in_nanos #=> String
1181
+ # resp.detector_model.detector_model_definition.states[0].on_exit.events[0].actions[0].iot_site_wise.property_value.quality #=> String
1060
1182
  # resp.detector_model.detector_model_definition.initial_state_name #=> String
1061
1183
  # resp.detector_model.detector_model_configuration.detector_model_name #=> String
1062
1184
  # resp.detector_model.detector_model_configuration.detector_model_version #=> String
@@ -1488,6 +1610,25 @@ module Aws::IoTEvents
1488
1610
  # type: "STRING", # required, accepts STRING, JSON
1489
1611
  # },
1490
1612
  # },
1613
+ # iot_site_wise: {
1614
+ # entry_id: "AssetPropertyEntryId",
1615
+ # asset_id: "AssetId",
1616
+ # property_id: "AssetPropertyId",
1617
+ # property_alias: "AssetPropertyAlias",
1618
+ # property_value: { # required
1619
+ # value: { # required
1620
+ # string_value: "AssetPropertyStringValue",
1621
+ # integer_value: "AssetPropertyIntegerValue",
1622
+ # double_value: "AssetPropertyDoubleValue",
1623
+ # boolean_value: "AssetPropertyBooleanValue",
1624
+ # },
1625
+ # timestamp: {
1626
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1627
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1628
+ # },
1629
+ # quality: "AssetPropertyQuality",
1630
+ # },
1631
+ # },
1491
1632
  # },
1492
1633
  # ],
1493
1634
  # },
@@ -1579,6 +1720,25 @@ module Aws::IoTEvents
1579
1720
  # type: "STRING", # required, accepts STRING, JSON
1580
1721
  # },
1581
1722
  # },
1723
+ # iot_site_wise: {
1724
+ # entry_id: "AssetPropertyEntryId",
1725
+ # asset_id: "AssetId",
1726
+ # property_id: "AssetPropertyId",
1727
+ # property_alias: "AssetPropertyAlias",
1728
+ # property_value: { # required
1729
+ # value: { # required
1730
+ # string_value: "AssetPropertyStringValue",
1731
+ # integer_value: "AssetPropertyIntegerValue",
1732
+ # double_value: "AssetPropertyDoubleValue",
1733
+ # boolean_value: "AssetPropertyBooleanValue",
1734
+ # },
1735
+ # timestamp: {
1736
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1737
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1738
+ # },
1739
+ # quality: "AssetPropertyQuality",
1740
+ # },
1741
+ # },
1582
1742
  # },
1583
1743
  # ],
1584
1744
  # next_state: "StateName", # required
@@ -1673,6 +1833,25 @@ module Aws::IoTEvents
1673
1833
  # type: "STRING", # required, accepts STRING, JSON
1674
1834
  # },
1675
1835
  # },
1836
+ # iot_site_wise: {
1837
+ # entry_id: "AssetPropertyEntryId",
1838
+ # asset_id: "AssetId",
1839
+ # property_id: "AssetPropertyId",
1840
+ # property_alias: "AssetPropertyAlias",
1841
+ # property_value: { # required
1842
+ # value: { # required
1843
+ # string_value: "AssetPropertyStringValue",
1844
+ # integer_value: "AssetPropertyIntegerValue",
1845
+ # double_value: "AssetPropertyDoubleValue",
1846
+ # boolean_value: "AssetPropertyBooleanValue",
1847
+ # },
1848
+ # timestamp: {
1849
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1850
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1851
+ # },
1852
+ # quality: "AssetPropertyQuality",
1853
+ # },
1854
+ # },
1676
1855
  # },
1677
1856
  # ],
1678
1857
  # },
@@ -1766,6 +1945,25 @@ module Aws::IoTEvents
1766
1945
  # type: "STRING", # required, accepts STRING, JSON
1767
1946
  # },
1768
1947
  # },
1948
+ # iot_site_wise: {
1949
+ # entry_id: "AssetPropertyEntryId",
1950
+ # asset_id: "AssetId",
1951
+ # property_id: "AssetPropertyId",
1952
+ # property_alias: "AssetPropertyAlias",
1953
+ # property_value: { # required
1954
+ # value: { # required
1955
+ # string_value: "AssetPropertyStringValue",
1956
+ # integer_value: "AssetPropertyIntegerValue",
1957
+ # double_value: "AssetPropertyDoubleValue",
1958
+ # boolean_value: "AssetPropertyBooleanValue",
1959
+ # },
1960
+ # timestamp: {
1961
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1962
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1963
+ # },
1964
+ # quality: "AssetPropertyQuality",
1965
+ # },
1966
+ # },
1769
1967
  # },
1770
1968
  # ],
1771
1969
  # },
@@ -1858,7 +2056,7 @@ module Aws::IoTEvents
1858
2056
  params: params,
1859
2057
  config: config)
1860
2058
  context[:gem_name] = 'aws-sdk-iotevents'
1861
- context[:gem_version] = '1.11.0'
2059
+ context[:gem_version] = '1.16.1'
1862
2060
  Seahorse::Client::Request.new(handlers, context)
1863
2061
  end
1864
2062
 
@@ -14,6 +14,20 @@ module Aws::IoTEvents
14
14
  Action = Shapes::StructureShape.new(name: 'Action')
15
15
  Actions = Shapes::ListShape.new(name: 'Actions')
16
16
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
17
+ AssetId = Shapes::StringShape.new(name: 'AssetId')
18
+ AssetPropertyAlias = Shapes::StringShape.new(name: 'AssetPropertyAlias')
19
+ AssetPropertyBooleanValue = Shapes::StringShape.new(name: 'AssetPropertyBooleanValue')
20
+ AssetPropertyDoubleValue = Shapes::StringShape.new(name: 'AssetPropertyDoubleValue')
21
+ AssetPropertyEntryId = Shapes::StringShape.new(name: 'AssetPropertyEntryId')
22
+ AssetPropertyId = Shapes::StringShape.new(name: 'AssetPropertyId')
23
+ AssetPropertyIntegerValue = Shapes::StringShape.new(name: 'AssetPropertyIntegerValue')
24
+ AssetPropertyOffsetInNanos = Shapes::StringShape.new(name: 'AssetPropertyOffsetInNanos')
25
+ AssetPropertyQuality = Shapes::StringShape.new(name: 'AssetPropertyQuality')
26
+ AssetPropertyStringValue = Shapes::StringShape.new(name: 'AssetPropertyStringValue')
27
+ AssetPropertyTimeInSeconds = Shapes::StringShape.new(name: 'AssetPropertyTimeInSeconds')
28
+ AssetPropertyTimestamp = Shapes::StructureShape.new(name: 'AssetPropertyTimestamp')
29
+ AssetPropertyValue = Shapes::StructureShape.new(name: 'AssetPropertyValue')
30
+ AssetPropertyVariant = Shapes::StructureShape.new(name: 'AssetPropertyVariant')
17
31
  Attribute = Shapes::StructureShape.new(name: 'Attribute')
18
32
  AttributeJsonPath = Shapes::StringShape.new(name: 'AttributeJsonPath')
19
33
  Attributes = Shapes::ListShape.new(name: 'Attributes')
@@ -74,6 +88,7 @@ module Aws::IoTEvents
74
88
  InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
75
89
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
76
90
  IotEventsAction = Shapes::StructureShape.new(name: 'IotEventsAction')
91
+ IotSiteWiseAction = Shapes::StructureShape.new(name: 'IotSiteWiseAction')
77
92
  IotTopicPublishAction = Shapes::StructureShape.new(name: 'IotTopicPublishAction')
78
93
  KeyValue = Shapes::StringShape.new(name: 'KeyValue')
79
94
  LambdaAction = Shapes::StructureShape.new(name: 'LambdaAction')
@@ -150,10 +165,26 @@ module Aws::IoTEvents
150
165
  Action.add_member(:firehose, Shapes::ShapeRef.new(shape: FirehoseAction, location_name: "firehose"))
151
166
  Action.add_member(:dynamo_db, Shapes::ShapeRef.new(shape: DynamoDBAction, location_name: "dynamoDB"))
152
167
  Action.add_member(:dynamo_d_bv_2, Shapes::ShapeRef.new(shape: DynamoDBv2Action, location_name: "dynamoDBv2"))
168
+ Action.add_member(:iot_site_wise, Shapes::ShapeRef.new(shape: IotSiteWiseAction, location_name: "iotSiteWise"))
153
169
  Action.struct_class = Types::Action
154
170
 
155
171
  Actions.member = Shapes::ShapeRef.new(shape: Action)
156
172
 
173
+ AssetPropertyTimestamp.add_member(:time_in_seconds, Shapes::ShapeRef.new(shape: AssetPropertyTimeInSeconds, required: true, location_name: "timeInSeconds"))
174
+ AssetPropertyTimestamp.add_member(:offset_in_nanos, Shapes::ShapeRef.new(shape: AssetPropertyOffsetInNanos, location_name: "offsetInNanos"))
175
+ AssetPropertyTimestamp.struct_class = Types::AssetPropertyTimestamp
176
+
177
+ AssetPropertyValue.add_member(:value, Shapes::ShapeRef.new(shape: AssetPropertyVariant, required: true, location_name: "value"))
178
+ AssetPropertyValue.add_member(:timestamp, Shapes::ShapeRef.new(shape: AssetPropertyTimestamp, location_name: "timestamp"))
179
+ AssetPropertyValue.add_member(:quality, Shapes::ShapeRef.new(shape: AssetPropertyQuality, location_name: "quality"))
180
+ AssetPropertyValue.struct_class = Types::AssetPropertyValue
181
+
182
+ AssetPropertyVariant.add_member(:string_value, Shapes::ShapeRef.new(shape: AssetPropertyStringValue, location_name: "stringValue"))
183
+ AssetPropertyVariant.add_member(:integer_value, Shapes::ShapeRef.new(shape: AssetPropertyIntegerValue, location_name: "integerValue"))
184
+ AssetPropertyVariant.add_member(:double_value, Shapes::ShapeRef.new(shape: AssetPropertyDoubleValue, location_name: "doubleValue"))
185
+ AssetPropertyVariant.add_member(:boolean_value, Shapes::ShapeRef.new(shape: AssetPropertyBooleanValue, location_name: "booleanValue"))
186
+ AssetPropertyVariant.struct_class = Types::AssetPropertyVariant
187
+
157
188
  Attribute.add_member(:json_path, Shapes::ShapeRef.new(shape: AttributeJsonPath, required: true, location_name: "jsonPath"))
158
189
  Attribute.struct_class = Types::Attribute
159
190
 
@@ -319,6 +350,13 @@ module Aws::IoTEvents
319
350
  IotEventsAction.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, location_name: "payload"))
320
351
  IotEventsAction.struct_class = Types::IotEventsAction
321
352
 
353
+ IotSiteWiseAction.add_member(:entry_id, Shapes::ShapeRef.new(shape: AssetPropertyEntryId, location_name: "entryId"))
354
+ IotSiteWiseAction.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, location_name: "assetId"))
355
+ IotSiteWiseAction.add_member(:property_id, Shapes::ShapeRef.new(shape: AssetPropertyId, location_name: "propertyId"))
356
+ IotSiteWiseAction.add_member(:property_alias, Shapes::ShapeRef.new(shape: AssetPropertyAlias, location_name: "propertyAlias"))
357
+ IotSiteWiseAction.add_member(:property_value, Shapes::ShapeRef.new(shape: AssetPropertyValue, required: true, location_name: "propertyValue"))
358
+ IotSiteWiseAction.struct_class = Types::IotSiteWiseAction
359
+
322
360
  IotTopicPublishAction.add_member(:mqtt_topic, Shapes::ShapeRef.new(shape: MQTTTopic, required: true, location_name: "mqttTopic"))
323
361
  IotTopicPublishAction.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, location_name: "payload"))
324
362
  IotTopicPublishAction.struct_class = Types::IotTopicPublishAction
@@ -95,6 +95,25 @@ module Aws::IoTEvents
95
95
  # type: "STRING", # required, accepts STRING, JSON
96
96
  # },
97
97
  # },
98
+ # iot_site_wise: {
99
+ # entry_id: "AssetPropertyEntryId",
100
+ # asset_id: "AssetId",
101
+ # property_id: "AssetPropertyId",
102
+ # property_alias: "AssetPropertyAlias",
103
+ # property_value: { # required
104
+ # value: { # required
105
+ # string_value: "AssetPropertyStringValue",
106
+ # integer_value: "AssetPropertyIntegerValue",
107
+ # double_value: "AssetPropertyDoubleValue",
108
+ # boolean_value: "AssetPropertyBooleanValue",
109
+ # },
110
+ # timestamp: {
111
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
112
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
113
+ # },
114
+ # quality: "AssetPropertyQuality",
115
+ # },
116
+ # },
98
117
  # }
99
118
  #
100
119
  # @!attribute [rw] set_variable
@@ -173,6 +192,11 @@ module Aws::IoTEvents
173
192
  # [2]: https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-event-actions.html
174
193
  # @return [Types::DynamoDBv2Action]
175
194
  #
195
+ # @!attribute [rw] iot_site_wise
196
+ # Sends information about the detector model instance and the event
197
+ # that triggered the action to an asset property in AWS IoT SiteWise .
198
+ # @return [Types::IotSiteWiseAction]
199
+ #
176
200
  class Action < Struct.new(
177
201
  :set_variable,
178
202
  :sns,
@@ -185,7 +209,175 @@ module Aws::IoTEvents
185
209
  :sqs,
186
210
  :firehose,
187
211
  :dynamo_db,
188
- :dynamo_d_bv_2)
212
+ :dynamo_d_bv_2,
213
+ :iot_site_wise)
214
+ include Aws::Structure
215
+ end
216
+
217
+ # A structure that contains timestamp information. For more information,
218
+ # see [TimeInNanos][1] in the *AWS IoT SiteWise API Reference*.
219
+ #
220
+ # For parameters that are string data type, you can specify the
221
+ # following options:
222
+ #
223
+ # * Use a string. For example, the `timeInSeconds` value can be
224
+ # `'1586400675'`.
225
+ #
226
+ # * Use an expression. For example, the `timeInSeconds` value can be
227
+ # `'$\{$input.TemperatureInput.sensorData.timestamp/1000\}'`.
228
+ #
229
+ # For more information, see [Expressions][2] in the *AWS IoT Events
230
+ # Developer Guide*.
231
+ #
232
+ #
233
+ #
234
+ # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_TimeInNanos.html
235
+ # [2]: https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html
236
+ #
237
+ # @note When making an API call, you may pass AssetPropertyTimestamp
238
+ # data as a hash:
239
+ #
240
+ # {
241
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
242
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
243
+ # }
244
+ #
245
+ # @!attribute [rw] time_in_seconds
246
+ # The timestamp, in seconds, in the Unix epoch format. The valid range
247
+ # is between 1-31556889864403199. You can also specify an expression.
248
+ # @return [String]
249
+ #
250
+ # @!attribute [rw] offset_in_nanos
251
+ # The nanosecond offset converted from `timeInSeconds`. The valid
252
+ # range is between 0-999999999. You can also specify an expression.
253
+ # @return [String]
254
+ #
255
+ class AssetPropertyTimestamp < Struct.new(
256
+ :time_in_seconds,
257
+ :offset_in_nanos)
258
+ include Aws::Structure
259
+ end
260
+
261
+ # A structure that contains value information. For more information, see
262
+ # [AssetPropertyValue][1] in the *AWS IoT SiteWise API Reference*.
263
+ #
264
+ # For parameters that are string data type, you can specify the
265
+ # following options:
266
+ #
267
+ # * Use a string. For example, the `quality` value can be `'GOOD'`.
268
+ #
269
+ # * Use an expression. For example, the `quality` value can be
270
+ # `$input.TemperatureInput.sensorData.quality` .
271
+ #
272
+ # For more information, see [Expressions][2] in the *AWS IoT Events
273
+ # Developer Guide*.
274
+ #
275
+ #
276
+ #
277
+ # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetPropertyValue.html
278
+ # [2]: https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html
279
+ #
280
+ # @note When making an API call, you may pass AssetPropertyValue
281
+ # data as a hash:
282
+ #
283
+ # {
284
+ # value: { # required
285
+ # string_value: "AssetPropertyStringValue",
286
+ # integer_value: "AssetPropertyIntegerValue",
287
+ # double_value: "AssetPropertyDoubleValue",
288
+ # boolean_value: "AssetPropertyBooleanValue",
289
+ # },
290
+ # timestamp: {
291
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
292
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
293
+ # },
294
+ # quality: "AssetPropertyQuality",
295
+ # }
296
+ #
297
+ # @!attribute [rw] value
298
+ # The value to send to an asset property.
299
+ # @return [Types::AssetPropertyVariant]
300
+ #
301
+ # @!attribute [rw] timestamp
302
+ # The timestamp associated with the asset property value. The default
303
+ # is the current event time.
304
+ # @return [Types::AssetPropertyTimestamp]
305
+ #
306
+ # @!attribute [rw] quality
307
+ # The quality of the asset property value. The value must be `GOOD`,
308
+ # `BAD`, or `UNCERTAIN`. You can also specify an expression.
309
+ # @return [String]
310
+ #
311
+ class AssetPropertyValue < Struct.new(
312
+ :value,
313
+ :timestamp,
314
+ :quality)
315
+ include Aws::Structure
316
+ end
317
+
318
+ # A structure that contains an asset property value. For more
319
+ # information, see [Variant][1] in the *AWS IoT SiteWise API Reference*.
320
+ #
321
+ # You must specify one of the following value types, depending on the
322
+ # `dataType` of the specified asset property. For more information, see
323
+ # [AssetProperty][2] in the *AWS IoT SiteWise API Reference*.
324
+ #
325
+ # For parameters that are string data type, you can specify the
326
+ # following options:
327
+ #
328
+ # * Use a string. For example, the `doubleValue` value can be `'47.9'`.
329
+ #
330
+ # * Use an expression. For example, the `doubleValue` value can be
331
+ # `$input.TemperatureInput.sensorData.temperature`.
332
+ #
333
+ # For more information, see [Expressions][3] in the *AWS IoT Events
334
+ # Developer Guide*.
335
+ #
336
+ #
337
+ #
338
+ # [1]: https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_Variant.html
339
+ # [2]: https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetProperty.html
340
+ # [3]: https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html
341
+ #
342
+ # @note When making an API call, you may pass AssetPropertyVariant
343
+ # data as a hash:
344
+ #
345
+ # {
346
+ # string_value: "AssetPropertyStringValue",
347
+ # integer_value: "AssetPropertyIntegerValue",
348
+ # double_value: "AssetPropertyDoubleValue",
349
+ # boolean_value: "AssetPropertyBooleanValue",
350
+ # }
351
+ #
352
+ # @!attribute [rw] string_value
353
+ # The asset property value is a string. You can also specify an
354
+ # expression. If you use an expression, the evaluated result should be
355
+ # a string.
356
+ # @return [String]
357
+ #
358
+ # @!attribute [rw] integer_value
359
+ # The asset property value is an integer. You can also specify an
360
+ # expression. If you use an expression, the evaluated result should be
361
+ # an integer.
362
+ # @return [String]
363
+ #
364
+ # @!attribute [rw] double_value
365
+ # The asset property value is a double. You can also specify an
366
+ # expression. If you use an expression, the evaluated result should be
367
+ # a double.
368
+ # @return [String]
369
+ #
370
+ # @!attribute [rw] boolean_value
371
+ # The asset property value is a Boolean value that must be `TRUE` or
372
+ # `FALSE`. You can also specify an expression. If you use an
373
+ # expression, the evaluated result should be a Boolean value.
374
+ # @return [String]
375
+ #
376
+ class AssetPropertyVariant < Struct.new(
377
+ :string_value,
378
+ :integer_value,
379
+ :double_value,
380
+ :boolean_value)
189
381
  include Aws::Structure
190
382
  end
191
383
 
@@ -334,6 +526,25 @@ module Aws::IoTEvents
334
526
  # type: "STRING", # required, accepts STRING, JSON
335
527
  # },
336
528
  # },
529
+ # iot_site_wise: {
530
+ # entry_id: "AssetPropertyEntryId",
531
+ # asset_id: "AssetId",
532
+ # property_id: "AssetPropertyId",
533
+ # property_alias: "AssetPropertyAlias",
534
+ # property_value: { # required
535
+ # value: { # required
536
+ # string_value: "AssetPropertyStringValue",
537
+ # integer_value: "AssetPropertyIntegerValue",
538
+ # double_value: "AssetPropertyDoubleValue",
539
+ # boolean_value: "AssetPropertyBooleanValue",
540
+ # },
541
+ # timestamp: {
542
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
543
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
544
+ # },
545
+ # quality: "AssetPropertyQuality",
546
+ # },
547
+ # },
337
548
  # },
338
549
  # ],
339
550
  # },
@@ -425,6 +636,25 @@ module Aws::IoTEvents
425
636
  # type: "STRING", # required, accepts STRING, JSON
426
637
  # },
427
638
  # },
639
+ # iot_site_wise: {
640
+ # entry_id: "AssetPropertyEntryId",
641
+ # asset_id: "AssetId",
642
+ # property_id: "AssetPropertyId",
643
+ # property_alias: "AssetPropertyAlias",
644
+ # property_value: { # required
645
+ # value: { # required
646
+ # string_value: "AssetPropertyStringValue",
647
+ # integer_value: "AssetPropertyIntegerValue",
648
+ # double_value: "AssetPropertyDoubleValue",
649
+ # boolean_value: "AssetPropertyBooleanValue",
650
+ # },
651
+ # timestamp: {
652
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
653
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
654
+ # },
655
+ # quality: "AssetPropertyQuality",
656
+ # },
657
+ # },
428
658
  # },
429
659
  # ],
430
660
  # next_state: "StateName", # required
@@ -519,6 +749,25 @@ module Aws::IoTEvents
519
749
  # type: "STRING", # required, accepts STRING, JSON
520
750
  # },
521
751
  # },
752
+ # iot_site_wise: {
753
+ # entry_id: "AssetPropertyEntryId",
754
+ # asset_id: "AssetId",
755
+ # property_id: "AssetPropertyId",
756
+ # property_alias: "AssetPropertyAlias",
757
+ # property_value: { # required
758
+ # value: { # required
759
+ # string_value: "AssetPropertyStringValue",
760
+ # integer_value: "AssetPropertyIntegerValue",
761
+ # double_value: "AssetPropertyDoubleValue",
762
+ # boolean_value: "AssetPropertyBooleanValue",
763
+ # },
764
+ # timestamp: {
765
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
766
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
767
+ # },
768
+ # quality: "AssetPropertyQuality",
769
+ # },
770
+ # },
522
771
  # },
523
772
  # ],
524
773
  # },
@@ -612,6 +861,25 @@ module Aws::IoTEvents
612
861
  # type: "STRING", # required, accepts STRING, JSON
613
862
  # },
614
863
  # },
864
+ # iot_site_wise: {
865
+ # entry_id: "AssetPropertyEntryId",
866
+ # asset_id: "AssetId",
867
+ # property_id: "AssetPropertyId",
868
+ # property_alias: "AssetPropertyAlias",
869
+ # property_value: { # required
870
+ # value: { # required
871
+ # string_value: "AssetPropertyStringValue",
872
+ # integer_value: "AssetPropertyIntegerValue",
873
+ # double_value: "AssetPropertyDoubleValue",
874
+ # boolean_value: "AssetPropertyBooleanValue",
875
+ # },
876
+ # timestamp: {
877
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
878
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
879
+ # },
880
+ # quality: "AssetPropertyQuality",
881
+ # },
882
+ # },
615
883
  # },
616
884
  # ],
617
885
  # },
@@ -1054,6 +1322,25 @@ module Aws::IoTEvents
1054
1322
  # type: "STRING", # required, accepts STRING, JSON
1055
1323
  # },
1056
1324
  # },
1325
+ # iot_site_wise: {
1326
+ # entry_id: "AssetPropertyEntryId",
1327
+ # asset_id: "AssetId",
1328
+ # property_id: "AssetPropertyId",
1329
+ # property_alias: "AssetPropertyAlias",
1330
+ # property_value: { # required
1331
+ # value: { # required
1332
+ # string_value: "AssetPropertyStringValue",
1333
+ # integer_value: "AssetPropertyIntegerValue",
1334
+ # double_value: "AssetPropertyDoubleValue",
1335
+ # boolean_value: "AssetPropertyBooleanValue",
1336
+ # },
1337
+ # timestamp: {
1338
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1339
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1340
+ # },
1341
+ # quality: "AssetPropertyQuality",
1342
+ # },
1343
+ # },
1057
1344
  # },
1058
1345
  # ],
1059
1346
  # },
@@ -1145,6 +1432,25 @@ module Aws::IoTEvents
1145
1432
  # type: "STRING", # required, accepts STRING, JSON
1146
1433
  # },
1147
1434
  # },
1435
+ # iot_site_wise: {
1436
+ # entry_id: "AssetPropertyEntryId",
1437
+ # asset_id: "AssetId",
1438
+ # property_id: "AssetPropertyId",
1439
+ # property_alias: "AssetPropertyAlias",
1440
+ # property_value: { # required
1441
+ # value: { # required
1442
+ # string_value: "AssetPropertyStringValue",
1443
+ # integer_value: "AssetPropertyIntegerValue",
1444
+ # double_value: "AssetPropertyDoubleValue",
1445
+ # boolean_value: "AssetPropertyBooleanValue",
1446
+ # },
1447
+ # timestamp: {
1448
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1449
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1450
+ # },
1451
+ # quality: "AssetPropertyQuality",
1452
+ # },
1453
+ # },
1148
1454
  # },
1149
1455
  # ],
1150
1456
  # next_state: "StateName", # required
@@ -1239,6 +1545,25 @@ module Aws::IoTEvents
1239
1545
  # type: "STRING", # required, accepts STRING, JSON
1240
1546
  # },
1241
1547
  # },
1548
+ # iot_site_wise: {
1549
+ # entry_id: "AssetPropertyEntryId",
1550
+ # asset_id: "AssetId",
1551
+ # property_id: "AssetPropertyId",
1552
+ # property_alias: "AssetPropertyAlias",
1553
+ # property_value: { # required
1554
+ # value: { # required
1555
+ # string_value: "AssetPropertyStringValue",
1556
+ # integer_value: "AssetPropertyIntegerValue",
1557
+ # double_value: "AssetPropertyDoubleValue",
1558
+ # boolean_value: "AssetPropertyBooleanValue",
1559
+ # },
1560
+ # timestamp: {
1561
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1562
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1563
+ # },
1564
+ # quality: "AssetPropertyQuality",
1565
+ # },
1566
+ # },
1242
1567
  # },
1243
1568
  # ],
1244
1569
  # },
@@ -1332,6 +1657,25 @@ module Aws::IoTEvents
1332
1657
  # type: "STRING", # required, accepts STRING, JSON
1333
1658
  # },
1334
1659
  # },
1660
+ # iot_site_wise: {
1661
+ # entry_id: "AssetPropertyEntryId",
1662
+ # asset_id: "AssetId",
1663
+ # property_id: "AssetPropertyId",
1664
+ # property_alias: "AssetPropertyAlias",
1665
+ # property_value: { # required
1666
+ # value: { # required
1667
+ # string_value: "AssetPropertyStringValue",
1668
+ # integer_value: "AssetPropertyIntegerValue",
1669
+ # double_value: "AssetPropertyDoubleValue",
1670
+ # boolean_value: "AssetPropertyBooleanValue",
1671
+ # },
1672
+ # timestamp: {
1673
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1674
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1675
+ # },
1676
+ # quality: "AssetPropertyQuality",
1677
+ # },
1678
+ # },
1335
1679
  # },
1336
1680
  # ],
1337
1681
  # },
@@ -1719,6 +2063,25 @@ module Aws::IoTEvents
1719
2063
  # type: "STRING", # required, accepts STRING, JSON
1720
2064
  # },
1721
2065
  # },
2066
+ # iot_site_wise: {
2067
+ # entry_id: "AssetPropertyEntryId",
2068
+ # asset_id: "AssetId",
2069
+ # property_id: "AssetPropertyId",
2070
+ # property_alias: "AssetPropertyAlias",
2071
+ # property_value: { # required
2072
+ # value: { # required
2073
+ # string_value: "AssetPropertyStringValue",
2074
+ # integer_value: "AssetPropertyIntegerValue",
2075
+ # double_value: "AssetPropertyDoubleValue",
2076
+ # boolean_value: "AssetPropertyBooleanValue",
2077
+ # },
2078
+ # timestamp: {
2079
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
2080
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
2081
+ # },
2082
+ # quality: "AssetPropertyQuality",
2083
+ # },
2084
+ # },
1722
2085
  # },
1723
2086
  # ],
1724
2087
  # }
@@ -1951,6 +2314,87 @@ module Aws::IoTEvents
1951
2314
  include Aws::Structure
1952
2315
  end
1953
2316
 
2317
+ # Sends information about the detector model instance and the event that
2318
+ # triggered the action to a specified asset property in AWS IoT
2319
+ # SiteWise.
2320
+ #
2321
+ # You must specify either `propertyAlias` or both `assetId` and
2322
+ # `propertyId` to identify the target asset property in AWS IoT
2323
+ # SiteWise.
2324
+ #
2325
+ # For parameters that are string data type, you can specify the
2326
+ # following options:
2327
+ #
2328
+ # * Use a string. For example, the `propertyAlias` value can be
2329
+ # `'/company/windfarm/3/turbine/7/temperature'`.
2330
+ #
2331
+ # * Use an expression. For example, the `propertyAlias` value can be
2332
+ # `'company/windfarm/$\{$input.TemperatureInput.sensorData.windfarmID\}/turbine/$\{$input.TemperatureInput.sensorData.turbineID\}/temperature'`.
2333
+ #
2334
+ # For more information, see [Expressions][1] in the *AWS IoT Events
2335
+ # Developer Guide*.
2336
+ #
2337
+ #
2338
+ #
2339
+ # [1]: https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html
2340
+ #
2341
+ # @note When making an API call, you may pass IotSiteWiseAction
2342
+ # data as a hash:
2343
+ #
2344
+ # {
2345
+ # entry_id: "AssetPropertyEntryId",
2346
+ # asset_id: "AssetId",
2347
+ # property_id: "AssetPropertyId",
2348
+ # property_alias: "AssetPropertyAlias",
2349
+ # property_value: { # required
2350
+ # value: { # required
2351
+ # string_value: "AssetPropertyStringValue",
2352
+ # integer_value: "AssetPropertyIntegerValue",
2353
+ # double_value: "AssetPropertyDoubleValue",
2354
+ # boolean_value: "AssetPropertyBooleanValue",
2355
+ # },
2356
+ # timestamp: {
2357
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
2358
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
2359
+ # },
2360
+ # quality: "AssetPropertyQuality",
2361
+ # },
2362
+ # }
2363
+ #
2364
+ # @!attribute [rw] entry_id
2365
+ # A unique identifier for this entry. You can use the entry ID to
2366
+ # track which data entry causes an error in case of failure. The
2367
+ # default is a new unique identifier. You can also specify an
2368
+ # expression.
2369
+ # @return [String]
2370
+ #
2371
+ # @!attribute [rw] asset_id
2372
+ # The ID of the asset that has the specified property. You can specify
2373
+ # an expression.
2374
+ # @return [String]
2375
+ #
2376
+ # @!attribute [rw] property_id
2377
+ # The ID of the asset property. You can specify an expression.
2378
+ # @return [String]
2379
+ #
2380
+ # @!attribute [rw] property_alias
2381
+ # The alias of the asset property. You can also specify an expression.
2382
+ # @return [String]
2383
+ #
2384
+ # @!attribute [rw] property_value
2385
+ # The value to send to the asset property. This value contains
2386
+ # timestamp, quality, and value (TQV) information.
2387
+ # @return [Types::AssetPropertyValue]
2388
+ #
2389
+ class IotSiteWiseAction < Struct.new(
2390
+ :entry_id,
2391
+ :asset_id,
2392
+ :property_id,
2393
+ :property_alias,
2394
+ :property_value)
2395
+ include Aws::Structure
2396
+ end
2397
+
1954
2398
  # Information required to publish the MQTT message through the AWS IoT
1955
2399
  # message broker.
1956
2400
  #
@@ -2301,6 +2745,25 @@ module Aws::IoTEvents
2301
2745
  # type: "STRING", # required, accepts STRING, JSON
2302
2746
  # },
2303
2747
  # },
2748
+ # iot_site_wise: {
2749
+ # entry_id: "AssetPropertyEntryId",
2750
+ # asset_id: "AssetId",
2751
+ # property_id: "AssetPropertyId",
2752
+ # property_alias: "AssetPropertyAlias",
2753
+ # property_value: { # required
2754
+ # value: { # required
2755
+ # string_value: "AssetPropertyStringValue",
2756
+ # integer_value: "AssetPropertyIntegerValue",
2757
+ # double_value: "AssetPropertyDoubleValue",
2758
+ # boolean_value: "AssetPropertyBooleanValue",
2759
+ # },
2760
+ # timestamp: {
2761
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
2762
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
2763
+ # },
2764
+ # quality: "AssetPropertyQuality",
2765
+ # },
2766
+ # },
2304
2767
  # },
2305
2768
  # ],
2306
2769
  # },
@@ -2411,6 +2874,25 @@ module Aws::IoTEvents
2411
2874
  # type: "STRING", # required, accepts STRING, JSON
2412
2875
  # },
2413
2876
  # },
2877
+ # iot_site_wise: {
2878
+ # entry_id: "AssetPropertyEntryId",
2879
+ # asset_id: "AssetId",
2880
+ # property_id: "AssetPropertyId",
2881
+ # property_alias: "AssetPropertyAlias",
2882
+ # property_value: { # required
2883
+ # value: { # required
2884
+ # string_value: "AssetPropertyStringValue",
2885
+ # integer_value: "AssetPropertyIntegerValue",
2886
+ # double_value: "AssetPropertyDoubleValue",
2887
+ # boolean_value: "AssetPropertyBooleanValue",
2888
+ # },
2889
+ # timestamp: {
2890
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
2891
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
2892
+ # },
2893
+ # quality: "AssetPropertyQuality",
2894
+ # },
2895
+ # },
2414
2896
  # },
2415
2897
  # ],
2416
2898
  # },
@@ -2521,6 +3003,25 @@ module Aws::IoTEvents
2521
3003
  # type: "STRING", # required, accepts STRING, JSON
2522
3004
  # },
2523
3005
  # },
3006
+ # iot_site_wise: {
3007
+ # entry_id: "AssetPropertyEntryId",
3008
+ # asset_id: "AssetId",
3009
+ # property_id: "AssetPropertyId",
3010
+ # property_alias: "AssetPropertyAlias",
3011
+ # property_value: { # required
3012
+ # value: { # required
3013
+ # string_value: "AssetPropertyStringValue",
3014
+ # integer_value: "AssetPropertyIntegerValue",
3015
+ # double_value: "AssetPropertyDoubleValue",
3016
+ # boolean_value: "AssetPropertyBooleanValue",
3017
+ # },
3018
+ # timestamp: {
3019
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
3020
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
3021
+ # },
3022
+ # quality: "AssetPropertyQuality",
3023
+ # },
3024
+ # },
2524
3025
  # },
2525
3026
  # ],
2526
3027
  # },
@@ -2612,6 +3113,25 @@ module Aws::IoTEvents
2612
3113
  # type: "STRING", # required, accepts STRING, JSON
2613
3114
  # },
2614
3115
  # },
3116
+ # iot_site_wise: {
3117
+ # entry_id: "AssetPropertyEntryId",
3118
+ # asset_id: "AssetId",
3119
+ # property_id: "AssetPropertyId",
3120
+ # property_alias: "AssetPropertyAlias",
3121
+ # property_value: { # required
3122
+ # value: { # required
3123
+ # string_value: "AssetPropertyStringValue",
3124
+ # integer_value: "AssetPropertyIntegerValue",
3125
+ # double_value: "AssetPropertyDoubleValue",
3126
+ # boolean_value: "AssetPropertyBooleanValue",
3127
+ # },
3128
+ # timestamp: {
3129
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
3130
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
3131
+ # },
3132
+ # quality: "AssetPropertyQuality",
3133
+ # },
3134
+ # },
2615
3135
  # },
2616
3136
  # ],
2617
3137
  # next_state: "StateName", # required
@@ -2991,6 +3511,25 @@ module Aws::IoTEvents
2991
3511
  # type: "STRING", # required, accepts STRING, JSON
2992
3512
  # },
2993
3513
  # },
3514
+ # iot_site_wise: {
3515
+ # entry_id: "AssetPropertyEntryId",
3516
+ # asset_id: "AssetId",
3517
+ # property_id: "AssetPropertyId",
3518
+ # property_alias: "AssetPropertyAlias",
3519
+ # property_value: { # required
3520
+ # value: { # required
3521
+ # string_value: "AssetPropertyStringValue",
3522
+ # integer_value: "AssetPropertyIntegerValue",
3523
+ # double_value: "AssetPropertyDoubleValue",
3524
+ # boolean_value: "AssetPropertyBooleanValue",
3525
+ # },
3526
+ # timestamp: {
3527
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
3528
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
3529
+ # },
3530
+ # quality: "AssetPropertyQuality",
3531
+ # },
3532
+ # },
2994
3533
  # },
2995
3534
  # ],
2996
3535
  # },
@@ -3082,6 +3621,25 @@ module Aws::IoTEvents
3082
3621
  # type: "STRING", # required, accepts STRING, JSON
3083
3622
  # },
3084
3623
  # },
3624
+ # iot_site_wise: {
3625
+ # entry_id: "AssetPropertyEntryId",
3626
+ # asset_id: "AssetId",
3627
+ # property_id: "AssetPropertyId",
3628
+ # property_alias: "AssetPropertyAlias",
3629
+ # property_value: { # required
3630
+ # value: { # required
3631
+ # string_value: "AssetPropertyStringValue",
3632
+ # integer_value: "AssetPropertyIntegerValue",
3633
+ # double_value: "AssetPropertyDoubleValue",
3634
+ # boolean_value: "AssetPropertyBooleanValue",
3635
+ # },
3636
+ # timestamp: {
3637
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
3638
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
3639
+ # },
3640
+ # quality: "AssetPropertyQuality",
3641
+ # },
3642
+ # },
3085
3643
  # },
3086
3644
  # ],
3087
3645
  # next_state: "StateName", # required
@@ -3176,6 +3734,25 @@ module Aws::IoTEvents
3176
3734
  # type: "STRING", # required, accepts STRING, JSON
3177
3735
  # },
3178
3736
  # },
3737
+ # iot_site_wise: {
3738
+ # entry_id: "AssetPropertyEntryId",
3739
+ # asset_id: "AssetId",
3740
+ # property_id: "AssetPropertyId",
3741
+ # property_alias: "AssetPropertyAlias",
3742
+ # property_value: { # required
3743
+ # value: { # required
3744
+ # string_value: "AssetPropertyStringValue",
3745
+ # integer_value: "AssetPropertyIntegerValue",
3746
+ # double_value: "AssetPropertyDoubleValue",
3747
+ # boolean_value: "AssetPropertyBooleanValue",
3748
+ # },
3749
+ # timestamp: {
3750
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
3751
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
3752
+ # },
3753
+ # quality: "AssetPropertyQuality",
3754
+ # },
3755
+ # },
3179
3756
  # },
3180
3757
  # ],
3181
3758
  # },
@@ -3269,6 +3846,25 @@ module Aws::IoTEvents
3269
3846
  # type: "STRING", # required, accepts STRING, JSON
3270
3847
  # },
3271
3848
  # },
3849
+ # iot_site_wise: {
3850
+ # entry_id: "AssetPropertyEntryId",
3851
+ # asset_id: "AssetId",
3852
+ # property_id: "AssetPropertyId",
3853
+ # property_alias: "AssetPropertyAlias",
3854
+ # property_value: { # required
3855
+ # value: { # required
3856
+ # string_value: "AssetPropertyStringValue",
3857
+ # integer_value: "AssetPropertyIntegerValue",
3858
+ # double_value: "AssetPropertyDoubleValue",
3859
+ # boolean_value: "AssetPropertyBooleanValue",
3860
+ # },
3861
+ # timestamp: {
3862
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
3863
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
3864
+ # },
3865
+ # quality: "AssetPropertyQuality",
3866
+ # },
3867
+ # },
3272
3868
  # },
3273
3869
  # ],
3274
3870
  # },
@@ -3459,6 +4055,25 @@ module Aws::IoTEvents
3459
4055
  # type: "STRING", # required, accepts STRING, JSON
3460
4056
  # },
3461
4057
  # },
4058
+ # iot_site_wise: {
4059
+ # entry_id: "AssetPropertyEntryId",
4060
+ # asset_id: "AssetId",
4061
+ # property_id: "AssetPropertyId",
4062
+ # property_alias: "AssetPropertyAlias",
4063
+ # property_value: { # required
4064
+ # value: { # required
4065
+ # string_value: "AssetPropertyStringValue",
4066
+ # integer_value: "AssetPropertyIntegerValue",
4067
+ # double_value: "AssetPropertyDoubleValue",
4068
+ # boolean_value: "AssetPropertyBooleanValue",
4069
+ # },
4070
+ # timestamp: {
4071
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
4072
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
4073
+ # },
4074
+ # quality: "AssetPropertyQuality",
4075
+ # },
4076
+ # },
3462
4077
  # },
3463
4078
  # ],
3464
4079
  # next_state: "StateName", # required
@@ -3621,6 +4236,25 @@ module Aws::IoTEvents
3621
4236
  # type: "STRING", # required, accepts STRING, JSON
3622
4237
  # },
3623
4238
  # },
4239
+ # iot_site_wise: {
4240
+ # entry_id: "AssetPropertyEntryId",
4241
+ # asset_id: "AssetId",
4242
+ # property_id: "AssetPropertyId",
4243
+ # property_alias: "AssetPropertyAlias",
4244
+ # property_value: { # required
4245
+ # value: { # required
4246
+ # string_value: "AssetPropertyStringValue",
4247
+ # integer_value: "AssetPropertyIntegerValue",
4248
+ # double_value: "AssetPropertyDoubleValue",
4249
+ # boolean_value: "AssetPropertyBooleanValue",
4250
+ # },
4251
+ # timestamp: {
4252
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
4253
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
4254
+ # },
4255
+ # quality: "AssetPropertyQuality",
4256
+ # },
4257
+ # },
3624
4258
  # },
3625
4259
  # ],
3626
4260
  # },
@@ -3712,6 +4346,25 @@ module Aws::IoTEvents
3712
4346
  # type: "STRING", # required, accepts STRING, JSON
3713
4347
  # },
3714
4348
  # },
4349
+ # iot_site_wise: {
4350
+ # entry_id: "AssetPropertyEntryId",
4351
+ # asset_id: "AssetId",
4352
+ # property_id: "AssetPropertyId",
4353
+ # property_alias: "AssetPropertyAlias",
4354
+ # property_value: { # required
4355
+ # value: { # required
4356
+ # string_value: "AssetPropertyStringValue",
4357
+ # integer_value: "AssetPropertyIntegerValue",
4358
+ # double_value: "AssetPropertyDoubleValue",
4359
+ # boolean_value: "AssetPropertyBooleanValue",
4360
+ # },
4361
+ # timestamp: {
4362
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
4363
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
4364
+ # },
4365
+ # quality: "AssetPropertyQuality",
4366
+ # },
4367
+ # },
3715
4368
  # },
3716
4369
  # ],
3717
4370
  # next_state: "StateName", # required
@@ -3806,6 +4459,25 @@ module Aws::IoTEvents
3806
4459
  # type: "STRING", # required, accepts STRING, JSON
3807
4460
  # },
3808
4461
  # },
4462
+ # iot_site_wise: {
4463
+ # entry_id: "AssetPropertyEntryId",
4464
+ # asset_id: "AssetId",
4465
+ # property_id: "AssetPropertyId",
4466
+ # property_alias: "AssetPropertyAlias",
4467
+ # property_value: { # required
4468
+ # value: { # required
4469
+ # string_value: "AssetPropertyStringValue",
4470
+ # integer_value: "AssetPropertyIntegerValue",
4471
+ # double_value: "AssetPropertyDoubleValue",
4472
+ # boolean_value: "AssetPropertyBooleanValue",
4473
+ # },
4474
+ # timestamp: {
4475
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
4476
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
4477
+ # },
4478
+ # quality: "AssetPropertyQuality",
4479
+ # },
4480
+ # },
3809
4481
  # },
3810
4482
  # ],
3811
4483
  # },
@@ -3899,6 +4571,25 @@ module Aws::IoTEvents
3899
4571
  # type: "STRING", # required, accepts STRING, JSON
3900
4572
  # },
3901
4573
  # },
4574
+ # iot_site_wise: {
4575
+ # entry_id: "AssetPropertyEntryId",
4576
+ # asset_id: "AssetId",
4577
+ # property_id: "AssetPropertyId",
4578
+ # property_alias: "AssetPropertyAlias",
4579
+ # property_value: { # required
4580
+ # value: { # required
4581
+ # string_value: "AssetPropertyStringValue",
4582
+ # integer_value: "AssetPropertyIntegerValue",
4583
+ # double_value: "AssetPropertyDoubleValue",
4584
+ # boolean_value: "AssetPropertyBooleanValue",
4585
+ # },
4586
+ # timestamp: {
4587
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
4588
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
4589
+ # },
4590
+ # quality: "AssetPropertyQuality",
4591
+ # },
4592
+ # },
3902
4593
  # },
3903
4594
  # ],
3904
4595
  # },