@aws-sdk/client-ivschat 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.IvschatServiceException = 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 IvschatServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, IvschatServiceException.prototype);
10
+ }
11
+ }
12
+ exports.IvschatServiceException = IvschatServiceException;
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InternalServerException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ConflictException = exports.ValidationException = exports.ResourceNotFoundException = exports.PendingVerification = exports.AccessDeniedException = void 0;
4
+ const IvschatServiceException_1 = require("./IvschatServiceException");
5
+ class AccessDeniedException extends IvschatServiceException_1.IvschatServiceException {
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 PendingVerification extends IvschatServiceException_1.IvschatServiceException {
19
+ name = "PendingVerification";
20
+ $fault = "client";
21
+ constructor(opts) {
22
+ super({
23
+ name: "PendingVerification",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, PendingVerification.prototype);
28
+ }
29
+ }
30
+ exports.PendingVerification = PendingVerification;
31
+ class ResourceNotFoundException extends IvschatServiceException_1.IvschatServiceException {
32
+ name = "ResourceNotFoundException";
33
+ $fault = "client";
34
+ resourceId;
35
+ resourceType;
36
+ constructor(opts) {
37
+ super({
38
+ name: "ResourceNotFoundException",
39
+ $fault: "client",
40
+ ...opts,
41
+ });
42
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
43
+ this.resourceId = opts.resourceId;
44
+ this.resourceType = opts.resourceType;
45
+ }
46
+ }
47
+ exports.ResourceNotFoundException = ResourceNotFoundException;
48
+ class ValidationException extends IvschatServiceException_1.IvschatServiceException {
49
+ name = "ValidationException";
50
+ $fault = "client";
51
+ reason;
52
+ fieldList;
53
+ constructor(opts) {
54
+ super({
55
+ name: "ValidationException",
56
+ $fault: "client",
57
+ ...opts,
58
+ });
59
+ Object.setPrototypeOf(this, ValidationException.prototype);
60
+ this.reason = opts.reason;
61
+ this.fieldList = opts.fieldList;
62
+ }
63
+ }
64
+ exports.ValidationException = ValidationException;
65
+ class ConflictException extends IvschatServiceException_1.IvschatServiceException {
66
+ name = "ConflictException";
67
+ $fault = "client";
68
+ resourceId;
69
+ resourceType;
70
+ constructor(opts) {
71
+ super({
72
+ name: "ConflictException",
73
+ $fault: "client",
74
+ ...opts,
75
+ });
76
+ Object.setPrototypeOf(this, ConflictException.prototype);
77
+ this.resourceId = opts.resourceId;
78
+ this.resourceType = opts.resourceType;
79
+ }
80
+ }
81
+ exports.ConflictException = ConflictException;
82
+ class ServiceQuotaExceededException extends IvschatServiceException_1.IvschatServiceException {
83
+ name = "ServiceQuotaExceededException";
84
+ $fault = "client";
85
+ resourceId;
86
+ resourceType;
87
+ limit;
88
+ constructor(opts) {
89
+ super({
90
+ name: "ServiceQuotaExceededException",
91
+ $fault: "client",
92
+ ...opts,
93
+ });
94
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
95
+ this.resourceId = opts.resourceId;
96
+ this.resourceType = opts.resourceType;
97
+ this.limit = opts.limit;
98
+ }
99
+ }
100
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
101
+ class ThrottlingException extends IvschatServiceException_1.IvschatServiceException {
102
+ name = "ThrottlingException";
103
+ $fault = "client";
104
+ resourceId;
105
+ resourceType;
106
+ limit;
107
+ constructor(opts) {
108
+ super({
109
+ name: "ThrottlingException",
110
+ $fault: "client",
111
+ ...opts,
112
+ });
113
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
114
+ this.resourceId = opts.resourceId;
115
+ this.resourceType = opts.resourceType;
116
+ this.limit = opts.limit;
117
+ }
118
+ }
119
+ exports.ThrottlingException = ThrottlingException;
120
+ class InternalServerException extends IvschatServiceException_1.IvschatServiceException {
121
+ name = "InternalServerException";
122
+ $fault = "server";
123
+ constructor(opts) {
124
+ super({
125
+ name: "InternalServerException",
126
+ $fault: "server",
127
+ ...opts,
128
+ });
129
+ Object.setPrototypeOf(this, InternalServerException.prototype);
130
+ }
131
+ }
132
+ exports.InternalServerException = InternalServerException;
@@ -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: "2020-07-14",
@@ -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.ivschat",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2020-07-14",
33
35
  serviceTarget: "AmazonInteractiveVideoServiceChat",
34
36
  },
@@ -0,0 +1,457 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DestinationConfiguration$ = exports.ValidationExceptionField$ = exports.UpdateRoomResponse$ = exports.UpdateRoomRequest$ = exports.UpdateLoggingConfigurationResponse$ = exports.UpdateLoggingConfigurationRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.SendEventResponse$ = exports.SendEventRequest$ = exports.S3DestinationConfiguration$ = exports.RoomSummary$ = exports.MessageReviewHandler$ = exports.LoggingConfigurationSummary$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListRoomsResponse$ = exports.ListRoomsRequest$ = exports.ListLoggingConfigurationsResponse$ = exports.ListLoggingConfigurationsRequest$ = exports.GetRoomResponse$ = exports.GetRoomRequest$ = exports.GetLoggingConfigurationResponse$ = exports.GetLoggingConfigurationRequest$ = exports.FirehoseDestinationConfiguration$ = exports.DisconnectUserResponse$ = exports.DisconnectUserRequest$ = exports.DeleteRoomRequest$ = exports.DeleteMessageResponse$ = exports.DeleteMessageRequest$ = exports.DeleteLoggingConfigurationRequest$ = exports.CreateRoomResponse$ = exports.CreateRoomRequest$ = exports.CreateLoggingConfigurationResponse$ = exports.CreateLoggingConfigurationRequest$ = exports.CreateChatTokenResponse$ = exports.CreateChatTokenRequest$ = exports.CloudWatchLogsDestinationConfiguration$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.PendingVerification$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.IvschatServiceException$ = void 0;
4
+ exports.UpdateRoom$ = exports.UpdateLoggingConfiguration$ = exports.UntagResource$ = exports.TagResource$ = exports.SendEvent$ = exports.ListTagsForResource$ = exports.ListRooms$ = exports.ListLoggingConfigurations$ = exports.GetRoom$ = exports.GetLoggingConfiguration$ = exports.DisconnectUser$ = exports.DeleteRoom$ = exports.DeleteMessage$ = exports.DeleteLoggingConfiguration$ = exports.CreateRoom$ = exports.CreateLoggingConfiguration$ = exports.CreateChatToken$ = void 0;
5
+ const _ADE = "AccessDeniedException";
6
+ const _CCT = "CreateChatToken";
7
+ const _CCTR = "CreateChatTokenRequest";
8
+ const _CCTRr = "CreateChatTokenResponse";
9
+ const _CE = "ConflictException";
10
+ const _CLC = "CreateLoggingConfiguration";
11
+ const _CLCR = "CreateLoggingConfigurationRequest";
12
+ const _CLCRr = "CreateLoggingConfigurationResponse";
13
+ const _CR = "CreateRoom";
14
+ const _CRR = "CreateRoomRequest";
15
+ const _CRRr = "CreateRoomResponse";
16
+ const _CT = "ChatToken";
17
+ const _CTA = "ChatTokenAttributes";
18
+ const _CWLDC = "CloudWatchLogsDestinationConfiguration";
19
+ const _DC = "DestinationConfiguration";
20
+ const _DLC = "DeleteLoggingConfiguration";
21
+ const _DLCR = "DeleteLoggingConfigurationRequest";
22
+ const _DM = "DeleteMessage";
23
+ const _DMR = "DeleteMessageRequest";
24
+ const _DMRe = "DeleteMessageResponse";
25
+ const _DR = "DeleteRoom";
26
+ const _DRR = "DeleteRoomRequest";
27
+ const _DU = "DisconnectUser";
28
+ const _DUR = "DisconnectUserRequest";
29
+ const _DURi = "DisconnectUserResponse";
30
+ const _FDC = "FirehoseDestinationConfiguration";
31
+ const _GLC = "GetLoggingConfiguration";
32
+ const _GLCR = "GetLoggingConfigurationRequest";
33
+ const _GLCRe = "GetLoggingConfigurationResponse";
34
+ const _GR = "GetRoom";
35
+ const _GRR = "GetRoomRequest";
36
+ const _GRRe = "GetRoomResponse";
37
+ const _ISE = "InternalServerException";
38
+ const _LCL = "LoggingConfigurationList";
39
+ const _LCS = "LoggingConfigurationSummary";
40
+ const _LLC = "ListLoggingConfigurations";
41
+ const _LLCR = "ListLoggingConfigurationsRequest";
42
+ const _LLCRi = "ListLoggingConfigurationsResponse";
43
+ const _LR = "ListRooms";
44
+ const _LRR = "ListRoomsRequest";
45
+ const _LRRi = "ListRoomsResponse";
46
+ const _LTFR = "ListTagsForResource";
47
+ const _LTFRR = "ListTagsForResourceRequest";
48
+ const _LTFRRi = "ListTagsForResourceResponse";
49
+ const _MRH = "MessageReviewHandler";
50
+ const _PV = "PendingVerification";
51
+ const _RL = "RoomList";
52
+ const _RNFE = "ResourceNotFoundException";
53
+ const _RS = "RoomSummary";
54
+ const _SDC = "S3DestinationConfiguration";
55
+ const _SE = "SendEvent";
56
+ const _SER = "SendEventRequest";
57
+ const _SERe = "SendEventResponse";
58
+ const _SQEE = "ServiceQuotaExceededException";
59
+ const _TE = "ThrottlingException";
60
+ const _TR = "TagResource";
61
+ const _TRR = "TagResourceRequest";
62
+ const _TRRa = "TagResourceResponse";
63
+ const _UID = "UserID";
64
+ const _ULC = "UpdateLoggingConfiguration";
65
+ const _ULCR = "UpdateLoggingConfigurationRequest";
66
+ const _ULCRp = "UpdateLoggingConfigurationResponse";
67
+ const _UR = "UntagResource";
68
+ const _URR = "UntagResourceRequest";
69
+ const _URRn = "UntagResourceResponse";
70
+ const _URRp = "UpdateRoomRequest";
71
+ const _URRpd = "UpdateRoomResponse";
72
+ const _URp = "UpdateRoom";
73
+ const _VE = "ValidationException";
74
+ const _VEF = "ValidationExceptionField";
75
+ const _VEFL = "ValidationExceptionFieldList";
76
+ const _a = "attributes";
77
+ const _ar = "arn";
78
+ const _bN = "bucketName";
79
+ const _c = "client";
80
+ const _cT = "createTime";
81
+ const _cWL = "cloudWatchLogs";
82
+ const _ca = "capabilities";
83
+ const _dC = "destinationConfiguration";
84
+ const _dSN = "deliveryStreamName";
85
+ const _e = "error";
86
+ const _eN = "eventName";
87
+ const _f = "firehose";
88
+ const _fL = "fieldList";
89
+ const _fR = "fallbackResult";
90
+ const _h = "http";
91
+ const _hE = "httpError";
92
+ const _hQ = "httpQuery";
93
+ const _i = "id";
94
+ const _id = "identifier";
95
+ const _l = "limit";
96
+ const _lC = "loggingConfigurations";
97
+ const _lCI = "loggingConfigurationIdentifiers";
98
+ const _lCIo = "loggingConfigurationIdentifier";
99
+ const _lGN = "logGroupName";
100
+ const _m = "message";
101
+ const _mML = "maximumMessageLength";
102
+ const _mMRPS = "maximumMessageRatePerSecond";
103
+ const _mR = "maxResults";
104
+ const _mRH = "messageReviewHandler";
105
+ const _mRHU = "messageReviewHandlerUri";
106
+ const _n = "name";
107
+ const _nT = "nextToken";
108
+ const _r = "reason";
109
+ const _rA = "resourceArn";
110
+ const _rI = "resourceId";
111
+ const _rIo = "roomIdentifier";
112
+ const _rT = "resourceType";
113
+ const _ro = "rooms";
114
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ivschat";
115
+ const _sDIM = "sessionDurationInMinutes";
116
+ const _sET = "sessionExpirationTime";
117
+ const _s_ = "s3";
118
+ const _se = "server";
119
+ const _st = "state";
120
+ const _t = "token";
121
+ const _tET = "tokenExpirationTime";
122
+ const _tK = "tagKeys";
123
+ const _ta = "tags";
124
+ const _u = "uri";
125
+ const _uI = "userId";
126
+ const _uT = "updateTime";
127
+ const n0 = "com.amazonaws.ivschat";
128
+ const schema_1 = require("@smithy/core/schema");
129
+ const errors_1 = require("../models/errors");
130
+ const IvschatServiceException_1 = require("../models/IvschatServiceException");
131
+ const _s_registry = schema_1.TypeRegistry.for(_s);
132
+ exports.IvschatServiceException$ = [-3, _s, "IvschatServiceException", 0, [], []];
133
+ _s_registry.registerError(exports.IvschatServiceException$, IvschatServiceException_1.IvschatServiceException);
134
+ const n0_registry = schema_1.TypeRegistry.for(n0);
135
+ exports.AccessDeniedException$ = [-3, n0, _ADE,
136
+ { [_e]: _c, [_hE]: 403 },
137
+ [_m],
138
+ [0], 1
139
+ ];
140
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
141
+ exports.ConflictException$ = [-3, n0, _CE,
142
+ { [_e]: _c, [_hE]: 409 },
143
+ [_m, _rI, _rT],
144
+ [0, 0, 0], 3
145
+ ];
146
+ n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
147
+ exports.InternalServerException$ = [-3, n0, _ISE,
148
+ { [_e]: _se, [_hE]: 500 },
149
+ [_m],
150
+ [0], 1
151
+ ];
152
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
153
+ exports.PendingVerification$ = [-3, n0, _PV,
154
+ { [_e]: _c, [_hE]: 403 },
155
+ [_m],
156
+ [0], 1
157
+ ];
158
+ n0_registry.registerError(exports.PendingVerification$, errors_1.PendingVerification);
159
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
160
+ { [_e]: _c, [_hE]: 404 },
161
+ [_m, _rI, _rT],
162
+ [0, 0, 0], 3
163
+ ];
164
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
165
+ exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
166
+ { [_e]: _c, [_hE]: 402 },
167
+ [_m, _rI, _rT, _l],
168
+ [0, 0, 0, 1], 4
169
+ ];
170
+ n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
171
+ exports.ThrottlingException$ = [-3, n0, _TE,
172
+ { [_e]: _c, [_hE]: 429 },
173
+ [_m, _rI, _rT, _l],
174
+ [0, 0, 0, 1], 4
175
+ ];
176
+ n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
177
+ exports.ValidationException$ = [-3, n0, _VE,
178
+ { [_e]: _c, [_hE]: 400 },
179
+ [_m, _r, _fL],
180
+ [0, 0, () => ValidationExceptionFieldList], 2
181
+ ];
182
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
183
+ exports.errorTypeRegistries = [
184
+ _s_registry,
185
+ n0_registry,
186
+ ];
187
+ var ChatToken = [0, n0, _CT, 8, 0];
188
+ var UserID = [0, n0, _UID, 8, 0];
189
+ exports.CloudWatchLogsDestinationConfiguration$ = [3, n0, _CWLDC,
190
+ 0,
191
+ [_lGN],
192
+ [0], 1
193
+ ];
194
+ exports.CreateChatTokenRequest$ = [3, n0, _CCTR,
195
+ 0,
196
+ [_rIo, _uI, _ca, _sDIM, _a],
197
+ [0, [() => UserID, 0], 64 | 0, 1, [() => ChatTokenAttributes, 0]], 2
198
+ ];
199
+ exports.CreateChatTokenResponse$ = [3, n0, _CCTRr,
200
+ 0,
201
+ [_t, _tET, _sET],
202
+ [[() => ChatToken, 0], 5, 5]
203
+ ];
204
+ exports.CreateLoggingConfigurationRequest$ = [3, n0, _CLCR,
205
+ 0,
206
+ [_dC, _n, _ta],
207
+ [() => exports.DestinationConfiguration$, 0, 128 | 0], 1
208
+ ];
209
+ exports.CreateLoggingConfigurationResponse$ = [3, n0, _CLCRr,
210
+ 0,
211
+ [_ar, _i, _cT, _uT, _n, _dC, _st, _ta],
212
+ [0, 0, 5, 5, 0, () => exports.DestinationConfiguration$, 0, 128 | 0]
213
+ ];
214
+ exports.CreateRoomRequest$ = [3, n0, _CRR,
215
+ 0,
216
+ [_n, _mMRPS, _mML, _mRH, _ta, _lCI],
217
+ [0, 1, 1, () => exports.MessageReviewHandler$, 128 | 0, 64 | 0]
218
+ ];
219
+ exports.CreateRoomResponse$ = [3, n0, _CRRr,
220
+ 0,
221
+ [_ar, _i, _n, _cT, _uT, _mMRPS, _mML, _mRH, _ta, _lCI],
222
+ [0, 0, 0, 5, 5, 1, 1, () => exports.MessageReviewHandler$, 128 | 0, 64 | 0]
223
+ ];
224
+ exports.DeleteLoggingConfigurationRequest$ = [3, n0, _DLCR,
225
+ 0,
226
+ [_id],
227
+ [0], 1
228
+ ];
229
+ exports.DeleteMessageRequest$ = [3, n0, _DMR,
230
+ 0,
231
+ [_rIo, _i, _r],
232
+ [0, 0, 0], 2
233
+ ];
234
+ exports.DeleteMessageResponse$ = [3, n0, _DMRe,
235
+ 0,
236
+ [_i],
237
+ [0]
238
+ ];
239
+ exports.DeleteRoomRequest$ = [3, n0, _DRR,
240
+ 0,
241
+ [_id],
242
+ [0], 1
243
+ ];
244
+ exports.DisconnectUserRequest$ = [3, n0, _DUR,
245
+ 0,
246
+ [_rIo, _uI, _r],
247
+ [0, [() => UserID, 0], 0], 2
248
+ ];
249
+ exports.DisconnectUserResponse$ = [3, n0, _DURi,
250
+ 0,
251
+ [],
252
+ []
253
+ ];
254
+ exports.FirehoseDestinationConfiguration$ = [3, n0, _FDC,
255
+ 0,
256
+ [_dSN],
257
+ [0], 1
258
+ ];
259
+ exports.GetLoggingConfigurationRequest$ = [3, n0, _GLCR,
260
+ 0,
261
+ [_id],
262
+ [0], 1
263
+ ];
264
+ exports.GetLoggingConfigurationResponse$ = [3, n0, _GLCRe,
265
+ 0,
266
+ [_ar, _i, _cT, _uT, _n, _dC, _st, _ta],
267
+ [0, 0, 5, 5, 0, () => exports.DestinationConfiguration$, 0, 128 | 0]
268
+ ];
269
+ exports.GetRoomRequest$ = [3, n0, _GRR,
270
+ 0,
271
+ [_id],
272
+ [0], 1
273
+ ];
274
+ exports.GetRoomResponse$ = [3, n0, _GRRe,
275
+ 0,
276
+ [_ar, _i, _n, _cT, _uT, _mMRPS, _mML, _mRH, _ta, _lCI],
277
+ [0, 0, 0, 5, 5, 1, 1, () => exports.MessageReviewHandler$, 128 | 0, 64 | 0]
278
+ ];
279
+ exports.ListLoggingConfigurationsRequest$ = [3, n0, _LLCR,
280
+ 0,
281
+ [_nT, _mR],
282
+ [0, 1]
283
+ ];
284
+ exports.ListLoggingConfigurationsResponse$ = [3, n0, _LLCRi,
285
+ 0,
286
+ [_lC, _nT],
287
+ [() => LoggingConfigurationList, 0], 1
288
+ ];
289
+ exports.ListRoomsRequest$ = [3, n0, _LRR,
290
+ 0,
291
+ [_n, _nT, _mR, _mRHU, _lCIo],
292
+ [0, 0, 1, 0, 0]
293
+ ];
294
+ exports.ListRoomsResponse$ = [3, n0, _LRRi,
295
+ 0,
296
+ [_ro, _nT],
297
+ [() => RoomList, 0], 1
298
+ ];
299
+ exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
300
+ 0,
301
+ [_rA],
302
+ [[0, 1]], 1
303
+ ];
304
+ exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
305
+ 0,
306
+ [_ta],
307
+ [128 | 0], 1
308
+ ];
309
+ exports.LoggingConfigurationSummary$ = [3, n0, _LCS,
310
+ 0,
311
+ [_ar, _i, _cT, _uT, _n, _dC, _st, _ta],
312
+ [0, 0, 5, 5, 0, () => exports.DestinationConfiguration$, 0, 128 | 0]
313
+ ];
314
+ exports.MessageReviewHandler$ = [3, n0, _MRH,
315
+ 0,
316
+ [_u, _fR],
317
+ [0, 0]
318
+ ];
319
+ exports.RoomSummary$ = [3, n0, _RS,
320
+ 0,
321
+ [_ar, _i, _n, _mRH, _cT, _uT, _ta, _lCI],
322
+ [0, 0, 0, () => exports.MessageReviewHandler$, 5, 5, 128 | 0, 64 | 0]
323
+ ];
324
+ exports.S3DestinationConfiguration$ = [3, n0, _SDC,
325
+ 0,
326
+ [_bN],
327
+ [0], 1
328
+ ];
329
+ exports.SendEventRequest$ = [3, n0, _SER,
330
+ 0,
331
+ [_rIo, _eN, _a],
332
+ [0, 0, 128 | 0], 2
333
+ ];
334
+ exports.SendEventResponse$ = [3, n0, _SERe,
335
+ 0,
336
+ [_i],
337
+ [0]
338
+ ];
339
+ exports.TagResourceRequest$ = [3, n0, _TRR,
340
+ 0,
341
+ [_rA, _ta],
342
+ [[0, 1], 128 | 0], 2
343
+ ];
344
+ exports.TagResourceResponse$ = [3, n0, _TRRa,
345
+ 0,
346
+ [],
347
+ []
348
+ ];
349
+ exports.UntagResourceRequest$ = [3, n0, _URR,
350
+ 0,
351
+ [_rA, _tK],
352
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
353
+ ];
354
+ exports.UntagResourceResponse$ = [3, n0, _URRn,
355
+ 0,
356
+ [],
357
+ []
358
+ ];
359
+ exports.UpdateLoggingConfigurationRequest$ = [3, n0, _ULCR,
360
+ 0,
361
+ [_id, _n, _dC],
362
+ [0, 0, () => exports.DestinationConfiguration$], 1
363
+ ];
364
+ exports.UpdateLoggingConfigurationResponse$ = [3, n0, _ULCRp,
365
+ 0,
366
+ [_ar, _i, _cT, _uT, _n, _dC, _st, _ta],
367
+ [0, 0, 5, 5, 0, () => exports.DestinationConfiguration$, 0, 128 | 0]
368
+ ];
369
+ exports.UpdateRoomRequest$ = [3, n0, _URRp,
370
+ 0,
371
+ [_id, _n, _mMRPS, _mML, _mRH, _lCI],
372
+ [0, 0, 1, 1, () => exports.MessageReviewHandler$, 64 | 0], 1
373
+ ];
374
+ exports.UpdateRoomResponse$ = [3, n0, _URRpd,
375
+ 0,
376
+ [_ar, _i, _n, _cT, _uT, _mMRPS, _mML, _mRH, _ta, _lCI],
377
+ [0, 0, 0, 5, 5, 1, 1, () => exports.MessageReviewHandler$, 128 | 0, 64 | 0]
378
+ ];
379
+ exports.ValidationExceptionField$ = [3, n0, _VEF,
380
+ 0,
381
+ [_n, _m],
382
+ [0, 0], 2
383
+ ];
384
+ var __Unit = "unit";
385
+ var ChatTokenCapabilities = 64 | 0;
386
+ var LoggingConfigurationIdentifierList = 64 | 0;
387
+ var LoggingConfigurationList = [1, n0, _LCL,
388
+ 0, () => exports.LoggingConfigurationSummary$
389
+ ];
390
+ var RoomList = [1, n0, _RL,
391
+ 0, () => exports.RoomSummary$
392
+ ];
393
+ var TagKeyList = 64 | 0;
394
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
395
+ 0, () => exports.ValidationExceptionField$
396
+ ];
397
+ var ChatTokenAttributes = [2, n0, _CTA,
398
+ 8, 0, 0
399
+ ];
400
+ var EventAttributes = 128 | 0;
401
+ var Tags = 128 | 0;
402
+ exports.DestinationConfiguration$ = [4, n0, _DC,
403
+ 0,
404
+ [_s_, _cWL, _f],
405
+ [() => exports.S3DestinationConfiguration$, () => exports.CloudWatchLogsDestinationConfiguration$, () => exports.FirehoseDestinationConfiguration$]
406
+ ];
407
+ exports.CreateChatToken$ = [9, n0, _CCT,
408
+ { [_h]: ["POST", "/CreateChatToken", 200] }, () => exports.CreateChatTokenRequest$, () => exports.CreateChatTokenResponse$
409
+ ];
410
+ exports.CreateLoggingConfiguration$ = [9, n0, _CLC,
411
+ { [_h]: ["POST", "/CreateLoggingConfiguration", 200] }, () => exports.CreateLoggingConfigurationRequest$, () => exports.CreateLoggingConfigurationResponse$
412
+ ];
413
+ exports.CreateRoom$ = [9, n0, _CR,
414
+ { [_h]: ["POST", "/CreateRoom", 200] }, () => exports.CreateRoomRequest$, () => exports.CreateRoomResponse$
415
+ ];
416
+ exports.DeleteLoggingConfiguration$ = [9, n0, _DLC,
417
+ { [_h]: ["POST", "/DeleteLoggingConfiguration", 204] }, () => exports.DeleteLoggingConfigurationRequest$, () => __Unit
418
+ ];
419
+ exports.DeleteMessage$ = [9, n0, _DM,
420
+ { [_h]: ["POST", "/DeleteMessage", 200] }, () => exports.DeleteMessageRequest$, () => exports.DeleteMessageResponse$
421
+ ];
422
+ exports.DeleteRoom$ = [9, n0, _DR,
423
+ { [_h]: ["POST", "/DeleteRoom", 204] }, () => exports.DeleteRoomRequest$, () => __Unit
424
+ ];
425
+ exports.DisconnectUser$ = [9, n0, _DU,
426
+ { [_h]: ["POST", "/DisconnectUser", 200] }, () => exports.DisconnectUserRequest$, () => exports.DisconnectUserResponse$
427
+ ];
428
+ exports.GetLoggingConfiguration$ = [9, n0, _GLC,
429
+ { [_h]: ["POST", "/GetLoggingConfiguration", 200] }, () => exports.GetLoggingConfigurationRequest$, () => exports.GetLoggingConfigurationResponse$
430
+ ];
431
+ exports.GetRoom$ = [9, n0, _GR,
432
+ { [_h]: ["POST", "/GetRoom", 200] }, () => exports.GetRoomRequest$, () => exports.GetRoomResponse$
433
+ ];
434
+ exports.ListLoggingConfigurations$ = [9, n0, _LLC,
435
+ { [_h]: ["POST", "/ListLoggingConfigurations", 200] }, () => exports.ListLoggingConfigurationsRequest$, () => exports.ListLoggingConfigurationsResponse$
436
+ ];
437
+ exports.ListRooms$ = [9, n0, _LR,
438
+ { [_h]: ["POST", "/ListRooms", 200] }, () => exports.ListRoomsRequest$, () => exports.ListRoomsResponse$
439
+ ];
440
+ exports.ListTagsForResource$ = [9, n0, _LTFR,
441
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
442
+ ];
443
+ exports.SendEvent$ = [9, n0, _SE,
444
+ { [_h]: ["POST", "/SendEvent", 200] }, () => exports.SendEventRequest$, () => exports.SendEventResponse$
445
+ ];
446
+ exports.TagResource$ = [9, n0, _TR,
447
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
448
+ ];
449
+ exports.UntagResource$ = [9, n0, _UR,
450
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
451
+ ];
452
+ exports.UpdateLoggingConfiguration$ = [9, n0, _ULC,
453
+ { [_h]: ["POST", "/UpdateLoggingConfiguration", 200] }, () => exports.UpdateLoggingConfigurationRequest$, () => exports.UpdateLoggingConfigurationResponse$
454
+ ];
455
+ exports.UpdateRoom$ = [9, n0, _URp,
456
+ { [_h]: ["POST", "/UpdateRoom", 200] }, () => exports.UpdateRoomRequest$, () => exports.UpdateRoomResponse$
457
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultIvschatHttpAuthSchemeProvider } 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: "2020-07-14",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.ivschat",
30
+ errorTypeRegistries,
29
31
  version: "2020-07-14",
30
32
  serviceTarget: "AmazonInteractiveVideoServiceChat",
31
33
  },