aws-sdk-iotevents 1.17.0 → 1.22.0

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: 9fba26f1bf36e97727f5637456fc7f338c12e2ef10817fa674cbf16a21090b95
4
- data.tar.gz: d593307e283e974cfd8ae3e2a4f1702fb3377672df6308f4433969f3a77bc53f
3
+ metadata.gz: 6b5340e86e7d5e3e13d4798fe24b84acac16d7817ac2c6051843a1855bbe5b9b
4
+ data.tar.gz: 9fc6a8e4f8fd740dd77422a028c09d27fe0d813aa1b25b422924c4468fdf96b1
5
5
  SHA512:
6
- metadata.gz: 90130493241d3ed674d67e1e8b2ba230367a53b9a651628e384d01c6e33f65f2e62d5dc9a936a86e7c20783866f0afe73b0bd8ec3ce7d6c07c3585aef52b539b
7
- data.tar.gz: 967a649c6e02397890919b997a40c8759cd9edee7abe1c0effcd15db77ca08a7178a3de01a9b9e378b243db3851cec5791dd6b03c385a63fd03f85189605966f
6
+ metadata.gz: 80ed1090e406596e19d60df4e91f72faba6d37994f372cc7024ff321ab24415598879d9cbc9c64de1410e5362750ba31f158b02fce59c22524a3ebc9cf6bc096
7
+ data.tar.gz: 69c4e42048b0b2d489f79f7fd8a5e3745432507e23995db6c256920e531e86fdcfe58ecd7ebafe5a701856eb4ec6c99a684da4af5320c945580016f31da3f7d5
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-iotevents/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::IoTEvents
49
50
 
50
- GEM_VERSION = '1.17.0'
51
+ GEM_VERSION = '1.22.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::IoTEvents
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::IoTEvents
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -1200,6 +1215,32 @@ module Aws::IoTEvents
1200
1215
  req.send_request(options)
1201
1216
  end
1202
1217
 
1218
+ # Retrieves execution information about a detector model analysis
1219
+ #
1220
+ # @option params [required, String] :analysis_id
1221
+ # The ID of the analysis result that you want to retrieve.
1222
+ #
1223
+ # @return [Types::DescribeDetectorModelAnalysisResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1224
+ #
1225
+ # * {Types::DescribeDetectorModelAnalysisResponse#status #status} => String
1226
+ #
1227
+ # @example Request syntax with placeholder values
1228
+ #
1229
+ # resp = client.describe_detector_model_analysis({
1230
+ # analysis_id: "AnalysisId", # required
1231
+ # })
1232
+ #
1233
+ # @example Response structure
1234
+ #
1235
+ # resp.status #=> String, one of "RUNNING", "COMPLETE", "FAILED"
1236
+ #
1237
+ # @overload describe_detector_model_analysis(params = {})
1238
+ # @param [Hash] params ({})
1239
+ def describe_detector_model_analysis(params = {}, options = {})
1240
+ req = build_request(:describe_detector_model_analysis, params)
1241
+ req.send_request(options)
1242
+ end
1243
+
1203
1244
  # Describes an input.
1204
1245
  #
1205
1246
  # @option params [required, String] :input_name
@@ -1255,6 +1296,47 @@ module Aws::IoTEvents
1255
1296
  req.send_request(options)
1256
1297
  end
1257
1298
 
