@aws-sdk/client-support-app 3.987.0 → 3.989.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +29 -384
- package/dist-cjs/models/SupportAppServiceException.js +12 -0
- package/dist-cjs/models/errors.js +82 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +259 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +36 -30
- package/dist-types/schemas/schemas_0.d.ts +12 -5
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -5
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var SupportAppServiceException = require('./models/SupportAppServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,334 +113,6 @@ class SupportAppClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class SupportAppServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, SupportAppServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class AccessDeniedException extends SupportAppServiceException {
|
|
121
|
-
name = "AccessDeniedException";
|
|
122
|
-
$fault = "client";
|
|
123
|
-
constructor(opts) {
|
|
124
|
-
super({
|
|
125
|
-
name: "AccessDeniedException",
|
|
126
|
-
$fault: "client",
|
|
127
|
-
...opts,
|
|
128
|
-
});
|
|
129
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
class ConflictException extends SupportAppServiceException {
|
|
133
|
-
name = "ConflictException";
|
|
134
|
-
$fault = "client";
|
|
135
|
-
constructor(opts) {
|
|
136
|
-
super({
|
|
137
|
-
name: "ConflictException",
|
|
138
|
-
$fault: "client",
|
|
139
|
-
...opts,
|
|
140
|
-
});
|
|
141
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
class InternalServerException extends SupportAppServiceException {
|
|
145
|
-
name = "InternalServerException";
|
|
146
|
-
$fault = "server";
|
|
147
|
-
constructor(opts) {
|
|
148
|
-
super({
|
|
149
|
-
name: "InternalServerException",
|
|
150
|
-
$fault: "server",
|
|
151
|
-
...opts,
|
|
152
|
-
});
|
|
153
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
class ServiceQuotaExceededException extends SupportAppServiceException {
|
|
157
|
-
name = "ServiceQuotaExceededException";
|
|
158
|
-
$fault = "client";
|
|
159
|
-
constructor(opts) {
|
|
160
|
-
super({
|
|
161
|
-
name: "ServiceQuotaExceededException",
|
|
162
|
-
$fault: "client",
|
|
163
|
-
...opts,
|
|
164
|
-
});
|
|
165
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
class ValidationException extends SupportAppServiceException {
|
|
169
|
-
name = "ValidationException";
|
|
170
|
-
$fault = "client";
|
|
171
|
-
constructor(opts) {
|
|
172
|
-
super({
|
|
173
|
-
name: "ValidationException",
|
|
174
|
-
$fault: "client",
|
|
175
|
-
...opts,
|
|
176
|
-
});
|
|
177
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
class ResourceNotFoundException extends SupportAppServiceException {
|
|
181
|
-
name = "ResourceNotFoundException";
|
|
182
|
-
$fault = "client";
|
|
183
|
-
constructor(opts) {
|
|
184
|
-
super({
|
|
185
|
-
name: "ResourceNotFoundException",
|
|
186
|
-
$fault: "client",
|
|
187
|
-
...opts,
|
|
188
|
-
});
|
|
189
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
const _ADE = "AccessDeniedException";
|
|
194
|
-
const _CE = "ConflictException";
|
|
195
|
-
const _CSCC = "CreateSlackChannelConfiguration";
|
|
196
|
-
const _CSCCR = "CreateSlackChannelConfigurationRequest";
|
|
197
|
-
const _CSCCRr = "CreateSlackChannelConfigurationResult";
|
|
198
|
-
const _DAA = "DeleteAccountAlias";
|
|
199
|
-
const _DAAR = "DeleteAccountAliasRequest";
|
|
200
|
-
const _DAARe = "DeleteAccountAliasResult";
|
|
201
|
-
const _DSCC = "DeleteSlackChannelConfiguration";
|
|
202
|
-
const _DSCCR = "DeleteSlackChannelConfigurationRequest";
|
|
203
|
-
const _DSCCRe = "DeleteSlackChannelConfigurationResult";
|
|
204
|
-
const _DSWC = "DeleteSlackWorkspaceConfiguration";
|
|
205
|
-
const _DSWCR = "DeleteSlackWorkspaceConfigurationRequest";
|
|
206
|
-
const _DSWCRe = "DeleteSlackWorkspaceConfigurationResult";
|
|
207
|
-
const _GAA = "GetAccountAlias";
|
|
208
|
-
const _GAAR = "GetAccountAliasRequest";
|
|
209
|
-
const _GAARe = "GetAccountAliasResult";
|
|
210
|
-
const _ISE = "InternalServerException";
|
|
211
|
-
const _LSCC = "ListSlackChannelConfigurations";
|
|
212
|
-
const _LSCCR = "ListSlackChannelConfigurationsRequest";
|
|
213
|
-
const _LSCCRi = "ListSlackChannelConfigurationsResult";
|
|
214
|
-
const _LSWC = "ListSlackWorkspaceConfigurations";
|
|
215
|
-
const _LSWCR = "ListSlackWorkspaceConfigurationsRequest";
|
|
216
|
-
const _LSWCRi = "ListSlackWorkspaceConfigurationsResult";
|
|
217
|
-
const _PAA = "PutAccountAlias";
|
|
218
|
-
const _PAAR = "PutAccountAliasRequest";
|
|
219
|
-
const _PAARu = "PutAccountAliasResult";
|
|
220
|
-
const _RNFE = "ResourceNotFoundException";
|
|
221
|
-
const _RSWFO = "RegisterSlackWorkspaceForOrganization";
|
|
222
|
-
const _RSWFOR = "RegisterSlackWorkspaceForOrganizationRequest";
|
|
223
|
-
const _RSWFORe = "RegisterSlackWorkspaceForOrganizationResult";
|
|
224
|
-
const _SCC = "SlackChannelConfiguration";
|
|
225
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
226
|
-
const _SWC = "SlackWorkspaceConfiguration";
|
|
227
|
-
const _SWCL = "SlackWorkspaceConfigurationList";
|
|
228
|
-
const _USCC = "UpdateSlackChannelConfiguration";
|
|
229
|
-
const _USCCR = "UpdateSlackChannelConfigurationRequest";
|
|
230
|
-
const _USCCRp = "UpdateSlackChannelConfigurationResult";
|
|
231
|
-
const _VE = "ValidationException";
|
|
232
|
-
const _aA = "accountAlias";
|
|
233
|
-
const _aOMA = "allowOrganizationMemberAccount";
|
|
234
|
-
const _aT = "accountType";
|
|
235
|
-
const _c = "client";
|
|
236
|
-
const _cI = "channelId";
|
|
237
|
-
const _cN = "channelName";
|
|
238
|
-
const _cRA = "channelRoleArn";
|
|
239
|
-
const _e = "error";
|
|
240
|
-
const _h = "http";
|
|
241
|
-
const _hE = "httpError";
|
|
242
|
-
const _m = "message";
|
|
243
|
-
const _nOACTC = "notifyOnAddCorrespondenceToCase";
|
|
244
|
-
const _nOCORC = "notifyOnCreateOrReopenCase";
|
|
245
|
-
const _nOCS = "notifyOnCaseSeverity";
|
|
246
|
-
const _nORC = "notifyOnResolveCase";
|
|
247
|
-
const _nT = "nextToken";
|
|
248
|
-
const _s = "server";
|
|
249
|
-
const _sCC = "slackChannelConfigurations";
|
|
250
|
-
const _sCCL = "slackChannelConfigurationList";
|
|
251
|
-
const _sWC = "slackWorkspaceConfigurations";
|
|
252
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.supportapp";
|
|
253
|
-
const _tI = "teamId";
|
|
254
|
-
const _tN = "teamName";
|
|
255
|
-
const n0 = "com.amazonaws.supportapp";
|
|
256
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
257
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
258
|
-
[_m],
|
|
259
|
-
[0]
|
|
260
|
-
];
|
|
261
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
262
|
-
var ConflictException$ = [-3, n0, _CE,
|
|
263
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
264
|
-
[_m],
|
|
265
|
-
[0]
|
|
266
|
-
];
|
|
267
|
-
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
268
|
-
var CreateSlackChannelConfigurationRequest$ = [3, n0, _CSCCR,
|
|
269
|
-
0,
|
|
270
|
-
[_tI, _cI, _nOCS, _cRA, _cN, _nOCORC, _nOACTC, _nORC],
|
|
271
|
-
[0, 0, 0, 0, 0, 2, 2, 2], 4
|
|
272
|
-
];
|
|
273
|
-
var CreateSlackChannelConfigurationResult$ = [3, n0, _CSCCRr,
|
|
274
|
-
0,
|
|
275
|
-
[],
|
|
276
|
-
[]
|
|
277
|
-
];
|
|
278
|
-
var DeleteAccountAliasRequest$ = [3, n0, _DAAR,
|
|
279
|
-
0,
|
|
280
|
-
[],
|
|
281
|
-
[]
|
|
282
|
-
];
|
|
283
|
-
var DeleteAccountAliasResult$ = [3, n0, _DAARe,
|
|
284
|
-
0,
|
|
285
|
-
[],
|
|
286
|
-
[]
|
|
287
|
-
];
|
|
288
|
-
var DeleteSlackChannelConfigurationRequest$ = [3, n0, _DSCCR,
|
|
289
|
-
0,
|
|
290
|
-
[_tI, _cI],
|
|
291
|
-
[0, 0], 2
|
|
292
|
-
];
|
|
293
|
-
var DeleteSlackChannelConfigurationResult$ = [3, n0, _DSCCRe,
|
|
294
|
-
0,
|
|
295
|
-
[],
|
|
296
|
-
[]
|
|
297
|
-
];
|
|
298
|
-
var DeleteSlackWorkspaceConfigurationRequest$ = [3, n0, _DSWCR,
|
|
299
|
-
0,
|
|
300
|
-
[_tI],
|
|
301
|
-
[0], 1
|
|
302
|
-
];
|
|
303
|
-
var DeleteSlackWorkspaceConfigurationResult$ = [3, n0, _DSWCRe,
|
|
304
|
-
0,
|
|
305
|
-
[],
|
|
306
|
-
[]
|
|
307
|
-
];
|
|
308
|
-
var GetAccountAliasRequest$ = [3, n0, _GAAR,
|
|
309
|
-
0,
|
|
310
|
-
[],
|
|
311
|
-
[]
|
|
312
|
-
];
|
|
313
|
-
var GetAccountAliasResult$ = [3, n0, _GAARe,
|
|
314
|
-
0,
|
|
315
|
-
[_aA],
|
|
316
|
-
[0]
|
|
317
|
-
];
|
|
318
|
-
var InternalServerException$ = [-3, n0, _ISE,
|
|
319
|
-
{ [_e]: _s, [_hE]: 500 },
|
|
320
|
-
[_m],
|
|
321
|
-
[0]
|
|
322
|
-
];
|
|
323
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
324
|
-
var ListSlackChannelConfigurationsRequest$ = [3, n0, _LSCCR,
|
|
325
|
-
0,
|
|
326
|
-
[_nT],
|
|
327
|
-
[0]
|
|
328
|
-
];
|
|
329
|
-
var ListSlackChannelConfigurationsResult$ = [3, n0, _LSCCRi,
|
|
330
|
-
0,
|
|
331
|
-
[_sCC, _nT],
|
|
332
|
-
[() => slackChannelConfigurationList, 0], 1
|
|
333
|
-
];
|
|
334
|
-
var ListSlackWorkspaceConfigurationsRequest$ = [3, n0, _LSWCR,
|
|
335
|
-
0,
|
|
336
|
-
[_nT],
|
|
337
|
-
[0]
|
|
338
|
-
];
|
|
339
|
-
var ListSlackWorkspaceConfigurationsResult$ = [3, n0, _LSWCRi,
|
|
340
|
-
0,
|
|
341
|
-
[_nT, _sWC],
|
|
342
|
-
[0, () => SlackWorkspaceConfigurationList]
|
|
343
|
-
];
|
|
344
|
-
var PutAccountAliasRequest$ = [3, n0, _PAAR,
|
|
345
|
-
0,
|
|
346
|
-
[_aA],
|
|
347
|
-
[0], 1
|
|
348
|
-
];
|
|
349
|
-
var PutAccountAliasResult$ = [3, n0, _PAARu,
|
|
350
|
-
0,
|
|
351
|
-
[],
|
|
352
|
-
[]
|
|
353
|
-
];
|
|
354
|
-
var RegisterSlackWorkspaceForOrganizationRequest$ = [3, n0, _RSWFOR,
|
|
355
|
-
0,
|
|
356
|
-
[_tI],
|
|
357
|
-
[0], 1
|
|
358
|
-
];
|
|
359
|
-
var RegisterSlackWorkspaceForOrganizationResult$ = [3, n0, _RSWFORe,
|
|
360
|
-
0,
|
|
361
|
-
[_tI, _tN, _aT],
|
|
362
|
-
[0, 0, 0]
|
|
363
|
-
];
|
|
364
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
365
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
366
|
-
[_m],
|
|
367
|
-
[0]
|
|
368
|
-
];
|
|
369
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
370
|
-
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
371
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
372
|
-
[_m],
|
|
373
|
-
[0]
|
|
374
|
-
];
|
|
375
|
-
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
376
|
-
var SlackChannelConfiguration$ = [3, n0, _SCC,
|
|
377
|
-
0,
|
|
378
|
-
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
379
|
-
[0, 0, 0, 2, 2, 2, 0, 0], 2
|
|
380
|
-
];
|
|
381
|
-
var SlackWorkspaceConfiguration$ = [3, n0, _SWC,
|
|
382
|
-
0,
|
|
383
|
-
[_tI, _tN, _aOMA],
|
|
384
|
-
[0, 0, 2], 1
|
|
385
|
-
];
|
|
386
|
-
var UpdateSlackChannelConfigurationRequest$ = [3, n0, _USCCR,
|
|
387
|
-
0,
|
|
388
|
-
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
389
|
-
[0, 0, 0, 2, 2, 2, 0, 0], 2
|
|
390
|
-
];
|
|
391
|
-
var UpdateSlackChannelConfigurationResult$ = [3, n0, _USCCRp,
|
|
392
|
-
0,
|
|
393
|
-
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
394
|
-
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
395
|
-
];
|
|
396
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
397
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
398
|
-
[_m],
|
|
399
|
-
[0]
|
|
400
|
-
];
|
|
401
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
402
|
-
var SupportAppServiceException$ = [-3, _sm, "SupportAppServiceException", 0, [], []];
|
|
403
|
-
schema.TypeRegistry.for(_sm).registerError(SupportAppServiceException$, SupportAppServiceException);
|
|
404
|
-
var slackChannelConfigurationList = [1, n0, _sCCL,
|
|
405
|
-
0, () => SlackChannelConfiguration$
|
|
406
|
-
];
|
|
407
|
-
var SlackWorkspaceConfigurationList = [1, n0, _SWCL,
|
|
408
|
-
0, () => SlackWorkspaceConfiguration$
|
|
409
|
-
];
|
|
410
|
-
var CreateSlackChannelConfiguration$ = [9, n0, _CSCC,
|
|
411
|
-
{ [_h]: ["POST", "/control/create-slack-channel-configuration", 200] }, () => CreateSlackChannelConfigurationRequest$, () => CreateSlackChannelConfigurationResult$
|
|
412
|
-
];
|
|
413
|
-
var DeleteAccountAlias$ = [9, n0, _DAA,
|
|
414
|
-
{ [_h]: ["POST", "/control/delete-account-alias", 200] }, () => DeleteAccountAliasRequest$, () => DeleteAccountAliasResult$
|
|
415
|
-
];
|
|
416
|
-
var DeleteSlackChannelConfiguration$ = [9, n0, _DSCC,
|
|
417
|
-
{ [_h]: ["POST", "/control/delete-slack-channel-configuration", 200] }, () => DeleteSlackChannelConfigurationRequest$, () => DeleteSlackChannelConfigurationResult$
|
|
418
|
-
];
|
|
419
|
-
var DeleteSlackWorkspaceConfiguration$ = [9, n0, _DSWC,
|
|
420
|
-
{ [_h]: ["POST", "/control/delete-slack-workspace-configuration", 200] }, () => DeleteSlackWorkspaceConfigurationRequest$, () => DeleteSlackWorkspaceConfigurationResult$
|
|
421
|
-
];
|
|
422
|
-
var GetAccountAlias$ = [9, n0, _GAA,
|
|
423
|
-
{ [_h]: ["POST", "/control/get-account-alias", 200] }, () => GetAccountAliasRequest$, () => GetAccountAliasResult$
|
|
424
|
-
];
|
|
425
|
-
var ListSlackChannelConfigurations$ = [9, n0, _LSCC,
|
|
426
|
-
{ [_h]: ["POST", "/control/list-slack-channel-configurations", 200] }, () => ListSlackChannelConfigurationsRequest$, () => ListSlackChannelConfigurationsResult$
|
|
427
|
-
];
|
|
428
|
-
var ListSlackWorkspaceConfigurations$ = [9, n0, _LSWC,
|
|
429
|
-
{ [_h]: ["POST", "/control/list-slack-workspace-configurations", 200] }, () => ListSlackWorkspaceConfigurationsRequest$, () => ListSlackWorkspaceConfigurationsResult$
|
|
430
|
-
];
|
|
431
|
-
var PutAccountAlias$ = [9, n0, _PAA,
|
|
432
|
-
{ [_h]: ["POST", "/control/put-account-alias", 200] }, () => PutAccountAliasRequest$, () => PutAccountAliasResult$
|
|
433
|
-
];
|
|
434
|
-
var RegisterSlackWorkspaceForOrganization$ = [9, n0, _RSWFO,
|
|
435
|
-
{ [_h]: ["POST", "/control/register-slack-workspace-for-organization", 200] }, () => RegisterSlackWorkspaceForOrganizationRequest$, () => RegisterSlackWorkspaceForOrganizationResult$
|
|
436
|
-
];
|
|
437
|
-
var UpdateSlackChannelConfiguration$ = [9, n0, _USCC,
|
|
438
|
-
{ [_h]: ["POST", "/control/update-slack-channel-configuration", 200] }, () => UpdateSlackChannelConfigurationRequest$, () => UpdateSlackChannelConfigurationResult$
|
|
439
|
-
];
|
|
440
|
-
|
|
441
116
|
class CreateSlackChannelConfigurationCommand extends smithyClient.Command
|
|
442
117
|
.classBuilder()
|
|
443
118
|
.ep(commonParams)
|
|
@@ -446,7 +121,7 @@ class CreateSlackChannelConfigurationCommand extends smithyClient.Command
|
|
|
446
121
|
})
|
|
447
122
|
.s("SupportApp", "CreateSlackChannelConfiguration", {})
|
|
448
123
|
.n("SupportAppClient", "CreateSlackChannelConfigurationCommand")
|
|
449
|
-
.sc(CreateSlackChannelConfiguration$)
|
|
124
|
+
.sc(schemas_0.CreateSlackChannelConfiguration$)
|
|
450
125
|
.build() {
|
|
451
126
|
}
|
|
452
127
|
|
|
@@ -458,7 +133,7 @@ class DeleteAccountAliasCommand extends smithyClient.Command
|
|
|
458
133
|
})
|
|
459
134
|
.s("SupportApp", "DeleteAccountAlias", {})
|
|
460
135
|
.n("SupportAppClient", "DeleteAccountAliasCommand")
|
|
461
|
-
.sc(DeleteAccountAlias$)
|
|
136
|
+
.sc(schemas_0.DeleteAccountAlias$)
|
|
462
137
|
.build() {
|
|
463
138
|
}
|
|
464
139
|
|
|
@@ -470,7 +145,7 @@ class DeleteSlackChannelConfigurationCommand extends smithyClient.Command
|
|
|
470
145
|
})
|
|
471
146
|
.s("SupportApp", "DeleteSlackChannelConfiguration", {})
|
|
472
147
|
.n("SupportAppClient", "DeleteSlackChannelConfigurationCommand")
|
|
473
|
-
.sc(DeleteSlackChannelConfiguration$)
|
|
148
|
+
.sc(schemas_0.DeleteSlackChannelConfiguration$)
|
|
474
149
|
.build() {
|
|
475
150
|
}
|
|
476
151
|
|
|
@@ -482,7 +157,7 @@ class DeleteSlackWorkspaceConfigurationCommand extends smithyClient.Command
|
|
|
482
157
|
})
|
|
483
158
|
.s("SupportApp", "DeleteSlackWorkspaceConfiguration", {})
|
|
484
159
|
.n("SupportAppClient", "DeleteSlackWorkspaceConfigurationCommand")
|
|
485
|
-
.sc(DeleteSlackWorkspaceConfiguration$)
|
|
160
|
+
.sc(schemas_0.DeleteSlackWorkspaceConfiguration$)
|
|
486
161
|
.build() {
|
|
487
162
|
}
|
|
488
163
|
|
|
@@ -494,7 +169,7 @@ class GetAccountAliasCommand extends smithyClient.Command
|
|
|
494
169
|
})
|
|
495
170
|
.s("SupportApp", "GetAccountAlias", {})
|
|
496
171
|
.n("SupportAppClient", "GetAccountAliasCommand")
|
|
497
|
-
.sc(GetAccountAlias$)
|
|
172
|
+
.sc(schemas_0.GetAccountAlias$)
|
|
498
173
|
.build() {
|
|
499
174
|
}
|
|
500
175
|
|
|
@@ -506,7 +181,7 @@ class ListSlackChannelConfigurationsCommand extends smithyClient.Command
|
|
|
506
181
|
})
|
|
507
182
|
.s("SupportApp", "ListSlackChannelConfigurations", {})
|
|
508
183
|
.n("SupportAppClient", "ListSlackChannelConfigurationsCommand")
|
|
509
|
-
.sc(ListSlackChannelConfigurations$)
|
|
184
|
+
.sc(schemas_0.ListSlackChannelConfigurations$)
|
|
510
185
|
.build() {
|
|
511
186
|
}
|
|
512
187
|
|
|
@@ -518,7 +193,7 @@ class ListSlackWorkspaceConfigurationsCommand extends smithyClient.Command
|
|
|
518
193
|
})
|
|
519
194
|
.s("SupportApp", "ListSlackWorkspaceConfigurations", {})
|
|
520
195
|
.n("SupportAppClient", "ListSlackWorkspaceConfigurationsCommand")
|
|
521
|
-
.sc(ListSlackWorkspaceConfigurations$)
|
|
196
|
+
.sc(schemas_0.ListSlackWorkspaceConfigurations$)
|
|
522
197
|
.build() {
|
|
523
198
|
}
|
|
524
199
|
|
|
@@ -530,7 +205,7 @@ class PutAccountAliasCommand extends smithyClient.Command
|
|
|
530
205
|
})
|
|
531
206
|
.s("SupportApp", "PutAccountAlias", {})
|
|
532
207
|
.n("SupportAppClient", "PutAccountAliasCommand")
|
|
533
|
-
.sc(PutAccountAlias$)
|
|
208
|
+
.sc(schemas_0.PutAccountAlias$)
|
|
534
209
|
.build() {
|
|
535
210
|
}
|
|
536
211
|
|
|
@@ -542,7 +217,7 @@ class RegisterSlackWorkspaceForOrganizationCommand extends smithyClient.Command
|
|
|
542
217
|
})
|
|
543
218
|
.s("SupportApp", "RegisterSlackWorkspaceForOrganization", {})
|
|
544
219
|
.n("SupportAppClient", "RegisterSlackWorkspaceForOrganizationCommand")
|
|
545
|
-
.sc(RegisterSlackWorkspaceForOrganization$)
|
|
220
|
+
.sc(schemas_0.RegisterSlackWorkspaceForOrganization$)
|
|
546
221
|
.build() {
|
|
547
222
|
}
|
|
548
223
|
|
|
@@ -554,7 +229,7 @@ class UpdateSlackChannelConfigurationCommand extends smithyClient.Command
|
|
|
554
229
|
})
|
|
555
230
|
.s("SupportApp", "UpdateSlackChannelConfiguration", {})
|
|
556
231
|
.n("SupportAppClient", "UpdateSlackChannelConfigurationCommand")
|
|
557
|
-
.sc(UpdateSlackChannelConfiguration$)
|
|
232
|
+
.sc(schemas_0.UpdateSlackChannelConfiguration$)
|
|
558
233
|
.build() {
|
|
559
234
|
}
|
|
560
235
|
|
|
@@ -600,65 +275,35 @@ Object.defineProperty(exports, "__Client", {
|
|
|
600
275
|
enumerable: true,
|
|
601
276
|
get: function () { return smithyClient.Client; }
|
|
602
277
|
});
|
|
603
|
-
exports
|
|
604
|
-
|
|
278
|
+
Object.defineProperty(exports, "SupportAppServiceException", {
|
|
279
|
+
enumerable: true,
|
|
280
|
+
get: function () { return SupportAppServiceException.SupportAppServiceException; }
|
|
281
|
+
});
|
|
605
282
|
exports.AccountType = AccountType;
|
|
606
|
-
exports.ConflictException = ConflictException;
|
|
607
|
-
exports.ConflictException$ = ConflictException$;
|
|
608
|
-
exports.CreateSlackChannelConfiguration$ = CreateSlackChannelConfiguration$;
|
|
609
283
|
exports.CreateSlackChannelConfigurationCommand = CreateSlackChannelConfigurationCommand;
|
|
610
|
-
exports.CreateSlackChannelConfigurationRequest$ = CreateSlackChannelConfigurationRequest$;
|
|
611
|
-
exports.CreateSlackChannelConfigurationResult$ = CreateSlackChannelConfigurationResult$;
|
|
612
|
-
exports.DeleteAccountAlias$ = DeleteAccountAlias$;
|
|
613
284
|
exports.DeleteAccountAliasCommand = DeleteAccountAliasCommand;
|
|
614
|
-
exports.DeleteAccountAliasRequest$ = DeleteAccountAliasRequest$;
|
|
615
|
-
exports.DeleteAccountAliasResult$ = DeleteAccountAliasResult$;
|
|
616
|
-
exports.DeleteSlackChannelConfiguration$ = DeleteSlackChannelConfiguration$;
|
|
617
285
|
exports.DeleteSlackChannelConfigurationCommand = DeleteSlackChannelConfigurationCommand;
|
|
618
|
-
exports.DeleteSlackChannelConfigurationRequest$ = DeleteSlackChannelConfigurationRequest$;
|
|
619
|
-
exports.DeleteSlackChannelConfigurationResult$ = DeleteSlackChannelConfigurationResult$;
|
|
620
|
-
exports.DeleteSlackWorkspaceConfiguration$ = DeleteSlackWorkspaceConfiguration$;
|
|
621
286
|
exports.DeleteSlackWorkspaceConfigurationCommand = DeleteSlackWorkspaceConfigurationCommand;
|
|
622
|
-
exports.DeleteSlackWorkspaceConfigurationRequest$ = DeleteSlackWorkspaceConfigurationRequest$;
|
|
623
|
-
exports.DeleteSlackWorkspaceConfigurationResult$ = DeleteSlackWorkspaceConfigurationResult$;
|
|
624
|
-
exports.GetAccountAlias$ = GetAccountAlias$;
|
|
625
287
|
exports.GetAccountAliasCommand = GetAccountAliasCommand;
|
|
626
|
-
exports.GetAccountAliasRequest$ = GetAccountAliasRequest$;
|
|
627
|
-
exports.GetAccountAliasResult$ = GetAccountAliasResult$;
|
|
628
|
-
exports.InternalServerException = InternalServerException;
|
|
629
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
630
|
-
exports.ListSlackChannelConfigurations$ = ListSlackChannelConfigurations$;
|
|
631
288
|
exports.ListSlackChannelConfigurationsCommand = ListSlackChannelConfigurationsCommand;
|
|
632
|
-
exports.ListSlackChannelConfigurationsRequest$ = ListSlackChannelConfigurationsRequest$;
|
|
633
|
-
exports.ListSlackChannelConfigurationsResult$ = ListSlackChannelConfigurationsResult$;
|
|
634
|
-
exports.ListSlackWorkspaceConfigurations$ = ListSlackWorkspaceConfigurations$;
|
|
635
289
|
exports.ListSlackWorkspaceConfigurationsCommand = ListSlackWorkspaceConfigurationsCommand;
|
|
636
|
-
exports.ListSlackWorkspaceConfigurationsRequest$ = ListSlackWorkspaceConfigurationsRequest$;
|
|
637
|
-
exports.ListSlackWorkspaceConfigurationsResult$ = ListSlackWorkspaceConfigurationsResult$;
|
|
638
290
|
exports.NotificationSeverityLevel = NotificationSeverityLevel;
|
|
639
|
-
exports.PutAccountAlias$ = PutAccountAlias$;
|
|
640
291
|
exports.PutAccountAliasCommand = PutAccountAliasCommand;
|
|
641
|
-
exports.PutAccountAliasRequest$ = PutAccountAliasRequest$;
|
|
642
|
-
exports.PutAccountAliasResult$ = PutAccountAliasResult$;
|
|
643
|
-
exports.RegisterSlackWorkspaceForOrganization$ = RegisterSlackWorkspaceForOrganization$;
|
|
644
292
|
exports.RegisterSlackWorkspaceForOrganizationCommand = RegisterSlackWorkspaceForOrganizationCommand;
|
|
645
|
-
exports.RegisterSlackWorkspaceForOrganizationRequest$ = RegisterSlackWorkspaceForOrganizationRequest$;
|
|
646
|
-
exports.RegisterSlackWorkspaceForOrganizationResult$ = RegisterSlackWorkspaceForOrganizationResult$;
|
|
647
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
648
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
649
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
650
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
651
|
-
exports.SlackChannelConfiguration$ = SlackChannelConfiguration$;
|
|
652
|
-
exports.SlackWorkspaceConfiguration$ = SlackWorkspaceConfiguration$;
|
|
653
293
|
exports.SupportApp = SupportApp;
|
|
654
294
|
exports.SupportAppClient = SupportAppClient;
|
|
655
|
-
exports.SupportAppServiceException = SupportAppServiceException;
|
|
656
|
-
exports.SupportAppServiceException$ = SupportAppServiceException$;
|
|
657
|
-
exports.UpdateSlackChannelConfiguration$ = UpdateSlackChannelConfiguration$;
|
|
658
295
|
exports.UpdateSlackChannelConfigurationCommand = UpdateSlackChannelConfigurationCommand;
|
|
659
|
-
exports.UpdateSlackChannelConfigurationRequest$ = UpdateSlackChannelConfigurationRequest$;
|
|
660
|
-
exports.UpdateSlackChannelConfigurationResult$ = UpdateSlackChannelConfigurationResult$;
|
|
661
|
-
exports.ValidationException = ValidationException;
|
|
662
|
-
exports.ValidationException$ = ValidationException$;
|
|
663
296
|
exports.paginateListSlackChannelConfigurations = paginateListSlackChannelConfigurations;
|
|
664
297
|
exports.paginateListSlackWorkspaceConfigurations = paginateListSlackWorkspaceConfigurations;
|
|
298
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
299
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
300
|
+
enumerable: true,
|
|
301
|
+
get: function () { return schemas_0[k]; }
|
|
302
|
+
});
|
|
303
|
+
});
|
|
304
|
+
Object.keys(errors).forEach(function (k) {
|
|
305
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
306
|
+
enumerable: true,
|
|
307
|
+
get: function () { return errors[k]; }
|
|
308
|
+
});
|
|
309
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SupportAppServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class SupportAppServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, SupportAppServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.SupportAppServiceException = SupportAppServiceException;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceNotFoundException = exports.ValidationException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const SupportAppServiceException_1 = require("./SupportAppServiceException");
|
|
5
|
+
class AccessDeniedException extends SupportAppServiceException_1.SupportAppServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class ConflictException extends SupportAppServiceException_1.SupportAppServiceException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "ConflictException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.ConflictException = ConflictException;
|
|
31
|
+
class InternalServerException extends SupportAppServiceException_1.SupportAppServiceException {
|
|
32
|
+
name = "InternalServerException";
|
|
33
|
+
$fault = "server";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InternalServerException",
|
|
37
|
+
$fault: "server",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.InternalServerException = InternalServerException;
|
|
44
|
+
class ServiceQuotaExceededException extends SupportAppServiceException_1.SupportAppServiceException {
|
|
45
|
+
name = "ServiceQuotaExceededException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "ServiceQuotaExceededException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
57
|
+
class ValidationException extends SupportAppServiceException_1.SupportAppServiceException {
|
|
58
|
+
name = "ValidationException";
|
|
59
|
+
$fault = "client";
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "ValidationException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.ValidationException = ValidationException;
|
|
70
|
+
class ResourceNotFoundException extends SupportAppServiceException_1.SupportAppServiceException {
|
|
71
|
+
name = "ResourceNotFoundException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ResourceNotFoundException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2021-08-20",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.supportapp",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2021-08-20",
|
|
33
35
|
serviceTarget: "SupportApp",
|
|
34
36
|
},
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateSlackChannelConfiguration$ = exports.RegisterSlackWorkspaceForOrganization$ = exports.PutAccountAlias$ = exports.ListSlackWorkspaceConfigurations$ = exports.ListSlackChannelConfigurations$ = exports.GetAccountAlias$ = exports.DeleteSlackWorkspaceConfiguration$ = exports.DeleteSlackChannelConfiguration$ = exports.DeleteAccountAlias$ = exports.CreateSlackChannelConfiguration$ = exports.UpdateSlackChannelConfigurationResult$ = exports.UpdateSlackChannelConfigurationRequest$ = exports.SlackWorkspaceConfiguration$ = exports.SlackChannelConfiguration$ = exports.RegisterSlackWorkspaceForOrganizationResult$ = exports.RegisterSlackWorkspaceForOrganizationRequest$ = exports.PutAccountAliasResult$ = exports.PutAccountAliasRequest$ = exports.ListSlackWorkspaceConfigurationsResult$ = exports.ListSlackWorkspaceConfigurationsRequest$ = exports.ListSlackChannelConfigurationsResult$ = exports.ListSlackChannelConfigurationsRequest$ = exports.GetAccountAliasResult$ = exports.GetAccountAliasRequest$ = exports.DeleteSlackWorkspaceConfigurationResult$ = exports.DeleteSlackWorkspaceConfigurationRequest$ = exports.DeleteSlackChannelConfigurationResult$ = exports.DeleteSlackChannelConfigurationRequest$ = exports.DeleteAccountAliasResult$ = exports.DeleteAccountAliasRequest$ = exports.CreateSlackChannelConfigurationResult$ = exports.CreateSlackChannelConfigurationRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.SupportAppServiceException$ = void 0;
|
|
4
|
+
const _ADE = "AccessDeniedException";
|
|
5
|
+
const _CE = "ConflictException";
|
|
6
|
+
const _CSCC = "CreateSlackChannelConfiguration";
|
|
7
|
+
const _CSCCR = "CreateSlackChannelConfigurationRequest";
|
|
8
|
+
const _CSCCRr = "CreateSlackChannelConfigurationResult";
|
|
9
|
+
const _DAA = "DeleteAccountAlias";
|
|
10
|
+
const _DAAR = "DeleteAccountAliasRequest";
|
|
11
|
+
const _DAARe = "DeleteAccountAliasResult";
|
|
12
|
+
const _DSCC = "DeleteSlackChannelConfiguration";
|
|
13
|
+
const _DSCCR = "DeleteSlackChannelConfigurationRequest";
|
|
14
|
+
const _DSCCRe = "DeleteSlackChannelConfigurationResult";
|
|
15
|
+
const _DSWC = "DeleteSlackWorkspaceConfiguration";
|
|
16
|
+
const _DSWCR = "DeleteSlackWorkspaceConfigurationRequest";
|
|
17
|
+
const _DSWCRe = "DeleteSlackWorkspaceConfigurationResult";
|
|
18
|
+
const _GAA = "GetAccountAlias";
|
|
19
|
+
const _GAAR = "GetAccountAliasRequest";
|
|
20
|
+
const _GAARe = "GetAccountAliasResult";
|
|
21
|
+
const _ISE = "InternalServerException";
|
|
22
|
+
const _LSCC = "ListSlackChannelConfigurations";
|
|
23
|
+
const _LSCCR = "ListSlackChannelConfigurationsRequest";
|
|
24
|
+
const _LSCCRi = "ListSlackChannelConfigurationsResult";
|
|
25
|
+
const _LSWC = "ListSlackWorkspaceConfigurations";
|
|
26
|
+
const _LSWCR = "ListSlackWorkspaceConfigurationsRequest";
|
|
27
|
+
const _LSWCRi = "ListSlackWorkspaceConfigurationsResult";
|
|
28
|
+
const _PAA = "PutAccountAlias";
|
|
29
|
+
const _PAAR = "PutAccountAliasRequest";
|
|
30
|
+
const _PAARu = "PutAccountAliasResult";
|
|
31
|
+
const _RNFE = "ResourceNotFoundException";
|
|
32
|
+
const _RSWFO = "RegisterSlackWorkspaceForOrganization";
|
|
33
|
+
const _RSWFOR = "RegisterSlackWorkspaceForOrganizationRequest";
|
|
34
|
+
const _RSWFORe = "RegisterSlackWorkspaceForOrganizationResult";
|
|
35
|
+
const _SCC = "SlackChannelConfiguration";
|
|
36
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
37
|
+
const _SWC = "SlackWorkspaceConfiguration";
|
|
38
|
+
const _SWCL = "SlackWorkspaceConfigurationList";
|
|
39
|
+
const _USCC = "UpdateSlackChannelConfiguration";
|
|
40
|
+
const _USCCR = "UpdateSlackChannelConfigurationRequest";
|
|
41
|
+
const _USCCRp = "UpdateSlackChannelConfigurationResult";
|
|
42
|
+
const _VE = "ValidationException";
|
|
43
|
+
const _aA = "accountAlias";
|
|
44
|
+
const _aOMA = "allowOrganizationMemberAccount";
|
|
45
|
+
const _aT = "accountType";
|
|
46
|
+
const _c = "client";
|
|
47
|
+
const _cI = "channelId";
|
|
48
|
+
const _cN = "channelName";
|
|
49
|
+
const _cRA = "channelRoleArn";
|
|
50
|
+
const _e = "error";
|
|
51
|
+
const _h = "http";
|
|
52
|
+
const _hE = "httpError";
|
|
53
|
+
const _m = "message";
|
|
54
|
+
const _nOACTC = "notifyOnAddCorrespondenceToCase";
|
|
55
|
+
const _nOCORC = "notifyOnCreateOrReopenCase";
|
|
56
|
+
const _nOCS = "notifyOnCaseSeverity";
|
|
57
|
+
const _nORC = "notifyOnResolveCase";
|
|
58
|
+
const _nT = "nextToken";
|
|
59
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.supportapp";
|
|
60
|
+
const _sCC = "slackChannelConfigurations";
|
|
61
|
+
const _sCCL = "slackChannelConfigurationList";
|
|
62
|
+
const _sWC = "slackWorkspaceConfigurations";
|
|
63
|
+
const _se = "server";
|
|
64
|
+
const _tI = "teamId";
|
|
65
|
+
const _tN = "teamName";
|
|
66
|
+
const n0 = "com.amazonaws.supportapp";
|
|
67
|
+
const schema_1 = require("@smithy/core/schema");
|
|
68
|
+
const errors_1 = require("../models/errors");
|
|
69
|
+
const SupportAppServiceException_1 = require("../models/SupportAppServiceException");
|
|
70
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
71
|
+
exports.SupportAppServiceException$ = [-3, _s, "SupportAppServiceException", 0, [], []];
|
|
72
|
+
_s_registry.registerError(exports.SupportAppServiceException$, SupportAppServiceException_1.SupportAppServiceException);
|
|
73
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
74
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
75
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
76
|
+
[_m],
|
|
77
|
+
[0]
|
|
78
|
+
];
|
|
79
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
80
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
81
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
82
|
+
[_m],
|
|
83
|
+
[0]
|
|
84
|
+
];
|
|
85
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
86
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
87
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
88
|
+
[_m],
|
|
89
|
+
[0]
|
|
90
|
+
];
|
|
91
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
92
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
93
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
94
|
+
[_m],
|
|
95
|
+
[0]
|
|
96
|
+
];
|
|
97
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
98
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
99
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
100
|
+
[_m],
|
|
101
|
+
[0]
|
|
102
|
+
];
|
|
103
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
104
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
105
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
106
|
+
[_m],
|
|
107
|
+
[0]
|
|
108
|
+
];
|
|
109
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
110
|
+
exports.errorTypeRegistries = [
|
|
111
|
+
_s_registry,
|
|
112
|
+
n0_registry,
|
|
113
|
+
];
|
|
114
|
+
exports.CreateSlackChannelConfigurationRequest$ = [3, n0, _CSCCR,
|
|
115
|
+
0,
|
|
116
|
+
[_tI, _cI, _nOCS, _cRA, _cN, _nOCORC, _nOACTC, _nORC],
|
|
117
|
+
[0, 0, 0, 0, 0, 2, 2, 2], 4
|
|
118
|
+
];
|
|
119
|
+
exports.CreateSlackChannelConfigurationResult$ = [3, n0, _CSCCRr,
|
|
120
|
+
0,
|
|
121
|
+
[],
|
|
122
|
+
[]
|
|
123
|
+
];
|
|
124
|
+
exports.DeleteAccountAliasRequest$ = [3, n0, _DAAR,
|
|
125
|
+
0,
|
|
126
|
+
[],
|
|
127
|
+
[]
|
|
128
|
+
];
|
|
129
|
+
exports.DeleteAccountAliasResult$ = [3, n0, _DAARe,
|
|
130
|
+
0,
|
|
131
|
+
[],
|
|
132
|
+
[]
|
|
133
|
+
];
|
|
134
|
+
exports.DeleteSlackChannelConfigurationRequest$ = [3, n0, _DSCCR,
|
|
135
|
+
0,
|
|
136
|
+
[_tI, _cI],
|
|
137
|
+
[0, 0], 2
|
|
138
|
+
];
|
|
139
|
+
exports.DeleteSlackChannelConfigurationResult$ = [3, n0, _DSCCRe,
|
|
140
|
+
0,
|
|
141
|
+
[],
|
|
142
|
+
[]
|
|
143
|
+
];
|
|
144
|
+
exports.DeleteSlackWorkspaceConfigurationRequest$ = [3, n0, _DSWCR,
|
|
145
|
+
0,
|
|
146
|
+
[_tI],
|
|
147
|
+
[0], 1
|
|
148
|
+
];
|
|
149
|
+
exports.DeleteSlackWorkspaceConfigurationResult$ = [3, n0, _DSWCRe,
|
|
150
|
+
0,
|
|
151
|
+
[],
|
|
152
|
+
[]
|
|
153
|
+
];
|
|
154
|
+
exports.GetAccountAliasRequest$ = [3, n0, _GAAR,
|
|
155
|
+
0,
|
|
156
|
+
[],
|
|
157
|
+
[]
|
|
158
|
+
];
|
|
159
|
+
exports.GetAccountAliasResult$ = [3, n0, _GAARe,
|
|
160
|
+
0,
|
|
161
|
+
[_aA],
|
|
162
|
+
[0]
|
|
163
|
+
];
|
|
164
|
+
exports.ListSlackChannelConfigurationsRequest$ = [3, n0, _LSCCR,
|
|
165
|
+
0,
|
|
166
|
+
[_nT],
|
|
167
|
+
[0]
|
|
168
|
+
];
|
|
169
|
+
exports.ListSlackChannelConfigurationsResult$ = [3, n0, _LSCCRi,
|
|
170
|
+
0,
|
|
171
|
+
[_sCC, _nT],
|
|
172
|
+
[() => slackChannelConfigurationList, 0], 1
|
|
173
|
+
];
|
|
174
|
+
exports.ListSlackWorkspaceConfigurationsRequest$ = [3, n0, _LSWCR,
|
|
175
|
+
0,
|
|
176
|
+
[_nT],
|
|
177
|
+
[0]
|
|
178
|
+
];
|
|
179
|
+
exports.ListSlackWorkspaceConfigurationsResult$ = [3, n0, _LSWCRi,
|
|
180
|
+
0,
|
|
181
|
+
[_nT, _sWC],
|
|
182
|
+
[0, () => SlackWorkspaceConfigurationList]
|
|
183
|
+
];
|
|
184
|
+
exports.PutAccountAliasRequest$ = [3, n0, _PAAR,
|
|
185
|
+
0,
|
|
186
|
+
[_aA],
|
|
187
|
+
[0], 1
|
|
188
|
+
];
|
|
189
|
+
exports.PutAccountAliasResult$ = [3, n0, _PAARu,
|
|
190
|
+
0,
|
|
191
|
+
[],
|
|
192
|
+
[]
|
|
193
|
+
];
|
|
194
|
+
exports.RegisterSlackWorkspaceForOrganizationRequest$ = [3, n0, _RSWFOR,
|
|
195
|
+
0,
|
|
196
|
+
[_tI],
|
|
197
|
+
[0], 1
|
|
198
|
+
];
|
|
199
|
+
exports.RegisterSlackWorkspaceForOrganizationResult$ = [3, n0, _RSWFORe,
|
|
200
|
+
0,
|
|
201
|
+
[_tI, _tN, _aT],
|
|
202
|
+
[0, 0, 0]
|
|
203
|
+
];
|
|
204
|
+
exports.SlackChannelConfiguration$ = [3, n0, _SCC,
|
|
205
|
+
0,
|
|
206
|
+
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
207
|
+
[0, 0, 0, 2, 2, 2, 0, 0], 2
|
|
208
|
+
];
|
|
209
|
+
exports.SlackWorkspaceConfiguration$ = [3, n0, _SWC,
|
|
210
|
+
0,
|
|
211
|
+
[_tI, _tN, _aOMA],
|
|
212
|
+
[0, 0, 2], 1
|
|
213
|
+
];
|
|
214
|
+
exports.UpdateSlackChannelConfigurationRequest$ = [3, n0, _USCCR,
|
|
215
|
+
0,
|
|
216
|
+
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
217
|
+
[0, 0, 0, 2, 2, 2, 0, 0], 2
|
|
218
|
+
];
|
|
219
|
+
exports.UpdateSlackChannelConfigurationResult$ = [3, n0, _USCCRp,
|
|
220
|
+
0,
|
|
221
|
+
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
222
|
+
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
223
|
+
];
|
|
224
|
+
var slackChannelConfigurationList = [1, n0, _sCCL,
|
|
225
|
+
0, () => exports.SlackChannelConfiguration$
|
|
226
|
+
];
|
|
227
|
+
var SlackWorkspaceConfigurationList = [1, n0, _SWCL,
|
|
228
|
+
0, () => exports.SlackWorkspaceConfiguration$
|
|
229
|
+
];
|
|
230
|
+
exports.CreateSlackChannelConfiguration$ = [9, n0, _CSCC,
|
|
231
|
+
{ [_h]: ["POST", "/control/create-slack-channel-configuration", 200] }, () => exports.CreateSlackChannelConfigurationRequest$, () => exports.CreateSlackChannelConfigurationResult$
|
|
232
|
+
];
|
|
233
|
+
exports.DeleteAccountAlias$ = [9, n0, _DAA,
|
|
234
|
+
{ [_h]: ["POST", "/control/delete-account-alias", 200] }, () => exports.DeleteAccountAliasRequest$, () => exports.DeleteAccountAliasResult$
|
|
235
|
+
];
|
|
236
|
+
exports.DeleteSlackChannelConfiguration$ = [9, n0, _DSCC,
|
|
237
|
+
{ [_h]: ["POST", "/control/delete-slack-channel-configuration", 200] }, () => exports.DeleteSlackChannelConfigurationRequest$, () => exports.DeleteSlackChannelConfigurationResult$
|
|
238
|
+
];
|
|
239
|
+
exports.DeleteSlackWorkspaceConfiguration$ = [9, n0, _DSWC,
|
|
240
|
+
{ [_h]: ["POST", "/control/delete-slack-workspace-configuration", 200] }, () => exports.DeleteSlackWorkspaceConfigurationRequest$, () => exports.DeleteSlackWorkspaceConfigurationResult$
|
|
241
|
+
];
|
|
242
|
+
exports.GetAccountAlias$ = [9, n0, _GAA,
|
|
243
|
+
{ [_h]: ["POST", "/control/get-account-alias", 200] }, () => exports.GetAccountAliasRequest$, () => exports.GetAccountAliasResult$
|
|
244
|
+
];
|
|
245
|
+
exports.ListSlackChannelConfigurations$ = [9, n0, _LSCC,
|
|
246
|
+
{ [_h]: ["POST", "/control/list-slack-channel-configurations", 200] }, () => exports.ListSlackChannelConfigurationsRequest$, () => exports.ListSlackChannelConfigurationsResult$
|
|
247
|
+
];
|
|
248
|
+
exports.ListSlackWorkspaceConfigurations$ = [9, n0, _LSWC,
|
|
249
|
+
{ [_h]: ["POST", "/control/list-slack-workspace-configurations", 200] }, () => exports.ListSlackWorkspaceConfigurationsRequest$, () => exports.ListSlackWorkspaceConfigurationsResult$
|
|
250
|
+
];
|
|
251
|
+
exports.PutAccountAlias$ = [9, n0, _PAA,
|
|
252
|
+
{ [_h]: ["POST", "/control/put-account-alias", 200] }, () => exports.PutAccountAliasRequest$, () => exports.PutAccountAliasResult$
|
|
253
|
+
];
|
|
254
|
+
exports.RegisterSlackWorkspaceForOrganization$ = [9, n0, _RSWFO,
|
|
255
|
+
{ [_h]: ["POST", "/control/register-slack-workspace-for-organization", 200] }, () => exports.RegisterSlackWorkspaceForOrganizationRequest$, () => exports.RegisterSlackWorkspaceForOrganizationResult$
|
|
256
|
+
];
|
|
257
|
+
exports.UpdateSlackChannelConfiguration$ = [9, n0, _USCC,
|
|
258
|
+
{ [_h]: ["POST", "/control/update-slack-channel-configuration", 200] }, () => exports.UpdateSlackChannelConfigurationRequest$, () => exports.UpdateSlackChannelConfigurationResult$
|
|
259
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultSupportAppHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2021-08-20",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.supportapp",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2021-08-20",
|
|
30
32
|
serviceTarget: "SupportApp",
|
|
31
33
|
},
|
|
@@ -53,29 +53,61 @@ const _nOCORC = "notifyOnCreateOrReopenCase";
|
|
|
53
53
|
const _nOCS = "notifyOnCaseSeverity";
|
|
54
54
|
const _nORC = "notifyOnResolveCase";
|
|
55
55
|
const _nT = "nextToken";
|
|
56
|
-
const _s = "
|
|
56
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.supportapp";
|
|
57
57
|
const _sCC = "slackChannelConfigurations";
|
|
58
58
|
const _sCCL = "slackChannelConfigurationList";
|
|
59
59
|
const _sWC = "slackWorkspaceConfigurations";
|
|
60
|
-
const
|
|
60
|
+
const _se = "server";
|
|
61
61
|
const _tI = "teamId";
|
|
62
62
|
const _tN = "teamName";
|
|
63
63
|
const n0 = "com.amazonaws.supportapp";
|
|
64
64
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
65
65
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/errors";
|
|
66
66
|
import { SupportAppServiceException } from "../models/SupportAppServiceException";
|
|
67
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
68
|
+
export var SupportAppServiceException$ = [-3, _s, "SupportAppServiceException", 0, [], []];
|
|
69
|
+
_s_registry.registerError(SupportAppServiceException$, SupportAppServiceException);
|
|
70
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
67
71
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
68
72
|
{ [_e]: _c, [_hE]: 403 },
|
|
69
73
|
[_m],
|
|
70
74
|
[0]
|
|
71
75
|
];
|
|
72
|
-
|
|
76
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
73
77
|
export var ConflictException$ = [-3, n0, _CE,
|
|
74
78
|
{ [_e]: _c, [_hE]: 409 },
|
|
75
79
|
[_m],
|
|
76
80
|
[0]
|
|
77
81
|
];
|
|
78
|
-
|
|
82
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
83
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
84
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
85
|
+
[_m],
|
|
86
|
+
[0]
|
|
87
|
+
];
|
|
88
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
89
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
90
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
91
|
+
[_m],
|
|
92
|
+
[0]
|
|
93
|
+
];
|
|
94
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
95
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
96
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
97
|
+
[_m],
|
|
98
|
+
[0]
|
|
99
|
+
];
|
|
100
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
101
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
102
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
103
|
+
[_m],
|
|
104
|
+
[0]
|
|
105
|
+
];
|
|
106
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
107
|
+
export const errorTypeRegistries = [
|
|
108
|
+
_s_registry,
|
|
109
|
+
n0_registry,
|
|
110
|
+
];
|
|
79
111
|
export var CreateSlackChannelConfigurationRequest$ = [3, n0, _CSCCR,
|
|
80
112
|
0,
|
|
81
113
|
[_tI, _cI, _nOCS, _cRA, _cN, _nOCORC, _nOACTC, _nORC],
|
|
@@ -126,12 +158,6 @@ export var GetAccountAliasResult$ = [3, n0, _GAARe,
|
|
|
126
158
|
[_aA],
|
|
127
159
|
[0]
|
|
128
160
|
];
|
|
129
|
-
export var InternalServerException$ = [-3, n0, _ISE,
|
|
130
|
-
{ [_e]: _s, [_hE]: 500 },
|
|
131
|
-
[_m],
|
|
132
|
-
[0]
|
|
133
|
-
];
|
|
134
|
-
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
135
161
|
export var ListSlackChannelConfigurationsRequest$ = [3, n0, _LSCCR,
|
|
136
162
|
0,
|
|
137
163
|
[_nT],
|
|
@@ -172,18 +198,6 @@ export var RegisterSlackWorkspaceForOrganizationResult$ = [3, n0, _RSWFORe,
|
|
|
172
198
|
[_tI, _tN, _aT],
|
|
173
199
|
[0, 0, 0]
|
|
174
200
|
];
|
|
175
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
176
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
177
|
-
[_m],
|
|
178
|
-
[0]
|
|
179
|
-
];
|
|
180
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
181
|
-
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
182
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
183
|
-
[_m],
|
|
184
|
-
[0]
|
|
185
|
-
];
|
|
186
|
-
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
187
201
|
export var SlackChannelConfiguration$ = [3, n0, _SCC,
|
|
188
202
|
0,
|
|
189
203
|
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
@@ -204,14 +218,6 @@ export var UpdateSlackChannelConfigurationResult$ = [3, n0, _USCCRp,
|
|
|
204
218
|
[_tI, _cI, _cN, _nOCORC, _nOACTC, _nORC, _nOCS, _cRA],
|
|
205
219
|
[0, 0, 0, 2, 2, 2, 0, 0]
|
|
206
220
|
];
|
|
207
|
-
export var ValidationException$ = [-3, n0, _VE,
|
|
208
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
209
|
-
[_m],
|
|
210
|
-
[0]
|
|
211
|
-
];
|
|
212
|
-
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
213
|
-
export var SupportAppServiceException$ = [-3, _sm, "SupportAppServiceException", 0, [], []];
|
|
214
|
-
TypeRegistry.for(_sm).registerError(SupportAppServiceException$, SupportAppServiceException);
|
|
215
221
|
var slackChannelConfigurationList = [1, n0, _sCCL,
|
|
216
222
|
0, () => SlackChannelConfiguration$
|
|
217
223
|
];
|
|
@@ -1,6 +1,18 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var SupportAppServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
3
5
|
export declare var ConflictException$: StaticErrorSchema;
|
|
6
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
7
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
8
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
9
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
10
|
+
/**
|
|
11
|
+
* TypeRegistry instances containing modeled errors.
|
|
12
|
+
* @internal
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
4
16
|
export declare var CreateSlackChannelConfigurationRequest$: StaticStructureSchema;
|
|
5
17
|
export declare var CreateSlackChannelConfigurationResult$: StaticStructureSchema;
|
|
6
18
|
export declare var DeleteAccountAliasRequest$: StaticStructureSchema;
|
|
@@ -11,7 +23,6 @@ export declare var DeleteSlackWorkspaceConfigurationRequest$: StaticStructureSch
|
|
|
11
23
|
export declare var DeleteSlackWorkspaceConfigurationResult$: StaticStructureSchema;
|
|
12
24
|
export declare var GetAccountAliasRequest$: StaticStructureSchema;
|
|
13
25
|
export declare var GetAccountAliasResult$: StaticStructureSchema;
|
|
14
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
15
26
|
export declare var ListSlackChannelConfigurationsRequest$: StaticStructureSchema;
|
|
16
27
|
export declare var ListSlackChannelConfigurationsResult$: StaticStructureSchema;
|
|
17
28
|
export declare var ListSlackWorkspaceConfigurationsRequest$: StaticStructureSchema;
|
|
@@ -20,14 +31,10 @@ export declare var PutAccountAliasRequest$: StaticStructureSchema;
|
|
|
20
31
|
export declare var PutAccountAliasResult$: StaticStructureSchema;
|
|
21
32
|
export declare var RegisterSlackWorkspaceForOrganizationRequest$: StaticStructureSchema;
|
|
22
33
|
export declare var RegisterSlackWorkspaceForOrganizationResult$: StaticStructureSchema;
|
|
23
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
24
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
25
34
|
export declare var SlackChannelConfiguration$: StaticStructureSchema;
|
|
26
35
|
export declare var SlackWorkspaceConfiguration$: StaticStructureSchema;
|
|
27
36
|
export declare var UpdateSlackChannelConfigurationRequest$: StaticStructureSchema;
|
|
28
37
|
export declare var UpdateSlackChannelConfigurationResult$: StaticStructureSchema;
|
|
29
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
30
|
-
export declare var SupportAppServiceException$: StaticErrorSchema;
|
|
31
38
|
export declare var CreateSlackChannelConfiguration$: StaticOperationSchema;
|
|
32
39
|
export declare var DeleteAccountAlias$: StaticOperationSchema;
|
|
33
40
|
export declare var DeleteSlackChannelConfiguration$: StaticOperationSchema;
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var SupportAppServiceException$: StaticErrorSchema;
|
|
6
8
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
7
9
|
export declare var ConflictException$: StaticErrorSchema;
|
|
10
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
11
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
12
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
13
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
14
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
8
15
|
export declare var CreateSlackChannelConfigurationRequest$: StaticStructureSchema;
|
|
9
16
|
export declare var CreateSlackChannelConfigurationResult$: StaticStructureSchema;
|
|
10
17
|
export declare var DeleteAccountAliasRequest$: StaticStructureSchema;
|
|
@@ -15,7 +22,6 @@ export declare var DeleteSlackWorkspaceConfigurationRequest$: StaticStructureSch
|
|
|
15
22
|
export declare var DeleteSlackWorkspaceConfigurationResult$: StaticStructureSchema;
|
|
16
23
|
export declare var GetAccountAliasRequest$: StaticStructureSchema;
|
|
17
24
|
export declare var GetAccountAliasResult$: StaticStructureSchema;
|
|
18
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
19
25
|
export declare var ListSlackChannelConfigurationsRequest$: StaticStructureSchema;
|
|
20
26
|
export declare var ListSlackChannelConfigurationsResult$: StaticStructureSchema;
|
|
21
27
|
export declare var ListSlackWorkspaceConfigurationsRequest$: StaticStructureSchema;
|
|
@@ -24,14 +30,10 @@ export declare var PutAccountAliasRequest$: StaticStructureSchema;
|
|
|
24
30
|
export declare var PutAccountAliasResult$: StaticStructureSchema;
|
|
25
31
|
export declare var RegisterSlackWorkspaceForOrganizationRequest$: StaticStructureSchema;
|
|
26
32
|
export declare var RegisterSlackWorkspaceForOrganizationResult$: StaticStructureSchema;
|
|
27
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
28
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
29
33
|
export declare var SlackChannelConfiguration$: StaticStructureSchema;
|
|
30
34
|
export declare var SlackWorkspaceConfiguration$: StaticStructureSchema;
|
|
31
35
|
export declare var UpdateSlackChannelConfigurationRequest$: StaticStructureSchema;
|
|
32
36
|
export declare var UpdateSlackChannelConfigurationResult$: StaticStructureSchema;
|
|
33
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
34
|
-
export declare var SupportAppServiceException$: StaticErrorSchema;
|
|
35
37
|
export declare var CreateSlackChannelConfiguration$: StaticOperationSchema;
|
|
36
38
|
export declare var DeleteAccountAlias$: StaticOperationSchema;
|
|
37
39
|
export declare var DeleteSlackChannelConfiguration$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-support-app",
|
|
3
3
|
"description": "AWS SDK for JavaScript Support App Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.989.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-support-app",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.9",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.8",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.9",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.989.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.7",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|