aws-sdk-iot 1.61.0 → 1.62.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 +19 -1
- data/lib/aws-sdk-iot/client_api.rb +4 -0
- data/lib/aws-sdk-iot/types.rb +91 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c1aa99b717792df7eb4907234c70da8bcc5fd8f6566e6c76342c7cb8a79b2ddd
|
|
4
|
+
data.tar.gz: 2c479f0968b20bd7034f7d2efbcb8aab4a509fa61071b9b9725b30c0a7d923b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9cbb208052356cd233d42c011907caaa8fdb911e3a5efe383a9b950d09da873db927fb8fd4ee0de8f98ba16c4ab20a3156d33a5aef6c97130b3d8d0c1ed9d22
|
|
7
|
+
data.tar.gz: 6768a64bd0682db23d4bb0b8365a8e584f4a873697905f8c6c32a13e7f2f0b01dd7f3defbb8f4ab56a753624069151a8906847cf39f52ba4a93821bd9f69dd6d
|
data/lib/aws-sdk-iot.rb
CHANGED
data/lib/aws-sdk-iot/client.rb
CHANGED
|
@@ -2544,6 +2544,7 @@ module Aws::IoT
|
|
|
2544
2544
|
# role_arn: "AwsArn", # required
|
|
2545
2545
|
# delivery_stream_name: "DeliveryStreamName", # required
|
|
2546
2546
|
# separator: "FirehoseSeparator",
|
|
2547
|
+
# batch_mode: false,
|
|
2547
2548
|
# },
|
|
2548
2549
|
# cloudwatch_metric: {
|
|
2549
2550
|
# role_arn: "AwsArn", # required
|
|
@@ -2577,11 +2578,13 @@ module Aws::IoT
|
|
|
2577
2578
|
# iot_analytics: {
|
|
2578
2579
|
# channel_arn: "AwsArn",
|
|
2579
2580
|
# channel_name: "ChannelName",
|
|
2581
|
+
# batch_mode: false,
|
|
2580
2582
|
# role_arn: "AwsArn",
|
|
2581
2583
|
# },
|
|
2582
2584
|
# iot_events: {
|
|
2583
2585
|
# input_name: "InputName", # required
|
|
2584
2586
|
# message_id: "MessageId",
|
|
2587
|
+
# batch_mode: false,
|
|
2585
2588
|
# role_arn: "AwsArn", # required
|
|
2586
2589
|
# },
|
|
2587
2590
|
# iot_site_wise: {
|
|
@@ -2703,6 +2706,7 @@ module Aws::IoT
|
|
|
2703
2706
|
# role_arn: "AwsArn", # required
|
|
2704
2707
|
# delivery_stream_name: "DeliveryStreamName", # required
|
|
2705
2708
|
# separator: "FirehoseSeparator",
|
|
2709
|
+
# batch_mode: false,
|
|
2706
2710
|
# },
|
|
2707
2711
|
# cloudwatch_metric: {
|
|
2708
2712
|
# role_arn: "AwsArn", # required
|
|
@@ -2736,11 +2740,13 @@ module Aws::IoT
|
|
|
2736
2740
|
# iot_analytics: {
|
|
2737
2741
|
# channel_arn: "AwsArn",
|
|
2738
2742
|
# channel_name: "ChannelName",
|
|
2743
|
+
# batch_mode: false,
|
|
2739
2744
|
# role_arn: "AwsArn",
|
|
2740
2745
|
# },
|
|
2741
2746
|
# iot_events: {
|
|
2742
2747
|
# input_name: "InputName", # required
|
|
2743
2748
|
# message_id: "MessageId",
|
|
2749
|
+
# batch_mode: false,
|
|
2744
2750
|
# role_arn: "AwsArn", # required
|
|
2745
2751
|
# },
|
|
2746
2752
|
# iot_site_wise: {
|
|
@@ -5496,6 +5502,7 @@ module Aws::IoT
|
|
|
5496
5502
|
# resp.rule.actions[0].firehose.role_arn #=> String
|
|
5497
5503
|
# resp.rule.actions[0].firehose.delivery_stream_name #=> String
|
|
5498
5504
|
# resp.rule.actions[0].firehose.separator #=> String
|
|
5505
|
+
# resp.rule.actions[0].firehose.batch_mode #=> Boolean
|
|
5499
5506
|
# resp.rule.actions[0].cloudwatch_metric.role_arn #=> String
|
|
5500
5507
|
# resp.rule.actions[0].cloudwatch_metric.metric_namespace #=> String
|
|
5501
5508
|
# resp.rule.actions[0].cloudwatch_metric.metric_name #=> String
|
|
@@ -5517,9 +5524,11 @@ module Aws::IoT
|
|
|
5517
5524
|
# resp.rule.actions[0].salesforce.url #=> String
|
|
5518
5525
|
# resp.rule.actions[0].iot_analytics.channel_arn #=> String
|
|
5519
5526
|
# resp.rule.actions[0].iot_analytics.channel_name #=> String
|
|
5527
|
+
# resp.rule.actions[0].iot_analytics.batch_mode #=> Boolean
|
|
5520
5528
|
# resp.rule.actions[0].iot_analytics.role_arn #=> String
|
|
5521
5529
|
# resp.rule.actions[0].iot_events.input_name #=> String
|
|
5522
5530
|
# resp.rule.actions[0].iot_events.message_id #=> String
|
|
5531
|
+
# resp.rule.actions[0].iot_events.batch_mode #=> Boolean
|
|
5523
5532
|
# resp.rule.actions[0].iot_events.role_arn #=> String
|
|
5524
5533
|
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries #=> Array
|
|
5525
5534
|
# resp.rule.actions[0].iot_site_wise.put_asset_property_value_entries[0].entry_id #=> String
|
|
@@ -5588,6 +5597,7 @@ module Aws::IoT
|
|
|
5588
5597
|
# resp.rule.error_action.firehose.role_arn #=> String
|
|
5589
5598
|
# resp.rule.error_action.firehose.delivery_stream_name #=> String
|
|
5590
5599
|
# resp.rule.error_action.firehose.separator #=> String
|
|
5600
|
+
# resp.rule.error_action.firehose.batch_mode #=> Boolean
|
|
5591
5601
|
# resp.rule.error_action.cloudwatch_metric.role_arn #=> String
|
|
5592
5602
|
# resp.rule.error_action.cloudwatch_metric.metric_namespace #=> String
|
|
5593
5603
|
# resp.rule.error_action.cloudwatch_metric.metric_name #=> String
|
|
@@ -5609,9 +5619,11 @@ module Aws::IoT
|
|
|
5609
5619
|
# resp.rule.error_action.salesforce.url #=> String
|
|
5610
5620
|
# resp.rule.error_action.iot_analytics.channel_arn #=> String
|
|
5611
5621
|
# resp.rule.error_action.iot_analytics.channel_name #=> String
|
|
5622
|
+
# resp.rule.error_action.iot_analytics.batch_mode #=> Boolean
|
|
5612
5623
|
# resp.rule.error_action.iot_analytics.role_arn #=> String
|
|
5613
5624
|
# resp.rule.error_action.iot_events.input_name #=> String
|
|
5614
5625
|
# resp.rule.error_action.iot_events.message_id #=> String
|
|
5626
|
+
# resp.rule.error_action.iot_events.batch_mode #=> Boolean
|
|
5615
5627
|
# resp.rule.error_action.iot_events.role_arn #=> String
|
|
5616
5628
|
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries #=> Array
|
|
5617
5629
|
# resp.rule.error_action.iot_site_wise.put_asset_property_value_entries[0].entry_id #=> String
|
|
@@ -8508,6 +8520,7 @@ module Aws::IoT
|
|
|
8508
8520
|
# role_arn: "AwsArn", # required
|
|
8509
8521
|
# delivery_stream_name: "DeliveryStreamName", # required
|
|
8510
8522
|
# separator: "FirehoseSeparator",
|
|
8523
|
+
# batch_mode: false,
|
|
8511
8524
|
# },
|
|
8512
8525
|
# cloudwatch_metric: {
|
|
8513
8526
|
# role_arn: "AwsArn", # required
|
|
@@ -8541,11 +8554,13 @@ module Aws::IoT
|
|
|
8541
8554
|
# iot_analytics: {
|
|
8542
8555
|
# channel_arn: "AwsArn",
|
|
8543
8556
|
# channel_name: "ChannelName",
|
|
8557
|
+
# batch_mode: false,
|
|
8544
8558
|
# role_arn: "AwsArn",
|
|
8545
8559
|
# },
|
|
8546
8560
|
# iot_events: {
|
|
8547
8561
|
# input_name: "InputName", # required
|
|
8548
8562
|
# message_id: "MessageId",
|
|
8563
|
+
# batch_mode: false,
|
|
8549
8564
|
# role_arn: "AwsArn", # required
|
|
8550
8565
|
# },
|
|
8551
8566
|
# iot_site_wise: {
|
|
@@ -8667,6 +8682,7 @@ module Aws::IoT
|
|
|
8667
8682
|
# role_arn: "AwsArn", # required
|
|
8668
8683
|
# delivery_stream_name: "DeliveryStreamName", # required
|
|
8669
8684
|
# separator: "FirehoseSeparator",
|
|
8685
|
+
# batch_mode: false,
|
|
8670
8686
|
# },
|
|
8671
8687
|
# cloudwatch_metric: {
|
|
8672
8688
|
# role_arn: "AwsArn", # required
|
|
@@ -8700,11 +8716,13 @@ module Aws::IoT
|
|
|
8700
8716
|
# iot_analytics: {
|
|
8701
8717
|
# channel_arn: "AwsArn",
|
|
8702
8718
|
# channel_name: "ChannelName",
|
|
8719
|
+
# batch_mode: false,
|
|
8703
8720
|
# role_arn: "AwsArn",
|
|
8704
8721
|
# },
|
|
8705
8722
|
# iot_events: {
|
|
8706
8723
|
# input_name: "InputName", # required
|
|
8707
8724
|
# message_id: "MessageId",
|
|
8725
|
+
# batch_mode: false,
|
|
8708
8726
|
# role_arn: "AwsArn", # required
|
|
8709
8727
|
# },
|
|
8710
8728
|
# iot_site_wise: {
|
|
@@ -10625,7 +10643,7 @@ module Aws::IoT
|
|
|
10625
10643
|
params: params,
|
|
10626
10644
|
config: config)
|
|
10627
10645
|
context[:gem_name] = 'aws-sdk-iot'
|
|
10628
|
-
context[:gem_version] = '1.
|
|
10646
|
+
context[:gem_version] = '1.62.0'
|
|
10629
10647
|
Seahorse::Client::Request.new(handlers, context)
|
|
10630
10648
|
end
|
|
10631
10649
|
|
|
@@ -141,6 +141,7 @@ module Aws::IoT
|
|
|
141
141
|
AwsJobRolloutRatePerMinute = Shapes::IntegerShape.new(name: 'AwsJobRolloutRatePerMinute')
|
|
142
142
|
AwsJobTimeoutConfig = Shapes::StructureShape.new(name: 'AwsJobTimeoutConfig')
|
|
143
143
|
AwsJobTimeoutInProgressTimeoutInMinutes = Shapes::IntegerShape.new(name: 'AwsJobTimeoutInProgressTimeoutInMinutes')
|
|
144
|
+
BatchMode = Shapes::BooleanShape.new(name: 'BatchMode')
|
|
144
145
|
Behavior = Shapes::StructureShape.new(name: 'Behavior')
|
|
145
146
|
BehaviorCriteria = Shapes::StructureShape.new(name: 'BehaviorCriteria')
|
|
146
147
|
BehaviorMetric = Shapes::StringShape.new(name: 'BehaviorMetric')
|
|
@@ -2412,6 +2413,7 @@ module Aws::IoT
|
|
|
2412
2413
|
FirehoseAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
|
|
2413
2414
|
FirehoseAction.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "deliveryStreamName"))
|
|
2414
2415
|
FirehoseAction.add_member(:separator, Shapes::ShapeRef.new(shape: FirehoseSeparator, location_name: "separator"))
|
|
2416
|
+
FirehoseAction.add_member(:batch_mode, Shapes::ShapeRef.new(shape: BatchMode, location_name: "batchMode"))
|
|
2415
2417
|
FirehoseAction.struct_class = Types::FirehoseAction
|
|
2416
2418
|
|
|
2417
2419
|
GetCardinalityRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
|
@@ -2591,11 +2593,13 @@ module Aws::IoT
|
|
|
2591
2593
|
|
|
2592
2594
|
IotAnalyticsAction.add_member(:channel_arn, Shapes::ShapeRef.new(shape: AwsArn, location_name: "channelArn"))
|
|
2593
2595
|
IotAnalyticsAction.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "channelName"))
|
|
2596
|
+
IotAnalyticsAction.add_member(:batch_mode, Shapes::ShapeRef.new(shape: BatchMode, location_name: "batchMode"))
|
|
2594
2597
|
IotAnalyticsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, location_name: "roleArn"))
|
|
2595
2598
|
IotAnalyticsAction.struct_class = Types::IotAnalyticsAction
|
|
2596
2599
|
|
|
2597
2600
|
IotEventsAction.add_member(:input_name, Shapes::ShapeRef.new(shape: InputName, required: true, location_name: "inputName"))
|
|
2598
2601
|
IotEventsAction.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "messageId"))
|
|
2602
|
+
IotEventsAction.add_member(:batch_mode, Shapes::ShapeRef.new(shape: BatchMode, location_name: "batchMode"))
|
|
2599
2603
|
IotEventsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
|
|
2600
2604
|
IotEventsAction.struct_class = Types::IotEventsAction
|
|
2601
2605
|
|
data/lib/aws-sdk-iot/types.rb
CHANGED
|
@@ -161,6 +161,7 @@ module Aws::IoT
|
|
|
161
161
|
# role_arn: "AwsArn", # required
|
|
162
162
|
# delivery_stream_name: "DeliveryStreamName", # required
|
|
163
163
|
# separator: "FirehoseSeparator",
|
|
164
|
+
# batch_mode: false,
|
|
164
165
|
# },
|
|
165
166
|
# cloudwatch_metric: {
|
|
166
167
|
# role_arn: "AwsArn", # required
|
|
@@ -194,11 +195,13 @@ module Aws::IoT
|
|
|
194
195
|
# iot_analytics: {
|
|
195
196
|
# channel_arn: "AwsArn",
|
|
196
197
|
# channel_name: "ChannelName",
|
|
198
|
+
# batch_mode: false,
|
|
197
199
|
# role_arn: "AwsArn",
|
|
198
200
|
# },
|
|
199
201
|
# iot_events: {
|
|
200
202
|
# input_name: "InputName", # required
|
|
201
203
|
# message_id: "MessageId",
|
|
204
|
+
# batch_mode: false,
|
|
202
205
|
# role_arn: "AwsArn", # required
|
|
203
206
|
# },
|
|
204
207
|
# iot_site_wise: {
|
|
@@ -4515,6 +4518,7 @@ module Aws::IoT
|
|
|
4515
4518
|
# role_arn: "AwsArn", # required
|
|
4516
4519
|
# delivery_stream_name: "DeliveryStreamName", # required
|
|
4517
4520
|
# separator: "FirehoseSeparator",
|
|
4521
|
+
# batch_mode: false,
|
|
4518
4522
|
# },
|
|
4519
4523
|
# cloudwatch_metric: {
|
|
4520
4524
|
# role_arn: "AwsArn", # required
|
|
@@ -4548,11 +4552,13 @@ module Aws::IoT
|
|
|
4548
4552
|
# iot_analytics: {
|
|
4549
4553
|
# channel_arn: "AwsArn",
|
|
4550
4554
|
# channel_name: "ChannelName",
|
|
4555
|
+
# batch_mode: false,
|
|
4551
4556
|
# role_arn: "AwsArn",
|
|
4552
4557
|
# },
|
|
4553
4558
|
# iot_events: {
|
|
4554
4559
|
# input_name: "InputName", # required
|
|
4555
4560
|
# message_id: "MessageId",
|
|
4561
|
+
# batch_mode: false,
|
|
4556
4562
|
# role_arn: "AwsArn", # required
|
|
4557
4563
|
# },
|
|
4558
4564
|
# iot_site_wise: {
|
|
@@ -4674,6 +4680,7 @@ module Aws::IoT
|
|
|
4674
4680
|
# role_arn: "AwsArn", # required
|
|
4675
4681
|
# delivery_stream_name: "DeliveryStreamName", # required
|
|
4676
4682
|
# separator: "FirehoseSeparator",
|
|
4683
|
+
# batch_mode: false,
|
|
4677
4684
|
# },
|
|
4678
4685
|
# cloudwatch_metric: {
|
|
4679
4686
|
# role_arn: "AwsArn", # required
|
|
@@ -4707,11 +4714,13 @@ module Aws::IoT
|
|
|
4707
4714
|
# iot_analytics: {
|
|
4708
4715
|
# channel_arn: "AwsArn",
|
|
4709
4716
|
# channel_name: "ChannelName",
|
|
4717
|
+
# batch_mode: false,
|
|
4710
4718
|
# role_arn: "AwsArn",
|
|
4711
4719
|
# },
|
|
4712
4720
|
# iot_events: {
|
|
4713
4721
|
# input_name: "InputName", # required
|
|
4714
4722
|
# message_id: "MessageId",
|
|
4723
|
+
# batch_mode: false,
|
|
4715
4724
|
# role_arn: "AwsArn", # required
|
|
4716
4725
|
# },
|
|
4717
4726
|
# iot_site_wise: {
|
|
@@ -7617,6 +7626,7 @@ module Aws::IoT
|
|
|
7617
7626
|
# role_arn: "AwsArn", # required
|
|
7618
7627
|
# delivery_stream_name: "DeliveryStreamName", # required
|
|
7619
7628
|
# separator: "FirehoseSeparator",
|
|
7629
|
+
# batch_mode: false,
|
|
7620
7630
|
# }
|
|
7621
7631
|
#
|
|
7622
7632
|
# @!attribute [rw] role_arn
|
|
@@ -7634,10 +7644,25 @@ module Aws::IoT
|
|
|
7634
7644
|
# (tab), '\\r\\n' (Windows newline), ',' (comma).
|
|
7635
7645
|
# @return [String]
|
|
7636
7646
|
#
|
|
7647
|
+
# @!attribute [rw] batch_mode
|
|
7648
|
+
# Whether to deliver the Kinesis Data Firehose stream as a batch by
|
|
7649
|
+
# using [ `PutRecordBatch` ][1]. The default value is `false`.
|
|
7650
|
+
#
|
|
7651
|
+
# When `batchMode` is `true` and the rule's SQL statement evaluates
|
|
7652
|
+
# to an Array, each Array element forms one record in the [
|
|
7653
|
+
# `PutRecordBatch` ][1] request. The resulting array can't have more
|
|
7654
|
+
# than 500 records.
|
|
7655
|
+
#
|
|
7656
|
+
#
|
|
7657
|
+
#
|
|
7658
|
+
# [1]: https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html
|
|
7659
|
+
# @return [Boolean]
|
|
7660
|
+
#
|
|
7637
7661
|
class FirehoseAction < Struct.new(
|
|
7638
7662
|
:role_arn,
|
|
7639
7663
|
:delivery_stream_name,
|
|
7640
|
-
:separator
|
|
7664
|
+
:separator,
|
|
7665
|
+
:batch_mode)
|
|
7641
7666
|
SENSITIVE = []
|
|
7642
7667
|
include Aws::Structure
|
|
7643
7668
|
end
|
|
@@ -8482,6 +8507,7 @@ module Aws::IoT
|
|
|
8482
8507
|
# {
|
|
8483
8508
|
# channel_arn: "AwsArn",
|
|
8484
8509
|
# channel_name: "ChannelName",
|
|
8510
|
+
# batch_mode: false,
|
|
8485
8511
|
# role_arn: "AwsArn",
|
|
8486
8512
|
# }
|
|
8487
8513
|
#
|
|
@@ -8495,6 +8521,20 @@ module Aws::IoT
|
|
|
8495
8521
|
# sent.
|
|
8496
8522
|
# @return [String]
|
|
8497
8523
|
#
|
|
8524
|
+
# @!attribute [rw] batch_mode
|
|
8525
|
+
# Whether to process the action as a batch. The default value is
|
|
8526
|
+
# `false`.
|
|
8527
|
+
#
|
|
8528
|
+
# When `batchMode` is `true` and the rule SQL statement evaluates to
|
|
8529
|
+
# an Array, each Array element is delivered as a separate message when
|
|
8530
|
+
# passed by [ `BatchPutMessage` ][1] to the AWS IoT Analytics channel.
|
|
8531
|
+
# The resulting array can't have more than 100 messages.
|
|
8532
|
+
#
|
|
8533
|
+
#
|
|
8534
|
+
#
|
|
8535
|
+
# [1]: https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_BatchPutMessage.html
|
|
8536
|
+
# @return [Boolean]
|
|
8537
|
+
#
|
|
8498
8538
|
# @!attribute [rw] role_arn
|
|
8499
8539
|
# The ARN of the role which has a policy that grants IoT Analytics
|
|
8500
8540
|
# permission to send message data via IoT Analytics
|
|
@@ -8504,6 +8544,7 @@ module Aws::IoT
|
|
|
8504
8544
|
class IotAnalyticsAction < Struct.new(
|
|
8505
8545
|
:channel_arn,
|
|
8506
8546
|
:channel_name,
|
|
8547
|
+
:batch_mode,
|
|
8507
8548
|
:role_arn)
|
|
8508
8549
|
SENSITIVE = []
|
|
8509
8550
|
include Aws::Structure
|
|
@@ -8517,6 +8558,7 @@ module Aws::IoT
|
|
|
8517
8558
|
# {
|
|
8518
8559
|
# input_name: "InputName", # required
|
|
8519
8560
|
# message_id: "MessageId",
|
|
8561
|
+
# batch_mode: false,
|
|
8520
8562
|
# role_arn: "AwsArn", # required
|
|
8521
8563
|
# }
|
|
8522
8564
|
#
|
|
@@ -8525,10 +8567,32 @@ module Aws::IoT
|
|
|
8525
8567
|
# @return [String]
|
|
8526
8568
|
#
|
|
8527
8569
|
# @!attribute [rw] message_id
|
|
8528
|
-
#
|
|
8529
|
-
#
|
|
8570
|
+
# The ID of the message. The default `messageId` is a new UUID value.
|
|
8571
|
+
#
|
|
8572
|
+
# When `batchMode` is `true`, you can't specify a `messageId`--a new
|
|
8573
|
+
# UUID value will be assigned.
|
|
8574
|
+
#
|
|
8575
|
+
# Assign a value to this property to ensure that only one input
|
|
8576
|
+
# (message) with a given `messageId` will be processed by an AWS IoT
|
|
8577
|
+
# Events detector.
|
|
8530
8578
|
# @return [String]
|
|
8531
8579
|
#
|
|
8580
|
+
# @!attribute [rw] batch_mode
|
|
8581
|
+
# Whether to process the event actions as a batch. The default value
|
|
8582
|
+
# is `false`.
|
|
8583
|
+
#
|
|
8584
|
+
# When `batchMode` is `true`, you can't specify a `messageId`.
|
|
8585
|
+
#
|
|
8586
|
+
# When `batchMode` is `true` and the rule SQL statement evaluates to
|
|
8587
|
+
# an Array, each Array element is treated as a separate message when
|
|
8588
|
+
# it's sent to AWS IoT Events by calling [ `BatchPutMessage` ][1].
|
|
8589
|
+
# The resulting array can't have more than 10 messages.
|
|
8590
|
+
#
|
|
8591
|
+
#
|
|
8592
|
+
#
|
|
8593
|
+
# [1]: https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchPutMessage.html
|
|
8594
|
+
# @return [Boolean]
|
|
8595
|
+
#
|
|
8532
8596
|
# @!attribute [rw] role_arn
|
|
8533
8597
|
# The ARN of the role that grants AWS IoT permission to send an input
|
|
8534
8598
|
# to an AWS IoT Events detector.
|
|
@@ -8538,6 +8602,7 @@ module Aws::IoT
|
|
|
8538
8602
|
class IotEventsAction < Struct.new(
|
|
8539
8603
|
:input_name,
|
|
8540
8604
|
:message_id,
|
|
8605
|
+
:batch_mode,
|
|
8541
8606
|
:role_arn)
|
|
8542
8607
|
SENSITIVE = []
|
|
8543
8608
|
include Aws::Structure
|
|
@@ -13100,6 +13165,7 @@ module Aws::IoT
|
|
|
13100
13165
|
# role_arn: "AwsArn", # required
|
|
13101
13166
|
# delivery_stream_name: "DeliveryStreamName", # required
|
|
13102
13167
|
# separator: "FirehoseSeparator",
|
|
13168
|
+
# batch_mode: false,
|
|
13103
13169
|
# },
|
|
13104
13170
|
# cloudwatch_metric: {
|
|
13105
13171
|
# role_arn: "AwsArn", # required
|
|
@@ -13133,11 +13199,13 @@ module Aws::IoT
|
|
|
13133
13199
|
# iot_analytics: {
|
|
13134
13200
|
# channel_arn: "AwsArn",
|
|
13135
13201
|
# channel_name: "ChannelName",
|
|
13202
|
+
# batch_mode: false,
|
|
13136
13203
|
# role_arn: "AwsArn",
|
|
13137
13204
|
# },
|
|
13138
13205
|
# iot_events: {
|
|
13139
13206
|
# input_name: "InputName", # required
|
|
13140
13207
|
# message_id: "MessageId",
|
|
13208
|
+
# batch_mode: false,
|
|
13141
13209
|
# role_arn: "AwsArn", # required
|
|
13142
13210
|
# },
|
|
13143
13211
|
# iot_site_wise: {
|
|
@@ -13259,6 +13327,7 @@ module Aws::IoT
|
|
|
13259
13327
|
# role_arn: "AwsArn", # required
|
|
13260
13328
|
# delivery_stream_name: "DeliveryStreamName", # required
|
|
13261
13329
|
# separator: "FirehoseSeparator",
|
|
13330
|
+
# batch_mode: false,
|
|
13262
13331
|
# },
|
|
13263
13332
|
# cloudwatch_metric: {
|
|
13264
13333
|
# role_arn: "AwsArn", # required
|
|
@@ -13292,11 +13361,13 @@ module Aws::IoT
|
|
|
13292
13361
|
# iot_analytics: {
|
|
13293
13362
|
# channel_arn: "AwsArn",
|
|
13294
13363
|
# channel_name: "ChannelName",
|
|
13364
|
+
# batch_mode: false,
|
|
13295
13365
|
# role_arn: "AwsArn",
|
|
13296
13366
|
# },
|
|
13297
13367
|
# iot_events: {
|
|
13298
13368
|
# input_name: "InputName", # required
|
|
13299
13369
|
# message_id: "MessageId",
|
|
13370
|
+
# batch_mode: false,
|
|
13300
13371
|
# role_arn: "AwsArn", # required
|
|
13301
13372
|
# },
|
|
13302
13373
|
# iot_site_wise: {
|
|
@@ -13586,7 +13657,12 @@ module Aws::IoT
|
|
|
13586
13657
|
# @return [String]
|
|
13587
13658
|
#
|
|
13588
13659
|
# @!attribute [rw] key
|
|
13589
|
-
# The object key.
|
|
13660
|
+
# The object key. For more information, see [Actions, resources, and
|
|
13661
|
+
# condition keys for Amazon S3][1].
|
|
13662
|
+
#
|
|
13663
|
+
#
|
|
13664
|
+
#
|
|
13665
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html
|
|
13590
13666
|
# @return [String]
|
|
13591
13667
|
#
|
|
13592
13668
|
# @!attribute [rw] canned_acl
|
|
@@ -14010,7 +14086,11 @@ module Aws::IoT
|
|
|
14010
14086
|
include Aws::Structure
|
|
14011
14087
|
end
|
|
14012
14088
|
|
|
14013
|
-
#
|
|
14089
|
+
# For more information, see [Signature Version 4 signing process][1].
|
|
14090
|
+
#
|
|
14091
|
+
#
|
|
14092
|
+
#
|
|
14093
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
|
14014
14094
|
#
|
|
14015
14095
|
# @note When making an API call, you may pass SigV4Authorization
|
|
14016
14096
|
# data as a hash:
|
|
@@ -15748,6 +15828,7 @@ module Aws::IoT
|
|
|
15748
15828
|
# role_arn: "AwsArn", # required
|
|
15749
15829
|
# delivery_stream_name: "DeliveryStreamName", # required
|
|
15750
15830
|
# separator: "FirehoseSeparator",
|
|
15831
|
+
# batch_mode: false,
|
|
15751
15832
|
# },
|
|
15752
15833
|
# cloudwatch_metric: {
|
|
15753
15834
|
# role_arn: "AwsArn", # required
|
|
@@ -15781,11 +15862,13 @@ module Aws::IoT
|
|
|
15781
15862
|
# iot_analytics: {
|
|
15782
15863
|
# channel_arn: "AwsArn",
|
|
15783
15864
|
# channel_name: "ChannelName",
|
|
15865
|
+
# batch_mode: false,
|
|
15784
15866
|
# role_arn: "AwsArn",
|
|
15785
15867
|
# },
|
|
15786
15868
|
# iot_events: {
|
|
15787
15869
|
# input_name: "InputName", # required
|
|
15788
15870
|
# message_id: "MessageId",
|
|
15871
|
+
# batch_mode: false,
|
|
15789
15872
|
# role_arn: "AwsArn", # required
|
|
15790
15873
|
# },
|
|
15791
15874
|
# iot_site_wise: {
|
|
@@ -15907,6 +15990,7 @@ module Aws::IoT
|
|
|
15907
15990
|
# role_arn: "AwsArn", # required
|
|
15908
15991
|
# delivery_stream_name: "DeliveryStreamName", # required
|
|
15909
15992
|
# separator: "FirehoseSeparator",
|
|
15993
|
+
# batch_mode: false,
|
|
15910
15994
|
# },
|
|
15911
15995
|
# cloudwatch_metric: {
|
|
15912
15996
|
# role_arn: "AwsArn", # required
|
|
@@ -15940,11 +16024,13 @@ module Aws::IoT
|
|
|
15940
16024
|
# iot_analytics: {
|
|
15941
16025
|
# channel_arn: "AwsArn",
|
|
15942
16026
|
# channel_name: "ChannelName",
|
|
16027
|
+
# batch_mode: false,
|
|
15943
16028
|
# role_arn: "AwsArn",
|
|
15944
16029
|
# },
|
|
15945
16030
|
# iot_events: {
|
|
15946
16031
|
# input_name: "InputName", # required
|
|
15947
16032
|
# message_id: "MessageId",
|
|
16033
|
+
# batch_mode: false,
|
|
15948
16034
|
# role_arn: "AwsArn", # required
|
|
15949
16035
|
# },
|
|
15950
16036
|
# iot_site_wise: {
|
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.62.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-11-
|
|
11
|
+
date: 2020-11-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|