aws-sdk-iot 1.112.0 → 1.113.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 +16 -7
- data/lib/aws-sdk-iot/client_api.rb +11 -0
- data/lib/aws-sdk-iot/types.rb +89 -21
- 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: 75c5e544665ebf709542a0b688008548df7caff89e7383d513e23e33c274f645
|
4
|
+
data.tar.gz: e3a128a86ec79010b0049617676b1f2e3e5d69ad780f29f24308fa4ab8a39394
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17734406715165bea7cf322702e6e076afb5ab7eb668f39d3e7776856b74a4dff123bbe2f19077b7348c392c98cd17552a569ac1c5993234aae35793ffde19e2
|
7
|
+
data.tar.gz: c0fef29affc1a33320fbae2afb9dda0891c1938fd1cdce76bf2873ef33e23a341f652ae77994e775f4aa827ed36a40c0c965bf5f72d45756323dc45ce50fa899
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.113.0 (2023-11-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - GA release the ability to index and search devices based on their GeoLocation data. With GeoQueries you can narrow your search to retrieve devices located in the desired geographic boundary.
|
8
|
+
|
4
9
|
1.112.0 (2023-11-14)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.113.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -1828,8 +1828,8 @@ module Aws::IoT
|
|
1828
1828
|
# The package version Amazon Resource Names (ARNs) that are installed on
|
1829
1829
|
# the device when the job successfully completes.
|
1830
1830
|
#
|
1831
|
-
# **Note:**The following Length Constraints relates to a single
|
1832
|
-
#
|
1831
|
+
# **Note:**The following Length Constraints relates to a single ARN. Up
|
1832
|
+
# to 25 package version ARNs are allowed.
|
1833
1833
|
#
|
1834
1834
|
# @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1835
1835
|
#
|
@@ -1986,8 +1986,8 @@ module Aws::IoT
|
|
1986
1986
|
# The package version Amazon Resource Names (ARNs) that are installed on
|
1987
1987
|
# the device when the job successfully completes.
|
1988
1988
|
#
|
1989
|
-
# **Note:**The following Length Constraints relates to a single
|
1990
|
-
#
|
1989
|
+
# **Note:**The following Length Constraints relates to a single ARN. Up
|
1990
|
+
# to 25 package version ARNs are allowed.
|
1991
1991
|
#
|
1992
1992
|
# @return [Types::CreateJobTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1993
1993
|
#
|
@@ -7139,6 +7139,9 @@ module Aws::IoT
|
|
7139
7139
|
# resp.thing_indexing_configuration.custom_fields[0].type #=> String, one of "Number", "String", "Boolean"
|
7140
7140
|
# resp.thing_indexing_configuration.filter.named_shadow_names #=> Array
|
7141
7141
|
# resp.thing_indexing_configuration.filter.named_shadow_names[0] #=> String
|
7142
|
+
# resp.thing_indexing_configuration.filter.geo_locations #=> Array
|
7143
|
+
# resp.thing_indexing_configuration.filter.geo_locations[0].name #=> String
|
7144
|
+
# resp.thing_indexing_configuration.filter.geo_locations[0].order #=> String, one of "LatLon", "LonLat"
|
7142
7145
|
# resp.thing_group_indexing_configuration.thing_group_indexing_mode #=> String, one of "OFF", "ON"
|
7143
7146
|
# resp.thing_group_indexing_configuration.managed_fields #=> Array
|
7144
7147
|
# resp.thing_group_indexing_configuration.managed_fields[0].name #=> String
|
@@ -12319,8 +12322,8 @@ module Aws::IoT
|
|
12319
12322
|
# no additional results.
|
12320
12323
|
#
|
12321
12324
|
# @option params [Integer] :max_results
|
12322
|
-
# The maximum number of results to return at one time. The
|
12323
|
-
# might contain fewer results but will never contain more.
|
12325
|
+
# The maximum number of results to return per page at one time. The
|
12326
|
+
# response might contain fewer results but will never contain more.
|
12324
12327
|
#
|
12325
12328
|
# @option params [String] :query_version
|
12326
12329
|
# The query version.
|
@@ -13746,6 +13749,12 @@ module Aws::IoT
|
|
13746
13749
|
# ],
|
13747
13750
|
# filter: {
|
13748
13751
|
# named_shadow_names: ["ShadowName"],
|
13752
|
+
# geo_locations: [
|
13753
|
+
# {
|
13754
|
+
# name: "TargetFieldName",
|
13755
|
+
# order: "LatLon", # accepts LatLon, LonLat
|
13756
|
+
# },
|
13757
|
+
# ],
|
13749
13758
|
# },
|
13750
13759
|
# },
|
13751
13760
|
# thing_group_indexing_configuration: {
|
@@ -14814,7 +14823,7 @@ module Aws::IoT
|
|
14814
14823
|
params: params,
|
14815
14824
|
config: config)
|
14816
14825
|
context[:gem_name] = 'aws-sdk-iot'
|
14817
|
-
context[:gem_version] = '1.
|
14826
|
+
context[:gem_version] = '1.113.0'
|
14818
14827
|
Seahorse::Client::Request.new(handlers, context)
|
14819
14828
|
end
|
14820
14829
|
|
@@ -555,6 +555,8 @@ module Aws::IoT
|
|
555
555
|
FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
|
556
556
|
GenerationId = Shapes::StringShape.new(name: 'GenerationId')
|
557
557
|
GenericLongValue = Shapes::IntegerShape.new(name: 'GenericLongValue')
|
558
|
+
GeoLocationTarget = Shapes::StructureShape.new(name: 'GeoLocationTarget')
|
559
|
+
GeoLocationsFilter = Shapes::ListShape.new(name: 'GeoLocationsFilter')
|
558
560
|
GetBehaviorModelTrainingSummariesRequest = Shapes::StructureShape.new(name: 'GetBehaviorModelTrainingSummariesRequest')
|
559
561
|
GetBehaviorModelTrainingSummariesResponse = Shapes::StructureShape.new(name: 'GetBehaviorModelTrainingSummariesResponse')
|
560
562
|
GetBucketsAggregationRequest = Shapes::StructureShape.new(name: 'GetBucketsAggregationRequest')
|
@@ -1162,6 +1164,8 @@ module Aws::IoT
|
|
1162
1164
|
Target = Shapes::StringShape.new(name: 'Target')
|
1163
1165
|
TargetArn = Shapes::StringShape.new(name: 'TargetArn')
|
1164
1166
|
TargetAuditCheckNames = Shapes::ListShape.new(name: 'TargetAuditCheckNames')
|
1167
|
+
TargetFieldName = Shapes::StringShape.new(name: 'TargetFieldName')
|
1168
|
+
TargetFieldOrder = Shapes::StringShape.new(name: 'TargetFieldOrder')
|
1165
1169
|
TargetSelection = Shapes::StringShape.new(name: 'TargetSelection')
|
1166
1170
|
TargetViolationIdsForDetectMitigationActions = Shapes::ListShape.new(name: 'TargetViolationIdsForDetectMitigationActions')
|
1167
1171
|
Targets = Shapes::ListShape.new(name: 'Targets')
|
@@ -2937,6 +2941,12 @@ module Aws::IoT
|
|
2937
2941
|
|
2938
2942
|
FleetMetricNameAndArnList.member = Shapes::ShapeRef.new(shape: FleetMetricNameAndArn)
|
2939
2943
|
|
2944
|
+
GeoLocationTarget.add_member(:name, Shapes::ShapeRef.new(shape: TargetFieldName, location_name: "name"))
|
2945
|
+
GeoLocationTarget.add_member(:order, Shapes::ShapeRef.new(shape: TargetFieldOrder, location_name: "order"))
|
2946
|
+
GeoLocationTarget.struct_class = Types::GeoLocationTarget
|
2947
|
+
|
2948
|
+
GeoLocationsFilter.member = Shapes::ShapeRef.new(shape: GeoLocationTarget)
|
2949
|
+
|
2940
2950
|
GetBehaviorModelTrainingSummariesRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location: "querystring", location_name: "securityProfileName"))
|
2941
2951
|
GetBehaviorModelTrainingSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: TinyMaxResults, location: "querystring", location_name: "maxResults"))
|
2942
2952
|
GetBehaviorModelTrainingSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -3143,6 +3153,7 @@ module Aws::IoT
|
|
3143
3153
|
IndexNotReadyException.struct_class = Types::IndexNotReadyException
|
3144
3154
|
|
3145
3155
|
IndexingFilter.add_member(:named_shadow_names, Shapes::ShapeRef.new(shape: NamedShadowNamesFilter, location_name: "namedShadowNames"))
|
3156
|
+
IndexingFilter.add_member(:geo_locations, Shapes::ShapeRef.new(shape: GeoLocationsFilter, location_name: "geoLocations"))
|
3146
3157
|
IndexingFilter.struct_class = Types::IndexingFilter
|
3147
3158
|
|
3148
3159
|
InternalException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -2835,8 +2835,8 @@ module Aws::IoT
|
|
2835
2835
|
# The package version Amazon Resource Names (ARNs) that are installed
|
2836
2836
|
# on the device when the job successfully completes.
|
2837
2837
|
#
|
2838
|
-
# **Note:**The following Length Constraints relates to a single
|
2839
|
-
#
|
2838
|
+
# **Note:**The following Length Constraints relates to a single ARN.
|
2839
|
+
# Up to 25 package version ARNs are allowed.
|
2840
2840
|
# @return [Array<String>]
|
2841
2841
|
#
|
2842
2842
|
class CreateJobRequest < Struct.new(
|
@@ -2952,8 +2952,8 @@ module Aws::IoT
|
|
2952
2952
|
# The package version Amazon Resource Names (ARNs) that are installed
|
2953
2953
|
# on the device when the job successfully completes.
|
2954
2954
|
#
|
2955
|
-
# **Note:**The following Length Constraints relates to a single
|
2956
|
-
#
|
2955
|
+
# **Note:**The following Length Constraints relates to a single ARN.
|
2956
|
+
# Up to 25 package version ARNs are allowed.
|
2957
2957
|
# @return [Array<String>]
|
2958
2958
|
#
|
2959
2959
|
class CreateJobTemplateRequest < Struct.new(
|
@@ -5611,8 +5611,8 @@ module Aws::IoT
|
|
5611
5611
|
# The package version Amazon Resource Names (ARNs) that are installed
|
5612
5612
|
# on the device when the job successfully completes.
|
5613
5613
|
#
|
5614
|
-
# **Note:**The following Length Constraints relates to a single
|
5615
|
-
#
|
5614
|
+
# **Note:**The following Length Constraints relates to a single ARN.
|
5615
|
+
# Up to 25 package version ARNs are allowed.
|
5616
5616
|
# @return [Array<String>]
|
5617
5617
|
#
|
5618
5618
|
class DescribeJobTemplateResponse < Struct.new(
|
@@ -6997,6 +6997,28 @@ module Aws::IoT
|
|
6997
6997
|
include Aws::Structure
|
6998
6998
|
end
|
6999
6999
|
|
7000
|
+
# A geolocation target that you select to index. Each geolocation target
|
7001
|
+
# contains a `name` and `order` key-value pair that specifies the
|
7002
|
+
# geolocation target fields.
|
7003
|
+
#
|
7004
|
+
# @!attribute [rw] name
|
7005
|
+
# The `name` of the geolocation target field. If the target field is
|
7006
|
+
# part of a named shadow, you must select the named shadow using the
|
7007
|
+
# `namedShadow` filter.
|
7008
|
+
# @return [String]
|
7009
|
+
#
|
7010
|
+
# @!attribute [rw] order
|
7011
|
+
# The `order` of the geolocation target field. This field is optional.
|
7012
|
+
# The default value is `LatLon`.
|
7013
|
+
# @return [String]
|
7014
|
+
#
|
7015
|
+
class GeoLocationTarget < Struct.new(
|
7016
|
+
:name,
|
7017
|
+
:order)
|
7018
|
+
SENSITIVE = []
|
7019
|
+
include Aws::Structure
|
7020
|
+
end
|
7021
|
+
|
7000
7022
|
# @!attribute [rw] security_profile_name
|
7001
7023
|
# The name of the security profile.
|
7002
7024
|
# @return [String]
|
@@ -7826,11 +7848,27 @@ module Aws::IoT
|
|
7826
7848
|
include Aws::Structure
|
7827
7849
|
end
|
7828
7850
|
|
7829
|
-
# Provides additional
|
7830
|
-
#
|
7831
|
-
# add named shadows to your fleet indexing configuration, set
|
7832
|
-
# `namedShadowIndexingMode` to be
|
7833
|
-
# `filter
|
7851
|
+
# Provides additional selections for named shadows and geolocation data.
|
7852
|
+
#
|
7853
|
+
# To add named shadows to your fleet indexing configuration, set
|
7854
|
+
# `namedShadowIndexingMode` to be ON and specify your shadow names in
|
7855
|
+
# `namedShadowNames` filter.
|
7856
|
+
#
|
7857
|
+
# To add geolocation data to your fleet indexing configuration:
|
7858
|
+
#
|
7859
|
+
# * If you store geolocation data in a class/unnamed shadow, set
|
7860
|
+
# `thingIndexingMode` to be `REGISTRY_AND_SHADOW` and specify your
|
7861
|
+
# geolocation data in `geoLocations` filter.
|
7862
|
+
#
|
7863
|
+
# * If you store geolocation data in a named shadow, set
|
7864
|
+
# `namedShadowIndexingMode` to be `ON`, add the shadow name in
|
7865
|
+
# `namedShadowNames` filter, and specify your geolocation data in
|
7866
|
+
# `geoLocations` filter. For more information, see [Managing fleet
|
7867
|
+
# indexing][1].
|
7868
|
+
#
|
7869
|
+
#
|
7870
|
+
#
|
7871
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/managing-fleet-index.html
|
7834
7872
|
#
|
7835
7873
|
# @!attribute [rw] named_shadow_names
|
7836
7874
|
# The shadow names that you select to index. The default maximum
|
@@ -7843,8 +7881,21 @@ module Aws::IoT
|
|
7843
7881
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/iot_device_management.html#fleet-indexing-limits
|
7844
7882
|
# @return [Array<String>]
|
7845
7883
|
#
|
7884
|
+
# @!attribute [rw] geo_locations
|
7885
|
+
# The list of geolocation targets that you select to index. The
|
7886
|
+
# default maximum number of geolocation targets for indexing is `1`.
|
7887
|
+
# To increase the limit, see [Amazon Web Services IoT Device
|
7888
|
+
# Management Quotas][1] in the *Amazon Web Services General
|
7889
|
+
# Reference*.
|
7890
|
+
#
|
7891
|
+
#
|
7892
|
+
#
|
7893
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/iot_device_management.html#fleet-indexing-limits
|
7894
|
+
# @return [Array<Types::GeoLocationTarget>]
|
7895
|
+
#
|
7846
7896
|
class IndexingFilter < Struct.new(
|
7847
|
-
:named_shadow_names
|
7897
|
+
:named_shadow_names,
|
7898
|
+
:geo_locations)
|
7848
7899
|
SENSITIVE = []
|
7849
7900
|
include Aws::Structure
|
7850
7901
|
end
|
@@ -8224,8 +8275,8 @@ module Aws::IoT
|
|
8224
8275
|
# The package version Amazon Resource Names (ARNs) that are installed
|
8225
8276
|
# on the device when the job successfully completes.
|
8226
8277
|
#
|
8227
|
-
# **Note:**The following Length Constraints relates to a single
|
8228
|
-
#
|
8278
|
+
# **Note:**The following Length Constraints relates to a single ARN.
|
8279
|
+
# Up to 25 package version ARNs are allowed.
|
8229
8280
|
# @return [Array<String>]
|
8230
8281
|
#
|
8231
8282
|
class Job < Struct.new(
|
@@ -13282,8 +13333,8 @@ module Aws::IoT
|
|
13282
13333
|
# @return [String]
|
13283
13334
|
#
|
13284
13335
|
# @!attribute [rw] max_results
|
13285
|
-
# The maximum number of results to return at one time. The
|
13286
|
-
# might contain fewer results but will never contain more.
|
13336
|
+
# The maximum number of results to return per page at one time. The
|
13337
|
+
# response might contain fewer results but will never contain more.
|
13287
13338
|
# @return [Integer]
|
13288
13339
|
#
|
13289
13340
|
# @!attribute [rw] query_version
|
@@ -14605,11 +14656,28 @@ module Aws::IoT
|
|
14605
14656
|
# @return [Array<Types::Field>]
|
14606
14657
|
#
|
14607
14658
|
# @!attribute [rw] filter
|
14608
|
-
# Provides additional
|
14609
|
-
#
|
14610
|
-
#
|
14611
|
-
#
|
14612
|
-
# names in
|
14659
|
+
# Provides additional selections for named shadows and geolocation
|
14660
|
+
# data.
|
14661
|
+
#
|
14662
|
+
# To add named shadows to your fleet indexing configuration, set
|
14663
|
+
# `namedShadowIndexingMode` to be ON and specify your shadow names in
|
14664
|
+
# `namedShadowNames` filter.
|
14665
|
+
#
|
14666
|
+
# To add geolocation data to your fleet indexing configuration:
|
14667
|
+
#
|
14668
|
+
# * If you store geolocation data in a class/unnamed shadow, set
|
14669
|
+
# `thingIndexingMode` to be `REGISTRY_AND_SHADOW` and specify your
|
14670
|
+
# geolocation data in `geoLocations` filter.
|
14671
|
+
#
|
14672
|
+
# * If you store geolocation data in a named shadow, set
|
14673
|
+
# `namedShadowIndexingMode` to be `ON`, add the shadow name in
|
14674
|
+
# `namedShadowNames` filter, and specify your geolocation data in
|
14675
|
+
# `geoLocations` filter. For more information, see [Managing fleet
|
14676
|
+
# indexing][1].
|
14677
|
+
#
|
14678
|
+
#
|
14679
|
+
#
|
14680
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/managing-fleet-index.html
|
14613
14681
|
# @return [Types::IndexingFilter]
|
14614
14682
|
#
|
14615
14683
|
class ThingIndexingConfiguration < Struct.new(
|
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.113.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: 2023-11-
|
11
|
+
date: 2023-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|