@aws-sdk/client-repostspace 3.987.0 → 3.988.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 CHANGED
@@ -15,7 +15,10 @@ 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');
18
19
  var utilWaiter = require('@smithy/util-waiter');
20
+ var errors = require('./models/errors');
21
+ var RepostspaceServiceException = require('./models/RepostspaceServiceException');
19
22
 
20
23
  const resolveClientEndpointParameters = (options) => {
21
24
  return Object.assign(options, {
@@ -111,605 +114,6 @@ class RepostspaceClient extends smithyClient.Client {
111
114
  }
112
115
  }
113
116
 
114
- class RepostspaceServiceException extends smithyClient.ServiceException {
115
- constructor(options) {
116
- super(options);
117
- Object.setPrototypeOf(this, RepostspaceServiceException.prototype);
118
- }
119
- }
120
-
121
- class AccessDeniedException extends RepostspaceServiceException {
122
- name = "AccessDeniedException";
123
- $fault = "client";
124
- constructor(opts) {
125
- super({
126
- name: "AccessDeniedException",
127
- $fault: "client",
128
- ...opts,
129
- });
130
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
- }
132
- }
133
- class InternalServerException extends RepostspaceServiceException {
134
- name = "InternalServerException";
135
- $fault = "server";
136
- $retryable = {};
137
- retryAfterSeconds;
138
- constructor(opts) {
139
- super({
140
- name: "InternalServerException",
141
- $fault: "server",
142
- ...opts,
143
- });
144
- Object.setPrototypeOf(this, InternalServerException.prototype);
145
- this.retryAfterSeconds = opts.retryAfterSeconds;
146
- }
147
- }
148
- class ResourceNotFoundException extends RepostspaceServiceException {
149
- name = "ResourceNotFoundException";
150
- $fault = "client";
151
- resourceId;
152
- resourceType;
153
- constructor(opts) {
154
- super({
155
- name: "ResourceNotFoundException",
156
- $fault: "client",
157
- ...opts,
158
- });
159
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
160
- this.resourceId = opts.resourceId;
161
- this.resourceType = opts.resourceType;
162
- }
163
- }
164
- class ThrottlingException extends RepostspaceServiceException {
165
- name = "ThrottlingException";
166
- $fault = "client";
167
- $retryable = {
168
- throttling: true,
169
- };
170
- serviceCode;
171
- quotaCode;
172
- retryAfterSeconds;
173
- constructor(opts) {
174
- super({
175
- name: "ThrottlingException",
176
- $fault: "client",
177
- ...opts,
178
- });
179
- Object.setPrototypeOf(this, ThrottlingException.prototype);
180
- this.serviceCode = opts.serviceCode;
181
- this.quotaCode = opts.quotaCode;
182
- this.retryAfterSeconds = opts.retryAfterSeconds;
183
- }
184
- }
185
- class ValidationException extends RepostspaceServiceException {
186
- name = "ValidationException";
187
- $fault = "client";
188
- reason;
189
- fieldList;
190
- constructor(opts) {
191
- super({
192
- name: "ValidationException",
193
- $fault: "client",
194
- ...opts,
195
- });
196
- Object.setPrototypeOf(this, ValidationException.prototype);
197
- this.reason = opts.reason;
198
- this.fieldList = opts.fieldList;
199
- }
200
- }
201
- class ConflictException extends RepostspaceServiceException {
202
- name = "ConflictException";
203
- $fault = "client";
204
- resourceId;
205
- resourceType;
206
- constructor(opts) {
207
- super({
208
- name: "ConflictException",
209
- $fault: "client",
210
- ...opts,
211
- });
212
- Object.setPrototypeOf(this, ConflictException.prototype);
213
- this.resourceId = opts.resourceId;
214
- this.resourceType = opts.resourceType;
215
- }
216
- }
217
- class ServiceQuotaExceededException extends RepostspaceServiceException {
218
- name = "ServiceQuotaExceededException";
219
- $fault = "client";
220
- resourceId;
221
- resourceType;
222
- serviceCode;
223
- quotaCode;
224
- constructor(opts) {
225
- super({
226
- name: "ServiceQuotaExceededException",
227
- $fault: "client",
228
- ...opts,
229
- });
230
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
231
- this.resourceId = opts.resourceId;
232
- this.resourceType = opts.resourceType;
233
- this.serviceCode = opts.serviceCode;
234
- this.quotaCode = opts.quotaCode;
235
- }
236
- }
237
-
238
- const _ADE = "AccessDeniedException";
239
- const _ADL = "AllowedDomainsList";
240
- const _BACRTA = "BatchAddChannelRoleToAccessors";
241
- const _BACRTAI = "BatchAddChannelRoleToAccessorsInput";
242
- const _BACRTAO = "BatchAddChannelRoleToAccessorsOutput";
243
- const _BAR = "BatchAddRole";
244
- const _BARI = "BatchAddRoleInput";
245
- const _BARO = "BatchAddRoleOutput";
246
- const _BE = "BatchError";
247
- const _BEL = "BatchErrorList";
248
- const _BRCRFA = "BatchRemoveChannelRoleFromAccessors";
249
- const _BRCRFAI = "BatchRemoveChannelRoleFromAccessorsInput";
250
- const _BRCRFAO = "BatchRemoveChannelRoleFromAccessorsOutput";
251
- const _BRR = "BatchRemoveRole";
252
- const _BRRI = "BatchRemoveRoleInput";
253
- const _BRRO = "BatchRemoveRoleOutput";
254
- const _CC = "CreateChannel";
255
- const _CCI = "CreateChannelInput";
256
- const _CCO = "CreateChannelOutput";
257
- const _CD = "ChannelDescription";
258
- const _CDh = "ChannelData";
259
- const _CE = "ConflictException";
260
- const _CL = "ChannelsList";
261
- const _CN = "ChannelName";
262
- const _CR = "ChannelRoles";
263
- const _CS = "CreateSpace";
264
- const _CSI = "CreateSpaceInput";
265
- const _CSO = "CreateSpaceOutput";
266
- const _DA = "DeregisterAdmin";
267
- const _DAI = "DeregisterAdminInput";
268
- const _DS = "DeleteSpace";
269
- const _DSI = "DeleteSpaceInput";
270
- const _ED = "EmailDomain";
271
- const _GC = "GetChannel";
272
- const _GCI = "GetChannelInput";
273
- const _GCO = "GetChannelOutput";
274
- const _GS = "GetSpace";
275
- const _GSI = "GetSpaceInput";
276
- const _GSO = "GetSpaceOutput";
277
- const _IB = "InviteBody";
278
- const _ISE = "InternalServerException";
279
- const _IT = "InviteTitle";
280
- const _LC = "ListChannels";
281
- const _LCI = "ListChannelsInput";
282
- const _LCO = "ListChannelsOutput";
283
- const _LS = "ListSpaces";
284
- const _LSI = "ListSpacesInput";
285
- const _LSO = "ListSpacesOutput";
286
- const _LTFR = "ListTagsForResource";
287
- const _LTFRR = "ListTagsForResourceRequest";
288
- const _LTFRRi = "ListTagsForResourceResponse";
289
- const _R = "Roles";
290
- const _RA = "Retry-After";
291
- const _RAI = "RegisterAdminInput";
292
- const _RAe = "RegisterAdmin";
293
- const _RNFE = "ResourceNotFoundException";
294
- const _SD = "SpaceDescription";
295
- const _SDp = "SpaceData";
296
- const _SEDP = "SupportedEmailDomainsParameters";
297
- const _SEDS = "SupportedEmailDomainsStatus";
298
- const _SI = "SendInvites";
299
- const _SII = "SendInvitesInput";
300
- const _SL = "SpacesList";
301
- const _SN = "SpaceName";
302
- const _SQEE = "ServiceQuotaExceededException";
303
- const _T = "Tags";
304
- const _TE = "ThrottlingException";
305
- const _TR = "TagResource";
306
- const _TRR = "TagResourceRequest";
307
- const _TRRa = "TagResourceResponse";
308
- const _UC = "UpdateChannel";
309
- const _UCI = "UpdateChannelInput";
310
- const _UCO = "UpdateChannelOutput";
311
- const _UR = "UntagResource";
312
- const _URR = "UntagResourceRequest";
313
- const _URRn = "UntagResourceResponse";
314
- const _US = "UpdateSpace";
315
- const _USI = "UpdateSpaceInput";
316
- const _VE = "ValidationException";
317
- const _VEF = "ValidationExceptionField";
318
- const _VEFL = "ValidationExceptionFieldList";
319
- const _a = "arn";
320
- const _aA = "applicationArn";
321
- const _aAI = "addedAccessorIds";
322
- const _aD = "allowedDomains";
323
- const _aI = "accessorIds";
324
- const _aIc = "accessorId";
325
- const _aId = "adminId";
326
- const _b = "body";
327
- const _c = "client";
328
- const _cD = "channelDescription";
329
- const _cDT = "createDateTime";
330
- const _cI = "channelId";
331
- const _cIl = "clientId";
332
- const _cN = "channelName";
333
- const _cR = "channelRole";
334
- const _cRA = "customerRoleArn";
335
- const _cRh = "channelRoles";
336
- const _cS = "channelStatus";
337
- const _cSo = "configurationStatus";
338
- const _cSon = "contentSize";
339
- const _ch = "channels";
340
- const _d = "description";
341
- const _dDT = "deleteDateTime";
342
- const _e = "error";
343
- const _en = "enabled";
344
- const _er = "errors";
345
- const _fL = "fieldList";
346
- const _gA = "groupAdmins";
347
- const _gC = "groupCount";
348
- const _h = "http";
349
- const _hE = "httpError";
350
- const _hH = "httpHeader";
351
- const _hQ = "httpQuery";
352
- const _iSI = "identityStoreId";
353
- const _m = "message";
354
- const _mR = "maxResults";
355
- const _n = "name";
356
- const _nT = "nextToken";
357
- const _qC = "quotaCode";
358
- const _r = "role";
359
- const _rA = "roleArn";
360
- const _rAI = "removedAccessorIds";
361
- const _rAS = "retryAfterSeconds";
362
- const _rAe = "resourceArn";
363
- const _rD = "randomDomain";
364
- const _rI = "resourceId";
365
- const _rT = "resourceType";
366
- const _re = "reason";
367
- const _ro = "roles";
368
- const _s = "subdomain";
369
- const _sC = "serviceCode";
370
- const _sED = "supportedEmailDomains";
371
- const _sI = "spaceId";
372
- const _sL = "storageLimit";
373
- const _se = "server";
374
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.repostspace";
375
- const _sp = "spaces";
376
- const _st = "status";
377
- const _t = "tier";
378
- const _tK = "tagKeys";
379
- const _ta = "tags";
380
- const _ti = "title";
381
- const _uA = "userAdmins";
382
- const _uC = "userCount";
383
- const _uKMSK = "userKMSKey";
384
- const _vD = "vanityDomain";
385
- const _vDS = "vanityDomainStatus";
386
- const n0 = "com.amazonaws.repostspace";
387
- var ChannelDescription = [0, n0, _CD, 8, 0];
388
- var ChannelName = [0, n0, _CN, 8, 0];
389
- var EmailDomain = [0, n0, _ED, 8, 0];
390
- var InviteBody = [0, n0, _IB, 8, 0];
391
- var InviteTitle = [0, n0, _IT, 8, 0];
392
- var SpaceDescription = [0, n0, _SD, 8, 0];
393
- var SpaceName = [0, n0, _SN, 8, 0];
394
- var AccessDeniedException$ = [-3, n0, _ADE,
395
- { [_e]: _c, [_hE]: 403 },
396
- [_m],
397
- [0], 1
398
- ];
399
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
400
- var BatchAddChannelRoleToAccessorsInput$ = [3, n0, _BACRTAI,
401
- 0,
402
- [_sI, _cI, _aI, _cR],
403
- [[0, 1], [0, 1], 64 | 0, 0], 4
404
- ];
405
- var BatchAddChannelRoleToAccessorsOutput$ = [3, n0, _BACRTAO,
406
- 0,
407
- [_aAI, _er],
408
- [64 | 0, () => BatchErrorList], 2
409
- ];
410
- var BatchAddRoleInput$ = [3, n0, _BARI,
411
- 0,
412
- [_sI, _aI, _r],
413
- [[0, 1], 64 | 0, 0], 3
414
- ];
415
- var BatchAddRoleOutput$ = [3, n0, _BARO,
416
- 0,
417
- [_aAI, _er],
418
- [64 | 0, () => BatchErrorList], 2
419
- ];
420
- var BatchError$ = [3, n0, _BE,
421
- 0,
422
- [_aIc, _e, _m],
423
- [0, 1, 0], 3
424
- ];
425
- var BatchRemoveChannelRoleFromAccessorsInput$ = [3, n0, _BRCRFAI,
426
- 0,
427
- [_sI, _cI, _aI, _cR],
428
- [[0, 1], [0, 1], 64 | 0, 0], 4
429
- ];
430
- var BatchRemoveChannelRoleFromAccessorsOutput$ = [3, n0, _BRCRFAO,
431
- 0,
432
- [_rAI, _er],
433
- [64 | 0, () => BatchErrorList], 2
434
- ];
435
- var BatchRemoveRoleInput$ = [3, n0, _BRRI,
436
- 0,
437
- [_sI, _aI, _r],
438
- [[0, 1], 64 | 0, 0], 3
439
- ];
440
- var BatchRemoveRoleOutput$ = [3, n0, _BRRO,
441
- 0,
442
- [_rAI, _er],
443
- [64 | 0, () => BatchErrorList], 2
444
- ];
445
- var ChannelData$ = [3, n0, _CDh,
446
- 0,
447
- [_sI, _cI, _cN, _cDT, _cS, _uC, _gC, _cD, _dDT],
448
- [0, 0, [() => ChannelName, 0], 5, 0, 1, 1, [() => ChannelDescription, 0], 5], 7
449
- ];
450
- var ConflictException$ = [-3, n0, _CE,
451
- { [_e]: _c, [_hE]: 409 },
452
- [_m, _rI, _rT],
453
- [0, 0, 0], 3
454
- ];
455
- schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
456
- var CreateChannelInput$ = [3, n0, _CCI,
457
- 0,
458
- [_sI, _cN, _cD],
459
- [[0, 1], [() => ChannelName, 0], [() => ChannelDescription, 0]], 2
460
- ];
461
- var CreateChannelOutput$ = [3, n0, _CCO,
462
- 0,
463
- [_cI],
464
- [0], 1
465
- ];
466
- var CreateSpaceInput$ = [3, n0, _CSI,
467
- 0,
468
- [_n, _s, _t, _d, _uKMSK, _ta, _rA, _sED],
469
- [[() => SpaceName, 0], 0, 0, [() => SpaceDescription, 0], 0, [() => Tags, 0], 0, [() => SupportedEmailDomainsParameters$, 0]], 3
470
- ];
471
- var CreateSpaceOutput$ = [3, n0, _CSO,
472
- 0,
473
- [_sI],
474
- [0], 1
475
- ];
476
- var DeleteSpaceInput$ = [3, n0, _DSI,
477
- 0,
478
- [_sI],
479
- [[0, 1]], 1
480
- ];
481
- var DeregisterAdminInput$ = [3, n0, _DAI,
482
- 0,
483
- [_sI, _aId],
484
- [[0, 1], [0, 1]], 2
485
- ];
486
- var GetChannelInput$ = [3, n0, _GCI,
487
- 0,
488
- [_sI, _cI],
489
- [[0, 1], [0, 1]], 2
490
- ];
491
- var GetChannelOutput$ = [3, n0, _GCO,
492
- 0,
493
- [_sI, _cI, _cN, _cDT, _cS, _cD, _dDT, _cRh],
494
- [0, 0, [() => ChannelName, 0], 5, 0, [() => ChannelDescription, 0], 5, [2, n0, _CR, 0, 0, 64 | 0]], 5
495
- ];
496
- var GetSpaceInput$ = [3, n0, _GSI,
497
- 0,
498
- [_sI],
499
- [[0, 1]], 1
500
- ];
501
- var GetSpaceOutput$ = [3, n0, _GSO,
502
- 0,
503
- [_sI, _a, _n, _st, _cSo, _cIl, _vDS, _vD, _rD, _cDT, _t, _sL, _iSI, _aA, _d, _cRA, _dDT, _uA, _gA, _ro, _uKMSK, _uC, _cSon, _sED],
504
- [0, 0, [() => SpaceName, 0], 0, 0, 0, 0, 0, 0, 5, 0, 1, 0, 0, [() => SpaceDescription, 0], 0, 5, 64 | 0, 64 | 0, [2, n0, _R, 0, 0, 64 | 0], 0, 1, 1, [() => SupportedEmailDomainsStatus$, 0]], 12
505
- ];
506
- var InternalServerException$ = [-3, n0, _ISE,
507
- { [_e]: _se, [_hE]: 500 },
508
- [_m, _rAS],
509
- [0, [1, { [_hH]: _RA }]], 1
510
- ];
511
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
512
- var ListChannelsInput$ = [3, n0, _LCI,
513
- 0,
514
- [_sI, _nT, _mR],
515
- [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
516
- ];
517
- var ListChannelsOutput$ = [3, n0, _LCO,
518
- 0,
519
- [_ch, _nT],
520
- [[() => ChannelsList, 0], 0], 1
521
- ];
522
- var ListSpacesInput$ = [3, n0, _LSI,
523
- 0,
524
- [_nT, _mR],
525
- [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
526
- ];
527
- var ListSpacesOutput$ = [3, n0, _LSO,
528
- 0,
529
- [_sp, _nT],
530
- [[() => SpacesList, 0], 0], 1
531
- ];
532
- var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
533
- 0,
534
- [_rAe],
535
- [[0, 1]], 1
536
- ];
537
- var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
538
- 0,
539
- [_ta],
540
- [[() => Tags, 0]]
541
- ];
542
- var RegisterAdminInput$ = [3, n0, _RAI,
543
- 0,
544
- [_sI, _aId],
545
- [[0, 1], [0, 1]], 2
546
- ];
547
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
548
- { [_e]: _c, [_hE]: 404 },
549
- [_m, _rI, _rT],
550
- [0, 0, 0], 3
551
- ];
552
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
553
- var SendInvitesInput$ = [3, n0, _SII,
554
- 0,
555
- [_sI, _aI, _ti, _b],
556
- [[0, 1], 64 | 0, [() => InviteTitle, 0], [() => InviteBody, 0]], 4
557
- ];
558
- var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
559
- { [_e]: _c, [_hE]: 402 },
560
- [_m, _rI, _rT, _sC, _qC],
561
- [0, 0, 0, 0, 0], 5
562
- ];
563
- schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
564
- var SpaceData$ = [3, n0, _SDp,
565
- 0,
566
- [_sI, _a, _n, _st, _cSo, _vDS, _vD, _rD, _t, _sL, _cDT, _d, _dDT, _uKMSK, _uC, _cSon, _sED],
567
- [0, 0, [() => SpaceName, 0], 0, 0, 0, 0, 0, 0, 1, 5, [() => SpaceDescription, 0], 5, 0, 1, 1, [() => SupportedEmailDomainsStatus$, 0]], 11
568
- ];
569
- var SupportedEmailDomainsParameters$ = [3, n0, _SEDP,
570
- 0,
571
- [_en, _aD],
572
- [0, [() => AllowedDomainsList, 0]]
573
- ];
574
- var SupportedEmailDomainsStatus$ = [3, n0, _SEDS,
575
- 0,
576
- [_en, _aD],
577
- [0, [() => AllowedDomainsList, 0]]
578
- ];
579
- var TagResourceRequest$ = [3, n0, _TRR,
580
- 0,
581
- [_rAe, _ta],
582
- [[0, 1], [() => Tags, 0]], 2
583
- ];
584
- var TagResourceResponse$ = [3, n0, _TRRa,
585
- 0,
586
- [],
587
- []
588
- ];
589
- var ThrottlingException$ = [-3, n0, _TE,
590
- { [_e]: _c, [_hE]: 429 },
591
- [_m, _sC, _qC, _rAS],
592
- [0, 0, 0, [1, { [_hH]: _RA }]], 1
593
- ];
594
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
595
- var UntagResourceRequest$ = [3, n0, _URR,
596
- 0,
597
- [_rAe, _tK],
598
- [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
599
- ];
600
- var UntagResourceResponse$ = [3, n0, _URRn,
601
- 0,
602
- [],
603
- []
604
- ];
605
- var UpdateChannelInput$ = [3, n0, _UCI,
606
- 0,
607
- [_sI, _cI, _cN, _cD],
608
- [[0, 1], [0, 1], [() => ChannelName, 0], [() => ChannelDescription, 0]], 3
609
- ];
610
- var UpdateChannelOutput$ = [3, n0, _UCO,
611
- 0,
612
- [],
613
- []
614
- ];
615
- var UpdateSpaceInput$ = [3, n0, _USI,
616
- 0,
617
- [_sI, _d, _t, _rA, _sED],
618
- [[0, 1], [() => SpaceDescription, 0], 0, 0, [() => SupportedEmailDomainsParameters$, 0]], 1
619
- ];
620
- var ValidationException$ = [-3, n0, _VE,
621
- { [_e]: _c, [_hE]: 400 },
622
- [_m, _re, _fL],
623
- [0, 0, () => ValidationExceptionFieldList], 2
624
- ];
625
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
626
- var ValidationExceptionField$ = [3, n0, _VEF,
627
- 0,
628
- [_n, _m],
629
- [0, 0], 2
630
- ];
631
- var __Unit = "unit";
632
- var RepostspaceServiceException$ = [-3, _sm, "RepostspaceServiceException", 0, [], []];
633
- schema.TypeRegistry.for(_sm).registerError(RepostspaceServiceException$, RepostspaceServiceException);
634
- var AllowedDomainsList = [1, n0, _ADL,
635
- 0, [() => EmailDomain,
636
- 0]
637
- ];
638
- var BatchErrorList = [1, n0, _BEL,
639
- 0, () => BatchError$
640
- ];
641
- var ChannelsList = [1, n0, _CL,
642
- 0, [() => ChannelData$,
643
- 0]
644
- ];
645
- var SpacesList = [1, n0, _SL,
646
- 0, [() => SpaceData$,
647
- 0]
648
- ];
649
- var ValidationExceptionFieldList = [1, n0, _VEFL,
650
- 0, () => ValidationExceptionField$
651
- ];
652
- var Tags = [2, n0, _T,
653
- 8, 0, 0
654
- ];
655
- var BatchAddChannelRoleToAccessors$ = [9, n0, _BACRTA,
656
- { [_h]: ["POST", "/spaces/{spaceId}/channels/{channelId}/roles", 200] }, () => BatchAddChannelRoleToAccessorsInput$, () => BatchAddChannelRoleToAccessorsOutput$
657
- ];
658
- var BatchAddRole$ = [9, n0, _BAR,
659
- { [_h]: ["POST", "/spaces/{spaceId}/roles", 200] }, () => BatchAddRoleInput$, () => BatchAddRoleOutput$
660
- ];
661
- var BatchRemoveChannelRoleFromAccessors$ = [9, n0, _BRCRFA,
662
- { [_h]: ["PATCH", "/spaces/{spaceId}/channels/{channelId}/roles", 200] }, () => BatchRemoveChannelRoleFromAccessorsInput$, () => BatchRemoveChannelRoleFromAccessorsOutput$
663
- ];
664
- var BatchRemoveRole$ = [9, n0, _BRR,
665
- { [_h]: ["PATCH", "/spaces/{spaceId}/roles", 200] }, () => BatchRemoveRoleInput$, () => BatchRemoveRoleOutput$
666
- ];
667
- var CreateChannel$ = [9, n0, _CC,
668
- { [_h]: ["POST", "/spaces/{spaceId}/channels", 200] }, () => CreateChannelInput$, () => CreateChannelOutput$
669
- ];
670
- var CreateSpace$ = [9, n0, _CS,
671
- { [_h]: ["POST", "/spaces", 200] }, () => CreateSpaceInput$, () => CreateSpaceOutput$
672
- ];
673
- var DeleteSpace$ = [9, n0, _DS,
674
- { [_h]: ["DELETE", "/spaces/{spaceId}", 200] }, () => DeleteSpaceInput$, () => __Unit
675
- ];
676
- var DeregisterAdmin$ = [9, n0, _DA,
677
- { [_h]: ["DELETE", "/spaces/{spaceId}/admins/{adminId}", 200] }, () => DeregisterAdminInput$, () => __Unit
678
- ];
679
- var GetChannel$ = [9, n0, _GC,
680
- { [_h]: ["GET", "/spaces/{spaceId}/channels/{channelId}", 200] }, () => GetChannelInput$, () => GetChannelOutput$
681
- ];
682
- var GetSpace$ = [9, n0, _GS,
683
- { [_h]: ["GET", "/spaces/{spaceId}", 200] }, () => GetSpaceInput$, () => GetSpaceOutput$
684
- ];
685
- var ListChannels$ = [9, n0, _LC,
686
- { [_h]: ["GET", "/spaces/{spaceId}/channels", 200] }, () => ListChannelsInput$, () => ListChannelsOutput$
687
- ];
688
- var ListSpaces$ = [9, n0, _LS,
689
- { [_h]: ["GET", "/spaces", 200] }, () => ListSpacesInput$, () => ListSpacesOutput$
690
- ];
691
- var ListTagsForResource$ = [9, n0, _LTFR,
692
- { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
693
- ];
694
- var RegisterAdmin$ = [9, n0, _RAe,
695
- { [_h]: ["POST", "/spaces/{spaceId}/admins/{adminId}", 200] }, () => RegisterAdminInput$, () => __Unit
696
- ];
697
- var SendInvites$ = [9, n0, _SI,
698
- { [_h]: ["POST", "/spaces/{spaceId}/invite", 200] }, () => SendInvitesInput$, () => __Unit
699
- ];
700
- var TagResource$ = [9, n0, _TR,
701
- { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
702
- ];
703
- var UntagResource$ = [9, n0, _UR,
704
- { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
705
- ];
706
- var UpdateChannel$ = [9, n0, _UC,
707
- { [_h]: ["PUT", "/spaces/{spaceId}/channels/{channelId}", 200] }, () => UpdateChannelInput$, () => UpdateChannelOutput$
708
- ];
709
- var UpdateSpace$ = [9, n0, _US,
710
- { [_h]: ["PUT", "/spaces/{spaceId}", 200] }, () => UpdateSpaceInput$, () => __Unit
711
- ];
712
-
713
117
  class BatchAddChannelRoleToAccessorsCommand extends smithyClient.Command
714
118
  .classBuilder()
715
119
  .ep(commonParams)
@@ -718,7 +122,7 @@ class BatchAddChannelRoleToAccessorsCommand extends smithyClient.Command
718
122
  })
719
123
  .s("RepostSpace", "BatchAddChannelRoleToAccessors", {})
720
124
  .n("RepostspaceClient", "BatchAddChannelRoleToAccessorsCommand")
721
- .sc(BatchAddChannelRoleToAccessors$)
125
+ .sc(schemas_0.BatchAddChannelRoleToAccessors$)
722
126
  .build() {
723
127
  }
724
128
 
@@ -730,7 +134,7 @@ class BatchAddRoleCommand extends smithyClient.Command
730
134
  })
