aws-sdk-iot 1.95.0 → 1.96.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: e3833e52c7b44eb9910c666430b135db469699f6f7ddddb710a3bceb8168c6fd
4
- data.tar.gz: 94bb2e5f590a94ad6b8f98504ab583263cbc2746a4613c8fac98a6ebd6fd27cd
3
+ metadata.gz: aa8ae5a478fab7a2b5193783cfb104e9b8417d18bafb66c9d5fb9ad3210e3820
4
+ data.tar.gz: 620a8a71188cafdff10cde6c14a8acda5e11a2af261d51b1ba504b85308e3e00
5
5
  SHA512:
6
- metadata.gz: '08e11555856e2cb397a7dbd34121297459d4998dce0fe0318ac6978fc2c22f16b0eed5c8965c80daa880fc86ac97b88740c9675873d3cf69a529929340a25ec7'
7
- data.tar.gz: 6b430e419180abeec5e861bec693b1fde13aec2b7b6f3cfa13d3bb39ad83301d6960fbabb9eb8c102eca9d67f20a0d905e76c50611c4bdb6930dcb634f0bd2f0
6
+ metadata.gz: f9d7ed1dcf4fda64c817cbcc82509846f5a6c4703f8814b5b443d7aa12abd3c8c4b70b154514757126b49299b3bb4e0156f548463341f8cf3e4879129bd11591
7
+ data.tar.gz: 6affc147aa60ec035bf99e572c0932803ac52b94aab969006d7dcc5d9e09393bdf66b08caaac671cad673e13a989dd5fbec192d4926fd138330eea06721a5858
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.96.0 (2022-10-31)
5
+ ------------------
6
+
7
+ * Feature - This release adds the Amazon Location action to IoT Rules Engine.
8
+
4
9
  1.95.0 (2022-10-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.95.0
1
+ 1.96.0
@@ -2490,7 +2490,13 @@ module Aws::IoT
2490
2490
  # This IoT role grants permission to provision a device.
2491
2491
  #
2492
2492
  # @option params [Types::ProvisioningHook] :pre_provisioning_hook
2493
- # Creates a pre-provisioning hook template.
2493
+ # Creates a pre-provisioning hook template. Only supports template of
2494
+ # type `FLEET_PROVISIONING`. For more information about provisioning
2495
+ # template types, see [type][1].
2496
+ #
2497
+ #
2498
+ #
2499
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type
2494
2500
  #
2495
2501
  # @option params [Array<Types::Tag>] :tags
2496
2502
  # Metadata which can be used to manage the provisioning template.
@@ -3334,6 +3340,17 @@ module Aws::IoT
3334
3340
  # type: "ElasticsearchType", # required
3335
3341
  # id: "ElasticsearchId", # required
3336
3342
  # },
3343
+ # location: {
3344
+ # role_arn: "AwsArn", # required
3345
+ # tracker_name: "String", # required
3346
+ # device_id: "String", # required
3347
+ # timestamp: {
3348
+ # value: "String", # required
3349
+ # unit: "String",
3350
+ # },
3351
+ # latitude: "String", # required
3352
+ # longitude: "String", # required
3353
+ # },
3337
3354
  # },
3338
3355
  # ],
3339
3356
  # rule_disabled: false,
@@ -3512,6 +3529,17 @@ module Aws::IoT
3512
3529
  # type: "ElasticsearchType", # required
3513
3530
  # id: "ElasticsearchId", # required
3514
3531
  # },
3532
+ # location: {
3533
+ # role_arn: "AwsArn", # required
3534
+ # tracker_name: "String", # required
3535
+ # device_id: "String", # required
3536
+ # timestamp: {
3537
+ # value: "String", # required
3538
+ # unit: "String",
3539
+ # },
3540
+ # latitude: "String", # required
3541
+ # longitude: "String", # required
3542
+ # },
3515
3543
  # },
3516
3544
  # },
3517
3545
  # tags: "String",
@@ -6509,7 +6537,7 @@ module Aws::IoT
6509
6537
  #
6510
6538
  # @option params [Integer] :max_results
6511
6539
  # The maximum number of results to return at one time. The default is
6512
- # 25.
6540
+ # 10.
6513
6541
  #
6514
6542
  # @option params [String] :next_token
6515
6543
  # The token for the next set of results.
@@ -7246,6 +7274,13 @@ module Aws::IoT
7246
7274
  # resp.rule.actions[0].open_search.index #=> String
7247
7275
  # resp.rule.actions[0].open_search.type #=> String
7248
7276
  # resp.rule.actions[0].open_search.id #=> String
7277
+ # resp.rule.actions[0].location.role_arn #=> String
7278
+ # resp.rule.actions[0].location.tracker_name #=> String
7279
+ # resp.rule.actions[0].location.device_id #=> String
7280
+ # resp.rule.actions[0].location.timestamp.value #=> String
7281
+ # resp.rule.actions[0].location.timestamp.unit #=> String
7282
+ # resp.rule.actions[0].location.latitude #=> String
7283
+ # resp.rule.actions[0].location.longitude #=> String
7249
7284
  # resp.rule.rule_disabled #=> Boolean
7250
7285
  # resp.rule.aws_iot_sql_version #=> String
7251
7286
  # resp.rule.error_action.dynamo_db.table_name #=> String
@@ -7352,6 +7387,13 @@ module Aws::IoT
7352
7387
  # resp.rule.error_action.open_search.index #=> String
7353
7388
  # resp.rule.error_action.open_search.type #=> String
7354
7389
  # resp.rule.error_action.open_search.id #=> String
7390
+ # resp.rule.error_action.location.role_arn #=> String
7391
+ # resp.rule.error_action.location.tracker_name #=> String
7392
+ # resp.rule.error_action.location.device_id #=> String
7393
+ # resp.rule.error_action.location.timestamp.value #=> String
7394
+ # resp.rule.error_action.location.timestamp.unit #=> String
7395
+ # resp.rule.error_action.location.latitude #=> String
7396
+ # resp.rule.error_action.location.longitude #=> String
7355
7397
  #
7356
7398
  # @overload get_topic_rule(params = {})
7357
7399
  # @param [Hash] params ({})
@@ -11256,6 +11298,17 @@ module Aws::IoT
11256
11298
  # type: "ElasticsearchType", # required
11257
11299
  # id: "ElasticsearchId", # required
11258
11300
  # },
11301
+ # location: {
11302
+ # role_arn: "AwsArn", # required
11303
+ # tracker_name: "String", # required
11304
+ # device_id: "String", # required
11305
+ # timestamp: {
11306
+ # value: "String", # required
11307
+ # unit: "String",
11308
+ # },
11309
+ # latitude: "String", # required
11310
+ # longitude: "String", # required
11311
+ # },
11259
11312
  # },
11260
11313
  # ],
11261
11314
  # rule_disabled: false,
@@ -11434,6 +11487,17 @@ module Aws::IoT
11434
11487
  # type: "ElasticsearchType", # required
11435
11488
  # id: "ElasticsearchId", # required
11436
11489
  # },
11490
+ # location: {
11491
+ # role_arn: "AwsArn", # required
11492
+ # tracker_name: "String", # required
11493
+ # device_id: "String", # required
11494
+ # timestamp: {
11495
+ # value: "String", # required
11496
+ # unit: "String",
11497
+ # },
11498
+ # latitude: "String", # required
11499
+ # longitude: "String", # required
11500
+ # },
11437
11501
  # },
11438
11502
  # },
11439
11503
  # })
@@ -13100,7 +13164,13 @@ module Aws::IoT
13100
13164
  # IoT role grants permission to provision a device.
13101
13165
  #
13102
13166
  # @option params [Types::ProvisioningHook] :pre_provisioning_hook
13103
- # Updates the pre-provisioning hook template.
13167
+ # Updates the pre-provisioning hook template. Only supports template of
13168
+ # type `FLEET_PROVISIONING`. For more information about provisioning
13169
+ # template types, see [type][1].
13170
+ #
13171
+ #
13172
+ #
13173
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type
13104
13174
  #
13105
13175
  # @option params [Boolean] :remove_pre_provisioning_hook
13106
13176
  # Removes pre-provisioning hook template.
@@ -13763,7 +13833,7 @@ module Aws::IoT
13763
13833
  params: params,
13764
13834
  config: config)
