Skip to content

Commit 9290fdc

Browse files
author
AWS
committed
Amazon Honeycode Update: Honeycode is releasing new APIs to allow user to create, delete and list tags on resources.
1 parent d56c1d3 commit 9290fdc

File tree

2 files changed

+166
-1
lines changed

2 files changed

+166
-1
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": "Amazon Honeycode",
4+
"contributor": "",
5+
"description": "Honeycode is releasing new APIs to allow user to create, delete and list tags on resources."
6+
}

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

Lines changed: 160 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,25 @@
206206
],
207207
"documentation":"<p> The ListTables API allows you to retrieve a list of all the tables in a workbook. </p>"
208208
},
209+
"ListTagsForResource":{
210+
"name":"ListTagsForResource",
211+
"http":{
212+
"method":"GET",
213+
"requestUri":"/tags/{resourceArn}"
214+
},
215+
"input":{"shape":"ListTagsForResourceRequest"},
216+
"output":{"shape":"ListTagsForResourceResult"},
217+
"errors":[
218+
{"shape":"AccessDeniedException"},
219+
{"shape":"InternalServerException"},
220+
{"shape":"RequestTimeoutException"},
221+
{"shape":"ResourceNotFoundException"},
222+
{"shape":"ServiceUnavailableException"},
223+
{"shape":"ThrottlingException"},
224+
{"shape":"ValidationException"}
225+
],
226+
"documentation":"<p> The ListTagsForResource API allows you to return a resource's tags. </p>"
227+
},
209228
"QueryTableRows":{
210229
"name":"QueryTableRows",
211230
"http":{
@@ -242,6 +261,44 @@
242261
{"shape":"ValidationException"}
243262
],
244263
"documentation":"<p> The StartTableDataImportJob API allows you to start an import job on a table. This API will only return the id of the job that was started. To find out the status of the import request, you need to call the DescribeTableDataImportJob API. </p>"
264+
},
265+
"TagResource":{
266+
"name":"TagResource",
267+
"http":{
268+
"method":"POST",
269+
"requestUri":"/tags/{resourceArn}"
270+
},
271+
"input":{"shape":"TagResourceRequest"},
272+
"output":{"shape":"TagResourceResult"},
273+
"errors":[
274+
{"shape":"AccessDeniedException"},
275+
{"shape":"InternalServerException"},
276+
{"shape":"RequestTimeoutException"},
277+
{"shape":"ResourceNotFoundException"},
278+
{"shape":"ServiceUnavailableException"},
279+
{"shape":"ThrottlingException"},
280+
{"shape":"ValidationException"}
281+
],
282+
"documentation":"<p> The TagResource API allows you to add tags to an ARN-able resource. Resource includes workbook, table, screen and screen-automation. </p>"
283+
},
284+
"UntagResource":{
285+
"name":"UntagResource",
286+
"http":{
287+
"method":"DELETE",
288+
"requestUri":"/tags/{resourceArn}"
289+
},
290+
"input":{"shape":"UntagResourceRequest"},
291+
"output":{"shape":"UntagResourceResult"},
292+
"errors":[
293+
{"shape":"AccessDeniedException"},
294+
{"shape":"InternalServerException"},
295+
{"shape":"RequestTimeoutException"},
296+
{"shape":"ResourceNotFoundException"},
297+
{"shape":"ServiceUnavailableException"},
298+
{"shape":"ThrottlingException"},
299+
{"shape":"ValidationException"}
300+
],
301+
"documentation":"<p> The UntagResource API allows you to removes tags from an ARN-able resource. Resource includes workbook, table, screen and screen-automation. </p>"
245302
}
246303
},
247304
"shapes":{
@@ -779,7 +836,7 @@
779836
},
780837
"appId":{
781838
"shape":"ResourceId",
782-
"documentation":"<p>The ID of the app that contains the screem.</p>"
839+
"documentation":"<p>The ID of the app that contains the screen.</p>"
783840
},
784841
"screenId":{
785842
"shape":"ResourceId",
@@ -1114,6 +1171,27 @@
11141171
}
11151172
}
11161173
},
1174+
"ListTagsForResourceRequest":{
1175+
"type":"structure",
1176+
"required":["resourceArn"],
1177+
"members":{
1178+
"resourceArn":{
1179+
"shape":"ResourceArn",
1180+
"documentation":"<p>The resource's Amazon Resource Name (ARN).</p>",
1181+
"location":"uri",
1182+
"locationName":"resourceArn"
1183+
}
1184+
}
1185+
},
1186+
"ListTagsForResourceResult":{
1187+
"type":"structure",
1188+
"members":{
1189+
"tags":{
1190+
"shape":"TagsMap",
1191+
"documentation":"<p>The resource's tags.</p>"
1192+
}
1193+
}
1194+
},
11171195
"MaxResults":{
11181196
"type":"integer",
11191197
"box":true,
@@ -1208,6 +1286,12 @@
12081286
},
12091287
"exception":true
12101288
},
1289+
"ResourceArn":{
1290+
"type":"string",
1291+
"max":256,
1292+
"min":1,
1293+
"pattern":"^arn:aws:honeycode:.+:[0-9]{12}:.+:.+$"
1294+
},
12111295
"ResourceId":{
12121296
"type":"string",
12131297
"max":36,
@@ -1493,6 +1577,55 @@
14931577
"type":"list",
14941578
"member":{"shape":"Table"}
14951579
},
1580+
"TagKey":{
1581+
"type":"string",
1582+
"max":100,
1583+
"min":1,
1584+
"pattern":"^[^\\n\\r\\x00\\x08\\x0B\\x0C\\x0E\\x1F]*$"
1585+
},
1586+
"TagKeysList":{
1587+
"type":"list",
1588+
"member":{"shape":"TagKey"},
1589+
"documentation":"<p>A list of tag keys</p>",
1590+
"max":100
1591+
},
1592+
"TagResourceRequest":{
1593+
"type":"structure",
1594+
"required":[
1595+
"resourceArn",
1596+
"tags"
1597+
],
1598+
"members":{
1599+
"resourceArn":{
1600+
"shape":"ResourceArn",
1601+
"documentation":"<p>The resource's Amazon Resource Name (ARN).</p>",
1602+
"location":"uri",
1603+
"locationName":"resourceArn"
1604+
},
1605+
"tags":{
1606+
"shape":"TagsMap",
1607+
"documentation":"<p>A list of tags to apply to the resource.</p>"
1608+
}
1609+
}
1610+
},
1611+
"TagResourceResult":{
1612+
"type":"structure",
1613+
"members":{
1614+
}
1615+
},
1616+
"TagValue":{
1617+
"type":"string",
1618+
"max":100,
1619+
"min":1,
1620+
"pattern":"^[^\\n\\r\\x00\\x08\\x0B\\x0C\\x0E\\x1F]*$"
1621+
},
1622+
"TagsMap":{
1623+
"type":"map",
1624+
"key":{"shape":"TagKey"},
1625+
"value":{"shape":"TagValue"},
1626+
"documentation":"<p>A string to string map representing tags</p>",
1627+
"max":100
1628+
},
14961629
"ThrottlingException":{
14971630
"type":"structure",
14981631
"members":{
@@ -1503,6 +1636,32 @@
15031636
"exception":true
15041637
},
15051638
"TimestampInMillis":{"type":"timestamp"},
1639+
"UntagResourceRequest":{
1640+
"type":"structure",
1641+
"required":[
1642+
"resourceArn",
1643+
"tagKeys"
1644+
],
1645+
"members":{
1646+
"resourceArn":{
1647+
"shape":"ResourceArn",
1648+
"documentation":"<p>The resource's Amazon Resource Name (ARN).</p>",
1649+
"location":"uri",
1650+
"locationName":"resourceArn"
1651+
},
1652+
"tagKeys":{
1653+
"shape":"TagKeysList",
1654+
"documentation":"<p>A list of tag keys to remove from the resource.</p>",
1655+
"location":"querystring",
1656+
"locationName":"tagKeys"
1657+
}
1658+
}
1659+
},
1660+
"UntagResourceResult":{
1661+
"type":"structure",
1662+
"members":{
1663+
}
1664+
},
15061665
"UpdateRowData":{
15071666
"type":"structure",
15081667
"required":[

0 commit comments

Comments
 (0)