731
135
  .s("RepostSpace", "BatchAddRole", {})
732
136
  .n("RepostspaceClient", "BatchAddRoleCommand")
733
- .sc(BatchAddRole$)
137
+ .sc(schemas_0.BatchAddRole$)
734
138
  .build() {
735
139
  }
736
140
 
@@ -742,7 +146,7 @@ class BatchRemoveChannelRoleFromAccessorsCommand extends smithyClient.Command
742
146
  })
743
147
  .s("RepostSpace", "BatchRemoveChannelRoleFromAccessors", {})
744
148
  .n("RepostspaceClient", "BatchRemoveChannelRoleFromAccessorsCommand")
745
- .sc(BatchRemoveChannelRoleFromAccessors$)
149
+ .sc(schemas_0.BatchRemoveChannelRoleFromAccessors$)
746
150
  .build() {
747
151
  }
748
152
 
@@ -754,7 +158,7 @@ class BatchRemoveRoleCommand extends smithyClient.Command
754
158
  })
755
159
  .s("RepostSpace", "BatchRemoveRole", {})
756
160
  .n("RepostspaceClient", "BatchRemoveRoleCommand")
757
- .sc(BatchRemoveRole$)
161
+ .sc(schemas_0.BatchRemoveRole$)
758
162
  .build() {
759
163
  }