13765
13835
  context[:gem_name] = 'aws-sdk-iot'
13766
- context[:gem_version] = '1.95.0'
13836
+ context[:gem_version] = '1.96.0'
13767
13837
  Seahorse::Client::Request.new(handlers, context)
13768
13838
  end
13769
13839
 
@@ -768,6 +768,8 @@ module Aws::IoT
768
768
  ListV2LoggingLevelsResponse = Shapes::StructureShape.new(name: 'ListV2LoggingLevelsResponse')
769
769
  ListViolationEventsRequest = Shapes::StructureShape.new(name: 'ListViolationEventsRequest')
770
770
  ListViolationEventsResponse = Shapes::StructureShape.new(name: 'ListViolationEventsResponse')
771
+ LocationAction = Shapes::StructureShape.new(name: 'LocationAction')
772
+ LocationTimestamp = Shapes::StructureShape.new(name: 'LocationTimestamp')
771
773
  LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
772
774
  LogLevel = Shapes::StringShape.new(name: 'LogLevel')
773
775
  LogTarget = Shapes::StructureShape.new(name: 'LogTarget')
@@ -1305,6 +1307,7 @@ module Aws::IoT
1305
1307
  Action.add_member(:http, Shapes::ShapeRef.new(shape: HttpAction, location_name: "http"))
