Skip to content

Commit 7a0ff7e

Browse files
author
AWS
committed
AWS Chatbot Update: This change adds support for tagging Chatbot configurations.
1 parent 3a9b6fb commit 7a0ff7e

File tree

2 files changed

+217
-0
lines changed

2 files changed

+217
-0
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 Chatbot",
4+
"contributor": "",
5+
"description": "This change adds support for tagging Chatbot configurations."
6+
}

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

Lines changed: 211 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"endpointPrefix":"chatbot",
66
"jsonVersion":"1.1",
77
"protocol":"rest-json",
8+
"protocols":["rest-json"],
89
"serviceFullName":"AWS Chatbot",
910
"serviceId":"chatbot",
1011
"signatureVersion":"v4",
@@ -321,6 +322,55 @@
321322
],
322323
"documentation":"Lists all Microsoft Teams user identities with a mapped role."
323324
},
325+
"ListTagsForResource":{
326+
"name":"ListTagsForResource",
327+
"http":{
328+
"method":"POST",
329+
"requestUri":"/list-tags-for-resource",
330+
"responseCode":200
331+
},
332+
"input":{"shape":"ListTagsForResourceRequest"},
333+
"output":{"shape":"ListTagsForResourceResponse"},
334+
"errors":[
335+
{"shape":"InternalServiceError"},
336+
{"shape":"ServiceUnavailableException"},
337+
{"shape":"ResourceNotFoundException"}
338+
],
339+
"documentation":"Retrieves the list of tags applied to a configuration."
340+
},
341+
"TagResource":{
342+
"name":"TagResource",
343+
"http":{
344+
"method":"POST",
345+
"requestUri":"/tag-resource",
346+
"responseCode":200
347+
},
348+
"input":{"shape":"TagResourceRequest"},
349+
"output":{"shape":"TagResourceResponse"},
350+
"errors":[
351+
{"shape":"InternalServiceError"},
352+
{"shape":"ServiceUnavailableException"},
353+
{"shape":"ResourceNotFoundException"},
354+
{"shape":"TooManyTagsException"}
355+
],
356+
"documentation":"Applies the supplied tags to a configuration."
357+
},
358+
"UntagResource":{
359+
"name":"UntagResource",
360+
"http":{
361+
"method":"POST",
362+
"requestUri":"/untag-resource",
363+
"responseCode":200
364+
},
365+
"input":{"shape":"UntagResourceRequest"},
366+
"output":{"shape":"UntagResourceResponse"},
367+
"errors":[
368+
{"shape":"InternalServiceError"},
369+
{"shape":"ServiceUnavailableException"},
370+
{"shape":"ResourceNotFoundException"}
371+
],
372+
"documentation":"Removes the supplied tags from a configuration"
373+
},
324374
"UpdateAccountPreferences":{
325375
"name":"UpdateAccountPreferences",
326376
"http":{
@@ -404,6 +454,12 @@
404454
},
405455
"documentation":"Preferences which apply for AWS Chatbot usage in the calling AWS account."
406456
},
457+
"AmazonResourceName":{
458+
"type":"string",
459+
"max":1011,
460+
"min":1,
461+
"pattern":"^arn:aws:(wheatley|chatbot):[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$"
462+
},
407463
"Arn":{
408464
"type":"string",
409465
"max":1224,
@@ -455,6 +511,10 @@
455511
"LoggingLevel":{
456512
"shape":"CustomerCwLogLevel",
457513
"documentation":"Specifies the logging level for this configuration. This property affects the log entries pushed to Amazon CloudWatch Logs.Logging levels include ERROR, INFO, or NONE."
514+
},
515+
"Tags":{
516+
"shape":"Tags",
517+
"documentation":"A list of tags applied to the configuration."
458518
}
459519
},
460520
"documentation":"An AWS Chatbot configuration for Amazon Chime."
@@ -557,6 +617,10 @@
557617
"LoggingLevel":{
558618
"shape":"CustomerCwLogLevel",
559619
"documentation":"Logging levels include ERROR, INFO, or NONE."
620+
},
621+
"Tags":{
622+
"shape":"Tags",
623+
"documentation":"A list of tags to apply to the configuration."
560624
}
561625
}
562626
},
@@ -622,6 +686,10 @@
622686
"UserAuthorizationRequired":{
623687
"shape":"BooleanAccountPreference",
624688
"documentation":"Enables use of a user role requirement in your chat configuration."
689+
},
690+
"Tags":{
691+
"shape":"Tags",
692+
"documentation":"A list of tags to apply to the configuration."
625693
}
626694
}
627695
},
@@ -696,6 +764,10 @@
696764
"UserAuthorizationRequired":{
697765
"shape":"BooleanAccountPreference",
698766
"documentation":"Enables use of a user role requirement in your chat configuration."
767+
},
768+
"Tags":{
769+
"shape":"Tags",
770+
"documentation":"A list of tags to apply to the configuration."
699771
}
700772
}
701773
},
@@ -1120,6 +1192,14 @@
11201192
"type":"list",
11211193
"member":{"shape":"GuardrailPolicyArn"}
11221194
},
1195+
"InternalServiceError":{
1196+
"type":"structure",
1197+
"members":{
1198+
},
1199+
"documentation":"Customer/consumer-facing internal service exception. https://w.amazon.com/index.php/AWS/API_Standards/Exceptions#InternalServiceError",
1200+
"error":{"httpStatusCode":500},
1201+
"exception":true
1202+
},
11231203
"InvalidParameterException":{
11241204
"type":"structure",
11251205
"members":{
@@ -1218,6 +1298,25 @@
12181298
}
12191299
}
12201300
},
1301+
"ListTagsForResourceRequest":{
1302+
"type":"structure",
1303+
"required":["ResourceARN"],
1304+
"members":{
1305+
"ResourceARN":{
1306+
"shape":"AmazonResourceName",
1307+
"documentation":"The ARN of the configuration."
1308+
}
1309+
}
1310+
},
1311+
"ListTagsForResourceResponse":{
1312+
"type":"structure",
1313+
"members":{
1314+
"Tags":{
1315+
"shape":"TagList",
1316+
"documentation":"A list of tags applied to the configuration."
1317+
}
1318+
}
1319+
},
12211320
"ListTeamsChannelConfigurationsException":{
12221321
"type":"structure",
12231322
"members":{
@@ -1279,6 +1378,14 @@
12791378
"error":{"httpStatusCode":404},
12801379
"exception":true
12811380
},
1381+
"ServiceUnavailableException":{
1382+
"type":"structure",
1383+
"members":{
1384+
},
1385+
"documentation":"We can’t process your request right now because of a server issue. Try again later.",
1386+
"error":{"httpStatusCode":429},
1387+
"exception":true
1388+
},
12821389
"SlackChannelConfiguration":{
12831390
"type":"structure",
12841391
"required":[
@@ -1335,6 +1442,10 @@
13351442
"UserAuthorizationRequired":{
13361443
"shape":"BooleanAccountPreference",
13371444
"documentation":"Enables use of a user role requirement in your chat configuration."
1445+
},
1446+
"Tags":{
1447+
"shape":"Tags",
1448+
"documentation":"A list of tags applied to the configuration."
13381449
}
13391450
},
13401451
"documentation":"An AWS Chatbot configuration for Slack."
@@ -1434,6 +1545,72 @@
14341545
"member":{"shape":"Arn"}
14351546
},
14361547
"String":{"type":"string"},
1548+
"Tag":{
1549+
"type":"structure",
1550+
"required":[
1551+
"TagKey",
1552+
"TagValue"
1553+
],
1554+
"members":{
1555+
"TagKey":{
1556+
"shape":"TagKey",
1557+
"documentation":"The tag key."
1558+
},
1559+
"TagValue":{
1560+
"shape":"TagValue",
1561+
"documentation":"The tag value."
1562+
}
1563+
},
1564+
"documentation":"A tag applied to the configuration."
1565+
},
1566+
"TagKey":{
1567+
"type":"string",
1568+
"max":128,
1569+
"min":1
1570+
},
1571+
"TagKeyList":{
1572+
"type":"list",
1573+
"member":{"shape":"TagKey"},
1574+
"max":200,
1575+
"min":0
1576+
},
1577+
"TagList":{
1578+
"type":"list",
1579+
"member":{"shape":"Tag"},
1580+
"max":200,
1581+
"min":0
1582+
},
1583+
"TagResourceRequest":{
1584+
"type":"structure",
1585+
"required":[
1586+
"ResourceARN",
1587+
"Tags"
1588+
],
1589+
"members":{
1590+
"ResourceARN":{
1591+
"shape":"AmazonResourceName",
1592+
"documentation":"The ARN of the configuration."
1593+
},
1594+
"Tags":{
1595+
"shape":"TagList",
1596+
"documentation":"A list of tags to apply to the configuration."
1597+
}
1598+
}
1599+
},
1600+
"TagResourceResponse":{
1601+
"type":"structure",
1602+
"members":{
1603+
}
1604+
},
1605+
"TagValue":{
1606+
"type":"string",
1607+
"max":256,
1608+
"min":1
1609+
},
1610+
"Tags":{
1611+
"type":"list",
1612+
"member":{"shape":"Tag"}
1613+
},
14371614
"TeamChannelConfigurationsList":{
14381615
"type":"list",
14391616
"member":{"shape":"TeamsChannelConfiguration"}
@@ -1503,6 +1680,10 @@
15031680
"UserAuthorizationRequired":{
15041681
"shape":"BooleanAccountPreference",
15051682
"documentation":"Enables use of a user role requirement in your chat configuration."
1683+
},
1684+
"Tags":{
1685+
"shape":"Tags",
1686+
"documentation":"A list of tags applied to the configuration."
15061687
}
15071688
},
15081689
"documentation":"An AWS Chatbot configuration for Microsoft Teams."
@@ -1562,12 +1743,42 @@
15621743
},
15631744
"documentation":"Identifes a user level permission for a channel configuration."
15641745
},
1746+
"TooManyTagsException":{
1747+
"type":"structure",
1748+
"members":{
1749+
},
1750+
"documentation":"The supplied list of tags contains too many tags.",
1751+
"error":{"httpStatusCode":400},
1752+
"exception":true
1753+
},
15651754
"UUID":{
15661755
"type":"string",
15671756
"max":36,
15681757
"min":36,
15691758
"pattern":"^[0-9A-Fa-f]{8}(?:-[0-9A-Fa-f]{4}){3}-[0-9A-Fa-f]{12}$"
15701759
},
1760+
"UntagResourceRequest":{
1761+
"type":"structure",
1762+
"required":[
1763+
"ResourceARN",
1764+
"TagKeys"
1765+
],
1766+
"members":{
1767+
"ResourceARN":{
1768+
"shape":"AmazonResourceName",
1769+
"documentation":"The ARN of the configuration."
1770+
},
1771+
"TagKeys":{
1772+
"shape":"TagKeyList",
1773+
"documentation":"A list of tag keys to remove from the configuration."
1774+
}
1775+
}
1776+
},
1777+
"UntagResourceResponse":{
1778+
"type":"structure",
1779+
"members":{
1780+
}
1781+
},
15711782
"UpdateAccountPreferencesException":{
15721783
"type":"structure",
15731784
"members":{

0 commit comments

Comments
 (0)