1299
+ # Retrieves one or more analysis results of the detector model.
1300
+ #
1301
+ # @option params [required, String] :analysis_id
1302
+ # The ID of the analysis result that you want to retrieve.
1303
+ #
1304
+ # @option params [String] :next_token
1305
+ # The token that you can use to return the next set of results.
1306
+ #
1307
+ # @option params [Integer] :max_results
1308
+ # The maximum number of results to be returned per request.
1309
+ #
1310
+ # @return [Types::GetDetectorModelAnalysisResultsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1311
+ #
1312
+ # * {Types::GetDetectorModelAnalysisResultsResponse#analysis_results #analysis_results} => Array<Types::AnalysisResult>
1313
+ # * {Types::GetDetectorModelAnalysisResultsResponse#next_token #next_token} => String
1314
+ #
1315
+ # @example Request syntax with placeholder values
1316
+ #
1317
+ # resp = client.get_detector_model_analysis_results({
1318
+ # analysis_id: "AnalysisId", # required
1319
+ # next_token: "NextToken",
1320
+ # max_results: 1,
1321
+ # })
1322
+ #
1323
+ # @example Response structure
1324
+ #
1325
+ # resp.analysis_results #=> Array
1326
+ # resp.analysis_results[0].type #=> String
1327
+ # resp.analysis_results[0].level #=> String, one of "INFO", "WARNING", "ERROR"
1328
+ # resp.analysis_results[0].message #=> String
1329
+ # resp.analysis_results[0].locations #=> Array
1330
+ # resp.analysis_results[0].locations[0].path #=> String
1331
+ # resp.next_token #=> String
1332
+ #
1333
+ # @overload get_detector_model_analysis_results(params = {})
1334
+ # @param [Hash] params ({})
1335
+ def get_detector_model_analysis_results(params = {}, options = {})
1336
+ req = build_request(:get_detector_model_analysis_results, params)
1337
+ req.send_request(options)
1338
+ end
1339
+
1258
1340
  # Lists all the versions of a detector model. Only the metadata
1259
1341
  # associated with each detector model version is returned.
1260
1342
  #
@@ -1262,10 +1344,10 @@ module Aws::IoTEvents
1262
1344
  # The name of the detector model whose versions are returned.
1263
1345
  #
1264
1346
  # @option params [String] :next_token
1265
- # The token for the next set of results.
1347
+ # The token that you can use to return the next set of results.
1266
1348
  #
1267
1349
  # @option params [Integer] :max_results
1268
- # The maximum number of results to return at one time.
1350
+ # The maximum number of results to be returned per request.
1269
1351
  #
1270
1352
  # @return [Types::ListDetectorModelVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1271
1353
  #
@@ -1304,10 +1386,10 @@ module Aws::IoTEvents
1304
1386
  # associated with each detector model is returned.
1305
1387
  #
1306
1388
  # @option params [String] :next_token
1307
- # The token for the next set of results.
1389
+ # The token that you can use to return the next set of results.
1308
1390
  #
1309
1391
  # @option params [Integer] :max_results
1310
- # The maximum number of results to return at one time.
1392
+ # The maximum number of results to be returned per request.
1311
1393
  #
1312
1394
  # @return [Types::ListDetectorModelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1313
1395
  #
@@ -1339,10 +1421,10 @@ module Aws::IoTEvents
1339
1421
  # Lists the inputs you have created.
1340
1422
  #
1341
1423
  # @option params [String] :next_token
1342
- # The token for the next set of results.
1424
+ # The token that you can use to return the next set of results.
1343
1425
  #
1344
1426
  # @option params [Integer] :max_results
1345
- # The maximum number of results to return at one time.
1427
+ # The maximum number of results to be returned per request.
1346
1428
  #
1347
1429
  # @return [Types::ListInputsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1348
1430
  #
@@ -1438,6 +1520,492 @@ module Aws::IoTEvents
1438
1520
  req.send_request(options)
1439
1521
  end
1440
1522
 