1306
1308
  Action.add_member(:kafka, Shapes::ShapeRef.new(shape: KafkaAction, location_name: "kafka"))
1307
1309
  Action.add_member(:open_search, Shapes::ShapeRef.new(shape: OpenSearchAction, location_name: "openSearch"))
1310
+ Action.add_member(:location, Shapes::ShapeRef.new(shape: LocationAction, location_name: "location"))
1308
1311
  Action.struct_class = Types::Action
1309
1312
 
1310
1313
  ActionList.member = Shapes::ShapeRef.new(shape: Action)
@@ -3688,6 +3691,18 @@ module Aws::IoT
3688
3691
  ListViolationEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3689
3692
  ListViolationEventsResponse.struct_class = Types::ListViolationEventsResponse
3690
3693
 
3694
+ LocationAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
3695
+ LocationAction.add_member(:tracker_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "trackerName"))
3696
+ LocationAction.add_member(:device_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "deviceId"))
3697
+ LocationAction.add_member(:timestamp, Shapes::ShapeRef.new(shape: LocationTimestamp, location_name: "timestamp"))
3698
+ LocationAction.add_member(:latitude, Shapes::ShapeRef.new(shape: String, required: true, location_name: "latitude"))
3699
+ LocationAction.add_member(:longitude, Shapes::ShapeRef.new(shape: String, required: true, location_name: "longitude"))
3700
+ LocationAction.struct_class = Types::LocationAction
3701
+
3702
+ LocationTimestamp.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "value"))
3703
+ LocationTimestamp.add_member(:unit, Shapes::ShapeRef.new(shape: String, location_name: "unit"))
3704
+ LocationTimestamp.struct_class = Types::LocationTimestamp
3705
+
3691
3706
  LogTarget.add_member(:target_type, Shapes::ShapeRef.new(shape: LogTargetType, required: true, location_name: "targetType"))
3692
3707
  LogTarget.add_member(:target_name, Shapes::ShapeRef.new(shape: LogTargetName, location_name: "targetName"))
