aws-sdk-iot 1.20.0 → 1.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iot.rb +1 -1
- data/lib/aws-sdk-iot/client.rb +27 -1
- data/lib/aws-sdk-iot/client_api.rb +9 -0
- data/lib/aws-sdk-iot/types.rb +73 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 995604d0980fd972d76694880759869e03f2ad5c
|
4
|
+
data.tar.gz: 560f5e82155c37c0e1736fdb67f1b6fdc56b8c81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb7904ee5869ffb1da03805406dc04ef8a617ba2a8c9b4faab52d23468eb1565621f44f02f5168a561f372a229af41ef7b8fdcb5bd624930c13e52aa4037577e
|
7
|
+
data.tar.gz: 70ba997c7c903f711e2168ce361173cd1e98353f75387851ee996d7b2fcf958f9a0cfb6c8708d188768a49d957f0595dede5d544ec6f3d8af5f580507dfb0952
|
data/lib/aws-sdk-iot.rb
CHANGED
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -1756,6 +1756,11 @@ module Aws::IoT
|
|
1756
1756
|
# channel_name: "ChannelName",
|
1757
1757
|
# role_arn: "AwsArn",
|
1758
1758
|
# },
|
1759
|
+
# iot_events: {
|
1760
|
+
# input_name: "InputName", # required
|
1761
|
+
# message_id: "MessageId",
|
1762
|
+
# role_arn: "AwsArn", # required
|
1763
|
+
# },
|
1759
1764
|
# step_functions: {
|
1760
1765
|
# execution_name_prefix: "ExecutionNamePrefix",
|
1761
1766
|
# state_machine_name: "StateMachineName", # required
|
@@ -1847,6 +1852,11 @@ module Aws::IoT
|
|
1847
1852
|
# channel_name: "ChannelName",
|
1848
1853
|
# role_arn: "AwsArn",
|
1849
1854
|
# },
|
1855
|
+
# iot_events: {
|
1856
|
+
# input_name: "InputName", # required
|
1857
|
+
# message_id: "MessageId",
|
1858
|
+
# role_arn: "AwsArn", # required
|
1859
|
+
# },
|
1850
1860
|
# step_functions: {
|
1851
1861
|
# execution_name_prefix: "ExecutionNamePrefix",
|
1852
1862
|
# state_machine_name: "StateMachineName", # required
|
@@ -3731,6 +3741,9 @@ module Aws::IoT
|
|
3731
3741
|
# resp.rule.actions[0].iot_analytics.channel_arn #=> String
|
3732
3742
|
# resp.rule.actions[0].iot_analytics.channel_name #=> String
|
3733
3743
|
# resp.rule.actions[0].iot_analytics.role_arn #=> String
|
3744
|
+
# resp.rule.actions[0].iot_events.input_name #=> String
|
3745
|
+
# resp.rule.actions[0].iot_events.message_id #=> String
|
3746
|
+
# resp.rule.actions[0].iot_events.role_arn #=> String
|
3734
3747
|
# resp.rule.actions[0].step_functions.execution_name_prefix #=> String
|
3735
3748
|
# resp.rule.actions[0].step_functions.state_machine_name #=> String
|
3736
3749
|
# resp.rule.actions[0].step_functions.role_arn #=> String
|
@@ -3787,6 +3800,9 @@ module Aws::IoT
|
|
3787
3800
|
# resp.rule.error_action.iot_analytics.channel_arn #=> String
|
3788
3801
|
# resp.rule.error_action.iot_analytics.channel_name #=> String
|
3789
3802
|
# resp.rule.error_action.iot_analytics.role_arn #=> String
|
3803
|
+
# resp.rule.error_action.iot_events.input_name #=> String
|
3804
|
+
# resp.rule.error_action.iot_events.message_id #=> String
|
3805
|
+
# resp.rule.error_action.iot_events.role_arn #=> String
|
3790
3806
|
# resp.rule.error_action.step_functions.execution_name_prefix #=> String
|
3791
3807
|
# resp.rule.error_action.step_functions.state_machine_name #=> String
|
3792
3808
|
# resp.rule.error_action.step_functions.role_arn #=> String
|
@@ -5946,6 +5962,11 @@ module Aws::IoT
|
|
5946
5962
|
# channel_name: "ChannelName",
|
5947
5963
|
# role_arn: "AwsArn",
|
5948
5964
|
# },
|
5965
|
+
# iot_events: {
|
5966
|
+
# input_name: "InputName", # required
|
5967
|
+
# message_id: "MessageId",
|
5968
|
+
# role_arn: "AwsArn", # required
|
5969
|
+
# },
|
5949
5970
|
# step_functions: {
|
5950
5971
|
# execution_name_prefix: "ExecutionNamePrefix",
|
5951
5972
|
# state_machine_name: "StateMachineName", # required
|
@@ -6037,6 +6058,11 @@ module Aws::IoT
|
|
6037
6058
|
# channel_name: "ChannelName",
|
6038
6059
|
# role_arn: "AwsArn",
|
6039
6060
|
# },
|
6061
|
+
# iot_events: {
|
6062
|
+
# input_name: "InputName", # required
|
6063
|
+
# message_id: "MessageId",
|
6064
|
+
# role_arn: "AwsArn", # required
|
6065
|
+
# },
|
6040
6066
|
# step_functions: {
|
6041
6067
|
# execution_name_prefix: "ExecutionNamePrefix",
|
6042
6068
|
# state_machine_name: "StateMachineName", # required
|
@@ -7390,7 +7416,7 @@ module Aws::IoT
|
|
7390
7416
|
params: params,
|
7391
7417
|
config: config)
|
7392
7418
|
context[:gem_name] = 'aws-sdk-iot'
|
7393
|
-
context[:gem_version] = '1.
|
7419
|
+
context[:gem_version] = '1.21.0'
|
7394
7420
|
Seahorse::Client::Request.new(handlers, context)
|
7395
7421
|
end
|
7396
7422
|
|
@@ -364,6 +364,7 @@ module Aws::IoT
|
|
364
364
|
IndexSchema = Shapes::StringShape.new(name: 'IndexSchema')
|
365
365
|
IndexStatus = Shapes::StringShape.new(name: 'IndexStatus')
|
366
366
|
InlineDocument = Shapes::StringShape.new(name: 'InlineDocument')
|
367
|
+
InputName = Shapes::StringShape.new(name: 'InputName')
|
367
368
|
InternalException = Shapes::StructureShape.new(name: 'InternalException')
|
368
369
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
369
370
|
InvalidQueryException = Shapes::StructureShape.new(name: 'InvalidQueryException')
|
@@ -371,6 +372,7 @@ module Aws::IoT
|
|
371
372
|
InvalidResponseException = Shapes::StructureShape.new(name: 'InvalidResponseException')
|
372
373
|
InvalidStateTransitionException = Shapes::StructureShape.new(name: 'InvalidStateTransitionException')
|
373
374
|
IotAnalyticsAction = Shapes::StructureShape.new(name: 'IotAnalyticsAction')
|
375
|
+
IotEventsAction = Shapes::StructureShape.new(name: 'IotEventsAction')
|
374
376
|
IsAuthenticated = Shapes::BooleanShape.new(name: 'IsAuthenticated')
|
375
377
|
IsDefaultVersion = Shapes::BooleanShape.new(name: 'IsDefaultVersion')
|
376
378
|
IsDisabled = Shapes::BooleanShape.new(name: 'IsDisabled')
|
@@ -499,6 +501,7 @@ module Aws::IoT
|
|
499
501
|
MaximumPerMinute = Shapes::IntegerShape.new(name: 'MaximumPerMinute')
|
500
502
|
Message = Shapes::StringShape.new(name: 'Message')
|
501
503
|
MessageFormat = Shapes::StringShape.new(name: 'MessageFormat')
|
504
|
+
MessageId = Shapes::StringShape.new(name: 'MessageId')
|
502
505
|
MetricValue = Shapes::StructureShape.new(name: 'MetricValue')
|
503
506
|
MinimumNumberOfExecutedThings = Shapes::IntegerShape.new(name: 'MinimumNumberOfExecutedThings')
|
504
507
|
MissingContextValue = Shapes::StringShape.new(name: 'MissingContextValue')
|
@@ -847,6 +850,7 @@ module Aws::IoT
|
|
847
850
|
Action.add_member(:elasticsearch, Shapes::ShapeRef.new(shape: ElasticsearchAction, location_name: "elasticsearch"))
|
848
851
|
Action.add_member(:salesforce, Shapes::ShapeRef.new(shape: SalesforceAction, location_name: "salesforce"))
|
849
852
|
Action.add_member(:iot_analytics, Shapes::ShapeRef.new(shape: IotAnalyticsAction, location_name: "iotAnalytics"))
|
853
|
+
Action.add_member(:iot_events, Shapes::ShapeRef.new(shape: IotEventsAction, location_name: "iotEvents"))
|
850
854
|
Action.add_member(:step_functions, Shapes::ShapeRef.new(shape: StepFunctionsAction, location_name: "stepFunctions"))
|
851
855
|
Action.struct_class = Types::Action
|
852
856
|
|
@@ -1809,6 +1813,11 @@ module Aws::IoT
|
|
1809
1813
|
IotAnalyticsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, location_name: "roleArn"))
|
1810
1814
|
IotAnalyticsAction.struct_class = Types::IotAnalyticsAction
|
1811
1815
|
|
1816
|
+
IotEventsAction.add_member(:input_name, Shapes::ShapeRef.new(shape: InputName, required: true, location_name: "inputName"))
|
1817
|
+
IotEventsAction.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "messageId"))
|
1818
|
+
IotEventsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
|
1819
|
+
IotEventsAction.struct_class = Types::IotEventsAction
|
1820
|
+
|
1812
1821
|
Job.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
|
1813
1822
|
Job.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
1814
1823
|
Job.add_member(:target_selection, Shapes::ShapeRef.new(shape: TargetSelection, location_name: "targetSelection"))
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -186,6 +186,11 @@ module Aws::IoT
|
|
186
186
|
# channel_name: "ChannelName",
|
187
187
|
# role_arn: "AwsArn",
|
188
188
|
# },
|
189
|
+
# iot_events: {
|
190
|
+
# input_name: "InputName", # required
|
191
|
+
# message_id: "MessageId",
|
192
|
+
# role_arn: "AwsArn", # required
|
193
|
+
# },
|
189
194
|
# step_functions: {
|
190
195
|
# execution_name_prefix: "ExecutionNamePrefix",
|
191
196
|
# state_machine_name: "StateMachineName", # required
|
@@ -251,6 +256,10 @@ module Aws::IoT
|
|
251
256
|
# Sends message data to an AWS IoT Analytics channel.
|
252
257
|
# @return [Types::IotAnalyticsAction]
|
253
258
|
#
|
259
|
+
# @!attribute [rw] iot_events
|
260
|
+
# Sends an input to an AWS IoT Events detector.
|
261
|
+
# @return [Types::IotEventsAction]
|
262
|
+
#
|
254
263
|
# @!attribute [rw] step_functions
|
255
264
|
# Starts execution of a Step Functions state machine.
|
256
265
|
# @return [Types::StepFunctionsAction]
|
@@ -270,6 +279,7 @@ module Aws::IoT
|
|
270
279
|
:elasticsearch,
|
271
280
|
:salesforce,
|
272
281
|
:iot_analytics,
|
282
|
+
:iot_events,
|
273
283
|
:step_functions)
|
274
284
|
include Aws::Structure
|
275
285
|
end
|
@@ -2875,6 +2885,11 @@ module Aws::IoT
|
|
2875
2885
|
# channel_name: "ChannelName",
|
2876
2886
|
# role_arn: "AwsArn",
|
2877
2887
|
# },
|
2888
|
+
# iot_events: {
|
2889
|
+
# input_name: "InputName", # required
|
2890
|
+
# message_id: "MessageId",
|
2891
|
+
# role_arn: "AwsArn", # required
|
2892
|
+
# },
|
2878
2893
|
# step_functions: {
|
2879
2894
|
# execution_name_prefix: "ExecutionNamePrefix",
|
2880
2895
|
# state_machine_name: "StateMachineName", # required
|
@@ -2966,6 +2981,11 @@ module Aws::IoT
|
|
2966
2981
|
# channel_name: "ChannelName",
|
2967
2982
|
# role_arn: "AwsArn",
|
2968
2983
|
# },
|
2984
|
+
# iot_events: {
|
2985
|
+
# input_name: "InputName", # required
|
2986
|
+
# message_id: "MessageId",
|
2987
|
+
# role_arn: "AwsArn", # required
|
2988
|
+
# },
|
2969
2989
|
# step_functions: {
|
2970
2990
|
# execution_name_prefix: "ExecutionNamePrefix",
|
2971
2991
|
# state_machine_name: "StateMachineName", # required
|
@@ -5334,6 +5354,39 @@ module Aws::IoT
|
|
5334
5354
|
include Aws::Structure
|
5335
5355
|
end
|
5336
5356
|
|
5357
|
+
# Sends an input to an AWS IoT Events detector.
|
5358
|
+
#
|
5359
|
+
# @note When making an API call, you may pass IotEventsAction
|
5360
|
+
# data as a hash:
|
5361
|
+
#
|
5362
|
+
# {
|
5363
|
+
# input_name: "InputName", # required
|
5364
|
+
# message_id: "MessageId",
|
5365
|
+
# role_arn: "AwsArn", # required
|
5366
|
+
# }
|
5367
|
+
#
|
5368
|
+
# @!attribute [rw] input_name
|
5369
|
+
# The name of the AWS IoT Events input.
|
5370
|
+
# @return [String]
|
5371
|
+
#
|
5372
|
+
# @!attribute [rw] message_id
|
5373
|
+
# \[Optional\] Use this to ensure that only one input (message) with a
|
5374
|
+
# given messageId will be processed by an AWS IoT Events detector.
|
5375
|
+
# @return [String]
|
5376
|
+
#
|
5377
|
+
# @!attribute [rw] role_arn
|
5378
|
+
# The ARN of the role that grants AWS IoT permission to send an input
|
5379
|
+
# to an AWS IoT Events detector.
|
5380
|
+
# ("Action":"iotevents:BatchPutMessage").
|
5381
|
+
# @return [String]
|
5382
|
+
#
|
5383
|
+
class IotEventsAction < Struct.new(
|
5384
|
+
:input_name,
|
5385
|
+
:message_id,
|
5386
|
+
:role_arn)
|
5387
|
+
include Aws::Structure
|
5388
|
+
end
|
5389
|
+
|
5337
5390
|
# The `Job` object contains details about a job.
|
5338
5391
|
#
|
5339
5392
|
# @!attribute [rw] job_arn
|
@@ -8617,6 +8670,11 @@ module Aws::IoT
|
|
8617
8670
|
# channel_name: "ChannelName",
|
8618
8671
|
# role_arn: "AwsArn",
|
8619
8672
|
# },
|
8673
|
+
# iot_events: {
|
8674
|
+
# input_name: "InputName", # required
|
8675
|
+
# message_id: "MessageId",
|
8676
|
+
# role_arn: "AwsArn", # required
|
8677
|
+
# },
|
8620
8678
|
# step_functions: {
|
8621
8679
|
# execution_name_prefix: "ExecutionNamePrefix",
|
8622
8680
|
# state_machine_name: "StateMachineName", # required
|
@@ -8708,6 +8766,11 @@ module Aws::IoT
|
|
8708
8766
|
# channel_name: "ChannelName",
|
8709
8767
|
# role_arn: "AwsArn",
|
8710
8768
|
# },
|
8769
|
+
# iot_events: {
|
8770
|
+
# input_name: "InputName", # required
|
8771
|
+
# message_id: "MessageId",
|
8772
|
+
# role_arn: "AwsArn", # required
|
8773
|
+
# },
|
8711
8774
|
# step_functions: {
|
8712
8775
|
# execution_name_prefix: "ExecutionNamePrefix",
|
8713
8776
|
# state_machine_name: "StateMachineName", # required
|
@@ -10364,6 +10427,11 @@ module Aws::IoT
|
|
10364
10427
|
# channel_name: "ChannelName",
|
10365
10428
|
# role_arn: "AwsArn",
|
10366
10429
|
# },
|
10430
|
+
# iot_events: {
|
10431
|
+
# input_name: "InputName", # required
|
10432
|
+
# message_id: "MessageId",
|
10433
|
+
# role_arn: "AwsArn", # required
|
10434
|
+
# },
|
10367
10435
|
# step_functions: {
|
10368
10436
|
# execution_name_prefix: "ExecutionNamePrefix",
|
10369
10437
|
# state_machine_name: "StateMachineName", # required
|
@@ -10455,6 +10523,11 @@ module Aws::IoT
|
|
10455
10523
|
# channel_name: "ChannelName",
|
10456
10524
|
# role_arn: "AwsArn",
|
10457
10525
|
# },
|
10526
|
+
# iot_events: {
|
10527
|
+
# input_name: "InputName", # required
|
10528
|
+
# message_id: "MessageId",
|
10529
|
+
# role_arn: "AwsArn", # required
|
10530
|
+
# },
|
10458
10531
|
# step_functions: {
|
10459
10532
|
# execution_name_prefix: "ExecutionNamePrefix",
|
10460
10533
|
# state_machine_name: "StateMachineName", # required
|
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.21.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: 2018-11-
|
11
|
+
date: 2018-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|