Skip to content

Commit 5a07a4b

Browse files
author
AWS
committed
AWS IoT Update: Added the ability to enable/disable IoT Fleet Indexing for Device Defender and Named Shadow information, and search them through IoT Fleet Indexing APIs.
1 parent 57b5add commit 5a07a4b

File tree

2 files changed

+35
-3
lines changed

2 files changed

+35
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS IoT",
4+
"contributor": "",
5+
"description": "Added the ability to enable/disable IoT Fleet Indexing for Device Defender and Named Shadow information, and search them through IoT Fleet Indexing APIs."
6+
}

services/iot/src/main/resources/codegen-resources/service-2.json

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8877,7 +8877,7 @@
88778877
},
88788878
"schema":{
88798879
"shape":"IndexSchema",
8880-
"documentation":"<p>Contains a value that specifies the type of indexing performed. Valid values are:</p> <ul> <li> <p>REGISTRY – Your thing index contains only registry data.</p> </li> <li> <p>REGISTRY_AND_SHADOW - Your thing index contains registry data and shadow data.</p> </li> <li> <p>REGISTRY_AND_CONNECTIVITY_STATUS - Your thing index contains registry data and thing connectivity status data.</p> </li> <li> <p>REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains registry data, shadow data, and thing connectivity status data.</p> </li> </ul>"
8880+
"documentation":"<p>Contains a value that specifies the type of indexing performed. Valid values are:</p> <ul> <li> <p>REGISTRY – Your thing index contains only registry data.</p> </li> <li> <p>REGISTRY_AND_SHADOW - Your thing index contains registry data and shadow data.</p> </li> <li> <p>REGISTRY_AND_CONNECTIVITY_STATUS - Your thing index contains registry data and thing connectivity status data.</p> </li> <li> <p>REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains registry data, shadow data, and thing connectivity status data.</p> </li> <li> <p>MULTI_INDEXING_MODE - Your thing index contains multiple data sources. For more information, see <a href=\"https://docs.aws.amazon.com/iot/latest/apireference/API_GetIndexingConfiguration.html\">GetIndexingConfiguration</a>.</p> </li> </ul>"
88818881
}
88828882
}
88838883
},
@@ -9823,6 +9823,13 @@
98239823
"type":"string",
98249824
"enum":["DEACTIVATE"]
98259825
},
9826+
"DeviceDefenderIndexingMode":{
9827+
"type":"string",
9828+
"enum":[
9829+
"OFF",
9830+
"VIOLATIONS"
9831+
]
9832+
},
98269833
"DeviceDefenderThingName":{
98279834
"type":"string",
98289835
"max":128,
@@ -14428,6 +14435,13 @@
1442814435
"max":65535,
1442914436
"min":1
1443014437
},
14438+
"NamedShadowIndexingMode":{
14439+
"type":"string",
14440+
"enum":[
14441+
"OFF",
14442+
"ON"
14443+
]
14444+
},
1443114445
"NamespaceId":{
1443214446
"type":"string",
1443314447
"max":64,
@@ -16962,7 +16976,11 @@
1696216976
},
1696316977
"shadow":{
1696416978
"shape":"JsonDocument",
16965-
"documentation":"<p>The shadow.</p>"
16979+
"documentation":"<p>The unnamed shadow and named shadow.</p> <p>For more information about shadows, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.html\">IoT Device Shadow service.</a> </p>"
16980+
},
16981+
"deviceDefender":{
16982+
"shape":"JsonDocument",
16983+
"documentation":"<p>Contains Device Defender data.</p> <p>For more information about Device Defender, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/device-defender.html\">Device Defender</a>. </p>"
1696616984
},
1696716985
"connectivity":{
1696816986
"shape":"ThingConnectivity",
@@ -17112,6 +17130,14 @@
1711217130
"shape":"ThingConnectivityIndexingMode",
1711317131
"documentation":"<p>Thing connectivity indexing mode. Valid values are: </p> <ul> <li> <p>STATUS – Your thing index contains connectivity status. To enable thing connectivity indexing, <i>thingIndexMode</i> must not be set to OFF.</p> </li> <li> <p>OFF - Thing connectivity status indexing is disabled.</p> </li> </ul>"
1711417132
},
17133+
"deviceDefenderIndexingMode":{
17134+
"shape":"DeviceDefenderIndexingMode",
17135+
"documentation":"<p>Device Defender indexing mode. Valid values are:</p> <ul> <li> <p>VIOLATIONS – Your thing index contains Device Defender violations. To enable Device Defender indexing, <i>deviceDefenderIndexingMode</i> must not be set to OFF.</p> </li> <li> <p>OFF - Device Defender indexing is disabled.</p> </li> </ul> <p>For more information about Device Defender violations, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/device-defender-detect.html\">Device Defender Detect.</a> </p>"
17136+
},
17137+
"namedShadowIndexingMode":{
17138+
"shape":"NamedShadowIndexingMode",
17139+
"documentation":"<p>Named shadow indexing mode. Valid values are:</p> <ul> <li> <p>ON – Your thing index contains named shadow. To enable thing named shadow indexing, <i>namedShadowIndexingMode</i> must not be set to OFF.</p> </li> <li> <p>OFF - Named shadow indexing is disabled.</p> </li> </ul> <p>For more information about Shadows, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/iot-device-shadows.html\">IoT Device Shadow service.</a> </p>"
17140+
},
1711517141
"managedFields":{
1711617142
"shape":"Fields",
1711717143
"documentation":"<p>Contains fields that are indexed and whose types are already known by the Fleet Indexing service.</p>"
@@ -18120,7 +18146,7 @@
1812018146
},
1812118147
"unit":{
1812218148
"shape":"FleetMetricUnit",
18123-
"documentation":"<p>Used to support unit transformation such as milliseconds to seconds. The unit must be supported by <a href=\"https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html\">CW metric</a>.</p>"
18149+
"documentation":"<p>Used to support unit transformation such as milliseconds to seconds. The unit must be supported by <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html\">CW metric</a>.</p>"
1812418150
},
1812518151
"expectedVersion":{
1812618152
"shape":"OptionalVersion",

0 commit comments

Comments
 (0)