3693
3708
  LogTarget.struct_class = Types::LogTarget
@@ -283,6 +283,17 @@ module Aws::IoT
283
283
  # type: "ElasticsearchType", # required
284
284
  # id: "ElasticsearchId", # required
285
285
  # },
286
+ # location: {
287
+ # role_arn: "AwsArn", # required
288
+ # tracker_name: "String", # required
289
+ # device_id: "String", # required
290
+ # timestamp: {
291
+ # value: "String", # required
292
+ # unit: "String",
293
+ # },
294
+ # latitude: "String", # required
295
+ # longitude: "String", # required
296
+ # },
286
297
  # }
287
298
  #
288
299
  # @!attribute [rw] dynamo_db
@@ -394,6 +405,11 @@ module Aws::IoT
394
405
  # Write data to an Amazon OpenSearch Service domain.
395
406
  # @return [Types::OpenSearchAction]
396
407
  #
408
+ # @!attribute [rw] location
409
+ # The Amazon Location Service rule action sends device location
410
+ # updates from an MQTT message to an Amazon Location tracker resource.
411
+ # @return [Types::LocationAction]
412
+ #
397
413
  class Action < Struct.new(
398
414
  :dynamo_db,
399
415
  :dynamo_d_bv_2,
@@ -416,7 +432,8 @@ module Aws::IoT
416
432
  :timestream,
417
433
  :http,
418
434
  :kafka,
419
- :open_search)
435
+ :open_search,
436
+ :location)
420
437
  SENSITIVE = []
421
438
  include Aws::Structure
422
439
  end
@@ -4451,7 +4468,13 @@ module Aws::IoT
4451
4468
  # @return [String]
4452
4469
  #
4453
4470
  # @!attribute [rw] pre_provisioning_hook
4454
- # Creates a pre-provisioning hook template.
4471
+ # Creates a pre-provisioning hook template. Only supports template of
4472
+ # type `FLEET_PROVISIONING`. For more information about provisioning
4473
+ # template types, see [type][1].
4474
+ #
4475
+ #
4476
+ #
4477
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type
4455
4478
  # @return [Types::ProvisioningHook]
4456
4479
  #
4457
4480
  # @!attribute [rw] tags
@@ -5349,6 +5372,17 @@ module Aws::IoT
5349
5372
  # type: "ElasticsearchType", # required
5350
5373
  # id: "ElasticsearchId", # required
5351
5374
  # },
5375
+ # location: {
5376
+ # role_arn: "AwsArn", # required
5377
+ # tracker_name: "String", # required
5378
+ # device_id: "String", # required
5379
+ # timestamp: {
5380
+ # value: "String", # required
5381
+ # unit: "String",
5382
+ # },
5383
+ # latitude: "String", # required
5384
+ # longitude: "String", # required
5385
+ # },
5352
5386
  # },
5353
5387
  # ],
5354
5388
  # rule_disabled: false,
@@ -5527,6 +5561,17 @@ module Aws::IoT
5527
5561
  # type: "ElasticsearchType", # required
5528
5562
  # id: "ElasticsearchId", # required
5529
5563
  # },
5564
+ # location: {
5565
+ # role_arn: "AwsArn", # required
5566
+ # tracker_name: "String", # required
5567
+ # device_id: "String", # required
5568
+ # timestamp: {
5569
+ # value: "String", # required
5570
+ # unit: "String",
5571
+ # },
5572
+ # latitude: "String", # required
5573
+ # longitude: "String", # required
5574
+ # },
5530
5575
  # },
5531
5576
  # },
5532
5577
  # tags: "String",
@@ -9078,7 +9123,7 @@ module Aws::IoT
9078
9123
  #
9079
9124
  # @!attribute [rw] max_results
9080
9125
  # The maximum number of results to return at one time. The default is
9081
- # 25.
9126
+ # 10.
9082
9127
  # @return [Integer]
9083
9128
  #
