aws-sdk-iot 1.57.0 → 1.58.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-iot.rb +1 -1
- data/lib/aws-sdk-iot/client.rb +79 -3
- data/lib/aws-sdk-iot/client_api.rb +29 -0
- data/lib/aws-sdk-iot/types.rb +247 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 850296b7409e4ff85c578ba17e6f2c4fc1dcf67b3611ce500243a8d03b595a76
|
|
4
|
+
data.tar.gz: 2d93dd80a9e7dbdfba2b8109e4ff47917586c6f36c05c8e98b17a386629b7b9b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f8a4569f4f37626dc71f220ff8d44e9a2d89690feccb29e9d54df29277a5418cfe79136044dbf69a4ba6591d33a6105d1403fee44e9b0ab0b27a70c5638e1647
|
|
7
|
+
data.tar.gz: 2fa346b63b92cecc0c3c90016251eece0636cf5071349463ba56d61d7c8e0472acdeedc997a775d379babc4e1e42ed9be65f15da01918b5c7d6f42bc7b8f534b
|
data/lib/aws-sdk-iot.rb
CHANGED
data/lib/aws-sdk-iot/client.rb
CHANGED
|
@@ -2587,6 +2587,21 @@ module Aws::IoT
|
|
|
2587
2587
|
# state_machine_name: "StateMachineName", # required
|
|
2588
2588
|
# role_arn: "AwsArn", # required
|
|
2589
2589
|
# },
|
|
2590
|
+
# timestream: {
|
|
2591
|
+
# role_arn: "AwsArn", # required
|
|
2592
|
+
# database_name: "TimestreamDatabaseName", # required
|
|
2593
|
+
# table_name: "TimestreamTableName", # required
|
|
2594
|
+
# dimensions: [ # required
|
|
2595
|
+
# {
|
|
2596
|
+
# name: "TimestreamDimensionName", # required
|
|
2597
|
+
# value: "TimestreamDimensionValue", # required
|
|
2598
|
+
# },
|
|
2599
|
+
# ],
|
|
2600
|
+
# timestamp: {
|
|
2601
|
+
# value: "TimestreamTimestampValue", # required
|
|
2602
|
+
# unit: "TimestreamTimestampUnit", # required
|
|
2603
|
+
# },
|
|
2604
|
+
# },
|
|
2590
2605
|
# http: {
|
|
2591
2606
|
# url: "Url", # required
|
|
2592
2607
|
# confirmation_url: "Url",
|
|
@@ -2731,6 +2746,21 @@ module Aws::IoT
|
|
|
2731
2746
|
# state_machine_name: "StateMachineName", # required
|
|
2732
2747
|
# role_arn: "AwsArn", # required
|
|
2733
2748
|
# },
|
|
2749
|
+
# timestream: {
|
|
2750
|
+
# role_arn: "AwsArn", # required
|
|
2751
|
+
# database_name: "TimestreamDatabaseName", # required
|
|
2752
|
+
# table_name: "TimestreamTableName", # required
|
|
2753
|
+
# dimensions: [ # required
|
|
2754
|
+
# {
|
|
2755
|
+
# name: "TimestreamDimensionName", # required
|
|
2756
|
+
# value: "TimestreamDimensionValue", # required
|
|
2757
|
+
# },
|
|
2758
|
+
# ],
|
|
2759
|
+
# timestamp: {
|
|
2760
|
+
# value: "TimestreamTimestampValue", # required
|
|
2761
|
+
# unit: "TimestreamTimestampUnit", # required
|
|
2762
|
+
# },
|
|
2763
|
+
# },
|
|
2734
2764
|
# http: {
|
|
2735
2765
|
# url: "Url", # required
|
|
2736
2766
|
# confirmation_url: "Url",
|
|
@@ -5449,6 +5479,14 @@ module Aws::IoT
|
|
|
5449
5479
|
# resp.rule.actions[0].step_functions.execution_name_prefix #=> String
|
|
5450
5480
|
# resp.rule.actions[0].step_functions.state_machine_name #=> String
|
|
5451
5481
|
# resp.rule.actions[0].step_functions.role_arn #=> String
|
|
5482
|
+
# resp.rule.actions[0].timestream.role_arn #=> String
|
|
5483
|
+
# resp.rule.actions[0].timestream.database_name #=> String
|
|
5484
|
+
# resp.rule.actions[0].timestream.table_name #=> String
|
|
5485
|
+
# resp.rule.actions[0].timestream.dimensions #=> Array
|
|
5486
|
+
# resp.rule.actions[0].timestream.dimensions[0].name #=> String
|
|
5487
|
+
# resp.rule.actions[0].timestream.dimensions[0].value #=> String
|
|
5488
|
+
# resp.rule.actions[0].timestream.timestamp.value #=> String
|
|
5489
|
+
# resp.rule.actions[0].timestream.timestamp.unit #=> String
|
|
5452
5490
|
# resp.rule.actions[0].http.url #=> String
|
|
5453
5491
|
# resp.rule.actions[0].http.confirmation_url #=> String
|
|
5454
5492
|
# resp.rule.actions[0].http.headers #=> Array
|
|
@@ -5533,6 +5571,14 @@ module Aws::IoT
|
|
|
5533
5571
|
# resp.rule.error_action.step_functions.execution_name_prefix #=> String
|
|
5534
5572
|
# resp.rule.error_action.step_functions.state_machine_name #=> String
|
|
5535
5573
|
# resp.rule.error_action.step_functions.role_arn #=> String
|
|
5574
|
+
# resp.rule.error_action.timestream.role_arn #=> String
|
|
5575
|
+
# resp.rule.error_action.timestream.database_name #=> String
|
|
5576
|
+
# resp.rule.error_action.timestream.table_name #=> String
|
|
5577
|
+
# resp.rule.error_action.timestream.dimensions #=> Array
|
|
5578
|
+
# resp.rule.error_action.timestream.dimensions[0].name #=> String
|
|
5579
|
+
# resp.rule.error_action.timestream.dimensions[0].value #=> String
|
|
5580
|
+
# resp.rule.error_action.timestream.timestamp.value #=> String
|
|
5581
|
+
# resp.rule.error_action.timestream.timestamp.unit #=> String
|
|
5536
5582
|
# resp.rule.error_action.http.url #=> String
|
|
5537
5583
|
# resp.rule.error_action.http.confirmation_url #=> String
|
|
5538
5584
|
# resp.rule.error_action.http.headers #=> Array
|
|
@@ -5718,7 +5764,7 @@ module Aws::IoT
|
|
|
5718
5764
|
|
|
5719
5765
|
# Lists the findings (results) of a Device Defender audit or of the
|
|
5720
5766
|
# audits performed during a specified time period. (Findings are
|
|
5721
|
-
# retained for
|
|
5767
|
+
# retained for 90 days.)
|
|
5722
5768
|
#
|
|
5723
5769
|
# @option params [String] :task_id
|
|
5724
5770
|
# A filter to limit results to the audit with the specified ID. You must
|
|
@@ -6036,7 +6082,7 @@ module Aws::IoT
|
|
|
6036
6082
|
#
|
|
6037
6083
|
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
|
6038
6084
|
# The beginning of the time period. Audit information is retained for a
|
|
6039
|
-
# limited time (
|
|
6085
|
+
# limited time (90 days). Requesting a start time prior to what is
|
|
6040
6086
|
# retained results in an "InvalidRequestException".
|
|
6041
6087
|
#
|
|
6042
6088
|
# @option params [required, Time,DateTime,Date,Integer,String] :end_time
|
|
@@ -8405,6 +8451,21 @@ module Aws::IoT
|
|
|
8405
8451
|
# state_machine_name: "StateMachineName", # required
|
|
8406
8452
|
# role_arn: "AwsArn", # required
|
|
8407
8453
|
# },
|
|
8454
|
+
# timestream: {
|
|
8455
|
+
# role_arn: "AwsArn", # required
|
|
8456
|
+
# database_name: "TimestreamDatabaseName", # required
|
|
8457
|
+
# table_name: "TimestreamTableName", # required
|
|
8458
|
+
# dimensions: [ # required
|
|
8459
|
+
# {
|
|
8460
|
+
# name: "TimestreamDimensionName", # required
|
|
8461
|
+
# value: "TimestreamDimensionValue", # required
|
|
8462
|
+
# },
|
|
8463
|
+
# ],
|
|
8464
|
+
# timestamp: {
|
|
8465
|
+
# value: "TimestreamTimestampValue", # required
|
|
8466
|
+
# unit: "TimestreamTimestampUnit", # required
|
|
8467
|
+
# },
|
|
8468
|
+
# },
|
|
8408
8469
|
# http: {
|
|
8409
8470
|
# url: "Url", # required
|
|
8410
8471
|
# confirmation_url: "Url",
|
|
@@ -8549,6 +8610,21 @@ module Aws::IoT
|
|
|
8549
8610
|
# state_machine_name: "StateMachineName", # required
|
|
8550
8611
|
# role_arn: "AwsArn", # required
|
|
8551
8612
|
# },
|
|
8613
|
+
# timestream: {
|
|
8614
|
+
# role_arn: "AwsArn", # required
|
|
8615
|
+
# database_name: "TimestreamDatabaseName", # required
|
|
8616
|
+
# table_name: "TimestreamTableName", # required
|
|
8617
|
+
# dimensions: [ # required
|
|
8618
|
+
# {
|
|
8619
|
+
# name: "TimestreamDimensionName", # required
|
|
8620
|
+
# value: "TimestreamDimensionValue", # required
|
|
8621
|
+
# },
|
|
8622
|
+
# ],
|
|
8623
|
+
# timestamp: {
|
|
8624
|
+
# value: "TimestreamTimestampValue", # required
|
|
8625
|
+
# unit: "TimestreamTimestampUnit", # required
|
|
8626
|
+
# },
|
|
8627
|
+
# },
|
|
8552
8628
|
# http: {
|
|
8553
8629
|
# url: "Url", # required
|
|
8554
8630
|
# confirmation_url: "Url",
|
|
@@ -10407,7 +10483,7 @@ module Aws::IoT
|
|
|
10407
10483
|
params: params,
|
|
10408
10484
|
config: config)
|
|
10409
10485
|
context[:gem_name] = 'aws-sdk-iot'
|
|
10410
|
-
context[:gem_version] = '1.
|
|
10486
|
+
context[:gem_version] = '1.58.0'
|
|
10411
10487
|
Seahorse::Client::Request.new(handlers, context)
|
|
10412
10488
|
end
|
|
10413
10489
|
|
|
@@ -1009,6 +1009,16 @@ module Aws::IoT
|
|
|
1009
1009
|
TimedOutThings = Shapes::IntegerShape.new(name: 'TimedOutThings')
|
|
1010
1010
|
TimeoutConfig = Shapes::StructureShape.new(name: 'TimeoutConfig')
|
|
1011
1011
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
|
1012
|
+
TimestreamAction = Shapes::StructureShape.new(name: 'TimestreamAction')
|
|
1013
|
+
TimestreamDatabaseName = Shapes::StringShape.new(name: 'TimestreamDatabaseName')
|
|
1014
|
+
TimestreamDimension = Shapes::StructureShape.new(name: 'TimestreamDimension')
|
|
1015
|
+
TimestreamDimensionList = Shapes::ListShape.new(name: 'TimestreamDimensionList')
|
|
1016
|
+
TimestreamDimensionName = Shapes::StringShape.new(name: 'TimestreamDimensionName')
|
|
1017
|
+
TimestreamDimensionValue = Shapes::StringShape.new(name: 'TimestreamDimensionValue')
|
|
1018
|
+
TimestreamTableName = Shapes::StringShape.new(name: 'TimestreamTableName')
|
|
1019
|
+
TimestreamTimestamp = Shapes::StructureShape.new(name: 'TimestreamTimestamp')
|
|
1020
|
+
TimestreamTimestampUnit = Shapes::StringShape.new(name: 'TimestreamTimestampUnit')
|
|
1021
|
+
TimestreamTimestampValue = Shapes::StringShape.new(name: 'TimestreamTimestampValue')
|
|
1012
1022
|
TlsContext = Shapes::StructureShape.new(name: 'TlsContext')
|
|
1013
1023
|
Token = Shapes::StringShape.new(name: 'Token')
|
|
1014
1024
|
TokenKeyName = Shapes::StringShape.new(name: 'TokenKeyName')
|
|
@@ -1137,6 +1147,7 @@ module Aws::IoT
|
|
|
1137
1147
|
Action.add_member(:iot_events, Shapes::ShapeRef.new(shape: IotEventsAction, location_name: "iotEvents"))
|
|
1138
1148
|
Action.add_member(:iot_site_wise, Shapes::ShapeRef.new(shape: IotSiteWiseAction, location_name: "iotSiteWise"))
|
|
1139
1149
|
Action.add_member(:step_functions, Shapes::ShapeRef.new(shape: StepFunctionsAction, location_name: "stepFunctions"))
|
|
1150
|
+
Action.add_member(:timestream, Shapes::ShapeRef.new(shape: TimestreamAction, location_name: "timestream"))
|
|
1140
1151
|
Action.add_member(:http, Shapes::ShapeRef.new(shape: HttpAction, location_name: "http"))
|
|
1141
1152
|
Action.struct_class = Types::Action
|
|
1142
1153
|
|
|
@@ -3835,6 +3846,23 @@ module Aws::IoT
|
|
|
3835
3846
|
TimeoutConfig.add_member(:in_progress_timeout_in_minutes, Shapes::ShapeRef.new(shape: InProgressTimeoutInMinutes, location_name: "inProgressTimeoutInMinutes"))
|
|
3836
3847
|
TimeoutConfig.struct_class = Types::TimeoutConfig
|
|
3837
3848
|
|
|
3849
|
+
TimestreamAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
|
|
3850
|
+
TimestreamAction.add_member(:database_name, Shapes::ShapeRef.new(shape: TimestreamDatabaseName, required: true, location_name: "databaseName"))
|
|
3851
|
+
TimestreamAction.add_member(:table_name, Shapes::ShapeRef.new(shape: TimestreamTableName, required: true, location_name: "tableName"))
|
|
3852
|
+
TimestreamAction.add_member(:dimensions, Shapes::ShapeRef.new(shape: TimestreamDimensionList, required: true, location_name: "dimensions"))
|
|
3853
|
+
TimestreamAction.add_member(:timestamp, Shapes::ShapeRef.new(shape: TimestreamTimestamp, location_name: "timestamp"))
|
|
3854
|
+
TimestreamAction.struct_class = Types::TimestreamAction
|
|
3855
|
+
|
|
3856
|
+
TimestreamDimension.add_member(:name, Shapes::ShapeRef.new(shape: TimestreamDimensionName, required: true, location_name: "name"))
|
|
3857
|
+
TimestreamDimension.add_member(:value, Shapes::ShapeRef.new(shape: TimestreamDimensionValue, required: true, location_name: "value"))
|
|
3858
|
+
TimestreamDimension.struct_class = Types::TimestreamDimension
|
|
3859
|
+
|
|
3860
|
+
TimestreamDimensionList.member = Shapes::ShapeRef.new(shape: TimestreamDimension)
|
|
3861
|
+
|
|
3862
|
+
TimestreamTimestamp.add_member(:value, Shapes::ShapeRef.new(shape: TimestreamTimestampValue, required: true, location_name: "value"))
|
|
3863
|
+
TimestreamTimestamp.add_member(:unit, Shapes::ShapeRef.new(shape: TimestreamTimestampUnit, required: true, location_name: "unit"))
|
|
3864
|
+
TimestreamTimestamp.struct_class = Types::TimestreamTimestamp
|
|
3865
|
+
|
|
3838
3866
|
TlsContext.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, location_name: "serverName"))
|
|
3839
3867
|
TlsContext.struct_class = Types::TlsContext
|
|
3840
3868
|
|
|
@@ -6810,6 +6838,7 @@ module Aws::IoT
|
|
|
6810
6838
|
o.errors << Shapes::ShapeRef.new(shape: NotConfiguredException)
|
|
6811
6839
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
|
6812
6840
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
6841
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
6813
6842
|
end)
|
|
6814
6843
|
|
|
6815
6844
|
api.add_operation(:set_v2_logging_options, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-iot/types.rb
CHANGED
|
@@ -232,6 +232,21 @@ module Aws::IoT
|
|
|
232
232
|
# state_machine_name: "StateMachineName", # required
|
|
233
233
|
# role_arn: "AwsArn", # required
|
|
234
234
|
# },
|
|
235
|
+
# timestream: {
|
|
236
|
+
# role_arn: "AwsArn", # required
|
|
237
|
+
# database_name: "TimestreamDatabaseName", # required
|
|
238
|
+
# table_name: "TimestreamTableName", # required
|
|
239
|
+
# dimensions: [ # required
|
|
240
|
+
# {
|
|
241
|
+
# name: "TimestreamDimensionName", # required
|
|
242
|
+
# value: "TimestreamDimensionValue", # required
|
|
243
|
+
# },
|
|
244
|
+
# ],
|
|
245
|
+
# timestamp: {
|
|
246
|
+
# value: "TimestreamTimestampValue", # required
|
|
247
|
+
# unit: "TimestreamTimestampUnit", # required
|
|
248
|
+
# },
|
|
249
|
+
# },
|
|
235
250
|
# http: {
|
|
236
251
|
# url: "Url", # required
|
|
237
252
|
# confirmation_url: "Url",
|
|
@@ -326,6 +341,16 @@ module Aws::IoT
|
|
|
326
341
|
# Starts execution of a Step Functions state machine.
|
|
327
342
|
# @return [Types::StepFunctionsAction]
|
|
328
343
|
#
|
|
344
|
+
# @!attribute [rw] timestream
|
|
345
|
+
# The Timestream rule action writes attributes (measures) from an MQTT
|
|
346
|
+
# message into an Amazon Timestream table. For more information, see
|
|
347
|
+
# the [Timestream][1] topic rule action documentation.
|
|
348
|
+
#
|
|
349
|
+
#
|
|
350
|
+
#
|
|
351
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/timestream-rule-action.html
|
|
352
|
+
# @return [Types::TimestreamAction]
|
|
353
|
+
#
|
|
329
354
|
# @!attribute [rw] http
|
|
330
355
|
# Send data to an HTTPS endpoint.
|
|
331
356
|
# @return [Types::HttpAction]
|
|
@@ -349,6 +374,7 @@ module Aws::IoT
|
|
|
349
374
|
:iot_events,
|
|
350
375
|
:iot_site_wise,
|
|
351
376
|
:step_functions,
|
|
377
|
+
:timestream,
|
|
352
378
|
:http)
|
|
353
379
|
SENSITIVE = []
|
|
354
380
|
include Aws::Structure
|
|
@@ -4528,6 +4554,21 @@ module Aws::IoT
|
|
|
4528
4554
|
# state_machine_name: "StateMachineName", # required
|
|
4529
4555
|
# role_arn: "AwsArn", # required
|
|
4530
4556
|
# },
|
|
4557
|
+
# timestream: {
|
|
4558
|
+
# role_arn: "AwsArn", # required
|
|
4559
|
+
# database_name: "TimestreamDatabaseName", # required
|
|
4560
|
+
# table_name: "TimestreamTableName", # required
|
|
4561
|
+
# dimensions: [ # required
|
|
4562
|
+
# {
|
|
4563
|
+
# name: "TimestreamDimensionName", # required
|
|
4564
|
+
# value: "TimestreamDimensionValue", # required
|
|
4565
|
+
# },
|
|
4566
|
+
# ],
|
|
4567
|
+
# timestamp: {
|
|
4568
|
+
# value: "TimestreamTimestampValue", # required
|
|
4569
|
+
# unit: "TimestreamTimestampUnit", # required
|
|
4570
|
+
# },
|
|
4571
|
+
# },
|
|
4531
4572
|
# http: {
|
|
4532
4573
|
# url: "Url", # required
|
|
4533
4574
|
# confirmation_url: "Url",
|
|
@@ -4672,6 +4713,21 @@ module Aws::IoT
|
|
|
4672
4713
|
# state_machine_name: "StateMachineName", # required
|
|
4673
4714
|
# role_arn: "AwsArn", # required
|
|
4674
4715
|
# },
|
|
4716
|
+
# timestream: {
|
|
4717
|
+
# role_arn: "AwsArn", # required
|
|
4718
|
+
# database_name: "TimestreamDatabaseName", # required
|
|
4719
|
+
# table_name: "TimestreamTableName", # required
|
|
4720
|
+
# dimensions: [ # required
|
|
4721
|
+
# {
|
|
4722
|
+
# name: "TimestreamDimensionName", # required
|
|
4723
|
+
# value: "TimestreamDimensionValue", # required
|
|
4724
|
+
# },
|
|
4725
|
+
# ],
|
|
4726
|
+
# timestamp: {
|
|
4727
|
+
# value: "TimestreamTimestampValue", # required
|
|
4728
|
+
# unit: "TimestreamTimestampUnit", # required
|
|
4729
|
+
# },
|
|
4730
|
+
# },
|
|
4675
4731
|
# http: {
|
|
4676
4732
|
# url: "Url", # required
|
|
4677
4733
|
# confirmation_url: "Url",
|
|
@@ -9391,7 +9447,7 @@ module Aws::IoT
|
|
|
9391
9447
|
#
|
|
9392
9448
|
# @!attribute [rw] start_time
|
|
9393
9449
|
# The beginning of the time period. Audit information is retained for
|
|
9394
|
-
# a limited time (
|
|
9450
|
+
# a limited time (90 days). Requesting a start time prior to what is
|
|
9395
9451
|
# retained results in an "InvalidRequestException".
|
|
9396
9452
|
# @return [Time]
|
|
9397
9453
|
#
|
|
@@ -12948,6 +13004,21 @@ module Aws::IoT
|
|
|
12948
13004
|
# state_machine_name: "StateMachineName", # required
|
|
12949
13005
|
# role_arn: "AwsArn", # required
|
|
12950
13006
|
# },
|
|
13007
|
+
# timestream: {
|
|
13008
|
+
# role_arn: "AwsArn", # required
|
|
13009
|
+
# database_name: "TimestreamDatabaseName", # required
|
|
13010
|
+
# table_name: "TimestreamTableName", # required
|
|
13011
|
+
# dimensions: [ # required
|
|
13012
|
+
# {
|
|
13013
|
+
# name: "TimestreamDimensionName", # required
|
|
13014
|
+
# value: "TimestreamDimensionValue", # required
|
|
13015
|
+
# },
|
|
13016
|
+
# ],
|
|
13017
|
+
# timestamp: {
|
|
13018
|
+
# value: "TimestreamTimestampValue", # required
|
|
13019
|
+
# unit: "TimestreamTimestampUnit", # required
|
|
13020
|
+
# },
|
|
13021
|
+
# },
|
|
12951
13022
|
# http: {
|
|
12952
13023
|
# url: "Url", # required
|
|
12953
13024
|
# confirmation_url: "Url",
|
|
@@ -13092,6 +13163,21 @@ module Aws::IoT
|
|
|
13092
13163
|
# state_machine_name: "StateMachineName", # required
|
|
13093
13164
|
# role_arn: "AwsArn", # required
|
|
13094
13165
|
# },
|
|
13166
|
+
# timestream: {
|
|
13167
|
+
# role_arn: "AwsArn", # required
|
|
13168
|
+
# database_name: "TimestreamDatabaseName", # required
|
|
13169
|
+
# table_name: "TimestreamTableName", # required
|
|
13170
|
+
# dimensions: [ # required
|
|
13171
|
+
# {
|
|
13172
|
+
# name: "TimestreamDimensionName", # required
|
|
13173
|
+
# value: "TimestreamDimensionValue", # required
|
|
13174
|
+
# },
|
|
13175
|
+
# ],
|
|
13176
|
+
# timestamp: {
|
|
13177
|
+
# value: "TimestreamTimestampValue", # required
|
|
13178
|
+
# unit: "TimestreamTimestampUnit", # required
|
|
13179
|
+
# },
|
|
13180
|
+
# },
|
|
13095
13181
|
# http: {
|
|
13096
13182
|
# url: "Url", # required
|
|
13097
13183
|
# confirmation_url: "Url",
|
|
@@ -15071,6 +15157,136 @@ module Aws::IoT
|
|
|
15071
15157
|
include Aws::Structure
|
|
15072
15158
|
end
|
|
15073
15159
|
|
|
15160
|
+
# The Timestream rule action writes attributes (measures) from an MQTT
|
|
15161
|
+
# message into an Amazon Timestream table. For more information, see the
|
|
15162
|
+
# [Timestream][1] topic rule action documentation.
|
|
15163
|
+
#
|
|
15164
|
+
#
|
|
15165
|
+
#
|
|
15166
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/timestream-rule-action.html
|
|
15167
|
+
#
|
|
15168
|
+
# @note When making an API call, you may pass TimestreamAction
|
|
15169
|
+
# data as a hash:
|
|
15170
|
+
#
|
|
15171
|
+
# {
|
|
15172
|
+
# role_arn: "AwsArn", # required
|
|
15173
|
+
# database_name: "TimestreamDatabaseName", # required
|
|
15174
|
+
# table_name: "TimestreamTableName", # required
|
|
15175
|
+
# dimensions: [ # required
|
|
15176
|
+
# {
|
|
15177
|
+
# name: "TimestreamDimensionName", # required
|
|
15178
|
+
# value: "TimestreamDimensionValue", # required
|
|
15179
|
+
# },
|
|
15180
|
+
# ],
|
|
15181
|
+
# timestamp: {
|
|
15182
|
+
# value: "TimestreamTimestampValue", # required
|
|
15183
|
+
# unit: "TimestreamTimestampUnit", # required
|
|
15184
|
+
# },
|
|
15185
|
+
# }
|
|
15186
|
+
#
|
|
15187
|
+
# @!attribute [rw] role_arn
|
|
15188
|
+
# The ARN of the role that grants permission to write to the Amazon
|
|
15189
|
+
# Timestream database table.
|
|
15190
|
+
# @return [String]
|
|
15191
|
+
#
|
|
15192
|
+
# @!attribute [rw] database_name
|
|
15193
|
+
# The name of an Amazon Timestream database.
|
|
15194
|
+
# @return [String]
|
|
15195
|
+
#
|
|
15196
|
+
# @!attribute [rw] table_name
|
|
15197
|
+
# The name of the database table into which to write the measure
|
|
15198
|
+
# records.
|
|
15199
|
+
# @return [String]
|
|
15200
|
+
#
|
|
15201
|
+
# @!attribute [rw] dimensions
|
|
15202
|
+
# Metadata attributes of the time series that are written in each
|
|
15203
|
+
# measure record.
|
|
15204
|
+
# @return [Array<Types::TimestreamDimension>]
|
|
15205
|
+
#
|
|
15206
|
+
# @!attribute [rw] timestamp
|
|
15207
|
+
# Specifies an application-defined value to replace the default value
|
|
15208
|
+
# assigned to the Timestream record's timestamp in the `time` column.
|
|
15209
|
+
#
|
|
15210
|
+
# You can use this property to specify the value and the precision of
|
|
15211
|
+
# the Timestream record's timestamp. You can specify a value from the
|
|
15212
|
+
# message payload or a value computed by a substitution template.
|
|
15213
|
+
#
|
|
15214
|
+
# If omitted, the topic rule action assigns the timestamp, in
|
|
15215
|
+
# milliseconds, at the time it processed the rule.
|
|
15216
|
+
# @return [Types::TimestreamTimestamp]
|
|
15217
|
+
#
|
|
15218
|
+
class TimestreamAction < Struct.new(
|
|
15219
|
+
:role_arn,
|
|
15220
|
+
:database_name,
|
|
15221
|
+
:table_name,
|
|
15222
|
+
:dimensions,
|
|
15223
|
+
:timestamp)
|
|
15224
|
+
SENSITIVE = []
|
|
15225
|
+
include Aws::Structure
|
|
15226
|
+
end
|
|
15227
|
+
|
|
15228
|
+
# Metadata attributes of the time series that are written in each
|
|
15229
|
+
# measure record.
|
|
15230
|
+
#
|
|
15231
|
+
# @note When making an API call, you may pass TimestreamDimension
|
|
15232
|
+
# data as a hash:
|
|
15233
|
+
#
|
|
15234
|
+
# {
|
|
15235
|
+
# name: "TimestreamDimensionName", # required
|
|
15236
|
+
# value: "TimestreamDimensionValue", # required
|
|
15237
|
+
# }
|
|
15238
|
+
#
|
|
15239
|
+
# @!attribute [rw] name
|
|
15240
|
+
# The metadata dimension name. This is the name of the column in the
|
|
15241
|
+
# Amazon Timestream database table record.
|
|
15242
|
+
#
|
|
15243
|
+
# Dimensions cannot be named: `measure_name`, `measure_value`, or
|
|
15244
|
+
# `time`. These names are reserved. Dimension names cannot start with
|
|
15245
|
+
# `ts_` or `measure_value` and they cannot contain the colon (`:`)
|
|
15246
|
+
# character.
|
|
15247
|
+
# @return [String]
|
|
15248
|
+
#
|
|
15249
|
+
# @!attribute [rw] value
|
|
15250
|
+
# The value to write in this column of the database record.
|
|
15251
|
+
# @return [String]
|
|
15252
|
+
#
|
|
15253
|
+
class TimestreamDimension < Struct.new(
|
|
15254
|
+
:name,
|
|
15255
|
+
:value)
|
|
15256
|
+
SENSITIVE = []
|
|
15257
|
+
include Aws::Structure
|
|
15258
|
+
end
|
|
15259
|
+
|
|
15260
|
+
# Describes how to interpret an application-defined timestamp value from
|
|
15261
|
+
# an MQTT message payload and the precision of that value.
|
|
15262
|
+
#
|
|
15263
|
+
# @note When making an API call, you may pass TimestreamTimestamp
|
|
15264
|
+
# data as a hash:
|
|
15265
|
+
#
|
|
15266
|
+
# {
|
|
15267
|
+
# value: "TimestreamTimestampValue", # required
|
|
15268
|
+
# unit: "TimestreamTimestampUnit", # required
|
|
15269
|
+
# }
|
|
15270
|
+
#
|
|
15271
|
+
# @!attribute [rw] value
|
|
15272
|
+
# An expression that returns a long epoch time value.
|
|
15273
|
+
# @return [String]
|
|
15274
|
+
#
|
|
15275
|
+
# @!attribute [rw] unit
|
|
15276
|
+
# The precision of the timestamp value that results from the
|
|
15277
|
+
# expression described in `value`.
|
|
15278
|
+
#
|
|
15279
|
+
# Valid values: `SECONDS` \| `MILLISECONDS` \| `MICROSECONDS` \|
|
|
15280
|
+
# `NANOSECONDS`. The default is `MILLISECONDS`.
|
|
15281
|
+
# @return [String]
|
|
15282
|
+
#
|
|
15283
|
+
class TimestreamTimestamp < Struct.new(
|
|
15284
|
+
:value,
|
|
15285
|
+
:unit)
|
|
15286
|
+
SENSITIVE = []
|
|
15287
|
+
include Aws::Structure
|
|
15288
|
+
end
|
|
15289
|
+
|
|
15074
15290
|
# Specifies the TLS context to use for the test authorizer request.
|
|
15075
15291
|
#
|
|
15076
15292
|
# @note When making an API call, you may pass TlsContext
|
|
@@ -15436,6 +15652,21 @@ module Aws::IoT
|
|
|
15436
15652
|
# state_machine_name: "StateMachineName", # required
|
|
15437
15653
|
# role_arn: "AwsArn", # required
|
|
15438
15654
|
# },
|
|
15655
|
+
# timestream: {
|
|
15656
|
+
# role_arn: "AwsArn", # required
|
|
15657
|
+
# database_name: "TimestreamDatabaseName", # required
|
|
15658
|
+
# table_name: "TimestreamTableName", # required
|
|
15659
|
+
# dimensions: [ # required
|
|
15660
|
+
# {
|
|
15661
|
+
# name: "TimestreamDimensionName", # required
|
|
15662
|
+
# value: "TimestreamDimensionValue", # required
|
|
15663
|
+
# },
|
|
15664
|
+
# ],
|
|
15665
|
+
# timestamp: {
|
|
15666
|
+
# value: "TimestreamTimestampValue", # required
|
|
15667
|
+
# unit: "TimestreamTimestampUnit", # required
|
|
15668
|
+
# },
|
|
15669
|
+
# },
|
|
15439
15670
|
# http: {
|
|
15440
15671
|
# url: "Url", # required
|
|
15441
15672
|
# confirmation_url: "Url",
|
|
@@ -15580,6 +15811,21 @@ module Aws::IoT
|
|
|
15580
15811
|
# state_machine_name: "StateMachineName", # required
|
|
15581
15812
|
# role_arn: "AwsArn", # required
|
|
15582
15813
|
# },
|
|
15814
|
+
# timestream: {
|
|
15815
|
+
# role_arn: "AwsArn", # required
|
|
15816
|
+
# database_name: "TimestreamDatabaseName", # required
|
|
15817
|
+
# table_name: "TimestreamTableName", # required
|
|
15818
|
+
# dimensions: [ # required
|
|
15819
|
+
# {
|
|
15820
|
+
# name: "TimestreamDimensionName", # required
|
|
15821
|
+
# value: "TimestreamDimensionValue", # required
|
|
15822
|
+
# },
|
|
15823
|
+
# ],
|
|
15824
|
+
# timestamp: {
|
|
15825
|
+
# value: "TimestreamTimestampValue", # required
|
|
15826
|
+
# unit: "TimestreamTimestampUnit", # required
|
|
15827
|
+
# },
|
|
15828
|
+
# },
|
|
15583
15829
|
# http: {
|
|
15584
15830
|
# url: "Url", # required
|
|
15585
15831
|
# confirmation_url: "Url",
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-iot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.58.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-09-
|
|
11
|
+
date: 2020-09-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '3'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 3.
|
|
22
|
+
version: 3.109.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '3'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 3.
|
|
32
|
+
version: 3.109.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|