760
164
 
@@ -766,7 +170,7 @@ class CreateChannelCommand extends smithyClient.Command
766
170
  })
767
171
  .s("RepostSpace", "CreateChannel", {})
768
172
  .n("RepostspaceClient", "CreateChannelCommand")
769
- .sc(CreateChannel$)
173
+ .sc(schemas_0.CreateChannel$)
770
174
  .build() {
771
175
  }
772
176
 
@@ -778,7 +182,7 @@ class CreateSpaceCommand extends smithyClient.Command
778
182
  })
779
183
  .s("RepostSpace", "CreateSpace", {})
780
184
  .n("RepostspaceClient", "CreateSpaceCommand")
781
- .sc(CreateSpace$)
185
+ .sc(schemas_0.CreateSpace$)
782
186
  .build() {
783
187
  }
784
188
 
@@ -790,7 +194,7 @@ class DeleteSpaceCommand extends smithyClient.Command
790
194
  })
791
195
  .s("RepostSpace", "DeleteSpace", {})
792
196
  .n("RepostspaceClient", "DeleteSpaceCommand")
793
- .sc(DeleteSpace$)
197
+ .sc(schemas_0.DeleteSpace$)
794
198
  .build() {
795
199
  }
796
200
 
@@ -802,7 +206,7 @@ class DeregisterAdminCommand extends smithyClient.Command
802
206
  })