9084
9129
  # @!attribute [rw] next_token
@@ -13910,6 +13955,94 @@ module Aws::IoT
13910
13955
  include Aws::Structure
13911
13956
  end
13912
13957
 
13958
+ # The Amazon Location rule action sends device location updates from an
13959
+ # MQTT message to an Amazon Location tracker resource.
13960
+ #
13961
+ # @note When making an API call, you may pass LocationAction
13962
+ # data as a hash:
13963
+ #
13964
+ # {
13965
+ # role_arn: "AwsArn", # required
13966
+ # tracker_name: "String", # required
13967
+ # device_id: "String", # required
13968
+ # timestamp: {
13969
+ # value: "String", # required
13970
+ # unit: "String",
13971
+ # },
13972
+ # latitude: "String", # required
13973
+ # longitude: "String", # required
13974
+ # }
13975
+ #
13976
+ # @!attribute [rw] role_arn
13977
+ # The IAM role that grants permission to write to the Amazon Location
13978
+ # resource.
13979
+ # @return [String]
13980
+ #
13981
+ # @!attribute [rw] tracker_name
13982
+ # The name of the tracker resource in Amazon Location in which the
13983
+ # location is updated.
13984
+ # @return [String]
13985
+ #
13986
+ # @!attribute [rw] device_id
13987
+ # The unique ID of the device providing the location data.
13988
+ # @return [String]
13989
+ #
13990
+ # @!attribute [rw] timestamp
13991
+ # The time that the location data was sampled. The default value is
13992
+ # the time the MQTT message was processed.
13993
+ # @return [Types::LocationTimestamp]
13994
+ #
13995
+ # @!attribute [rw] latitude
13996
+ # A string that evaluates to a double value that represents the
13997
+ # latitude of the device's location.
13998
+ # @return [String]
13999
+ #
14000
+ # @!attribute [rw] longitude
14001
+ # A string that evaluates to a double value that represents the
14002
+ # longitude of the device's location.
14003
+ # @return [String]
14004
+ #
14005
+ class LocationAction < Struct.new(
14006
+ :role_arn,
14007
+ :tracker_name,
14008
+ :device_id,
14009
+ :timestamp,
14010
+ :latitude,
14011
+ :longitude)
14012
+ SENSITIVE = []
14013
+ include Aws::Structure
14014
+ end
14015
+
14016
+ # Describes how to interpret an application-defined timestamp value from
14017
+ # an MQTT message payload and the precision of that value.
14018
+ #
14019
+ # @note When making an API call, you may pass LocationTimestamp
14020
+ # data as a hash:
14021
+ #
14022
+ # {
14023
+ # value: "String", # required
14024
+ # unit: "String",
14025
+ # }
14026
+ #
14027
+ # @!attribute [rw] value
14028
+ # An expression that returns a long epoch time value.
14029
+ # @return [String]
14030
+ #
14031
+ # @!attribute [rw] unit
14032
+ # The precision of the timestamp value that results from the
14033
+ # expression described in `value`.
14034
+ #
14035
+ # Valid values: `SECONDS` \| `MILLISECONDS` \| `MICROSECONDS` \|
14036
+ # `NANOSECONDS`. The default is `MILLISECONDS`.
14037
+ # @return [String]
14038
+ #
14039
+ class LocationTimestamp < Struct.new(
14040
+ :value,
14041
+ :unit)
14042
+ SENSITIVE = []
14043
+ include Aws::Structure
14044
+ end
14045
+
13913
14046
  # A log target.
13914
14047
  #
13915
14048
  # @note When making an API call, you may pass LogTarget
@@ -14850,7 +14983,7 @@ module Aws::IoT
14850
14983
  # A summary of information about a fleet provision template version.
14851
14984
  #
14852
14985
  # @!attribute [rw] version_id
14853
- # The ID of the fleet privisioning template version.
14986
+ # The ID of the fleet provisioning template version.
14854
14987
  # @return [Integer]