1523
+ # Performs an analysis of your detector model. For more information, see
1524
+ # [Running detector model analyses][1] in the *AWS IoT Events Developer
1525
+ # Guide*.
1526
+ #
1527
+ #
1528
+ #
1529
+ # [1]: https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-analyze-api.html
1530
+ #
1531
+ # @option params [required, Types::DetectorModelDefinition] :detector_model_definition
1532
+ # Information that defines how a detector operates.
1533
+ #
1534
+ # @return [Types::StartDetectorModelAnalysisResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1535
+ #
1536
+ # * {Types::StartDetectorModelAnalysisResponse#analysis_id #analysis_id} => String
1537
+ #
1538
+ # @example Request syntax with placeholder values
1539
+ #
1540
+ # resp = client.start_detector_model_analysis({
1541
+ # detector_model_definition: { # required
1542
+ # states: [ # required
1543
+ # {
1544
+ # state_name: "StateName", # required
1545
+ # on_input: {
1546
+ # events: [
1547
+ # {
1548
+ # event_name: "EventName", # required
1549
+ # condition: "Condition",
1550
+ # actions: [
1551
+ # {
1552
+ # set_variable: {
1553
+ # variable_name: "VariableName", # required
1554
+ # value: "VariableValue", # required
1555
+ # },
1556
+ # sns: {
1557
+ # target_arn: "AmazonResourceName", # required
1558
+ # payload: {
1559
+ # content_expression: "ContentExpression", # required
1560
+ # type: "STRING", # required, accepts STRING, JSON
1561
+ # },
1562
+ # },
1563
+ # iot_topic_publish: {
1564
+ # mqtt_topic: "MQTTTopic", # required
1565
+ # payload: {
1566
+ # content_expression: "ContentExpression", # required
1567
+ # type: "STRING", # required, accepts STRING, JSON
1568
+ # },
1569
+ # },
1570
+ # set_timer: {
1571
+ # timer_name: "TimerName", # required
1572
+ # seconds: 1,
1573
+ # duration_expression: "VariableValue",
1574
+ # },
1575
+ # clear_timer: {
1576
+ # timer_name: "TimerName", # required
1577
+ # },
1578
+ # reset_timer: {
1579
+ # timer_name: "TimerName", # required
1580
+ # },
1581
+ # lambda: {
1582
+ # function_arn: "AmazonResourceName", # required
1583
+ # payload: {
1584
+ # content_expression: "ContentExpression", # required
1585
+ # type: "STRING", # required, accepts STRING, JSON
1586
+ # },
1587
+ # },
1588
+ # iot_events: {
1589
+ # input_name: "InputName", # required
1590
+ # payload: {
1591
+ # content_expression: "ContentExpression", # required
1592
+ # type: "STRING", # required, accepts STRING, JSON
1593
+ # },
1594
+ # },
1595
+ # sqs: {
1596
+ # queue_url: "QueueUrl", # required
1597
+ # use_base_64: false,
1598
+ # payload: {
1599
+ # content_expression: "ContentExpression", # required
1600
+ # type: "STRING", # required, accepts STRING, JSON
1601
+ # },
1602
+ # },
1603
+ # firehose: {
1604
+ # delivery_stream_name: "DeliveryStreamName", # required
1605
+ # separator: "FirehoseSeparator",
1606
+ # payload: {
1607
+ # content_expression: "ContentExpression", # required
1608
+ # type: "STRING", # required, accepts STRING, JSON
1609
+ # },
1610
+ # },
1611
+ # dynamo_db: {
1612
+ # hash_key_type: "DynamoKeyType",
1613
+ # hash_key_field: "DynamoKeyField", # required
1614
+ # hash_key_value: "DynamoKeyValue", # required
1615
+ # range_key_type: "DynamoKeyType",
1616
+ # range_key_field: "DynamoKeyField",
1617
+ # range_key_value: "DynamoKeyValue",
1618
+ # operation: "DynamoOperation",
1619
+ # payload_field: "DynamoKeyField",
1620
+ # table_name: "DynamoTableName", # required
1621
+ # payload: {
1622
+ # content_expression: "ContentExpression", # required
1623
+ # type: "STRING", # required, accepts STRING, JSON
1624
+ # },
1625
+ # },
1626
+ # dynamo_d_bv_2: {
1627
+ # table_name: "DynamoTableName", # required
1628
+ # payload: {
1629
+ # content_expression: "ContentExpression", # required
1630
+ # type: "STRING", # required, accepts STRING, JSON
1631
+ # },
1632
+ # },
1633
+ # iot_site_wise: {
1634
+ # entry_id: "AssetPropertyEntryId",
1635
+ # asset_id: "AssetId",
1636
+ # property_id: "AssetPropertyId",
1637
+ # property_alias: "AssetPropertyAlias",
1638
+ # property_value: { # required
1639
+ # value: { # required
1640
+ # string_value: "AssetPropertyStringValue",
1641
+ # integer_value: "AssetPropertyIntegerValue",
1642
+ # double_value: "AssetPropertyDoubleValue",
1643
+ # boolean_value: "AssetPropertyBooleanValue",
1644
+ # },
1645
+ # timestamp: {
1646
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1647
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1648
+ # },
1649
+ # quality: "AssetPropertyQuality",
1650
+ # },
1651
+ # },
1652
+ # },
1653
+ # ],
1654
+ # },
1655
+ # ],
1656
+ # transition_events: [
1657
+ # {
1658
+ # event_name: "EventName", # required
1659
+ # condition: "Condition", # required
1660
+ # actions: [
1661
+ # {
1662
+ # set_variable: {
1663
+ # variable_name: "VariableName", # required
1664
+ # value: "VariableValue", # required
1665
+ # },
1666
+ # sns: {
1667
+ # target_arn: "AmazonResourceName", # required
1668
+ # payload: {
1669
+ # content_expression: "ContentExpression", # required
1670
+ # type: "STRING", # required, accepts STRING, JSON
1671
+ # },
1672
+ # },
1673
+ # iot_topic_publish: {
1674
+ # mqtt_topic: "MQTTTopic", # required
1675
+ # payload: {
1676
+ # content_expression: "ContentExpression", # required
1677
+ # type: "STRING", # required, accepts STRING, JSON
1678
+ # },
1679
+ # },
1680
+ # set_timer: {
1681
+ # timer_name: "TimerName", # required
1682
+ # seconds: 1,
1683
+ # duration_expression: "VariableValue",
1684
+ # },
1685
+ # clear_timer: {
1686
+ # timer_name: "TimerName", # required
1687
+ # },
1688
+ # reset_timer: {
1689
+ # timer_name: "TimerName", # required
1690
+ # },
1691
+ # lambda: {
1692
+ # function_arn: "AmazonResourceName", # required
1693
+ # payload: {
1694
+ # content_expression: "ContentExpression", # required
1695
+ # type: "STRING", # required, accepts STRING, JSON
1696
+ # },
1697
+ # },
1698
+ # iot_events: {
1699
+ # input_name: "InputName", # required
1700
+ # payload: {
1701
+ # content_expression: "ContentExpression", # required
1702
+ # type: "STRING", # required, accepts STRING, JSON
1703
+ # },
1704
+ # },
1705
+ # sqs: {
1706
+ # queue_url: "QueueUrl", # required
1707
+ # use_base_64: false,
1708
+ # payload: {
1709
+ # content_expression: "ContentExpression", # required
1710
+ # type: "STRING", # required, accepts STRING, JSON
1711
+ # },
1712
+ # },
1713
+ # firehose: {
1714
+ # delivery_stream_name: "DeliveryStreamName", # required
1715
+ # separator: "FirehoseSeparator",
1716
+ # payload: {
1717
+ # content_expression: "ContentExpression", # required
1718
+ # type: "STRING", # required, accepts STRING, JSON
1719
+ # },
1720
+ # },
1721
+ # dynamo_db: {
1722
+ # hash_key_type: "DynamoKeyType",
1723
+ # hash_key_field: "DynamoKeyField", # required
1724
+ # hash_key_value: "DynamoKeyValue", # required
1725
+ # range_key_type: "DynamoKeyType",
1726
+ # range_key_field: "DynamoKeyField",
1727
+ # range_key_value: "DynamoKeyValue",
1728
+ # operation: "DynamoOperation",
1729
+ # payload_field: "DynamoKeyField",
1730
+ # table_name: "DynamoTableName", # required
1731
+ # payload: {
1732
+ # content_expression: "ContentExpression", # required
1733
+ # type: "STRING", # required, accepts STRING, JSON
1734
+ # },
1735
+ # },
1736
+ # dynamo_d_bv_2: {
1737
+ # table_name: "DynamoTableName", # required
1738
+ # payload: {
1739
+ # content_expression: "ContentExpression", # required
1740
+ # type: "STRING", # required, accepts STRING, JSON
1741
+ # },
1742
+ # },
1743
+ # iot_site_wise: {
1744
+ # entry_id: "AssetPropertyEntryId",
1745
+ # asset_id: "AssetId",
1746
+ # property_id: "AssetPropertyId",
1747
+ # property_alias: "AssetPropertyAlias",
1748
+ # property_value: { # required
1749
+ # value: { # required
1750
+ # string_value: "AssetPropertyStringValue",
1751
+ # integer_value: "AssetPropertyIntegerValue",
1752
+ # double_value: "AssetPropertyDoubleValue",
1753
+ # boolean_value: "AssetPropertyBooleanValue",
1754
+ # },
1755
+ # timestamp: {
1756
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1757
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1758
+ # },
1759
+ # quality: "AssetPropertyQuality",
1760
+ # },
1761
+ # },
1762
+ # },
1763
+ # ],
1764
+ # next_state: "StateName", # required
1765
+ # },
1766
+ # ],
1767
+ # },
1768
+ # on_enter: {
1769
+ # events: [
1770
+ # {
1771
+ # event_name: "EventName", # required
1772
+ # condition: "Condition",
1773
+ # actions: [
1774
+ # {
1775
+ # set_variable: {
1776
+ # variable_name: "VariableName", # required
1777
+ # value: "VariableValue", # required
1778
+ # },
1779
+ # sns: {
1780
+ # target_arn: "AmazonResourceName", # required
1781
+ # payload: {
1782
+ # content_expression: "ContentExpression", # required
1783
+ # type: "STRING", # required, accepts STRING, JSON
1784
+ # },
1785
+ # },
1786
+ # iot_topic_publish: {
1787
+ # mqtt_topic: "MQTTTopic", # required
1788
+ # payload: {
1789
+ # content_expression: "ContentExpression", # required
1790
+ # type: "STRING", # required, accepts STRING, JSON
1791
+ # },
1792
+ # },
1793
+ # set_timer: {
1794
+ # timer_name: "TimerName", # required
1795
+ # seconds: 1,
1796
+ # duration_expression: "VariableValue",
1797
+ # },
1798
+ # clear_timer: {
1799
+ # timer_name: "TimerName", # required
1800
+ # },
1801
+ # reset_timer: {
1802
+ # timer_name: "TimerName", # required
1803
+ # },
1804
+ # lambda: {
1805
+ # function_arn: "AmazonResourceName", # required
1806
+ # payload: {
1807
+ # content_expression: "ContentExpression", # required
1808
+ # type: "STRING", # required, accepts STRING, JSON
1809
+ # },
1810
+ # },
1811
+ # iot_events: {
1812
+ # input_name: "InputName", # required
1813
+ # payload: {
1814
+ # content_expression: "ContentExpression", # required
1815
+ # type: "STRING", # required, accepts STRING, JSON
1816
+ # },
1817
+ # },
1818
+ # sqs: {
1819
+ # queue_url: "QueueUrl", # required
1820
+ # use_base_64: false,
1821
+ # payload: {
1822
+ # content_expression: "ContentExpression", # required
1823
+ # type: "STRING", # required, accepts STRING, JSON
1824
+ # },
1825
+ # },
1826
+ # firehose: {
1827
+ # delivery_stream_name: "DeliveryStreamName", # required
1828
+ # separator: "FirehoseSeparator",
1829
+ # payload: {
1830
+ # content_expression: "ContentExpression", # required
1831
+ # type: "STRING", # required, accepts STRING, JSON
1832
+ # },
1833
+ # },
1834
+ # dynamo_db: {
1835
+ # hash_key_type: "DynamoKeyType",
1836
+ # hash_key_field: "DynamoKeyField", # required
1837
+ # hash_key_value: "DynamoKeyValue", # required
1838
+ # range_key_type: "DynamoKeyType",
1839
+ # range_key_field: "DynamoKeyField",
1840
+ # range_key_value: "DynamoKeyValue",
1841
+ # operation: "DynamoOperation",
1842
+ # payload_field: "DynamoKeyField",
1843
+ # table_name: "DynamoTableName", # required
1844
+ # payload: {
1845
+ # content_expression: "ContentExpression", # required
1846
+ # type: "STRING", # required, accepts STRING, JSON
1847
+ # },
1848
+ # },
1849
+ # dynamo_d_bv_2: {
1850
+ # table_name: "DynamoTableName", # required
1851
+ # payload: {
1852
+ # content_expression: "ContentExpression", # required
1853
+ # type: "STRING", # required, accepts STRING, JSON
1854
+ # },
1855
+ # },
1856
+ # iot_site_wise: {
1857
+ # entry_id: "AssetPropertyEntryId",
1858
+ # asset_id: "AssetId",
1859
+ # property_id: "AssetPropertyId",
1860
+ # property_alias: "AssetPropertyAlias",
1861
+ # property_value: { # required
1862
+ # value: { # required
1863
+ # string_value: "AssetPropertyStringValue",
1864
+ # integer_value: "AssetPropertyIntegerValue",
1865
+ # double_value: "AssetPropertyDoubleValue",
1866
+ # boolean_value: "AssetPropertyBooleanValue",
1867
+ # },
1868
+ # timestamp: {
1869
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1870
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1871
+ # },
1872
+ # quality: "AssetPropertyQuality",
1873
+ # },
1874
+ # },
1875
+ # },
1876
+ # ],
1877
+ # },
1878
+ # ],
1879
+ # },
1880
+ # on_exit: {
1881
+ # events: [
1882
+ # {
1883
+ # event_name: "EventName", # required
1884
+ # condition: "Condition",
1885
+ # actions: [
1886
+ # {
1887
+ # set_variable: {
1888
+ # variable_name: "VariableName", # required
1889
+ # value: "VariableValue", # required
1890
+ # },
1891
+ # sns: {
1892
+ # target_arn: "AmazonResourceName", # required
1893
+ # payload: {
1894
+ # content_expression: "ContentExpression", # required
1895
+ # type: "STRING", # required, accepts STRING, JSON
1896
+ # },
1897
+ # },
1898
+ # iot_topic_publish: {
1899
+ # mqtt_topic: "MQTTTopic", # required
1900
+ # payload: {
1901
+ # content_expression: "ContentExpression", # required
1902
+ # type: "STRING", # required, accepts STRING, JSON
1903
+ # },
1904
+ # },
1905
+ # set_timer: {
1906
+ # timer_name: "TimerName", # required
1907
+ # seconds: 1,
1908
+ # duration_expression: "VariableValue",
1909
+ # },
1910
+ # clear_timer: {
1911
+ # timer_name: "TimerName", # required
1912
+ # },
1913
+ # reset_timer: {
1914
+ # timer_name: "TimerName", # required
1915
+ # },
1916
+ # lambda: {
1917
+ # function_arn: "AmazonResourceName", # required
1918
+ # payload: {
1919
+ # content_expression: "ContentExpression", # required
1920
+ # type: "STRING", # required, accepts STRING, JSON
1921
+ # },
1922
+ # },
1923
+ # iot_events: {
1924
+ # input_name: "InputName", # required
1925
+ # payload: {
1926
+ # content_expression: "ContentExpression", # required
1927
+ # type: "STRING", # required, accepts STRING, JSON
1928
+ # },
1929
+ # },
1930
+ # sqs: {
1931
+ # queue_url: "QueueUrl", # required
1932
+ # use_base_64: false,
1933
+ # payload: {
1934
+ # content_expression: "ContentExpression", # required
1935
+ # type: "STRING", # required, accepts STRING, JSON
1936
+ # },
1937
+ # },
1938
+ # firehose: {
1939
+ # delivery_stream_name: "DeliveryStreamName", # required
1940
+ # separator: "FirehoseSeparator",
1941
+ # payload: {
1942
+ # content_expression: "ContentExpression", # required
1943
+ # type: "STRING", # required, accepts STRING, JSON
1944
+ # },
1945
+ # },
1946
+ # dynamo_db: {
1947
+ # hash_key_type: "DynamoKeyType",
1948
+ # hash_key_field: "DynamoKeyField", # required
1949
+ # hash_key_value: "DynamoKeyValue", # required
1950
+ # range_key_type: "DynamoKeyType",
1951
+ # range_key_field: "DynamoKeyField",
1952
+ # range_key_value: "DynamoKeyValue",
1953
+ # operation: "DynamoOperation",
1954
+ # payload_field: "DynamoKeyField",
1955
+ # table_name: "DynamoTableName", # required
1956
+ # payload: {
1957
+ # content_expression: "ContentExpression", # required
1958
+ # type: "STRING", # required, accepts STRING, JSON
1959
+ # },
1960
+ # },
1961
+ # dynamo_d_bv_2: {
1962
+ # table_name: "DynamoTableName", # required
1963
+ # payload: {
1964
+ # content_expression: "ContentExpression", # required
1965
+ # type: "STRING", # required, accepts STRING, JSON
1966
+ # },
1967
+ # },
1968
+ # iot_site_wise: {
1969
+ # entry_id: "AssetPropertyEntryId",
1970
+ # asset_id: "AssetId",
1971
+ # property_id: "AssetPropertyId",
1972
+ # property_alias: "AssetPropertyAlias",
1973
+ # property_value: { # required
1974
+ # value: { # required
1975
+ # string_value: "AssetPropertyStringValue",
1976
+ # integer_value: "AssetPropertyIntegerValue",
1977
+ # double_value: "AssetPropertyDoubleValue",
1978
+ # boolean_value: "AssetPropertyBooleanValue",
1979
+ # },
1980
+ # timestamp: {
1981
+ # time_in_seconds: "AssetPropertyTimeInSeconds", # required
1982
+ # offset_in_nanos: "AssetPropertyOffsetInNanos",
1983
+ # },
1984
+ # quality: "AssetPropertyQuality",
1985
+ # },
1986
+ # },
1987
+ # },
1988
+ # ],
1989
+ # },
1990
+ # ],
1991
+ # },
1992
+ # },
1993
+ # ],
1994
+ # initial_state_name: "StateName", # required
1995
+ # },
1996
+ # })
1997
+ #
1998
+ # @example Response structure
1999
+ #
2000
+ # resp.analysis_id #=> String
2001
+ #
2002
+ # @overload start_detector_model_analysis(params = {})
2003
+ # @param [Hash] params ({})
2004
+ def start_detector_model_analysis(params = {}, options = {})
2005
+ req = build_request(:start_detector_model_analysis, params)
2006
+ req.send_request(options)
2007
+ end
2008
+
1441
2009
  # Adds to or modifies the tags of the given resource. Tags are metadata
1442
2010
  # that can be used to manage a resource.
1443
2011
  #
@@ -2058,7 +2626,7 @@ module Aws::IoTEvents
2058
2626
  params: params,
2059
2627
  config: config)
2060
2628
  context[:gem_name] = 'aws-sdk-iotevents'
2061
- context[:gem_version] = '1.17.0'
2629
+ context[:gem_version] = '1.22.0'
2062
2630
  Seahorse::Client::Request.new(handlers, context)
2063
2631
  end
2064
2632