803
207
  .s("RepostSpace", "DeregisterAdmin", {})
804
208
  .n("RepostspaceClient", "DeregisterAdminCommand")
805
- .sc(DeregisterAdmin$)
209
+ .sc(schemas_0.DeregisterAdmin$)
806
210
  .build() {
807
211
  }
808
212
 
@@ -814,7 +218,7 @@ class GetChannelCommand extends smithyClient.Command
814
218
  })
815
219
  .s("RepostSpace", "GetChannel", {})
816
220
  .n("RepostspaceClient", "GetChannelCommand")
817
- .sc(GetChannel$)
221
+ .sc(schemas_0.GetChannel$)
818
222
  .build() {
819
223
  }
820
224
 
@@ -826,7 +230,7 @@ class GetSpaceCommand extends smithyClient.Command
826
230
  })
827
231
  .s("RepostSpace", "GetSpace", {})
828
232
  .n("RepostspaceClient", "GetSpaceCommand")
829
- .sc(GetSpace$)
233
+ .sc(schemas_0.GetSpace$)
830
234
  .build() {
831
235
  }
832
236
 
@@ -838,7 +242,7 @@ class ListChannelsCommand extends smithyClient.Command
838
242
  })
839
243
  .s("RepostSpace", "ListChannels", {})
840
244
  .n("RepostspaceClient", "ListChannelsCommand")
