Debian Codegraph @

models/apis/support-app/2021-08-20/api-2.json

raw
1 {
2 "version":"2.0",
3 "metadata":{
4 "apiVersion":"2021-08-20",
5 "endpointPrefix":"supportapp",
6 "jsonVersion":"1.1",
7 "protocol":"rest-json",
8 "serviceAbbreviation":"SupportApp",
9 "serviceFullName":"AWS Support App",
10 "serviceId":"Support App",
11 "signatureVersion":"v4",
12 "signingName":"supportapp",
13 "uid":"support-app-2021-08-20"
14 },
15 "operations":{
16 "CreateSlackChannelConfiguration":{
17 "name":"CreateSlackChannelConfiguration",
18 "http":{
19 "method":"POST",
20 "requestUri":"/control/create-slack-channel-configuration",
21 "responseCode":200
22 },
23 "input":{"shape":"CreateSlackChannelConfigurationRequest"},
24 "output":{"shape":"CreateSlackChannelConfigurationResult"},
25 "errors":[
26 {"shape":"ServiceQuotaExceededException"},
27 {"shape":"ConflictException"},
28 {"shape":"AccessDeniedException"},
29 {"shape":"InternalServerException"},
30 {"shape":"ValidationException"}
31 ]
32 },
33 "DeleteAccountAlias":{
34 "name":"DeleteAccountAlias",
35 "http":{
36 "method":"POST",
37 "requestUri":"/control/delete-account-alias",
38 "responseCode":200
39 },
40 "input":{"shape":"DeleteAccountAliasRequest"},
41 "output":{"shape":"DeleteAccountAliasResult"},
42 "errors":[
43 {"shape":"ResourceNotFoundException"},
44 {"shape":"AccessDeniedException"},
45 {"shape":"InternalServerException"}
46 ]
47 },
48 "DeleteSlackChannelConfiguration":{
49 "name":"DeleteSlackChannelConfiguration",
50 "http":{
51 "method":"POST",
52 "requestUri":"/control/delete-slack-channel-configuration",
53 "responseCode":200
54 },
55 "input":{"shape":"DeleteSlackChannelConfigurationRequest"},
56 "output":{"shape":"DeleteSlackChannelConfigurationResult"},
57 "errors":[
58 {"shape":"ConflictException"},
59 {"shape":"ResourceNotFoundException"},
60 {"shape":"AccessDeniedException"},
61 {"shape":"InternalServerException"},
62 {"shape":"ValidationException"}
63 ]
64 },
65 "DeleteSlackWorkspaceConfiguration":{
66 "name":"DeleteSlackWorkspaceConfiguration",
67 "http":{
68 "method":"POST",
69 "requestUri":"/control/delete-slack-workspace-configuration",
70 "responseCode":200
71 },
72 "input":{"shape":"DeleteSlackWorkspaceConfigurationRequest"},
73 "output":{"shape":"DeleteSlackWorkspaceConfigurationResult"},
74 "errors":[
75 {"shape":"ConflictException"},
76 {"shape":"ResourceNotFoundException"},
77 {"shape":"AccessDeniedException"},
78 {"shape":"InternalServerException"},
79 {"shape":"ValidationException"}
80 ]
81 },
82 "GetAccountAlias":{
83 "name":"GetAccountAlias",
84 "http":{
85 "method":"POST",
86 "requestUri":"/control/get-account-alias",
87 "responseCode":200
88 },
89 "input":{"shape":"GetAccountAliasRequest"},
90 "output":{"shape":"GetAccountAliasResult"},
91 "errors":[
92 {"shape":"InternalServerException"}
93 ]
94 },
95 "ListSlackChannelConfigurations":{
96 "name":"ListSlackChannelConfigurations",
97 "http":{
98 "method":"POST",
99 "requestUri":"/control/list-slack-channel-configurations",
100 "responseCode":200
101 },
102 "input":{"shape":"ListSlackChannelConfigurationsRequest"},
103 "output":{"shape":"ListSlackChannelConfigurationsResult"},
104 "errors":[
105 {"shape":"AccessDeniedException"},
106 {"shape":"InternalServerException"}
107 ]
108 },
109 "ListSlackWorkspaceConfigurations":{
110 "name":"ListSlackWorkspaceConfigurations",
111 "http":{
112 "method":"POST",
113 "requestUri":"/control/list-slack-workspace-configurations",
114 "responseCode":200
115 },
116 "input":{"shape":"ListSlackWorkspaceConfigurationsRequest"},
117 "output":{"shape":"ListSlackWorkspaceConfigurationsResult"},
118 "errors":[
119 {"shape":"AccessDeniedException"},
120 {"shape":"InternalServerException"}
121 ]
122 },
123 "PutAccountAlias":{
124 "name":"PutAccountAlias",
125 "http":{
126 "method":"POST",
127 "requestUri":"/control/put-account-alias",
128 "responseCode":200
129 },
130 "input":{"shape":"PutAccountAliasRequest"},
131 "output":{"shape":"PutAccountAliasResult"},
132 "errors":[
133 {"shape":"AccessDeniedException"},
134 {"shape":"InternalServerException"},
135 {"shape":"ValidationException"}
136 ]
137 },
138 "RegisterSlackWorkspaceForOrganization":{
139 "name":"RegisterSlackWorkspaceForOrganization",
140 "http":{
141 "method":"POST",
142 "requestUri":"/control/register-slack-workspace-for-organization",
143 "responseCode":200
144 },
145 "input":{"shape":"RegisterSlackWorkspaceForOrganizationRequest"},
146 "output":{"shape":"RegisterSlackWorkspaceForOrganizationResult"},
147 "errors":[
148 {"shape":"ConflictException"},
149 {"shape":"ResourceNotFoundException"},
150 {"shape":"AccessDeniedException"},
151 {"shape":"InternalServerException"},
152 {"shape":"ValidationException"}
153 ]
154 },
155 "UpdateSlackChannelConfiguration":{
156 "name":"UpdateSlackChannelConfiguration",
157 "http":{
158 "method":"POST",
159 "requestUri":"/control/update-slack-channel-configuration",
160 "responseCode":200
161 },
162 "input":{"shape":"UpdateSlackChannelConfigurationRequest"},
163 "output":{"shape":"UpdateSlackChannelConfigurationResult"},
164 "errors":[
165 {"shape":"ConflictException"},
166 {"shape":"ResourceNotFoundException"},
167 {"shape":"AccessDeniedException"},
168 {"shape":"InternalServerException"},
169 {"shape":"ValidationException"}
170 ]
171 }
172 },
173 "shapes":{
174 "AccessDeniedException":{
175 "type":"structure",
176 "members":{
177 "message":{"shape":"errorMessage"}
178 },
179 "error":{
180 "httpStatusCode":403,
181 "senderFault":true
182 },
183 "exception":true
184 },
185 "AccountType":{
186 "type":"string",
187 "enum":[
188 "management",
189 "member"
190 ]
191 },
192 "ConflictException":{
193 "type":"structure",
194 "members":{
195 "message":{"shape":"errorMessage"}
196 },
197 "error":{
198 "httpStatusCode":409,
199 "senderFault":true
200 },
201 "exception":true
202 },
203 "CreateSlackChannelConfigurationRequest":{
204 "type":"structure",
205 "required":[
206 "channelId",
207 "channelRoleArn",
208 "notifyOnCaseSeverity",
209 "teamId"
210 ],
211 "members":{
212 "channelId":{"shape":"channelId"},
213 "channelName":{"shape":"channelName"},
214 "channelRoleArn":{"shape":"roleArn"},
215 "notifyOnAddCorrespondenceToCase":{"shape":"booleanValue"},
216 "notifyOnCaseSeverity":{"shape":"NotificationSeverityLevel"},
217 "notifyOnCreateOrReopenCase":{"shape":"booleanValue"},
218 "notifyOnResolveCase":{"shape":"booleanValue"},
219 "teamId":{"shape":"teamId"}
220 }
221 },
222 "CreateSlackChannelConfigurationResult":{
223 "type":"structure",
224 "members":{
225 }
226 },
227 "DeleteAccountAliasRequest":{
228 "type":"structure",
229 "members":{
230 }
231 },
232 "DeleteAccountAliasResult":{
233 "type":"structure",
234 "members":{
235 }
236 },
237 "DeleteSlackChannelConfigurationRequest":{
238 "type":"structure",
239 "required":[
240 "channelId",
241 "teamId"
242 ],
243 "members":{
244 "channelId":{"shape":"channelId"},
245 "teamId":{"shape":"teamId"}
246 }
247 },
248 "DeleteSlackChannelConfigurationResult":{
249 "type":"structure",
250 "members":{
251 }
252 },
253 "DeleteSlackWorkspaceConfigurationRequest":{
254 "type":"structure",
255 "required":["teamId"],
256 "members":{
257 "teamId":{"shape":"teamId"}
258 }
259 },
260 "DeleteSlackWorkspaceConfigurationResult":{
261 "type":"structure",
262 "members":{
263 }
264 },
265 "GetAccountAliasRequest":{
266 "type":"structure",
267 "members":{
268 }
269 },
270 "GetAccountAliasResult":{
271 "type":"structure",
272 "members":{
273 "accountAlias":{"shape":"awsAccountAlias"}
274 }
275 },
276 "InternalServerException":{
277 "type":"structure",
278 "members":{
279 "message":{"shape":"errorMessage"}
280 },
281 "error":{"httpStatusCode":500},
282 "exception":true,
283 "fault":true
284 },
285 "ListSlackChannelConfigurationsRequest":{
286 "type":"structure",
287 "members":{
288 "nextToken":{"shape":"paginationToken"}
289 }
290 },
291 "ListSlackChannelConfigurationsResult":{
292 "type":"structure",
293 "required":["slackChannelConfigurations"],
294 "members":{
295 "nextToken":{"shape":"paginationToken"},
296 "slackChannelConfigurations":{"shape":"slackChannelConfigurationList"}
297 }
298 },
299 "ListSlackWorkspaceConfigurationsRequest":{
300 "type":"structure",
301 "members":{
302 "nextToken":{"shape":"paginationToken"}
303 }
304 },
305 "ListSlackWorkspaceConfigurationsResult":{
306 "type":"structure",
307 "members":{
308 "nextToken":{"shape":"paginationToken"},
309 "slackWorkspaceConfigurations":{"shape":"SlackWorkspaceConfigurationList"}
310 }
311 },
312 "NotificationSeverityLevel":{
313 "type":"string",
314 "enum":[
315 "none",
316 "all",
317 "high"
318 ]
319 },
320 "PutAccountAliasRequest":{
321 "type":"structure",
322 "required":["accountAlias"],
323 "members":{
324 "accountAlias":{"shape":"awsAccountAlias"}
325 }
326 },
327 "PutAccountAliasResult":{
328 "type":"structure",
329 "members":{
330 }
331 },
332 "RegisterSlackWorkspaceForOrganizationRequest":{
333 "type":"structure",
334 "required":["teamId"],
335 "members":{
336 "teamId":{"shape":"teamId"}
337 }
338 },
339 "RegisterSlackWorkspaceForOrganizationResult":{
340 "type":"structure",
341 "members":{
342 "accountType":{"shape":"AccountType"},
343 "teamId":{"shape":"teamId"},
344 "teamName":{"shape":"teamName"}
345 }
346 },
347 "ResourceNotFoundException":{
348 "type":"structure",
349 "members":{
350 "message":{"shape":"errorMessage"}
351 },
352 "error":{
353 "httpStatusCode":404,
354 "senderFault":true
355 },
356 "exception":true
357 },
358 "ServiceQuotaExceededException":{
359 "type":"structure",
360 "members":{
361 "message":{"shape":"errorMessage"}
362 },
363 "error":{
364 "httpStatusCode":402,
365 "senderFault":true
366 },
367 "exception":true
368 },
369 "SlackChannelConfiguration":{
370 "type":"structure",
371 "required":[
372 "channelId",
373 "teamId"
374 ],
375 "members":{
376 "channelId":{"shape":"channelId"},
377 "channelName":{"shape":"channelName"},
378 "channelRoleArn":{"shape":"roleArn"},
379 "notifyOnAddCorrespondenceToCase":{"shape":"booleanValue"},
380 "notifyOnCaseSeverity":{"shape":"NotificationSeverityLevel"},
381 "notifyOnCreateOrReopenCase":{"shape":"booleanValue"},
382 "notifyOnResolveCase":{"shape":"booleanValue"},
383 "teamId":{"shape":"teamId"}
384 }
385 },
386 "SlackWorkspaceConfiguration":{
387 "type":"structure",
388 "required":["teamId"],
389 "members":{
390 "allowOrganizationMemberAccount":{"shape":"booleanValue"},
391 "teamId":{"shape":"teamId"},
392 "teamName":{"shape":"teamName"}
393 }
394 },
395 "SlackWorkspaceConfigurationList":{
396 "type":"list",
397 "member":{"shape":"SlackWorkspaceConfiguration"}
398 },
399 "UpdateSlackChannelConfigurationRequest":{
400 "type":"structure",
401 "required":[
402 "channelId",
403 "teamId"
404 ],
405 "members":{
406 "channelId":{"shape":"channelId"},
407 "channelName":{"shape":"channelName"},
408 "channelRoleArn":{"shape":"roleArn"},
409 "notifyOnAddCorrespondenceToCase":{"shape":"booleanValue"},
410 "notifyOnCaseSeverity":{"shape":"NotificationSeverityLevel"},
411 "notifyOnCreateOrReopenCase":{"shape":"booleanValue"},
412 "notifyOnResolveCase":{"shape":"booleanValue"},
413 "teamId":{"shape":"teamId"}
414 }
415 },
416 "UpdateSlackChannelConfigurationResult":{
417 "type":"structure",
418 "members":{
419 "channelId":{"shape":"channelId"},
420 "channelName":{"shape":"channelName"},
421 "channelRoleArn":{"shape":"roleArn"},
422 "notifyOnAddCorrespondenceToCase":{"shape":"booleanValue"},
423 "notifyOnCaseSeverity":{"shape":"NotificationSeverityLevel"},
424 "notifyOnCreateOrReopenCase":{"shape":"booleanValue"},
425 "notifyOnResolveCase":{"shape":"booleanValue"},
426 "teamId":{"shape":"teamId"}
427 }
428 },
429 "ValidationException":{
430 "type":"structure",
431 "members":{
432 "message":{"shape":"errorMessage"}
433 },
434 "error":{
435 "httpStatusCode":400,
436 "senderFault":true
437 },
438 "exception":true
439 },
440 "awsAccountAlias":{
441 "type":"string",
442 "max":30,
443 "min":1,
444 "pattern":"^[\\w\\- ]+$"
445 },
446 "booleanValue":{
447 "type":"boolean",
448 "box":true
449 },
450 "channelId":{
451 "type":"string",
452 "max":256,
453 "min":1,
454 "pattern":"^\\S+$"
455 },
456 "channelName":{
457 "type":"string",
458 "max":256,
459 "min":1,
460 "pattern":"^.+$"
461 },
462 "errorMessage":{"type":"string"},
463 "paginationToken":{
464 "type":"string",
465 "max":256,
466 "min":1,
467 "pattern":"^\\S+$"
468 },
469 "roleArn":{
470 "type":"string",
471 "max":2048,
472 "min":31,
473 "pattern":"^arn:aws:iam::[0-9]{12}:role/(.+)$"
474 },
475 "slackChannelConfigurationList":{
476 "type":"list",
477 "member":{"shape":"SlackChannelConfiguration"}
478 },
479 "teamId":{
480 "type":"string",
481 "max":256,
482 "min":1,
483 "pattern":"^\\S+$"
484 },
485 "teamName":{
486 "type":"string",
487 "max":256,
488 "min":1,
489 "pattern":"^.+$"
490 }
491 }
492 }