@aws-sdk/client-repostspace 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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RepostspaceServiceException = 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 RepostspaceServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, RepostspaceServiceException.prototype);
10
+ }
11
+ }
12
+ exports.RepostspaceServiceException = RepostspaceServiceException;
@@ -0,0 +1,127 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServiceQuotaExceededException = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
+ const RepostspaceServiceException_1 = require("./RepostspaceServiceException");
5
+ class AccessDeniedException extends RepostspaceServiceException_1.RepostspaceServiceException {
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 InternalServerException extends RepostspaceServiceException_1.RepostspaceServiceException {
19
+ name = "InternalServerException";
20
+ $fault = "server";
21
+ $retryable = {};
22
+ retryAfterSeconds;
23
+ constructor(opts) {
24
+ super({
25
+ name: "InternalServerException",
26
+ $fault: "server",
27
+ ...opts,
28
+ });
29
+ Object.setPrototypeOf(this, InternalServerException.prototype);
30
+ this.retryAfterSeconds = opts.retryAfterSeconds;
31
+ }
32
+ }
33
+ exports.InternalServerException = InternalServerException;
34
+ class ResourceNotFoundException extends RepostspaceServiceException_1.RepostspaceServiceException {
35
+ name = "ResourceNotFoundException";
36
+ $fault = "client";
37
+ resourceId;
38
+ resourceType;
39
+ constructor(opts) {
40
+ super({
41
+ name: "ResourceNotFoundException",
42
+ $fault: "client",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
46
+ this.resourceId = opts.resourceId;
47
+ this.resourceType = opts.resourceType;
48
+ }
49
+ }
50
+ exports.ResourceNotFoundException = ResourceNotFoundException;
51
+ class ThrottlingException extends RepostspaceServiceException_1.RepostspaceServiceException {
52
+ name = "ThrottlingException";
53
+ $fault = "client";
54
+ $retryable = {
55
+ throttling: true,
56
+ };
57
+ serviceCode;
58
+ quotaCode;
59
+ retryAfterSeconds;
60
+ constructor(opts) {
61
+ super({
62
+ name: "ThrottlingException",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
67
+ this.serviceCode = opts.serviceCode;
68
+ this.quotaCode = opts.quotaCode;
69
+ this.retryAfterSeconds = opts.retryAfterSeconds;
70
+ }
71
+ }
72
+ exports.ThrottlingException = ThrottlingException;
73
+ class ValidationException extends RepostspaceServiceException_1.RepostspaceServiceException {
74
+ name = "ValidationException";
75
+ $fault = "client";
76
+ reason;
77
+ fieldList;
78
+ constructor(opts) {
79
+ super({
80
+ name: "ValidationException",
81
+ $fault: "client",
82
+ ...opts,
83
+ });
84
+ Object.setPrototypeOf(this, ValidationException.prototype);
85
+ this.reason = opts.reason;
86
+ this.fieldList = opts.fieldList;
87
+ }
88
+ }
89
+ exports.ValidationException = ValidationException;
90
+ class ConflictException extends RepostspaceServiceException_1.RepostspaceServiceException {
91
+ name = "ConflictException";
92
+ $fault = "client";
93
+ resourceId;
94
+ resourceType;
95
+ constructor(opts) {
96
+ super({
97
+ name: "ConflictException",
98
+ $fault: "client",
99
+ ...opts,
100
+ });
101
+ Object.setPrototypeOf(this, ConflictException.prototype);
102
+ this.resourceId = opts.resourceId;
103
+ this.resourceType = opts.resourceType;
104
+ }
105
+ }
106
+ exports.ConflictException = ConflictException;
107
+ class ServiceQuotaExceededException extends RepostspaceServiceException_1.RepostspaceServiceException {
108
+ name = "ServiceQuotaExceededException";
109
+ $fault = "client";
110
+ resourceId;
111
+ resourceType;
112
+ serviceCode;
113
+ quotaCode;
114
+ constructor(opts) {
115
+ super({
116
+ name: "ServiceQuotaExceededException",
117
+ $fault: "client",
118
+ ...opts,
119
+ });
120
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
121
+ this.resourceId = opts.resourceId;
122
+ this.resourceType = opts.resourceType;
123
+ this.serviceCode = opts.serviceCode;
124
+ this.quotaCode = opts.quotaCode;
125
+ }
126
+ }
127
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
@@ -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: "2022-05-13",
@@ -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.repostspace",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2022-05-13",
33
35
  serviceTarget: "RepostSpace",
34
36
  },
@@ -0,0 +1,499 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchAddRole$ = exports.BatchAddChannelRoleToAccessors$ = exports.ValidationExceptionField$ = exports.UpdateSpaceInput$ = exports.UpdateChannelOutput$ = exports.UpdateChannelInput$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.SupportedEmailDomainsStatus$ = exports.SupportedEmailDomainsParameters$ = exports.SpaceData$ = exports.SendInvitesInput$ = exports.RegisterAdminInput$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListSpacesOutput$ = exports.ListSpacesInput$ = exports.ListChannelsOutput$ = exports.ListChannelsInput$ = exports.GetSpaceOutput$ = exports.GetSpaceInput$ = exports.GetChannelOutput$ = exports.GetChannelInput$ = exports.DeregisterAdminInput$ = exports.DeleteSpaceInput$ = exports.CreateSpaceOutput$ = exports.CreateSpaceInput$ = exports.CreateChannelOutput$ = exports.CreateChannelInput$ = exports.ChannelData$ = exports.BatchRemoveRoleOutput$ = exports.BatchRemoveRoleInput$ = exports.BatchRemoveChannelRoleFromAccessorsOutput$ = exports.BatchRemoveChannelRoleFromAccessorsInput$ = exports.BatchError$ = exports.BatchAddRoleOutput$ = exports.BatchAddRoleInput$ = exports.BatchAddChannelRoleToAccessorsOutput$ = exports.BatchAddChannelRoleToAccessorsInput$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.RepostspaceServiceException$ = void 0;
4
+ exports.UpdateSpace$ = exports.UpdateChannel$ = exports.UntagResource$ = exports.TagResource$ = exports.SendInvites$ = exports.RegisterAdmin$ = exports.ListTagsForResource$ = exports.ListSpaces$ = exports.ListChannels$ = exports.GetSpace$ = exports.GetChannel$ = exports.DeregisterAdmin$ = exports.DeleteSpace$ = exports.CreateSpace$ = exports.CreateChannel$ = exports.BatchRemoveRole$ = exports.BatchRemoveChannelRoleFromAccessors$ = void 0;
5
+ const _ADE = "AccessDeniedException";
6
+ const _ADL = "AllowedDomainsList";
7
+ const _BACRTA = "BatchAddChannelRoleToAccessors";
8
+ const _BACRTAI = "BatchAddChannelRoleToAccessorsInput";
9
+ const _BACRTAO = "BatchAddChannelRoleToAccessorsOutput";
10
+ const _BAR = "BatchAddRole";
11
+ const _BARI = "BatchAddRoleInput";
12
+ const _BARO = "BatchAddRoleOutput";
13
+ const _BE = "BatchError";
14
+ const _BEL = "BatchErrorList";
15
+ const _BRCRFA = "BatchRemoveChannelRoleFromAccessors";
16
+ const _BRCRFAI = "BatchRemoveChannelRoleFromAccessorsInput";
17
+ const _BRCRFAO = "BatchRemoveChannelRoleFromAccessorsOutput";
18
+ const _BRR = "BatchRemoveRole";
19
+ const _BRRI = "BatchRemoveRoleInput";
20
+ const _BRRO = "BatchRemoveRoleOutput";
21
+ const _CC = "CreateChannel";
22
+ const _CCI = "CreateChannelInput";
23
+ const _CCO = "CreateChannelOutput";
24
+ const _CD = "ChannelDescription";
25
+ const _CDh = "ChannelData";
26
+ const _CE = "ConflictException";
27
+ const _CL = "ChannelsList";
28
+ const _CN = "ChannelName";
29
+ const _CR = "ChannelRoles";
30
+ const _CS = "CreateSpace";
31
+ const _CSI = "CreateSpaceInput";
32
+ const _CSO = "CreateSpaceOutput";
33
+ const _DA = "DeregisterAdmin";
34
+ const _DAI = "DeregisterAdminInput";
35
+ const _DS = "DeleteSpace";
36
+ const _DSI = "DeleteSpaceInput";
37
+ const _ED = "EmailDomain";
38
+ const _GC = "GetChannel";
39
+ const _GCI = "GetChannelInput";
40
+ const _GCO = "GetChannelOutput";
41
+ const _GS = "GetSpace";
42
+ const _GSI = "GetSpaceInput";
43
+ const _GSO = "GetSpaceOutput";
44
+ const _IB = "InviteBody";
45
+ const _ISE = "InternalServerException";
46
+ const _IT = "InviteTitle";
47
+ const _LC = "ListChannels";
48
+ const _LCI = "ListChannelsInput";
49
+ const _LCO = "ListChannelsOutput";
50
+ const _LS = "ListSpaces";
51
+ const _LSI = "ListSpacesInput";
52
+ const _LSO = "ListSpacesOutput";
53
+ const _LTFR = "ListTagsForResource";
54
+ const _LTFRR = "ListTagsForResourceRequest";
55
+ const _LTFRRi = "ListTagsForResourceResponse";
56
+ const _R = "Roles";
57
+ const _RA = "Retry-After";
58
+ const _RAI = "RegisterAdminInput";
59
+ const _RAe = "RegisterAdmin";
60
+ const _RNFE = "ResourceNotFoundException";
61
+ const _SD = "SpaceDescription";
62
+ const _SDp = "SpaceData";
63
+ const _SEDP = "SupportedEmailDomainsParameters";
64
+ const _SEDS = "SupportedEmailDomainsStatus";
65
+ const _SI = "SendInvites";
66
+ const _SII = "SendInvitesInput";
67
+ const _SL = "SpacesList";
68
+ const _SN = "SpaceName";
69
+ const _SQEE = "ServiceQuotaExceededException";
70
+ const _T = "Tags";
71
+ const _TE = "ThrottlingException";
72
+ const _TR = "TagResource";
73
+ const _TRR = "TagResourceRequest";
74
+ const _TRRa = "TagResourceResponse";
75
+ const _UC = "UpdateChannel";
76
+ const _UCI = "UpdateChannelInput";
77
+ const _UCO = "UpdateChannelOutput";
78
+ const _UR = "UntagResource";
79
+ const _URR = "UntagResourceRequest";
80
+ const _URRn = "UntagResourceResponse";
81
+ const _US = "UpdateSpace";
82
+ const _USI = "UpdateSpaceInput";
83
+ const _VE = "ValidationException";
84
+ const _VEF = "ValidationExceptionField";
85
+ const _VEFL = "ValidationExceptionFieldList";
86
+ const _a = "arn";
87
+ const _aA = "applicationArn";
88
+ const _aAI = "addedAccessorIds";
89
+ const _aD = "allowedDomains";
90
+ const _aI = "accessorIds";
91
+ const _aIc = "accessorId";
92
+ const _aId = "adminId";
93
+ const _b = "body";
94
+ const _c = "client";
95
+ const _cD = "channelDescription";
96
+ const _cDT = "createDateTime";
97
+ const _cI = "channelId";
98
+ const _cIl = "clientId";
99
+ const _cN = "channelName";
100
+ const _cR = "channelRole";
101
+ const _cRA = "customerRoleArn";
102
+ const _cRh = "channelRoles";
103
+ const _cS = "channelStatus";
104
+ const _cSo = "configurationStatus";
105
+ const _cSon = "contentSize";
106
+ const _ch = "channels";
107
+ const _d = "description";
108
+ const _dDT = "deleteDateTime";
109
+ const _e = "error";
110
+ const _en = "enabled";
111
+ const _er = "errors";
112
+ const _fL = "fieldList";
113
+ const _gA = "groupAdmins";
114
+ const _gC = "groupCount";
115
+ const _h = "http";
116
+ const _hE = "httpError";
117
+ const _hH = "httpHeader";
118
+ const _hQ = "httpQuery";
119
+ const _iSI = "identityStoreId";
120
+ const _m = "message";
121
+ const _mR = "maxResults";
122
+ const _n = "name";
123
+ const _nT = "nextToken";
124
+ const _qC = "quotaCode";
125
+ const _r = "reason";
126
+ const _rA = "roleArn";
127
+ const _rAI = "removedAccessorIds";
128
+ const _rAS = "retryAfterSeconds";
129
+ const _rAe = "resourceArn";
130
+ const _rD = "randomDomain";
131
+ const _rI = "resourceId";
132
+ const _rT = "resourceType";
133
+ const _ro = "role";
134
+ const _rol = "roles";
135
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.repostspace";
136
+ const _sC = "serviceCode";
137
+ const _sED = "supportedEmailDomains";
138
+ const _sI = "spaceId";
139
+ const _sL = "storageLimit";
140
+ const _se = "server";
141
+ const _sp = "spaces";
142
+ const _st = "status";
143
+ const _su = "subdomain";
144
+ const _t = "tier";
145
+ const _tK = "tagKeys";
146
+ const _ta = "tags";
147
+ const _ti = "title";
148
+ const _uA = "userAdmins";
149
+ const _uC = "userCount";
150
+ const _uKMSK = "userKMSKey";
151
+ const _vD = "vanityDomain";
152
+ const _vDS = "vanityDomainStatus";
153
+ const n0 = "com.amazonaws.repostspace";
154
+ const schema_1 = require("@smithy/core/schema");
155
+ const errors_1 = require("../models/errors");
156
+ const RepostspaceServiceException_1 = require("../models/RepostspaceServiceException");
157
+ const _s_registry = schema_1.TypeRegistry.for(_s);
158
+ exports.RepostspaceServiceException$ = [-3, _s, "RepostspaceServiceException", 0, [], []];
159
+ _s_registry.registerError(exports.RepostspaceServiceException$, RepostspaceServiceException_1.RepostspaceServiceException);
160
+ const n0_registry = schema_1.TypeRegistry.for(n0);
161
+ exports.AccessDeniedException$ = [-3, n0, _ADE,
162
+ { [_e]: _c, [_hE]: 403 },
163
+ [_m],
164
+ [0], 1
165
+ ];
166
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
167
+ exports.ConflictException$ = [-3, n0, _CE,
168
+ { [_e]: _c, [_hE]: 409 },
169
+ [_m, _rI, _rT],
170
+ [0, 0, 0], 3
171
+ ];
172
+ n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
173
+ exports.InternalServerException$ = [-3, n0, _ISE,
174
+ { [_e]: _se, [_hE]: 500 },
175
+ [_m, _rAS],
176
+ [0, [1, { [_hH]: _RA }]], 1
177
+ ];
178
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
179
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
180
+ { [_e]: _c, [_hE]: 404 },
181
+ [_m, _rI, _rT],
182
+ [0, 0, 0], 3
183
+ ];
184
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
185
+ exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
186
+ { [_e]: _c, [_hE]: 402 },
187
+ [_m, _rI, _rT, _sC, _qC],
188
+ [0, 0, 0, 0, 0], 5
189
+ ];
190
+ n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
191
+ exports.ThrottlingException$ = [-3, n0, _TE,
192
+ { [_e]: _c, [_hE]: 429 },
193
+ [_m, _sC, _qC, _rAS],
194
+ [0, 0, 0, [1, { [_hH]: _RA }]], 1
195
+ ];
196
+ n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
197
+ exports.ValidationException$ = [-3, n0, _VE,
198
+ { [_e]: _c, [_hE]: 400 },
199
+ [_m, _r, _fL],
200
+ [0, 0, () => ValidationExceptionFieldList], 2
201
+ ];
202
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
203
+ exports.errorTypeRegistries = [
204
+ _s_registry,
205
+ n0_registry,
206
+ ];
207
+ var ChannelDescription = [0, n0, _CD, 8, 0];
208
+ var ChannelName = [0, n0, _CN, 8, 0];
209
+ var EmailDomain = [0, n0, _ED, 8, 0];
210
+ var InviteBody = [0, n0, _IB, 8, 0];
211
+ var InviteTitle = [0, n0, _IT, 8, 0];
212
+ var SpaceDescription = [0, n0, _SD, 8, 0];
213
+ var SpaceName = [0, n0, _SN, 8, 0];
214
+ exports.BatchAddChannelRoleToAccessorsInput$ = [3, n0, _BACRTAI,
215
+ 0,
216
+ [_sI, _cI, _aI, _cR],
217
+ [[0, 1], [0, 1], 64 | 0, 0], 4
218
+ ];
219
+ exports.BatchAddChannelRoleToAccessorsOutput$ = [3, n0, _BACRTAO,
220
+ 0,
221
+ [_aAI, _er],
222
+ [64 | 0, () => BatchErrorList], 2
223
+ ];
224
+ exports.BatchAddRoleInput$ = [3, n0, _BARI,
225
+ 0,
226
+ [_sI, _aI, _ro],
227
+ [[0, 1], 64 | 0, 0], 3
228
+ ];
229
+ exports.BatchAddRoleOutput$ = [3, n0, _BARO,
230
+ 0,
231
+ [_aAI, _er],
232
+ [64 | 0, () => BatchErrorList], 2
233
+ ];
234
+ exports.BatchError$ = [3, n0, _BE,
235
+ 0,
236
+ [_aIc, _e, _m],
237
+ [0, 1, 0], 3
238
+ ];
239
+ exports.BatchRemoveChannelRoleFromAccessorsInput$ = [3, n0, _BRCRFAI,
240
+ 0,
241
+ [_sI, _cI, _aI, _cR],
242
+ [[0, 1], [0, 1], 64 | 0, 0], 4
243
+ ];
244
+ exports.BatchRemoveChannelRoleFromAccessorsOutput$ = [3, n0, _BRCRFAO,
245
+ 0,
246
+ [_rAI, _er],
247
+ [64 | 0, () => BatchErrorList], 2
248
+ ];
249
+ exports.BatchRemoveRoleInput$ = [3, n0, _BRRI,
250
+ 0,
251
+ [_sI, _aI, _ro],
252
+ [[0, 1], 64 | 0, 0], 3
253
+ ];
254
+ exports.BatchRemoveRoleOutput$ = [3, n0, _BRRO,
255
+ 0,
256
+ [_rAI, _er],
257
+ [64 | 0, () => BatchErrorList], 2
258
+ ];
259
+ exports.ChannelData$ = [3, n0, _CDh,
260
+ 0,
261
+ [_sI, _cI, _cN, _cDT, _cS, _uC, _gC, _cD, _dDT],
262
+ [0, 0, [() => ChannelName, 0], 5, 0, 1, 1, [() => ChannelDescription, 0], 5], 7
263
+ ];
264
+ exports.CreateChannelInput$ = [3, n0, _CCI,
265
+ 0,
266
+ [_sI, _cN, _cD],
267
+ [[0, 1], [() => ChannelName, 0], [() => ChannelDescription, 0]], 2
268
+ ];
269
+ exports.CreateChannelOutput$ = [3, n0, _CCO,
270
+ 0,
271
+ [_cI],
272
+ [0], 1
273
+ ];
274
+ exports.CreateSpaceInput$ = [3, n0, _CSI,
275
+ 0,
276
+ [_n, _su, _t, _d, _uKMSK, _ta, _rA, _sED],
277
+ [[() => SpaceName, 0], 0, 0, [() => SpaceDescription, 0], 0, [() => Tags, 0], 0, [() => exports.SupportedEmailDomainsParameters$, 0]], 3
278
+ ];
279
+ exports.CreateSpaceOutput$ = [3, n0, _CSO,
280
+ 0,
281
+ [_sI],
282
+ [0], 1
283
+ ];
284
+ exports.DeleteSpaceInput$ = [3, n0, _DSI,
285
+ 0,
286
+ [_sI],
287
+ [[0, 1]], 1
288
+ ];
289
+ exports.DeregisterAdminInput$ = [3, n0, _DAI,
290
+ 0,
291
+ [_sI, _aId],
292
+ [[0, 1], [0, 1]], 2
293
+ ];
294
+ exports.GetChannelInput$ = [3, n0, _GCI,
295
+ 0,
296
+ [_sI, _cI],
297
+ [[0, 1], [0, 1]], 2
298
+ ];
299
+ exports.GetChannelOutput$ = [3, n0, _GCO,
300
+ 0,
301
+ [_sI, _cI, _cN, _cDT, _cS, _cD, _dDT, _cRh],
302
+ [0, 0, [() => ChannelName, 0], 5, 0, [() => ChannelDescription, 0], 5, [2, n0, _CR, 0, 0, 64 | 0]], 5
303
+ ];
304
+ exports.GetSpaceInput$ = [3, n0, _GSI,
305
+ 0,
306
+ [_sI],
307
+ [[0, 1]], 1
308
+ ];
309
+ exports.GetSpaceOutput$ = [3, n0, _GSO,
310
+ 0,
311
+ [_sI, _a, _n, _st, _cSo, _cIl, _vDS, _vD, _rD, _cDT, _t, _sL, _iSI, _aA, _d, _cRA, _dDT, _uA, _gA, _rol, _uKMSK, _uC, _cSon, _sED],
312
+ [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, [() => exports.SupportedEmailDomainsStatus$, 0]], 12
313
+ ];
314
+ exports.ListChannelsInput$ = [3, n0, _LCI,
315
+ 0,
316
+ [_sI, _nT, _mR],
317
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
318
+ ];
319
+ exports.ListChannelsOutput$ = [3, n0, _LCO,
320
+ 0,
321
+ [_ch, _nT],
322
+ [[() => ChannelsList, 0], 0], 1
323
+ ];
324
+ exports.ListSpacesInput$ = [3, n0, _LSI,
325
+ 0,
326
+ [_nT, _mR],
327
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
328
+ ];
329
+ exports.ListSpacesOutput$ = [3, n0, _LSO,
330
+ 0,
331
+ [_sp, _nT],
332
+ [[() => SpacesList, 0], 0], 1
333
+ ];
334
+ exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
335
+ 0,
336
+ [_rAe],
337
+ [[0, 1]], 1
338
+ ];
339
+ exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
340
+ 0,
341
+ [_ta],
342
+ [[() => Tags, 0]]
343
+ ];
344
+ exports.RegisterAdminInput$ = [3, n0, _RAI,
345
+ 0,
346
+ [_sI, _aId],
347
+ [[0, 1], [0, 1]], 2
348
+ ];
349
+ exports.SendInvitesInput$ = [3, n0, _SII,
350
+ 0,
351
+ [_sI, _aI, _ti, _b],
352
+ [[0, 1], 64 | 0, [() => InviteTitle, 0], [() => InviteBody, 0]], 4
353
+ ];
354
+ exports.SpaceData$ = [3, n0, _SDp,
355
+ 0,
356
+ [_sI, _a, _n, _st, _cSo, _vDS, _vD, _rD, _t, _sL, _cDT, _d, _dDT, _uKMSK, _uC, _cSon, _sED],
357
+ [0, 0, [() => SpaceName, 0], 0, 0, 0, 0, 0, 0, 1, 5, [() => SpaceDescription, 0], 5, 0, 1, 1, [() => exports.SupportedEmailDomainsStatus$, 0]], 11
358
+ ];
359
+ exports.SupportedEmailDomainsParameters$ = [3, n0, _SEDP,
360
+ 0,
361
+ [_en, _aD],
362
+ [0, [() => AllowedDomainsList, 0]]
363
+ ];
364
+ exports.SupportedEmailDomainsStatus$ = [3, n0, _SEDS,
365
+ 0,
366
+ [_en, _aD],
367
+ [0, [() => AllowedDomainsList, 0]]
368
+ ];
369
+ exports.TagResourceRequest$ = [3, n0, _TRR,
370
+ 0,
371
+ [_rAe, _ta],
372
+ [[0, 1], [() => Tags, 0]], 2
373
+ ];
374
+ exports.TagResourceResponse$ = [3, n0, _TRRa,
375
+ 0,
376
+ [],
377
+ []
378
+ ];
379
+ exports.UntagResourceRequest$ = [3, n0, _URR,
380
+ 0,
381
+ [_rAe, _tK],
382
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
383
+ ];
384
+ exports.UntagResourceResponse$ = [3, n0, _URRn,
385
+ 0,
386
+ [],
387
+ []
388
+ ];
389
+ exports.UpdateChannelInput$ = [3, n0, _UCI,
390
+ 0,
391
+ [_sI, _cI, _cN, _cD],
392
+ [[0, 1], [0, 1], [() => ChannelName, 0], [() => ChannelDescription, 0]], 3
393
+ ];
394
+ exports.UpdateChannelOutput$ = [3, n0, _UCO,
395
+ 0,
396
+ [],
397
+ []
398
+ ];
399
+ exports.UpdateSpaceInput$ = [3, n0, _USI,
400
+ 0,
401
+ [_sI, _d, _t, _rA, _sED],
402
+ [[0, 1], [() => SpaceDescription, 0], 0, 0, [() => exports.SupportedEmailDomainsParameters$, 0]], 1
403
+ ];
404
+ exports.ValidationExceptionField$ = [3, n0, _VEF,
405
+ 0,
406
+ [_n, _m],
407
+ [0, 0], 2
408
+ ];
409
+ var __Unit = "unit";
410
+ var AccessorIdList = 64 | 0;
411
+ var AllowedDomainsList = [1, n0, _ADL,
412
+ 0, [() => EmailDomain,
413
+ 0]
414
+ ];
415
+ var BatchErrorList = [1, n0, _BEL,
416
+ 0, () => exports.BatchError$
417
+ ];
418
+ var ChannelRoleList = 64 | 0;
419
+ var ChannelsList = [1, n0, _CL,
420
+ 0, [() => exports.ChannelData$,
421
+ 0]
422
+ ];
423
+ var GroupAdmins = 64 | 0;
424
+ var RoleList = 64 | 0;
425
+ var SpacesList = [1, n0, _SL,
426
+ 0, [() => exports.SpaceData$,
427
+ 0]
428
+ ];
429
+ var TagKeyList = 64 | 0;
430
+ var UserAdmins = 64 | 0;
431
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
432
+ 0, () => exports.ValidationExceptionField$
433
+ ];
434
+ var ChannelRoles = [2, n0, _CR,
435
+ 0, 0, 64 | 0
436
+ ];
437
+ var Roles = [2, n0, _R,
438
+ 0, 0, 64 | 0
439
+ ];
440
+ var Tags = [2, n0, _T,
441
+ 8, 0, 0
442
+ ];
443
+ exports.BatchAddChannelRoleToAccessors$ = [9, n0, _BACRTA,
444
+ { [_h]: ["POST", "/spaces/{spaceId}/channels/{channelId}/roles", 200] }, () => exports.BatchAddChannelRoleToAccessorsInput$, () => exports.BatchAddChannelRoleToAccessorsOutput$
445
+ ];
446
+ exports.BatchAddRole$ = [9, n0, _BAR,
447
+ { [_h]: ["POST", "/spaces/{spaceId}/roles", 200] }, () => exports.BatchAddRoleInput$, () => exports.BatchAddRoleOutput$
448
+ ];
449
+ exports.BatchRemoveChannelRoleFromAccessors$ = [9, n0, _BRCRFA,
450
+ { [_h]: ["PATCH", "/spaces/{spaceId}/channels/{channelId}/roles", 200] }, () => exports.BatchRemoveChannelRoleFromAccessorsInput$, () => exports.BatchRemoveChannelRoleFromAccessorsOutput$
451
+ ];
452
+ exports.BatchRemoveRole$ = [9, n0, _BRR,
453
+ { [_h]: ["PATCH", "/spaces/{spaceId}/roles", 200] }, () => exports.BatchRemoveRoleInput$, () => exports.BatchRemoveRoleOutput$
454
+ ];
455
+ exports.CreateChannel$ = [9, n0, _CC,
456
+ { [_h]: ["POST", "/spaces/{spaceId}/channels", 200] }, () => exports.CreateChannelInput$, () => exports.CreateChannelOutput$
457
+ ];
458
+ exports.CreateSpace$ = [9, n0, _CS,
459
+ { [_h]: ["POST", "/spaces", 200] }, () => exports.CreateSpaceInput$, () => exports.CreateSpaceOutput$
460
+ ];
461
+ exports.DeleteSpace$ = [9, n0, _DS,
462
+ { [_h]: ["DELETE", "/spaces/{spaceId}", 200] }, () => exports.DeleteSpaceInput$, () => __Unit
463
+ ];
464
+ exports.DeregisterAdmin$ = [9, n0, _DA,
465
+ { [_h]: ["DELETE", "/spaces/{spaceId}/admins/{adminId}", 200] }, () => exports.DeregisterAdminInput$, () => __Unit
466
+ ];
467
+ exports.GetChannel$ = [9, n0, _GC,
468
+ { [_h]: ["GET", "/spaces/{spaceId}/channels/{channelId}", 200] }, () => exports.GetChannelInput$, () => exports.GetChannelOutput$
469
+ ];
470
+ exports.GetSpace$ = [9, n0, _GS,
471
+ { [_h]: ["GET", "/spaces/{spaceId}", 200] }, () => exports.GetSpaceInput$, () => exports.GetSpaceOutput$
472
+ ];
473
+ exports.ListChannels$ = [9, n0, _LC,
474
+ { [_h]: ["GET", "/spaces/{spaceId}/channels", 200] }, () => exports.ListChannelsInput$, () => exports.ListChannelsOutput$
475
+ ];
476
+ exports.ListSpaces$ = [9, n0, _LS,
477
+ { [_h]: ["GET", "/spaces", 200] }, () => exports.ListSpacesInput$, () => exports.ListSpacesOutput$
478
+ ];
479
+ exports.ListTagsForResource$ = [9, n0, _LTFR,
480
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
481
+ ];
482
+ exports.RegisterAdmin$ = [9, n0, _RAe,
483
+ { [_h]: ["POST", "/spaces/{spaceId}/admins/{adminId}", 200] }, () => exports.RegisterAdminInput$, () => __Unit
484
+ ];
485
+ exports.SendInvites$ = [9, n0, _SI,
486
+ { [_h]: ["POST", "/spaces/{spaceId}/invite", 200] }, () => exports.SendInvitesInput$, () => __Unit
487
+ ];
488
+ exports.TagResource$ = [9, n0, _TR,
489
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
490
+ ];
491
+ exports.UntagResource$ = [9, n0, _UR,
492
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
493
+ ];
494
+ exports.UpdateChannel$ = [9, n0, _UC,
495
+ { [_h]: ["PUT", "/spaces/{spaceId}/channels/{channelId}", 200] }, () => exports.UpdateChannelInput$, () => exports.UpdateChannelOutput$
496
+ ];
497
+ exports.UpdateSpace$ = [9, n0, _US,
498
+ { [_h]: ["PUT", "/spaces/{spaceId}", 200] }, () => exports.UpdateSpaceInput$, () => __Unit
499
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultRepostspaceHttpAuthSchemeProvider } 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: "2022-05-13",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.repostspace",
30
+ errorTypeRegistries,
29
31
  version: "2022-05-13",
30
32
  serviceTarget: "RepostSpace",
31
33
  },