841
- .sc(ListChannels$)
245
+ .sc(schemas_0.ListChannels$)
842
246
  .build() {
843
247
  }
844
248
 
@@ -850,7 +254,7 @@ class ListSpacesCommand extends smithyClient.Command
850
254
  })
851
255
  .s("RepostSpace", "ListSpaces", {})
852
256
  .n("RepostspaceClient", "ListSpacesCommand")
853
- .sc(ListSpaces$)
257
+ .sc(schemas_0.ListSpaces$)
854
258
  .build() {
855
259
  }
856
260
 
@@ -862,7 +266,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
862
266
  })
863
267
  .s("RepostSpace", "ListTagsForResource", {})
864
268
  .n("RepostspaceClient", "ListTagsForResourceCommand")
865
- .sc(ListTagsForResource$)
269
+ .sc(schemas_0.ListTagsForResource$)
866
270
  .build() {
867
271
  }
868
272
 
@@ -874,7 +278,7 @@ class RegisterAdminCommand extends smithyClient.Command
874
278
  })
875
279
  .s("RepostSpace", "RegisterAdmin", {})
876
280
  .n("RepostspaceClient", "RegisterAdminCommand")
877
- .sc(RegisterAdmin$)
281
+ .sc(schemas_0.RegisterAdmin$)
878
282
  .build() {
879
283
  }
