aws-sdk-iot 1.79.0 → 1.80.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +10 -3
- data/lib/aws-sdk-iot/client_api.rb +5 -0
- data/lib/aws-sdk-iot/types.rb +67 -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: 99180939c760040c4b2a57cd344c3ffcf2d7ef7c4db67cc4ce431e3eefddef4d
|
4
|
+
data.tar.gz: ac8101a6a0eecd480f0e4780c1f4ce91192136c1a5bead7d641c26d1c5a25ef8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89db1fe535c5e329fe927c835efa29c5c5546ee16578242cd72c73b0fdda33de013fc765037d8379a99539ff444cbbf02c2cb93bfa3779f886f11a9eb1d07910
|
7
|
+
data.tar.gz: dc7611ec8edb674aa99c84c87be38e4e6fcf530d046c60665b38d3a0b3f64eb82cb45d7320ce620b1d113863b4a65fbfe6fec9523e1c3681c01489a7a66cc311
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.80.0 (2021-11-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added the ability to enable/disable IoT Fleet Indexing for Device Defender and Named Shadow information, and search them through IoT Fleet Indexing APIs.
|
8
|
+
|
4
9
|
1.79.0 (2021-11-23)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.80.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -119,7 +119,9 @@ module Aws::IoT
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -6604,6 +6606,8 @@ module Aws::IoT
|
|
6604
6606
|
#
|
6605
6607
|
# resp.thing_indexing_configuration.thing_indexing_mode #=> String, one of "OFF", "REGISTRY", "REGISTRY_AND_SHADOW"
|
6606
6608
|
# resp.thing_indexing_configuration.thing_connectivity_indexing_mode #=> String, one of "OFF", "STATUS"
|
6609
|
+
# resp.thing_indexing_configuration.device_defender_indexing_mode #=> String, one of "OFF", "VIOLATIONS"
|
6610
|
+
# resp.thing_indexing_configuration.named_shadow_indexing_mode #=> String, one of "OFF", "ON"
|
6607
6611
|
# resp.thing_indexing_configuration.managed_fields #=> Array
|
6608
6612
|
# resp.thing_indexing_configuration.managed_fields[0].name #=> String
|
6609
6613
|
# resp.thing_indexing_configuration.managed_fields[0].type #=> String, one of "Number", "String", "Boolean"
|
@@ -11267,6 +11271,7 @@ module Aws::IoT
|
|
11267
11271
|
# resp.things[0].attributes #=> Hash
|
11268
11272
|
# resp.things[0].attributes["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
11269
11273
|
# resp.things[0].shadow #=> String
|
11274
|
+
# resp.things[0].device_defender #=> String
|
11270
11275
|
# resp.things[0].connectivity.connected #=> Boolean
|
11271
11276
|
# resp.things[0].connectivity.timestamp #=> Integer
|
11272
11277
|
# resp.things[0].connectivity.disconnect_reason #=> String
|
@@ -12570,7 +12575,7 @@ module Aws::IoT
|
|
12570
12575
|
#
|
12571
12576
|
#
|
12572
12577
|
#
|
12573
|
-
# [1]: https://docs.aws.amazon.com/
|
12578
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
|
12574
12579
|
#
|
12575
12580
|
# @option params [Integer] :expected_version
|
12576
12581
|
# The expected version of the fleet metric record in the registry.
|
@@ -12625,6 +12630,8 @@ module Aws::IoT
|
|
12625
12630
|
# thing_indexing_configuration: {
|
12626
12631
|
# thing_indexing_mode: "OFF", # required, accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
|
12627
12632
|
# thing_connectivity_indexing_mode: "OFF", # accepts OFF, STATUS
|
12633
|
+
# device_defender_indexing_mode: "OFF", # accepts OFF, VIOLATIONS
|
12634
|
+
# named_shadow_indexing_mode: "OFF", # accepts OFF, ON
|
12628
12635
|
# managed_fields: [
|
12629
12636
|
# {
|
12630
12637
|
# name: "FieldName",
|
@@ -13501,7 +13508,7 @@ module Aws::IoT
|
|
13501
13508
|
params: params,
|
13502
13509
|
config: config)
|
13503
13510
|
context[:gem_name] = 'aws-sdk-iot'
|
13504
|
-
context[:gem_version] = '1.
|
13511
|
+
context[:gem_version] = '1.80.0'
|
13505
13512
|
Seahorse::Client::Request.new(handlers, context)
|
13506
13513
|
end
|
13507
13514
|
|
@@ -451,6 +451,7 @@ module Aws::IoT
|
|
451
451
|
DetectMitigationActionsTaskTarget = Shapes::StructureShape.new(name: 'DetectMitigationActionsTaskTarget')
|
452
452
|
DetectMitigationActionsToExecuteList = Shapes::ListShape.new(name: 'DetectMitigationActionsToExecuteList')
|
453
453
|
DeviceCertificateUpdateAction = Shapes::StringShape.new(name: 'DeviceCertificateUpdateAction')
|
454
|
+
DeviceDefenderIndexingMode = Shapes::StringShape.new(name: 'DeviceDefenderIndexingMode')
|
454
455
|
DeviceDefenderThingName = Shapes::StringShape.new(name: 'DeviceDefenderThingName')
|
455
456
|
DimensionArn = Shapes::StringShape.new(name: 'DimensionArn')
|
456
457
|
DimensionName = Shapes::StringShape.new(name: 'DimensionName')
|
@@ -809,6 +810,7 @@ module Aws::IoT
|
|
809
810
|
MqttContext = Shapes::StructureShape.new(name: 'MqttContext')
|
810
811
|
MqttPassword = Shapes::BlobShape.new(name: 'MqttPassword')
|
811
812
|
MqttUsername = Shapes::StringShape.new(name: 'MqttUsername')
|
813
|
+
NamedShadowIndexingMode = Shapes::StringShape.new(name: 'NamedShadowIndexingMode')
|
812
814
|
NamespaceId = Shapes::StringShape.new(name: 'NamespaceId')
|
813
815
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
814
816
|
NonCompliantChecksCount = Shapes::IntegerShape.new(name: 'NonCompliantChecksCount')
|
@@ -4313,6 +4315,7 @@ module Aws::IoT
|
|
4313
4315
|
ThingDocument.add_member(:thing_group_names, Shapes::ShapeRef.new(shape: ThingGroupNameList, location_name: "thingGroupNames"))
|
4314
4316
|
ThingDocument.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
|
4315
4317
|
ThingDocument.add_member(:shadow, Shapes::ShapeRef.new(shape: JsonDocument, location_name: "shadow"))
|
4318
|
+
ThingDocument.add_member(:device_defender, Shapes::ShapeRef.new(shape: JsonDocument, location_name: "deviceDefender"))
|
4316
4319
|
ThingDocument.add_member(:connectivity, Shapes::ShapeRef.new(shape: ThingConnectivity, location_name: "connectivity"))
|
4317
4320
|
ThingDocument.struct_class = Types::ThingDocument
|
4318
4321
|
|
@@ -4351,6 +4354,8 @@ module Aws::IoT
|
|
4351
4354
|
|
4352
4355
|
ThingIndexingConfiguration.add_member(:thing_indexing_mode, Shapes::ShapeRef.new(shape: ThingIndexingMode, required: true, location_name: "thingIndexingMode"))
|
4353
4356
|
ThingIndexingConfiguration.add_member(:thing_connectivity_indexing_mode, Shapes::ShapeRef.new(shape: ThingConnectivityIndexingMode, location_name: "thingConnectivityIndexingMode"))
|
4357
|
+
ThingIndexingConfiguration.add_member(:device_defender_indexing_mode, Shapes::ShapeRef.new(shape: DeviceDefenderIndexingMode, location_name: "deviceDefenderIndexingMode"))
|
4358
|
+
ThingIndexingConfiguration.add_member(:named_shadow_indexing_mode, Shapes::ShapeRef.new(shape: NamedShadowIndexingMode, location_name: "namedShadowIndexingMode"))
|
4354
4359
|
ThingIndexingConfiguration.add_member(:managed_fields, Shapes::ShapeRef.new(shape: Fields, location_name: "managedFields"))
|
4355
4360
|
ThingIndexingConfiguration.add_member(:custom_fields, Shapes::ShapeRef.new(shape: Fields, location_name: "customFields"))
|
4356
4361
|
ThingIndexingConfiguration.struct_class = Types::ThingIndexingConfiguration
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -7155,6 +7155,13 @@ module Aws::IoT
|
|
7155
7155
|
# * REGISTRY\_AND\_SHADOW\_AND\_CONNECTIVITY\_STATUS - Your thing
|
7156
7156
|
# index contains registry data, shadow data, and thing connectivity
|
7157
7157
|
# status data.
|
7158
|
+
#
|
7159
|
+
# * MULTI\_INDEXING\_MODE - Your thing index contains multiple data
|
7160
|
+
# sources. For more information, see [GetIndexingConfiguration][1].
|
7161
|
+
#
|
7162
|
+
#
|
7163
|
+
#
|
7164
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_GetIndexingConfiguration.html
|
7158
7165
|
# @return [String]
|
7159
7166
|
#
|
7160
7167
|
class DescribeIndexResponse < Struct.new(
|
@@ -17148,7 +17155,25 @@ module Aws::IoT
|
|
17148
17155
|
# @return [Hash<String,String>]
|
17149
17156
|
#
|
17150
17157
|
# @!attribute [rw] shadow
|
17151
|
-
# The shadow.
|
17158
|
+
# The unnamed shadow and named shadow.
|
17159
|
+
#
|
17160
|
+
# For more information about shadows, see [IoT Device Shadow
|
17161
|
+
# service.][1]
|
17162
|
+
#
|
17163
|
+
#
|
17164
|
+
#
|
17165
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.html
|
17166
|
+
# @return [String]
|
17167
|
+
#
|
17168
|
+
# @!attribute [rw] device_defender
|
17169
|
+
# Contains Device Defender data.
|
17170
|
+
#
|
17171
|
+
# For more information about Device Defender, see [Device
|
17172
|
+
# Defender][1].
|
17173
|
+
#
|
17174
|
+
#
|
17175
|
+
#
|
17176
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/device-defender.html
|
17152
17177
|
# @return [String]
|
17153
17178
|
#
|
17154
17179
|
# @!attribute [rw] connectivity
|
@@ -17163,6 +17188,7 @@ module Aws::IoT
|
|
17163
17188
|
:thing_group_names,
|
17164
17189
|
:attributes,
|
17165
17190
|
:shadow,
|
17191
|
+
:device_defender,
|
17166
17192
|
:connectivity)
|
17167
17193
|
SENSITIVE = []
|
17168
17194
|
include Aws::Structure
|
@@ -17311,6 +17337,8 @@ module Aws::IoT
|
|
17311
17337
|
# {
|
17312
17338
|
# thing_indexing_mode: "OFF", # required, accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
|
17313
17339
|
# thing_connectivity_indexing_mode: "OFF", # accepts OFF, STATUS
|
17340
|
+
# device_defender_indexing_mode: "OFF", # accepts OFF, VIOLATIONS
|
17341
|
+
# named_shadow_indexing_mode: "OFF", # accepts OFF, ON
|
17314
17342
|
# managed_fields: [
|
17315
17343
|
# {
|
17316
17344
|
# name: "FieldName",
|
@@ -17346,6 +17374,39 @@ module Aws::IoT
|
|
17346
17374
|
# * OFF - Thing connectivity status indexing is disabled.
|
17347
17375
|
# @return [String]
|
17348
17376
|
#
|
17377
|
+
# @!attribute [rw] device_defender_indexing_mode
|
17378
|
+
# Device Defender indexing mode. Valid values are:
|
17379
|
+
#
|
17380
|
+
# * VIOLATIONS – Your thing index contains Device Defender violations.
|
17381
|
+
# To enable Device Defender indexing, *deviceDefenderIndexingMode*
|
17382
|
+
# must not be set to OFF.
|
17383
|
+
#
|
17384
|
+
# * OFF - Device Defender indexing is disabled.
|
17385
|
+
#
|
17386
|
+
# For more information about Device Defender violations, see [Device
|
17387
|
+
# Defender Detect.][1]
|
17388
|
+
#
|
17389
|
+
#
|
17390
|
+
#
|
17391
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/device-defender-detect.html
|
17392
|
+
# @return [String]
|
17393
|
+
#
|
17394
|
+
# @!attribute [rw] named_shadow_indexing_mode
|
17395
|
+
# Named shadow indexing mode. Valid values are:
|
17396
|
+
#
|
17397
|
+
# * ON – Your thing index contains named shadow. To enable thing named
|
17398
|
+
# shadow indexing, *namedShadowIndexingMode* must not be set to OFF.
|
17399
|
+
#
|
17400
|
+
# * OFF - Named shadow indexing is disabled.
|
17401
|
+
#
|
17402
|
+
# For more information about Shadows, see [IoT Device Shadow
|
17403
|
+
# service.][1]
|
17404
|
+
#
|
17405
|
+
#
|
17406
|
+
#
|
17407
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.html
|
17408
|
+
# @return [String]
|
17409
|
+
#
|
17349
17410
|
# @!attribute [rw] managed_fields
|
17350
17411
|
# Contains fields that are indexed and whose types are already known
|
17351
17412
|
# by the Fleet Indexing service.
|
@@ -17358,6 +17419,8 @@ module Aws::IoT
|
|
17358
17419
|
class ThingIndexingConfiguration < Struct.new(
|
17359
17420
|
:thing_indexing_mode,
|
17360
17421
|
:thing_connectivity_indexing_mode,
|
17422
|
+
:device_defender_indexing_mode,
|
17423
|
+
:named_shadow_indexing_mode,
|
17361
17424
|
:managed_fields,
|
17362
17425
|
:custom_fields)
|
17363
17426
|
SENSITIVE = []
|
@@ -19116,7 +19179,7 @@ module Aws::IoT
|
|
19116
19179
|
#
|
19117
19180
|
#
|
19118
19181
|
#
|
19119
|
-
# [1]: https://docs.aws.amazon.com/
|
19182
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
|
19120
19183
|
# @return [String]
|
19121
19184
|
#
|
19122
19185
|
# @!attribute [rw] expected_version
|
@@ -19145,6 +19208,8 @@ module Aws::IoT
|
|
19145
19208
|
# thing_indexing_configuration: {
|
19146
19209
|
# thing_indexing_mode: "OFF", # required, accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
|
19147
19210
|
# thing_connectivity_indexing_mode: "OFF", # accepts OFF, STATUS
|
19211
|
+
# device_defender_indexing_mode: "OFF", # accepts OFF, VIOLATIONS
|
19212
|
+
# named_shadow_indexing_mode: "OFF", # accepts OFF, ON
|
19148
19213
|
# managed_fields: [
|
19149
19214
|
# {
|
19150
19215
|
# name: "FieldName",
|
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.80.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-11-
|
11
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|