aws-sdk-iot 1.74.0 → 1.75.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +39 -1
- data/lib/aws-sdk-iot/client_api.rb +9 -0
- data/lib/aws-sdk-iot/types.rb +118 -2
- data/lib/aws-sdk-iot.rb +1 -1
- 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: 777563bcee47aa617cefbd8f7453e813f6ca0b35f2a77e7854e27456a7a377dc
|
4
|
+
data.tar.gz: 363748251c5a7b07da78a6e78a2efee5a2a194b94e60fa16475c903320a8b412
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63d8281c51e6f14b7a62615c038140ecf219a50937b5b4cc9739861f714d99584b38be7a40563b52a29492a9cbd3f295f7615b6ef0660d9559acd0a14f34a00b
|
7
|
+
data.tar.gz: 7126c9ad606ac911cc0ad2f0ba8edb43800f1c39aa3860ad434978c632786fe2940c9b4fa3ea0d3c312ee59ff7eff9789a0a73bb1abc1c10f50fe07bba211061
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.75.0 (2021-09-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS IoT Rules Engine adds OpenSearch action. The OpenSearch rule action lets you stream data from IoT sensors and applications to Amazon OpenSearch Service which is a successor to Amazon Elasticsearch Service.
|
8
|
+
|
4
9
|
1.74.0 (2021-09-01)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.75.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -3203,6 +3203,13 @@ module Aws::IoT
|
|
3203
3203
|
# "String" => "String",
|
3204
3204
|
# },
|
3205
3205
|
# },
|
3206
|
+
# open_search: {
|
3207
|
+
# role_arn: "AwsArn", # required
|
3208
|
+
# endpoint: "ElasticsearchEndpoint", # required
|
3209
|
+
# index: "ElasticsearchIndex", # required
|
3210
|
+
# type: "ElasticsearchType", # required
|
3211
|
+
# id: "ElasticsearchId", # required
|
3212
|
+
# },
|
3206
3213
|
# },
|
3207
3214
|
# ],
|
3208
3215
|
# rule_disabled: false,
|
@@ -3374,6 +3381,13 @@ module Aws::IoT
|
|
3374
3381
|
# "String" => "String",
|
3375
3382
|
# },
|
3376
3383
|
# },
|
3384
|
+
# open_search: {
|
3385
|
+
# role_arn: "AwsArn", # required
|
3386
|
+
# endpoint: "ElasticsearchEndpoint", # required
|
3387
|
+
# index: "ElasticsearchIndex", # required
|
3388
|
+
# type: "ElasticsearchType", # required
|
3389
|
+
# id: "ElasticsearchId", # required
|
3390
|
+
# },
|
3377
3391
|
# },
|
3378
3392
|
# },
|
3379
3393
|
# tags: "String",
|
@@ -7034,6 +7048,11 @@ module Aws::IoT
|
|
7034
7048
|
# resp.rule.actions[0].kafka.partition #=> String
|
7035
7049
|
# resp.rule.actions[0].kafka.client_properties #=> Hash
|
7036
7050
|
# resp.rule.actions[0].kafka.client_properties["String"] #=> String
|
7051
|
+
# resp.rule.actions[0].open_search.role_arn #=> String
|
7052
|
+
# resp.rule.actions[0].open_search.endpoint #=> String
|
7053
|
+
# resp.rule.actions[0].open_search.index #=> String
|
7054
|
+
# resp.rule.actions[0].open_search.type #=> String
|
7055
|
+
# resp.rule.actions[0].open_search.id #=> String
|
7037
7056
|
# resp.rule.rule_disabled #=> Boolean
|
7038
7057
|
# resp.rule.aws_iot_sql_version #=> String
|
7039
7058
|
# resp.rule.error_action.dynamo_db.table_name #=> String
|
@@ -7135,6 +7154,11 @@ module Aws::IoT
|
|
7135
7154
|
# resp.rule.error_action.kafka.partition #=> String
|
7136
7155
|
# resp.rule.error_action.kafka.client_properties #=> Hash
|
7137
7156
|
# resp.rule.error_action.kafka.client_properties["String"] #=> String
|
7157
|
+
# resp.rule.error_action.open_search.role_arn #=> String
|
7158
|
+
# resp.rule.error_action.open_search.endpoint #=> String
|
7159
|
+
# resp.rule.error_action.open_search.index #=> String
|
7160
|
+
# resp.rule.error_action.open_search.type #=> String
|
7161
|
+
# resp.rule.error_action.open_search.id #=> String
|
7138
7162
|
#
|
7139
7163
|
# @overload get_topic_rule(params = {})
|
7140
7164
|
# @param [Hash] params ({})
|
@@ -10822,6 +10846,13 @@ module Aws::IoT
|
|
10822
10846
|
# "String" => "String",
|
10823
10847
|
# },
|
10824
10848
|
# },
|
10849
|
+
# open_search: {
|
10850
|
+
# role_arn: "AwsArn", # required
|
10851
|
+
# endpoint: "ElasticsearchEndpoint", # required
|
10852
|
+
# index: "ElasticsearchIndex", # required
|
10853
|
+
# type: "ElasticsearchType", # required
|
10854
|
+
# id: "ElasticsearchId", # required
|
10855
|
+
# },
|
10825
10856
|
# },
|
10826
10857
|
# ],
|
10827
10858
|
# rule_disabled: false,
|
@@ -10993,6 +11024,13 @@ module Aws::IoT
|
|
10993
11024
|
# "String" => "String",
|
10994
11025
|
# },
|
10995
11026
|
# },
|
11027
|
+
# open_search: {
|
11028
|
+
# role_arn: "AwsArn", # required
|
11029
|
+
# endpoint: "ElasticsearchEndpoint", # required
|
11030
|
+
# index: "ElasticsearchIndex", # required
|
11031
|
+
# type: "ElasticsearchType", # required
|
11032
|
+
# id: "ElasticsearchId", # required
|
11033
|
+
# },
|
10996
11034
|
# },
|
10997
11035
|
# },
|
10998
11036
|
# })
|
@@ -13290,7 +13328,7 @@ module Aws::IoT
|
|
13290
13328
|
params: params,
|
13291
13329
|
config: config)
|
13292
13330
|
context[:gem_name] = 'aws-sdk-iot'
|
13293
|
-
context[:gem_version] = '1.
|
13331
|
+
context[:gem_version] = '1.75.0'
|
13294
13332
|
Seahorse::Client::Request.new(handlers, context)
|
13295
13333
|
end
|
13296
13334
|
|
@@ -816,6 +816,7 @@ module Aws::IoT
|
|
816
816
|
OTAUpdateStatus = Shapes::StringShape.new(name: 'OTAUpdateStatus')
|
817
817
|
OTAUpdateSummary = Shapes::StructureShape.new(name: 'OTAUpdateSummary')
|
818
818
|
OTAUpdatesSummary = Shapes::ListShape.new(name: 'OTAUpdatesSummary')
|
819
|
+
OpenSearchAction = Shapes::StructureShape.new(name: 'OpenSearchAction')
|
819
820
|
OptionalVersion = Shapes::IntegerShape.new(name: 'OptionalVersion')
|
820
821
|
OutgoingCertificate = Shapes::StructureShape.new(name: 'OutgoingCertificate')
|
821
822
|
OutgoingCertificates = Shapes::ListShape.new(name: 'OutgoingCertificates')
|
@@ -1262,6 +1263,7 @@ module Aws::IoT
|
|
1262
1263
|
Action.add_member(:timestream, Shapes::ShapeRef.new(shape: TimestreamAction, location_name: "timestream"))
|
1263
1264
|
Action.add_member(:http, Shapes::ShapeRef.new(shape: HttpAction, location_name: "http"))
|
1264
1265
|
Action.add_member(:kafka, Shapes::ShapeRef.new(shape: KafkaAction, location_name: "kafka"))
|
1266
|
+
Action.add_member(:open_search, Shapes::ShapeRef.new(shape: OpenSearchAction, location_name: "openSearch"))
|
1265
1267
|
Action.struct_class = Types::Action
|
1266
1268
|
|
1267
1269
|
ActionList.member = Shapes::ShapeRef.new(shape: Action)
|
@@ -3684,6 +3686,13 @@ module Aws::IoT
|
|
3684
3686
|
|
3685
3687
|
OTAUpdatesSummary.member = Shapes::ShapeRef.new(shape: OTAUpdateSummary)
|
3686
3688
|
|
3689
|
+
OpenSearchAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
|
3690
|
+
OpenSearchAction.add_member(:endpoint, Shapes::ShapeRef.new(shape: ElasticsearchEndpoint, required: true, location_name: "endpoint"))
|
3691
|
+
OpenSearchAction.add_member(:index, Shapes::ShapeRef.new(shape: ElasticsearchIndex, required: true, location_name: "index"))
|
3692
|
+
OpenSearchAction.add_member(:type, Shapes::ShapeRef.new(shape: ElasticsearchType, required: true, location_name: "type"))
|
3693
|
+
OpenSearchAction.add_member(:id, Shapes::ShapeRef.new(shape: ElasticsearchId, required: true, location_name: "id"))
|
3694
|
+
OpenSearchAction.struct_class = Types::OpenSearchAction
|
3695
|
+
|
3687
3696
|
OutgoingCertificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
|
3688
3697
|
OutgoingCertificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
|
3689
3698
|
OutgoingCertificate.add_member(:transferred_to, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "transferredTo"))
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -276,6 +276,13 @@ module Aws::IoT
|
|
276
276
|
# "String" => "String",
|
277
277
|
# },
|
278
278
|
# },
|
279
|
+
# open_search: {
|
280
|
+
# role_arn: "AwsArn", # required
|
281
|
+
# endpoint: "ElasticsearchEndpoint", # required
|
282
|
+
# index: "ElasticsearchIndex", # required
|
283
|
+
# type: "ElasticsearchType", # required
|
284
|
+
# id: "ElasticsearchId", # required
|
285
|
+
# },
|
279
286
|
# }
|
280
287
|
#
|
281
288
|
# @!attribute [rw] dynamo_db
|
@@ -330,6 +337,14 @@ module Aws::IoT
|
|
330
337
|
#
|
331
338
|
# @!attribute [rw] elasticsearch
|
332
339
|
# Write data to an Amazon Elasticsearch Service domain.
|
340
|
+
#
|
341
|
+
# <note markdown="1"> This action is deprecated. Use the [OpenSearch action][1] instead.
|
342
|
+
#
|
343
|
+
# </note>
|
344
|
+
#
|
345
|
+
#
|
346
|
+
#
|
347
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_OpenSearchAction.html
|
333
348
|
# @return [Types::ElasticsearchAction]
|
334
349
|
#
|
335
350
|
# @!attribute [rw] salesforce
|
@@ -372,6 +387,10 @@ module Aws::IoT
|
|
372
387
|
# (Amazon MSK) or self-managed Apache Kafka cluster.
|
373
388
|
# @return [Types::KafkaAction]
|
374
389
|
#
|
390
|
+
# @!attribute [rw] open_search
|
391
|
+
# Write data to an Amazon OpenSearch Service domain.
|
392
|
+
# @return [Types::OpenSearchAction]
|
393
|
+
#
|
375
394
|
class Action < Struct.new(
|
376
395
|
:dynamo_db,
|
377
396
|
:dynamo_d_bv_2,
|
@@ -393,7 +412,8 @@ module Aws::IoT
|
|
393
412
|
:step_functions,
|
394
413
|
:timestream,
|
395
414
|
:http,
|
396
|
-
:kafka
|
415
|
+
:kafka,
|
416
|
+
:open_search)
|
397
417
|
SENSITIVE = []
|
398
418
|
include Aws::Structure
|
399
419
|
end
|
@@ -5168,6 +5188,13 @@ module Aws::IoT
|
|
5168
5188
|
# "String" => "String",
|
5169
5189
|
# },
|
5170
5190
|
# },
|
5191
|
+
# open_search: {
|
5192
|
+
# role_arn: "AwsArn", # required
|
5193
|
+
# endpoint: "ElasticsearchEndpoint", # required
|
5194
|
+
# index: "ElasticsearchIndex", # required
|
5195
|
+
# type: "ElasticsearchType", # required
|
5196
|
+
# id: "ElasticsearchId", # required
|
5197
|
+
# },
|
5171
5198
|
# },
|
5172
5199
|
# ],
|
5173
5200
|
# rule_disabled: false,
|
@@ -5339,6 +5366,13 @@ module Aws::IoT
|
|
5339
5366
|
# "String" => "String",
|
5340
5367
|
# },
|
5341
5368
|
# },
|
5369
|
+
# open_search: {
|
5370
|
+
# role_arn: "AwsArn", # required
|
5371
|
+
# endpoint: "ElasticsearchEndpoint", # required
|
5372
|
+
# index: "ElasticsearchIndex", # required
|
5373
|
+
# type: "ElasticsearchType", # required
|
5374
|
+
# id: "ElasticsearchId", # required
|
5375
|
+
# },
|
5342
5376
|
# },
|
5343
5377
|
# },
|
5344
5378
|
# tags: "String",
|
@@ -8430,6 +8464,14 @@ module Aws::IoT
|
|
8430
8464
|
# Describes an action that writes data to an Amazon Elasticsearch
|
8431
8465
|
# Service domain.
|
8432
8466
|
#
|
8467
|
+
# <note markdown="1"> This action is deprecated. Use the [OpenSearch action][1] instead.
|
8468
|
+
#
|
8469
|
+
# </note>
|
8470
|
+
#
|
8471
|
+
#
|
8472
|
+
#
|
8473
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_OpenSearchAction.html
|
8474
|
+
#
|
8433
8475
|
# @note When making an API call, you may pass ElasticsearchAction
|
8434
8476
|
# data as a hash:
|
8435
8477
|
#
|
@@ -13889,6 +13931,50 @@ module Aws::IoT
|
|
13889
13931
|
include Aws::Structure
|
13890
13932
|
end
|
13891
13933
|
|
13934
|
+
# Describes an action that writes data to an Amazon OpenSearch Service
|
13935
|
+
# domain.
|
13936
|
+
#
|
13937
|
+
# @note When making an API call, you may pass OpenSearchAction
|
13938
|
+
# data as a hash:
|
13939
|
+
#
|
13940
|
+
# {
|
13941
|
+
# role_arn: "AwsArn", # required
|
13942
|
+
# endpoint: "ElasticsearchEndpoint", # required
|
13943
|
+
# index: "ElasticsearchIndex", # required
|
13944
|
+
# type: "ElasticsearchType", # required
|
13945
|
+
# id: "ElasticsearchId", # required
|
13946
|
+
# }
|
13947
|
+
#
|
13948
|
+
# @!attribute [rw] role_arn
|
13949
|
+
# The IAM role ARN that has access to OpenSearch.
|
13950
|
+
# @return [String]
|
13951
|
+
#
|
13952
|
+
# @!attribute [rw] endpoint
|
13953
|
+
# The endpoint of your OpenSearch domain.
|
13954
|
+
# @return [String]
|
13955
|
+
#
|
13956
|
+
# @!attribute [rw] index
|
13957
|
+
# The OpenSearch index where you want to store your data.
|
13958
|
+
# @return [String]
|
13959
|
+
#
|
13960
|
+
# @!attribute [rw] type
|
13961
|
+
# The type of document you are storing.
|
13962
|
+
# @return [String]
|
13963
|
+
#
|
13964
|
+
# @!attribute [rw] id
|
13965
|
+
# The unique identifier for the document you are storing.
|
13966
|
+
# @return [String]
|
13967
|
+
#
|
13968
|
+
class OpenSearchAction < Struct.new(
|
13969
|
+
:role_arn,
|
13970
|
+
:endpoint,
|
13971
|
+
:index,
|
13972
|
+
:type,
|
13973
|
+
:id)
|
13974
|
+
SENSITIVE = []
|
13975
|
+
include Aws::Structure
|
13976
|
+
end
|
13977
|
+
|
13892
13978
|
# A certificate that has been transferred but not yet accepted.
|
13893
13979
|
#
|
13894
13980
|
# @!attribute [rw] certificate_arn
|
@@ -14851,6 +14937,13 @@ module Aws::IoT
|
|
14851
14937
|
# "String" => "String",
|
14852
14938
|
# },
|
14853
14939
|
# },
|
14940
|
+
# open_search: {
|
14941
|
+
# role_arn: "AwsArn", # required
|
14942
|
+
# endpoint: "ElasticsearchEndpoint", # required
|
14943
|
+
# index: "ElasticsearchIndex", # required
|
14944
|
+
# type: "ElasticsearchType", # required
|
14945
|
+
# id: "ElasticsearchId", # required
|
14946
|
+
# },
|
14854
14947
|
# },
|
14855
14948
|
# ],
|
14856
14949
|
# rule_disabled: false,
|
@@ -15022,6 +15115,13 @@ module Aws::IoT
|
|
15022
15115
|
# "String" => "String",
|
15023
15116
|
# },
|
15024
15117
|
# },
|
15118
|
+
# open_search: {
|
15119
|
+
# role_arn: "AwsArn", # required
|
15120
|
+
# endpoint: "ElasticsearchEndpoint", # required
|
15121
|
+
# index: "ElasticsearchIndex", # required
|
15122
|
+
# type: "ElasticsearchType", # required
|
15123
|
+
# id: "ElasticsearchId", # required
|
15124
|
+
# },
|
15025
15125
|
# },
|
15026
15126
|
# },
|
15027
15127
|
# }
|
@@ -16724,7 +16824,9 @@ module Aws::IoT
|
|
16724
16824
|
# @return [Integer]
|
16725
16825
|
#
|
16726
16826
|
# @!attribute [rw] disconnect_reason
|
16727
|
-
# The reason why the client is disconnected.
|
16827
|
+
# The reason why the client is disconnected. If the thing has been
|
16828
|
+
# disconnected for approximately an hour, the `disconnectReason` value
|
16829
|
+
# might be missing.
|
16728
16830
|
# @return [String]
|
16729
16831
|
#
|
16730
16832
|
class ThingConnectivity < Struct.new(
|
@@ -17679,6 +17781,13 @@ module Aws::IoT
|
|
17679
17781
|
# "String" => "String",
|
17680
17782
|
# },
|
17681
17783
|
# },
|
17784
|
+
# open_search: {
|
17785
|
+
# role_arn: "AwsArn", # required
|
17786
|
+
# endpoint: "ElasticsearchEndpoint", # required
|
17787
|
+
# index: "ElasticsearchIndex", # required
|
17788
|
+
# type: "ElasticsearchType", # required
|
17789
|
+
# id: "ElasticsearchId", # required
|
17790
|
+
# },
|
17682
17791
|
# },
|
17683
17792
|
# ],
|
17684
17793
|
# rule_disabled: false,
|
@@ -17850,6 +17959,13 @@ module Aws::IoT
|
|
17850
17959
|
# "String" => "String",
|
17851
17960
|
# },
|
17852
17961
|
# },
|
17962
|
+
# open_search: {
|
17963
|
+
# role_arn: "AwsArn", # required
|
17964
|
+
# endpoint: "ElasticsearchEndpoint", # required
|
17965
|
+
# index: "ElasticsearchIndex", # required
|
17966
|
+
# type: "ElasticsearchType", # required
|
17967
|
+
# id: "ElasticsearchId", # required
|
17968
|
+
# },
|
17853
17969
|
# },
|
17854
17970
|
# }
|
17855
17971
|
#
|
data/lib/aws-sdk-iot.rb
CHANGED
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.75.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: 2021-09-
|
11
|
+
date: 2021-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|