880
284
 
@@ -886,7 +290,7 @@ class SendInvitesCommand extends smithyClient.Command
886
290
  })
887
291
  .s("RepostSpace", "SendInvites", {})
888
292
  .n("RepostspaceClient", "SendInvitesCommand")
889
- .sc(SendInvites$)
293
+ .sc(schemas_0.SendInvites$)
890
294
  .build() {
891
295
  }
892
296
 
@@ -898,7 +302,7 @@ class TagResourceCommand extends smithyClient.Command
898
302
  })
899
303
  .s("RepostSpace", "TagResource", {})
900
304
  .n("RepostspaceClient", "TagResourceCommand")
901
- .sc(TagResource$)
305
+ .sc(schemas_0.TagResource$)
902
306
  .build() {
903
307
  }
904
308
 
@@ -910,7 +314,7 @@ class UntagResourceCommand extends smithyClient.Command
910
314
  })
911
315
  .s("RepostSpace", "UntagResource", {})
912
316
  .n("RepostspaceClient", "UntagResourceCommand")
913
- .sc(UntagResource$)
317
+ .sc(schemas_0.UntagResource$)
914
318
  .build() {
915
319
  }
916
320
 
@@ -922,7 +326,7 @@ class UpdateChannelCommand extends smithyClient.Command
922
326
  })
923
327
  .s("RepostSpace", "UpdateChannel", {})
924
328
  .n("RepostspaceClient", "UpdateChannelCommand")
925
- .sc(UpdateChannel$)
329
+ .sc(schemas_0.UpdateChannel$)
926
330
  .build() {
927
331
  }
928
332
 
@@ -934,7 +338,7 @@ class UpdateSpaceCommand extends smithyClient.Command
934
338
  })
935
339
  .s("RepostSpace", "UpdateSpace", {})
936
340
  .n("RepostspaceClient", "UpdateSpaceCommand")
937
- .sc(UpdateSpace$)
341
+ .sc(schemas_0.UpdateSpace$)
938
342
  .build() {
939
343
  }
940
344
 
@@ -1232,108 +636,38 @@ Object.defineProperty(exports, "__Client", {
1232
636
  enumerable: true,
1233
637
  get: function () { return smithyClient.Client; }
1234
638
  });
1235
- exports.AccessDeniedException = AccessDeniedException;
1236
- exports.AccessDeniedException$ = AccessDeniedException$;
1237
- exports.BatchAddChannelRoleToAccessors$ = BatchAddChannelRoleToAccessors$;
639
+ Object.defineProperty(exports, "RepostspaceServiceException", {
640
+ enumerable: true,
641
+ get: function () { return RepostspaceServiceException.RepostspaceServiceException; }
642
+ });
1238
643
  exports.BatchAddChannelRoleToAccessorsCommand = BatchAddChannelRoleToAccessorsCommand;
1239
- exports.BatchAddChannelRoleToAccessorsInput$ = BatchAddChannelRoleToAccessorsInput$;
1240
- exports.BatchAddChannelRoleToAccessorsOutput$ = BatchAddChannelRoleToAccessorsOutput$;
1241
- exports.BatchAddRole$ = BatchAddRole$;
1242
644
  exports.BatchAddRoleCommand = BatchAddRoleCommand;
1243
- exports.BatchAddRoleInput$ = BatchAddRoleInput$;
1244
- exports.BatchAddRoleOutput$ = BatchAddRoleOutput$;
1245
- exports.BatchError$ = BatchError$;
1246
- exports.BatchRemoveChannelRoleFromAccessors$ = BatchRemoveChannelRoleFromAccessors$;
1247
645
  exports.BatchRemoveChannelRoleFromAccessorsCommand = BatchRemoveChannelRoleFromAccessorsCommand;
1248
- exports.BatchRemoveChannelRoleFromAccessorsInput$ = BatchRemoveChannelRoleFromAccessorsInput$;
1249
- exports.BatchRemoveChannelRoleFromAccessorsOutput$ = BatchRemoveChannelRoleFromAccessorsOutput$;
1250
- exports.BatchRemoveRole$ = BatchRemoveRole$;
1251
646
  exports.BatchRemoveRoleCommand = BatchRemoveRoleCommand;
1252
- exports.BatchRemoveRoleInput$ = BatchRemoveRoleInput$;
1253
- exports.BatchRemoveRoleOutput$ = BatchRemoveRoleOutput$;
1254
- exports.ChannelData$ = ChannelData$;
1255
647
  exports.ChannelRole = ChannelRole;
1256
648
  exports.ChannelStatus = ChannelStatus;
1257
649
  exports.ConfigurationStatus = ConfigurationStatus;
1258
- exports.ConflictException = ConflictException;
1259
- exports.ConflictException$ = ConflictException$;
1260
- exports.CreateChannel$ = CreateChannel$;
1261
650
  exports.CreateChannelCommand = CreateChannelCommand;
1262
- exports.CreateChannelInput$ = CreateChannelInput$;
1263
- exports.CreateChannelOutput$ = CreateChannelOutput$;
1264
- exports.CreateSpace$ = CreateSpace$;
1265
651
  exports.CreateSpaceCommand = CreateSpaceCommand;
1266
- exports.CreateSpaceInput$ = CreateSpaceInput$;
1267
- exports.CreateSpaceOutput$ = CreateSpaceOutput$;
1268
- exports.DeleteSpace$ = DeleteSpace$;
1269
652
  exports.DeleteSpaceCommand = DeleteSpaceCommand;
