Skip to content

Commit f14412f

Browse files
author
AWS
committed
AWS IoT Update: Updated API documentation and added paginator for AWS Iot Registry ListThingPrincipals API.
1 parent fea85b0 commit f14412f

File tree

3 files changed

+61
-30
lines changed

3 files changed

+61
-30
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": "Updated API documentation and added paginator for AWS Iot Registry ListThingPrincipals API."
6+
}

services/iot/src/main/resources/codegen-resources/paginators-1.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,12 @@
221221
"output_token": "nextToken",
222222
"result_key": "thingGroups"
223223
},
224+
"ListThingPrincipals": {
225+
"input_token": "nextToken",
226+
"limit_key": "maxResults",
227+
"output_token": "nextToken",
228+
"result_key": "principals"
229+
},
224230
"ListThingRegistrationTaskReports": {
225231
"input_token": "nextToken",
226232
"limit_key": "maxResults",

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

Lines changed: 49 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2641,7 +2641,8 @@
26412641
"errors":[
26422642
{"shape":"InvalidRequestException"},
26432643
{"shape":"InternalFailureException"},
2644-
{"shape":"ResourceNotFoundException"}
2644+
{"shape":"ResourceNotFoundException"},
2645+
{"shape":"ThrottlingException"}
26452646
],
26462647
"documentation":"<p>List the thing groups in your account.</p>"
26472648
},
@@ -2656,7 +2657,8 @@
26562657
"errors":[
26572658
{"shape":"InvalidRequestException"},
26582659
{"shape":"InternalFailureException"},
2659-
{"shape":"ResourceNotFoundException"}
2660+
{"shape":"ResourceNotFoundException"},
2661+
{"shape":"ThrottlingException"}
26602662
],
26612663
"documentation":"<p>List the thing groups to which the specified thing belongs.</p>"
26622664
},
@@ -2771,7 +2773,8 @@
27712773
"errors":[
27722774
{"shape":"InvalidRequestException"},
27732775
{"shape":"InternalFailureException"},
2774-
{"shape":"ResourceNotFoundException"}
2776+
{"shape":"ResourceNotFoundException"},
2777+
{"shape":"ThrottlingException"}
27752778
],
27762779
"documentation":"<p>Lists the things in the specified group.</p>"
27772780
},
@@ -10657,7 +10660,7 @@
1065710660
"members":{
1065810661
"nextToken":{
1065910662
"shape":"NextToken",
10660-
"documentation":"<p>The token to retrieve the next set of results.</p>",
10663+
"documentation":"<p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>",
1066110664
"location":"querystring",
1066210665
"locationName":"nextToken"
1066310666
},
@@ -10684,7 +10687,7 @@
1068410687
},
1068510688
"nextToken":{
1068610689
"shape":"NextToken",
10687-
"documentation":"<p>The token used to get the next set of results, or <b>null</b> if there are no additional results.</p>"
10690+
"documentation":"<p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>"
1068810691
}
1068910692
}
1069010693
},
@@ -11324,7 +11327,7 @@
1132411327
"members":{
1132511328
"nextToken":{
1132611329
"shape":"NextToken",
11327-
"documentation":"<p>The token to retrieve the next set of results.</p>",
11330+
"documentation":"<p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>",
1132811331
"location":"querystring",
1132911332
"locationName":"nextToken"
1133011333
},
@@ -11352,7 +11355,7 @@
1135211355
},
1135311356
"nextToken":{
1135411357
"shape":"NextToken",
11355-
"documentation":"<p>The token used to get the next set of results, or <b>null</b> if there are no additional results.</p>"
11358+
"documentation":"<p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>"
1135611359
}
1135711360
},
1135811361
"documentation":"<p>The output from the ListPrincipalThings operation.</p>"
@@ -11618,7 +11621,7 @@
1161811621
},
1161911622
"nextToken":{
1162011623
"shape":"NextToken",
11621-
"documentation":"<p>The token to retrieve the next set of results.</p>",
11624+
"documentation":"<p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>",
1162211625
"location":"querystring",
1162311626
"locationName":"nextToken"
1162411627
}
@@ -11633,7 +11636,7 @@
1163311636
},
1163411637
"nextToken":{
1163511638
"shape":"NextToken",
11636-
"documentation":"<p>The token used to get the next set of results, or <b>null</b> if there are no additional results.</p>"
11639+
"documentation":"<p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>"
1163711640
}
1163811641
}
1163911642
},
@@ -11723,7 +11726,7 @@
1172311726
},
1172411727
"nextToken":{
1172511728
"shape":"NextToken",
11726-
"documentation":"<p>The token to retrieve the next set of results.</p>",
11729+
"documentation":"<p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>",
1172711730
"location":"querystring",
1172811731
"locationName":"nextToken"
1172911732
},
@@ -11744,7 +11747,7 @@
1174411747
},
1174511748
"nextToken":{
1174611749
"shape":"NextToken",
11747-
"documentation":"<p>The token used to get the next set of results, or <b>null</b> if there are no additional results.</p>"
11750+
"documentation":"<p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>"
1174811751
}
1174911752
}
1175011753
},
@@ -11753,7 +11756,7 @@
1175311756
"members":{
1175411757
"nextToken":{
1175511758
"shape":"NextToken",
11756-
"documentation":"<p>The token to retrieve the next set of results.</p>",
11759+
"documentation":"<p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>",
1175711760
"location":"querystring",
1175811761
"locationName":"nextToken"
1175911762
},
@@ -11792,14 +11795,26 @@
1179211795
},
1179311796
"nextToken":{
1179411797
"shape":"NextToken",
11795-
"documentation":"<p>The token used to get the next set of results. Will not be returned if operation has returned all results.</p>"
11798+
"documentation":"<p>The token to use to get the next set of results. Will not be returned if operation has returned all results.</p>"
1179611799
}
1179711800
}
1179811801
},
1179911802
"ListThingPrincipalsRequest":{
1180011803
"type":"structure",
1180111804
"required":["thingName"],
1180211805
"members":{
11806+
"nextToken":{
11807+
"shape":"NextToken",
11808+
"documentation":"<p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>",
11809+
"location":"querystring",
11810+
"locationName":"nextToken"
11811+
},
11812+
"maxResults":{
11813+
"shape":"RegistryMaxResults",
11814+
"documentation":"<p>The maximum number of results to return in this operation.</p>",
11815+
"location":"querystring",
11816+
"locationName":"maxResults"
11817+
},
1180311818
"thingName":{
1180411819
"shape":"ThingName",
1180511820
"documentation":"<p>The name of the thing.</p>",
@@ -11815,6 +11830,10 @@
1181511830
"principals":{
1181611831
"shape":"Principals",
1181711832
"documentation":"<p>The principals associated with the thing.</p>"
11833+
},
11834+
"nextToken":{
11835+
"shape":"NextToken",
11836+
"documentation":"<p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>"
1181811837
}
1181911838
},
1182011839
"documentation":"<p>The output from the ListThingPrincipals operation.</p>"
@@ -11840,7 +11859,7 @@
1184011859
},
1184111860
"nextToken":{
1184211861
"shape":"NextToken",
11843-
"documentation":"<p>The token to retrieve the next set of results.</p>",
11862+
"documentation":"<p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>",
1184411863
"location":"querystring",
1184511864
"locationName":"nextToken"
1184611865
},
@@ -11865,7 +11884,7 @@
1186511884
},
1186611885
"nextToken":{
1186711886
"shape":"NextToken",
11868-
"documentation":"<p>The token used to get the next set of results, or <b>null</b> if there are no additional results.</p>"
11887+
"documentation":"<p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>"
1186911888
}
1187011889
}
1187111890
},
@@ -11874,7 +11893,7 @@
1187411893
"members":{
1187511894
"nextToken":{
1187611895
"shape":"NextToken",
11877-
"documentation":"<p>The token to retrieve the next set of results.</p>",
11896+
"documentation":"<p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>",
1187811897
"location":"querystring",
1187911898
"locationName":"nextToken"
1188011899
},
@@ -11901,7 +11920,7 @@
1190111920
},
1190211921
"nextToken":{
1190311922
"shape":"NextToken",
11904-
"documentation":"<p>The token used to get the next set of results, or <b>null</b> if there are no additional results.</p>"
11923+
"documentation":"<p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>"
1190511924
}
1190611925
}
1190711926
},
@@ -11910,7 +11929,7 @@
1191011929
"members":{
1191111930
"nextToken":{
1191211931
"shape":"NextToken",
11913-
"documentation":"<p>The token to retrieve the next set of results.</p>",
11932+
"documentation":"<p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>",
1191411933
"location":"querystring",
1191511934
"locationName":"nextToken"
1191611935
},
@@ -11955,7 +11974,7 @@
1195511974
},
1195611975
"nextToken":{
1195711976
"shape":"NextToken",
11958-
"documentation":"<p>The token to retrieve the next set of results.</p>",
11977+
"documentation":"<p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>",
1195911978
"location":"querystring",
1196011979
"locationName":"nextToken"
1196111980
},
@@ -11976,7 +11995,7 @@
1197611995
},
1197711996
"nextToken":{
1197811997
"shape":"NextToken",
11979-
"documentation":"<p>The token used to get the next set of results. Will not be returned if operation has returned all results.</p>"
11998+
"documentation":"<p>The token to use to get the next set of results. Will not be returned if operation has returned all results.</p>"
1198011999
}
1198112000
}
1198212001
},
@@ -11998,7 +12017,7 @@
1199812017
},
1199912018
"nextToken":{
1200012019
"shape":"NextToken",
12001-
"documentation":"<p>The token to retrieve the next set of results.</p>",
12020+
"documentation":"<p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>",
1200212021
"location":"querystring",
1200312022
"locationName":"nextToken"
1200412023
},
@@ -12019,7 +12038,7 @@
1201912038
},
1202012039
"nextToken":{
1202112040
"shape":"NextToken",
12022-
"documentation":"<p>The token used to get the next set of results, or <b>null</b> if there are no additional results.</p>"
12041+
"documentation":"<p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>"
1202312042
}
1202412043
}
1202512044
},
@@ -12028,7 +12047,7 @@
1202812047
"members":{
1202912048
"nextToken":{
1203012049
"shape":"NextToken",
12031-
"documentation":"<p>The token to retrieve the next set of results.</p>",
12050+
"documentation":"<p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>",
1203212051
"location":"querystring",
1203312052
"locationName":"nextToken"
1203412053
},
@@ -12068,7 +12087,7 @@
1206812087
},
1206912088
"nextToken":{
1207012089
"shape":"NextToken",
12071-
"documentation":"<p>The token used to get the next set of results. Will not be returned if operation has returned all results.</p>"
12090+
"documentation":"<p>The token to use to get the next set of results. Will not be returned if operation has returned all results.</p>"
1207212091
}
1207312092
},
1207412093
"documentation":"<p>The output from the ListThings operation.</p>"
@@ -12084,7 +12103,7 @@
1208412103
},
1208512104
"nextToken":{
1208612105
"shape":"NextToken",
12087-
"documentation":"<p>The token to retrieve the next set of results.</p>",
12106+
"documentation":"<p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>",
1208812107
"location":"querystring",
1208912108
"locationName":"nextToken"
1209012109
}
@@ -12099,7 +12118,7 @@
1209912118
},
1210012119
"nextToken":{
1210112120
"shape":"NextToken",
12102-
"documentation":"<p>The token to retrieve the next set of results.</p>"
12121+
"documentation":"<p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>"
1210312122
}
1210412123
}
1210512124
},
@@ -12120,7 +12139,7 @@
1212012139
},
1212112140
"nextToken":{
1212212141
"shape":"NextToken",
12123-
"documentation":"<p>A token used to retrieve the next value.</p>",
12142+
"documentation":"<p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>",
1212412143
"location":"querystring",
1212512144
"locationName":"nextToken"
1212612145
},
@@ -12142,7 +12161,7 @@
1214212161
},
1214312162
"nextToken":{
1214412163
"shape":"NextToken",
12145-
"documentation":"<p>A token used to retrieve the next value.</p>"
12164+
"documentation":"<p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>"
1214612165
}
1214712166
},
1214812167
"documentation":"<p>The output from the ListTopicRules operation.</p>"
@@ -12158,7 +12177,7 @@
1215812177
},
1215912178
"nextToken":{
1216012179
"shape":"NextToken",
12161-
"documentation":"<p>The token used to get the next set of results, or <b>null</b> if there are no additional results.</p>",
12180+
"documentation":"<p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>",
1216212181
"location":"querystring",
1216312182
"locationName":"nextToken"
1216412183
},
@@ -12179,7 +12198,7 @@
1217912198
},
1218012199
"nextToken":{
1218112200
"shape":"NextToken",
12182-
"documentation":"<p>The token used to get the next set of results, or <b>null</b> if there are no additional results.</p>"
12201+
"documentation":"<p>The token to use to get the next set of results, or <b>null</b> if there are no additional results.</p>"
1218312202
}
1218412203
}
1218512204
},

0 commit comments

Comments
 (0)