14855
14988
  #
14856
14989
  # @!attribute [rw] creation_date
@@ -15666,6 +15799,17 @@ module Aws::IoT
15666
15799
  # type: "ElasticsearchType", # required
15667
15800
  # id: "ElasticsearchId", # required
15668
15801
  # },
15802
+ # location: {
15803
+ # role_arn: "AwsArn", # required
15804
+ # tracker_name: "String", # required
15805
+ # device_id: "String", # required
15806
+ # timestamp: {
15807
+ # value: "String", # required
15808
+ # unit: "String",
15809
+ # },
15810
+ # latitude: "String", # required
15811
+ # longitude: "String", # required
15812
+ # },
15669
15813
  # },
15670
15814
  # ],
15671
15815
  # rule_disabled: false,
@@ -15844,6 +15988,17 @@ module Aws::IoT
15844
15988
  # type: "ElasticsearchType", # required
15845
15989
  # id: "ElasticsearchId", # required
15846
15990
  # },
15991
+ # location: {
15992
+ # role_arn: "AwsArn", # required
15993
+ # tracker_name: "String", # required
15994
+ # device_id: "String", # required
15995
+ # timestamp: {
15996
+ # value: "String", # required
15997
+ # unit: "String",
15998
+ # },
15999
+ # latitude: "String", # required
16000
+ # longitude: "String", # required
16001
+ # },
15847
16002
  # },
15848
16003
  # },
15849
16004
  # }
@@ -18615,6 +18770,17 @@ module Aws::IoT
18615
18770
  # type: "ElasticsearchType", # required
18616
18771
  # id: "ElasticsearchId", # required
18617
18772
  # },
18773
+ # location: {
18774
+ # role_arn: "AwsArn", # required
18775
+ # tracker_name: "String", # required
18776
+ # device_id: "String", # required
18777
+ # timestamp: {
18778
+ # value: "String", # required
18779
+ # unit: "String",
18780
+ # },
18781
+ # latitude: "String", # required
18782
+ # longitude: "String", # required
18783
+ # },
18618
18784
  # },
18619
18785
  # ],
18620
18786
  # rule_disabled: false,
@@ -18793,6 +18959,17 @@ module Aws::IoT
18793
18959
  # type: "ElasticsearchType", # required
18794
18960
  # id: "ElasticsearchId", # required
18795
18961
  # },
18962
+ # location: {
18963
+ # role_arn: "AwsArn", # required
18964
+ # tracker_name: "String", # required
18965
+ # device_id: "String", # required
18966
+ # timestamp: {
18967
+ # value: "String", # required
18968
+ # unit: "String",
18969
+ # },
18970
+ # latitude: "String", # required
18971
+ # longitude: "String", # required
18972
+ # },
18796
18973
  # },
18797
18974
  # }
18798
18975
  #
@@ -19957,7 +20134,13 @@ module Aws::IoT
19957
20134
  # @return [String]
19958
20135
  #
19959
20136
  # @!attribute [rw] pre_provisioning_hook
19960
- # Updates the pre-provisioning hook template.
20137
+ # Updates the pre-provisioning hook template. Only supports template
20138
+ # of type `FLEET_PROVISIONING`. For more information about
20139
+ # provisioning template types, see [type][1].
20140
+ #
20141
+ #
20142
+ #
20143
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CreateProvisioningTemplate.html#iot-CreateProvisioningTemplate-request-type
19961
20144
  # @return [Types::ProvisioningHook]
19962
20145
  #
19963
20146
  # @!attribute [rw] remove_pre_provisioning_hook
data/lib/aws-sdk-iot.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-iot/customizations'
52
52
  # @!group service
53
53
  module Aws::IoT
54
54
 
55
- GEM_VERSION = '1.95.0'
55
+ GEM_VERSION = '1.96.0'
56
56
 
57
57
  end
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.95.0
4
+ version: 1.96.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2022-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core