1270
- exports.DeleteSpaceInput$ = DeleteSpaceInput$;
1271
- exports.DeregisterAdmin$ = DeregisterAdmin$;
1272
653
  exports.DeregisterAdminCommand = DeregisterAdminCommand;
1273
- exports.DeregisterAdminInput$ = DeregisterAdminInput$;
1274
654
  exports.FeatureEnableParameter = FeatureEnableParameter;
1275
655
  exports.FeatureEnableStatus = FeatureEnableStatus;
1276
- exports.GetChannel$ = GetChannel$;
1277
656
  exports.GetChannelCommand = GetChannelCommand;
1278
- exports.GetChannelInput$ = GetChannelInput$;
1279
- exports.GetChannelOutput$ = GetChannelOutput$;
1280
- exports.GetSpace$ = GetSpace$;
1281
657
  exports.GetSpaceCommand = GetSpaceCommand;
1282
- exports.GetSpaceInput$ = GetSpaceInput$;
1283
- exports.GetSpaceOutput$ = GetSpaceOutput$;
1284
- exports.InternalServerException = InternalServerException;
1285
- exports.InternalServerException$ = InternalServerException$;
1286
- exports.ListChannels$ = ListChannels$;
1287
658
  exports.ListChannelsCommand = ListChannelsCommand;
1288
- exports.ListChannelsInput$ = ListChannelsInput$;
1289
- exports.ListChannelsOutput$ = ListChannelsOutput$;
1290
- exports.ListSpaces$ = ListSpaces$;
1291
659
  exports.ListSpacesCommand = ListSpacesCommand;
1292
- exports.ListSpacesInput$ = ListSpacesInput$;
1293
- exports.ListSpacesOutput$ = ListSpacesOutput$;
1294
- exports.ListTagsForResource$ = ListTagsForResource$;
1295
660
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1296
- exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1297
- exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1298
- exports.RegisterAdmin$ = RegisterAdmin$;
1299
661
  exports.RegisterAdminCommand = RegisterAdminCommand;
1300
- exports.RegisterAdminInput$ = RegisterAdminInput$;
1301
662
  exports.Repostspace = Repostspace;
1302
663
  exports.RepostspaceClient = RepostspaceClient;
1303
- exports.RepostspaceServiceException = RepostspaceServiceException;
1304
- exports.RepostspaceServiceException$ = RepostspaceServiceException$;
1305
- exports.ResourceNotFoundException = ResourceNotFoundException;
1306
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1307
664
  exports.Role = Role;
1308
- exports.SendInvites$ = SendInvites$;
1309
665
  exports.SendInvitesCommand = SendInvitesCommand;
1310
- exports.SendInvitesInput$ = SendInvitesInput$;
1311
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1312
- exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1313
- exports.SpaceData$ = SpaceData$;
1314
- exports.SupportedEmailDomainsParameters$ = SupportedEmailDomainsParameters$;
1315
- exports.SupportedEmailDomainsStatus$ = SupportedEmailDomainsStatus$;
1316
- exports.TagResource$ = TagResource$;
1317
666
  exports.TagResourceCommand = TagResourceCommand;
1318
- exports.TagResourceRequest$ = TagResourceRequest$;
1319
- exports.TagResourceResponse$ = TagResourceResponse$;
1320
- exports.ThrottlingException = ThrottlingException;
1321
- exports.ThrottlingException$ = ThrottlingException$;
1322
667
  exports.TierLevel = TierLevel;
1323
- exports.UntagResource$ = UntagResource$;
1324
668
  exports.UntagResourceCommand = UntagResourceCommand;
1325
- exports.UntagResourceRequest$ = UntagResourceRequest$;
1326
- exports.UntagResourceResponse$ = UntagResourceResponse$;
1327
- exports.UpdateChannel$ = UpdateChannel$;
1328
669
  exports.UpdateChannelCommand = UpdateChannelCommand;
1329
- exports.UpdateChannelInput$ = UpdateChannelInput$;
1330
- exports.UpdateChannelOutput$ = UpdateChannelOutput$;
1331
- exports.UpdateSpace$ = UpdateSpace$;
1332
670
  exports.UpdateSpaceCommand = UpdateSpaceCommand;
1333
- exports.UpdateSpaceInput$ = UpdateSpaceInput$;
1334
- exports.ValidationException = ValidationException;
1335
- exports.ValidationException$ = ValidationException$;
1336
- exports.ValidationExceptionField$ = ValidationExceptionField$;
1337
671
  exports.ValidationExceptionReason = ValidationExceptionReason;
1338
672
  exports.VanityDomainStatus = VanityDomainStatus;
1339
673
  exports.paginateListChannels = paginateListChannels;
@@ -1346,3 +680,15 @@ exports.waitUntilChannelCreated = waitUntilChannelCreated;
1346
680
  exports.waitUntilChannelDeleted = waitUntilChannelDeleted;
1347
681
  exports.waitUntilSpaceCreated = waitUntilSpaceCreated;
1348
682
  exports.waitUntilSpaceDeleted = waitUntilSpaceDeleted;
683
+ Object.keys(schemas_0).forEach(function (k) {
684
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
685
+ enumerable: true,
686
+ get: function () { return schemas_0[k]; }
687
+ });
688
+ });
689
+ Object.keys(errors).forEach(function (k) {
690
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
691
+ enumerable: true,
692
+ get: function () { return errors[k]; }
693
+ });
694
+ });