Skip to content

Commit 2b45659

Browse files
author
AWS
committed
Amazon Chime SDK Meetings Update: Include additional exceptions types.
1 parent 025a047 commit 2b45659

File tree

2 files changed

+80
-14
lines changed

2 files changed

+80
-14
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 Chime SDK Meetings",
4+
"contributor": "",
5+
"description": "Include additional exceptions types."
6+
}

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

Lines changed: 74 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,14 @@
2121
"output":{"shape":"BatchCreateAttendeeResponse"},
2222
"errors":[
2323
{"shape":"BadRequestException"},
24+
{"shape":"ForbiddenException"},
25+
{"shape":"NotFoundException"},
2426
{"shape":"UnauthorizedException"},
27+
{"shape":"UnprocessableEntityException"},
28+
{"shape":"LimitExceededException"},
2529
{"shape":"ServiceUnavailableException"},
26-
{"shape":"NotFoundException"},
27-
{"shape":"ForbiddenException"},
28-
{"shape":"LimitExceededException"}
30+
{"shape":"ServiceFailureException"},
31+
{"shape":"ThrottlingException"}
2932
],
3033
"documentation":"<p>Creates up to 100 attendees for an active Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see <a href=\"https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html\">Using the Amazon Chime SDK</a> in the <i>Amazon Chime Developer Guide</i>.</p>"
3134
},
@@ -40,11 +43,13 @@
4043
"errors":[
4144
{"shape":"BadRequestException"},
4245
{"shape":"ForbiddenException"},
46+
{"shape":"NotFoundException"},
4347
{"shape":"UnauthorizedException"},
4448
{"shape":"UnprocessableEntityException"},
49+
{"shape":"LimitExceededException"},
4550
{"shape":"ServiceUnavailableException"},
46-
{"shape":"NotFoundException"},
47-
{"shape":"LimitExceededException"}
51+
{"shape":"ServiceFailureException"},
52+
{"shape":"ThrottlingException"}
4853
],
4954
"documentation":"<p> Creates a new attendee for an active Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see <a href=\"https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html\">Using the Amazon Chime SDK</a> in the <i>Amazon Chime Developer Guide</i>. </p>"
5055
},
@@ -58,8 +63,11 @@
5863
"output":{"shape":"CreateMeetingResponse"},
5964
"errors":[
6065
{"shape":"BadRequestException"},
61-
{"shape":"ServiceUnavailableException"},
66+
{"shape":"ForbiddenException"},
6267
{"shape":"UnauthorizedException"},
68+
{"shape":"ThrottlingException"},
69+
{"shape":"ServiceFailureException"},
70+
{"shape":"ServiceUnavailableException"},
6371
{"shape":"LimitExceededException"}
6472
],
6573
"documentation":"<p>Creates a new Amazon Chime SDK meeting in the specified media Region with no initial attendees. For more information about specifying media Regions, see <a href=\"https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html\">Amazon Chime SDK Media Regions</a> in the <i>Amazon Chime Developer Guide</i>. For more information about the Amazon Chime SDK, see <a href=\"https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html\">Using the Amazon Chime SDK</a> in the <i>Amazon Chime Developer Guide</i>. </p>"
@@ -74,8 +82,11 @@
7482
"output":{"shape":"CreateMeetingWithAttendeesResponse"},
7583
"errors":[
7684
{"shape":"BadRequestException"},
77-
{"shape":"ServiceUnavailableException"},
85+
{"shape":"ForbiddenException"},
7886
{"shape":"UnauthorizedException"},
87+
{"shape":"ThrottlingException"},
88+
{"shape":"ServiceFailureException"},
89+
{"shape":"ServiceUnavailableException"},
7990
{"shape":"LimitExceededException"}
8091
],
8192
"documentation":"<p> Creates a new Amazon Chime SDK meeting in the specified media Region, with attendees. For more information about specifying media Regions, see <a href=\"https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html\">Amazon Chime SDK Media Regions</a> in the <i>Amazon Chime Developer Guide</i>. For more information about the Amazon Chime SDK, see <a href=\"https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html\">Using the Amazon Chime SDK</a> in the <i>Amazon Chime Developer Guide</i>. </p>"
@@ -89,8 +100,13 @@
89100
},
90101
"input":{"shape":"DeleteAttendeeRequest"},
91102
"errors":[
103+
{"shape":"BadRequestException"},
92104
{"shape":"ForbiddenException"},
93-
{"shape":"NotFoundException"}
105+
{"shape":"NotFoundException"},
106+
{"shape":"UnauthorizedException"},
107+
{"shape":"ServiceUnavailableException"},
108+
{"shape":"ServiceFailureException"},
109+
{"shape":"ThrottlingException"}
94110
],
95111
"documentation":"<p>Deletes an attendee from the specified Amazon Chime SDK meeting and deletes their <code>JoinToken</code>. Attendees are automatically deleted when a Amazon Chime SDK meeting is deleted. For more information about the Amazon Chime SDK, see <a href=\"https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html\">Using the Amazon Chime SDK</a> in the <i>Amazon Chime Developer Guide</i>.</p>"
96112
},
@@ -104,7 +120,12 @@
104120
"input":{"shape":"DeleteMeetingRequest"},
105121
"errors":[
106122
{"shape":"BadRequestException"},
107-
{"shape":"ForbiddenException"}
123+
{"shape":"ForbiddenException"},
124+
{"shape":"UnauthorizedException"},
125+
{"shape":"NotFoundException"},
126+
{"shape":"ServiceUnavailableException"},
127+
{"shape":"ServiceFailureException"},
128+
{"shape":"ThrottlingException"}
108129
],
109130
"documentation":"<p>Deletes the specified Amazon Chime SDK meeting. The operation deletes all attendees, disconnects all clients, and prevents new clients from joining the meeting. For more information about the Amazon Chime SDK, see <a href=\"https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html\">Using the Amazon Chime SDK</a> in the <i>Amazon Chime Developer Guide</i>.</p>"
110131
},
@@ -118,8 +139,12 @@
118139
"output":{"shape":"GetAttendeeResponse"},
119140
"errors":[
120141
{"shape":"BadRequestException"},
142+
{"shape":"ForbiddenException"},
121143
{"shape":"NotFoundException"},
122-
{"shape":"ForbiddenException"}
144+
{"shape":"UnauthorizedException"},
145+
{"shape":"ServiceUnavailableException"},
146+
{"shape":"ServiceFailureException"},
147+
{"shape":"ThrottlingException"}
123148
],
124149
"documentation":"<p> Gets the Amazon Chime SDK attendee details for a specified meeting ID and attendee ID. For more information about the Amazon Chime SDK, see <a href=\"https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html\">Using the Amazon Chime SDK</a> in the <i>Amazon Chime Developer Guide</i>. </p>"
125150
},
@@ -134,7 +159,11 @@
134159
"errors":[
135160
{"shape":"NotFoundException"},
136161
{"shape":"BadRequestException"},
137-
{"shape":"ForbiddenException"}
162+
{"shape":"ForbiddenException"},
163+
{"shape":"UnauthorizedException"},
164+
{"shape":"ServiceUnavailableException"},
165+
{"shape":"ServiceFailureException"},
166+
{"shape":"ThrottlingException"}
138167
],
139168
"documentation":"<p>Gets the Amazon Chime SDK meeting details for the specified meeting ID. For more information about the Amazon Chime SDK, see <a href=\"https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html\">Using the Amazon Chime SDK</a> in the <i>Amazon Chime Developer Guide</i>.</p>"
140169
},
@@ -149,8 +178,12 @@
149178
"output":{"shape":"ListAttendeesResponse"},
150179
"errors":[
151180
{"shape":"BadRequestException"},
181+
{"shape":"ForbiddenException"},
152182
{"shape":"NotFoundException"},
153-
{"shape":"ForbiddenException"}
183+
{"shape":"UnauthorizedException"},
184+
{"shape":"ServiceUnavailableException"},
185+
{"shape":"ServiceFailureException"},
186+
{"shape":"ThrottlingException"}
154187
],
155188
"documentation":"<p> Lists the attendees for the specified Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see <a href=\"https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html\">Using the Amazon Chime SDK</a> in the <i>Amazon Chime Developer Guide</i>. </p>"
156189
},
@@ -169,7 +202,9 @@
169202
{"shape":"UnauthorizedException"},
170203
{"shape":"LimitExceededException"},
171204
{"shape":"UnprocessableEntityException"},
172-
{"shape":"ServiceUnavailableException"}
205+
{"shape":"ThrottlingException"},
206+
{"shape":"ServiceUnavailableException"},
207+
{"shape":"ServiceFailureException"}
173208
],
174209
"documentation":"<p>Starts transcription for the specified <code>meetingId</code>.</p>"
175210
},
@@ -187,7 +222,9 @@
187222
{"shape":"BadRequestException"},
188223
{"shape":"UnauthorizedException"},
189224
{"shape":"UnprocessableEntityException"},
190-
{"shape":"ServiceUnavailableException"}
225+
{"shape":"ThrottlingException"},
226+
{"shape":"ServiceUnavailableException"},
227+
{"shape":"ServiceFailureException"}
191228
],
192229
"documentation":"<p>Stops transcription for the specified <code>meetingId</code>.</p>"
193230
}
@@ -873,6 +910,18 @@
873910
"min":1
874911
},
875912
"RetryAfterSeconds":{"type":"string"},
913+
"ServiceFailureException":{
914+
"type":"structure",
915+
"members":{
916+
"Code":{"shape":"String"},
917+
"Message":{"shape":"String"},
918+
"RequestId":{"shape":"String"}
919+
},
920+
"documentation":"<p>The service encountered an unexpected error.</p>",
921+
"error":{"httpStatusCode":500},
922+
"exception":true,
923+
"fault":true
924+
},
876925
"ServiceUnavailableException":{
877926
"type":"structure",
878927
"members":{
@@ -929,6 +978,17 @@
929978
"type":"string",
930979
"max":4096
931980
},
981+
"ThrottlingException":{
982+
"type":"structure",
983+
"members":{
984+
"Code":{"shape":"String"},
985+
"Message":{"shape":"String"},
986+
"RequestId":{"shape":"String"}
987+
},
988+
"documentation":"<p>The number of customer requests exceeds the request rate limit.</p>",
989+
"error":{"httpStatusCode":429},
990+
"exception":true
991+
},
932992
"TranscribeContentIdentificationType":{
933993
"type":"string",
934994
"enum":["PII"]

0 commit comments

Comments
 (0)