aws-sdk-iot 1.94.0 → 1.96.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.
@@ -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
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-iot/types'
15
15
  require_relative 'aws-sdk-iot/client_api'
16
+ require_relative 'aws-sdk-iot/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-iot/client'
17
18
  require_relative 'aws-sdk-iot/errors'
18
19
  require_relative 'aws-sdk-iot/resource'
20
+ require_relative 'aws-sdk-iot/endpoint_parameters'
21
+ require_relative 'aws-sdk-iot/endpoint_provider'
22
+ require_relative 'aws-sdk-iot/endpoints'
19
23
  require_relative 'aws-sdk-iot/customizations'
20
24
 
21
25
  # This module provides support for AWS IoT. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-iot/customizations'
48
52
  # @!group service
49
53
  module Aws::IoT
50
54
 
51
- GEM_VERSION = '1.94.0'
55
+ GEM_VERSION = '1.96.0'
52
56
 
53
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.94.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-08-04 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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-iot/client.rb
60
60
  - lib/aws-sdk-iot/client_api.rb
61
61
  - lib/aws-sdk-iot/customizations.rb
62
+ - lib/aws-sdk-iot/endpoint_parameters.rb
63
+ - lib/aws-sdk-iot/endpoint_provider.rb
64
+ - lib/aws-sdk-iot/endpoints.rb
62
65
  - lib/aws-sdk-iot/errors.rb
66
+ - lib/aws-sdk-iot/plugins/endpoints.rb
63
67
  - lib/aws-sdk-iot/resource.rb
64
68
  - lib/aws-sdk-iot/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby