@aws-sdk/client-keyspacesstreams 3.986.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,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 KeyspacesStreamsServiceException = require('./models/KeyspacesStreamsServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -108,342 +111,6 @@ class KeyspacesStreamsClient extends smithyClient.Client {
108
111
  }
109
112
  }
110
113
 
111
- class KeyspacesStreamsServiceException extends smithyClient.ServiceException {
112
- constructor(options) {
113
- super(options);
114
- Object.setPrototypeOf(this, KeyspacesStreamsServiceException.prototype);
115
- }
116
- }
117
-
118
- class AccessDeniedException extends KeyspacesStreamsServiceException {
119
- name = "AccessDeniedException";
120
- $fault = "client";
121
- constructor(opts) {
122
- super({
123
- name: "AccessDeniedException",
124
- $fault: "client",
125
- ...opts,
126
- });
127
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
128
- }
129
- }
130
- class InternalServerException extends KeyspacesStreamsServiceException {
131
- name = "InternalServerException";
132
- $fault = "server";
133
- constructor(opts) {
134
- super({
135
- name: "InternalServerException",
136
- $fault: "server",
137
- ...opts,
138
- });
139
- Object.setPrototypeOf(this, InternalServerException.prototype);
140
- }
141
- }
142
- class ResourceNotFoundException extends KeyspacesStreamsServiceException {
143
- name = "ResourceNotFoundException";
144
- $fault = "client";
145
- constructor(opts) {
146
- super({
147
- name: "ResourceNotFoundException",
148
- $fault: "client",
149
- ...opts,
150
- });
151
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
152
- }
153
- }
154
- class ThrottlingException extends KeyspacesStreamsServiceException {
155
- name = "ThrottlingException";
156
- $fault = "client";
157
- constructor(opts) {
158
- super({
159
- name: "ThrottlingException",
160
- $fault: "client",
161
- ...opts,
162
- });
163
- Object.setPrototypeOf(this, ThrottlingException.prototype);
164
- }
165
- }
166
- class ValidationException extends KeyspacesStreamsServiceException {
167
- name = "ValidationException";
168
- $fault = "client";
169
- errorCode;
170
- constructor(opts) {
171
- super({
172
- name: "ValidationException",
173
- $fault: "client",
174
- ...opts,
175
- });
176
- Object.setPrototypeOf(this, ValidationException.prototype);
177
- this.errorCode = opts.errorCode;
178
- }
179
- }
180
-
181
- const _ADE = "AccessDeniedException";
182
- const _GR = "GetRecords";
183
- const _GRI = "GetRecordsInput";
184
- const _GRO = "GetRecordsOutput";
185
- const _GS = "GetStream";
186
- const _GSI = "GetStreamInput";
187
- const _GSII = "GetShardIteratorInput";
188
- const _GSIO = "GetShardIteratorOutput";
189
- const _GSIe = "GetShardIterator";
190
- const _GSO = "GetStreamOutput";
191
- const _ISE = "InternalServerException";
192
- const _KC = "KeyspacesCell";
193
- const _KCL = "KeyspacesCellList";
194
- const _KCM = "KeyspacesCellMap";
195
- const _KCMD = "KeyspacesCellMapDefinition";
196
- const _KCV = "KeyspacesCellValue";
197
- const _KCe = "KeyspacesCells";
198
- const _KKM = "KeyspacesKeysMap";
199
- const _KM = "KeyspacesMetadata";
200
- const _KR = "KeyspacesRow";
201
- const _KUM = "KeyspacesUdtMap";
202
- const _LS = "ListStreams";
203
- const _LSI = "ListStreamsInput";
204
- const _LSO = "ListStreamsOutput";
205
- const _R = "Record";
206
- const _RL = "RecordList";
207
- const _RNFE = "ResourceNotFoundException";
208
- const _S = "Shard";
209
- const _SDL = "ShardDescriptionList";
210
- const _SF = "ShardFilter";
211
- const _SL = "StreamList";
212
- const _SNR = "SequenceNumberRange";
213
- const _St = "Stream";
214
- const _TE = "ThrottlingException";
215
- const _VE = "ValidationException";
216
- const _aQE = "awsQueryError";
217
- const _aT = "asciiT";
218
- const _bT = "bigintT";
219
- const _bTl = "blobT";
220
- const _bTo = "boolT";
221
- const _c = "client";
222
- const _cA = "createdAt";
223
- const _cK = "clusteringKeys";
224
- const _cR = "changeRecords";
225
- const _cRDT = "creationRequestDateTime";
226
- const _cT = "counterT";
227
- const _dT = "dateT";
228
- const _dTe = "decimalT";
229
- const _dTo = "doubleT";
230
- const _e = "error";
231
- const _eC = "errorCode";
232
- const _eSN = "endingSequenceNumber";
233
- const _eT = "expirationTime";
234
- const _eV = "eventVersion";
235
- const _fT = "floatT";
236
- const _hE = "httpError";
237
- const _iT = "inetT";
238
- const _iTn = "intT";
239
- const _k = "key";
240
- const _kN = "keyspaceName";
241
- const _lT = "listT";
242
- const _m = "message";
243
- const _mR = "maxResults";
244
- const _mT = "mapT";
245
- const _me = "metadata";
246
- const _nI = "newImage";
247
- const _nSI = "nextShardIterator";
248
- const _nT = "nextToken";
249
- const _o = "origin";
250
- const _oI = "oldImage";
251
- const _pK = "partitionKeys";
252
- const _pSI = "parentShardIds";
253
- const _rM = "rowMetadata";
254
- const _s = "shards";
255
- const _sA = "streamArn";
256
- const _sC = "staticCells";
257
- const _sF = "shardFilter";
258
- const _sI = "shardIterator";
259
- const _sIT = "shardIteratorType";
260
- const _sIh = "shardId";
261
- const _sL = "streamLabel";
262
- const _sN = "sequenceNumber";
263
- const _sNR = "sequenceNumberRange";
264
- const _sS = "streamStatus";
265
- const _sSN = "startingSequenceNumber";
266
- const _sT = "setT";
267
- const _sTm = "smallintT";
268
- const _sVT = "streamViewType";
269
- const _se = "server";
270
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.keyspacesstreams";
271
- const _st = "streams";
272
- const _t = "type";
273
- const _tN = "tableName";
274
- const _tT = "textT";
275
- const _tTi = "timeT";
276
- const _tTim = "timestampT";
277
- const _tTime = "timeuuidT";
278
- const _tTin = "tinyintT";
279
- const _tTu = "tupleT";
280
- const _uT = "uuidT";
281
- const _uTd = "udtT";
282
- const _v = "value";
283
- const _vC = "valueCells";
284
- const _vT = "varcharT";
285
- const _vTa = "varintT";
286
- const _wT = "writeTime";
287
- const n0 = "com.amazonaws.keyspacesstreams";
288
- var AccessDeniedException$ = [-3, n0, _ADE,
289
- { [_aQE]: [`AccessDeniedException`, 403], [_e]: _c, [_hE]: 403 },
290
- [_m],
291
- [0]
292
- ];
293
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
294
- var GetRecordsInput$ = [3, n0, _GRI,
295
- 0,
296
- [_sI, _mR],
297
- [0, 1], 1
298
- ];
299
- var GetRecordsOutput$ = [3, n0, _GRO,
300
- 0,
301
- [_cR, _nSI],
302
- [() => RecordList, 0]
303
- ];
304
- var GetShardIteratorInput$ = [3, n0, _GSII,
305
- 0,
306
- [_sA, _sIh, _sIT, _sN],
307
- [0, 0, 0, 0], 3
308
- ];
309
- var GetShardIteratorOutput$ = [3, n0, _GSIO,
310
- 0,
311
- [_sI],
312
- [0]
313
- ];
314
- var GetStreamInput$ = [3, n0, _GSI,
315
- 0,
316
- [_sA, _mR, _sF, _nT],
317
- [0, 1, () => ShardFilter$, 0], 1
318
- ];
319
- var GetStreamOutput$ = [3, n0, _GSO,
320
- 0,
321
- [_sA, _sL, _sS, _sVT, _cRDT, _kN, _tN, _s, _nT],
322
- [0, 0, 0, 0, 4, 0, 0, () => ShardDescriptionList, 0], 7
323
- ];
324
- var InternalServerException$ = [-3, n0, _ISE,
325
- { [_aQE]: [`InternalServerException`, 500], [_e]: _se, [_hE]: 500 },
326
- [_m],
327
- [0]
328
- ];
329
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
330
- var KeyspacesCell$ = [3, n0, _KC,
331
- 0,
332
- [_v, _me],
333
- [() => KeyspacesCellValue$, () => KeyspacesMetadata$]
334
- ];
335
- var KeyspacesCellMapDefinition$ = [3, n0, _KCMD,
336
- 0,
337
- [_k, _v, _me],
338
- [() => KeyspacesCellValue$, () => KeyspacesCellValue$, () => KeyspacesMetadata$]
339
- ];
340
- var KeyspacesMetadata$ = [3, n0, _KM,
341
- 0,
342
- [_eT, _wT],
343
- [0, 0]
344
- ];
345
- var KeyspacesRow$ = [3, n0, _KR,
346
- 0,
347
- [_vC, _sC, _rM],
348
- [() => KeyspacesCells, () => KeyspacesCells, () => KeyspacesMetadata$]
349
- ];
350
- var ListStreamsInput$ = [3, n0, _LSI,
351
- 0,
352
- [_kN, _tN, _mR, _nT],
353
- [0, 0, 1, 0]
354
- ];
355
- var ListStreamsOutput$ = [3, n0, _LSO,
356
- 0,
357
- [_st, _nT],
358
- [() => StreamList, 0]
359
- ];
360
- var _Record$ = [3, n0, _R,
361
- 0,
362
- [_eV, _cA, _o, _pK, _cK, _nI, _oI, _sN],
363
- [0, 4, 0, () => KeyspacesKeysMap, () => KeyspacesKeysMap, () => KeyspacesRow$, () => KeyspacesRow$, 0]
364
- ];
365
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
366
- { [_aQE]: [`ResourceNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
367
- [_m],
368
- [0]
369
- ];
370
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
371
- var SequenceNumberRange$ = [3, n0, _SNR,
372
- 0,
373
- [_sSN, _eSN],
374
- [0, 0]
375
- ];
376
- var Shard$ = [3, n0, _S,
377
- 0,
378
- [_sIh, _sNR, _pSI],
379
- [0, () => SequenceNumberRange$, 64 | 0]
380
- ];
381
- var ShardFilter$ = [3, n0, _SF,
382
- 0,
383
- [_t, _sIh],
384
- [0, 0]
385
- ];
386
- var _Stream$ = [3, n0, _St,
387
- 0,
388
- [_sA, _kN, _tN, _sL],
389
- [0, 0, 0, 0], 4
390
- ];
391
- var ThrottlingException$ = [-3, n0, _TE,
392
- { [_aQE]: [`ThrottlingException`, 429], [_e]: _c, [_hE]: 429 },
393
- [_m],
394
- [0]
395
- ];
396
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
397
- var ValidationException$ = [-3, n0, _VE,
398
- { [_aQE]: [`ValidationException`, 400], [_e]: _c, [_hE]: 400 },
399
- [_m, _eC],
400
- [0, 0]
401
- ];
402
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
403
- var KeyspacesStreamsServiceException$ = [-3, _sm, "KeyspacesStreamsServiceException", 0, [], []];
404
- schema.TypeRegistry.for(_sm).registerError(KeyspacesStreamsServiceException$, KeyspacesStreamsServiceException);
405
- var KeyspacesCellList = [1, n0, _KCL,
406
- 0, () => KeyspacesCell$
407
- ];
408
- var KeyspacesCellMap = [1, n0, _KCM,
409
- 0, () => KeyspacesCellMapDefinition$
410
- ];
411
- var RecordList = [1, n0, _RL,
412
- 0, () => _Record$
413
- ];
414
- var ShardDescriptionList = [1, n0, _SDL,
415
- 0, () => Shard$
416
- ];
417
- var StreamList = [1, n0, _SL,
418
- 0, () => _Stream$
419
- ];
420
- var KeyspacesCells = [2, n0, _KCe,
421
- 0, 0, () => KeyspacesCell$
422
- ];
423
- var KeyspacesKeysMap = [2, n0, _KKM,
424
- 0, 0, () => KeyspacesCellValue$
425
- ];
426
- var KeyspacesUdtMap = [2, n0, _KUM,
427
- 0, 0, () => KeyspacesCell$
428
- ];
429
- var KeyspacesCellValue$ = [4, n0, _KCV,
430
- 0,
431
- [_aT, _bT, _bTl, _bTo, _cT, _dT, _dTe, _dTo, _fT, _iT, _iTn, _lT, _mT, _sT, _sTm, _tT, _tTi, _tTim, _tTime, _tTin, _tTu, _uT, _vT, _vTa, _uTd],
432
- [0, 0, 21, 2, 0, 0, 0, 0, 0, 0, 0, () => KeyspacesCellList, () => KeyspacesCellMap, () => KeyspacesCellList, 0, 0, 0, 0, 0, 0, () => KeyspacesCellList, 0, 0, 0, () => KeyspacesUdtMap]
433
- ];
434
- var GetRecords$ = [9, n0, _GR,
435
- 0, () => GetRecordsInput$, () => GetRecordsOutput$
436
- ];
437
- var GetShardIterator$ = [9, n0, _GSIe,
438
- 0, () => GetShardIteratorInput$, () => GetShardIteratorOutput$
439
- ];
440
- var GetStream$ = [9, n0, _GS,
441
- 0, () => GetStreamInput$, () => GetStreamOutput$
442
- ];
443
- var ListStreams$ = [9, n0, _LS,
444
- 0, () => ListStreamsInput$, () => ListStreamsOutput$
445
- ];
446
-
447
114
  class GetRecordsCommand extends smithyClient.Command
448
115
  .classBuilder()
449
116
  .ep(commonParams)
@@ -452,7 +119,7 @@ class GetRecordsCommand extends smithyClient.Command
452
119
  })
453
120
  .s("KeyspacesStreams", "GetRecords", {})
454
121
  .n("KeyspacesStreamsClient", "GetRecordsCommand")
455
- .sc(GetRecords$)
122
+ .sc(schemas_0.GetRecords$)
456
123
  .build() {
457
124
  }
458
125
 
@@ -464,7 +131,7 @@ class GetShardIteratorCommand extends smithyClient.Command
464
131
  })
465
132
  .s("KeyspacesStreams", "GetShardIterator", {})
466
133
  .n("KeyspacesStreamsClient", "GetShardIteratorCommand")
467
- .sc(GetShardIterator$)
134
+ .sc(schemas_0.GetShardIterator$)
468
135
  .build() {
469
136
  }
470
137
 
@@ -476,7 +143,7 @@ class GetStreamCommand extends smithyClient.Command
476
143
  })
477
144
  .s("KeyspacesStreams", "GetStream", {})
478
145
  .n("KeyspacesStreamsClient", "GetStreamCommand")
479
- .sc(GetStream$)
146
+ .sc(schemas_0.GetStream$)
480
147
  .build() {
481
148
  }
482
149
 
@@ -488,7 +155,7 @@ class ListStreamsCommand extends smithyClient.Command
488
155
  })
489
156
  .s("KeyspacesStreams", "ListStreams", {})
490
157
  .n("KeyspacesStreamsClient", "ListStreamsCommand")
491
- .sc(ListStreams$)
158
+ .sc(schemas_0.ListStreams$)
492
159
  .build() {
493
160
  }
494
161
 
@@ -551,51 +218,33 @@ Object.defineProperty(exports, "__Client", {
551
218
  enumerable: true,
552
219
  get: function () { return smithyClient.Client; }
553
220
  });
554
- exports.AccessDeniedException = AccessDeniedException;
555
- exports.AccessDeniedException$ = AccessDeniedException$;
556
- exports.GetRecords$ = GetRecords$;
221
+ Object.defineProperty(exports, "KeyspacesStreamsServiceException", {
222
+ enumerable: true,
223
+ get: function () { return KeyspacesStreamsServiceException.KeyspacesStreamsServiceException; }
224
+ });
557
225
  exports.GetRecordsCommand = GetRecordsCommand;
558
- exports.GetRecordsInput$ = GetRecordsInput$;
559
- exports.GetRecordsOutput$ = GetRecordsOutput$;
560
- exports.GetShardIterator$ = GetShardIterator$;
561
226
  exports.GetShardIteratorCommand = GetShardIteratorCommand;
562
- exports.GetShardIteratorInput$ = GetShardIteratorInput$;
563
- exports.GetShardIteratorOutput$ = GetShardIteratorOutput$;
564
- exports.GetStream$ = GetStream$;
565
227
  exports.GetStreamCommand = GetStreamCommand;
566
- exports.GetStreamInput$ = GetStreamInput$;
567
- exports.GetStreamOutput$ = GetStreamOutput$;
568
- exports.InternalServerException = InternalServerException;
569
- exports.InternalServerException$ = InternalServerException$;
570
- exports.KeyspacesCell$ = KeyspacesCell$;
571
- exports.KeyspacesCellMapDefinition$ = KeyspacesCellMapDefinition$;
572
- exports.KeyspacesCellValue$ = KeyspacesCellValue$;
573
- exports.KeyspacesMetadata$ = KeyspacesMetadata$;
574
- exports.KeyspacesRow$ = KeyspacesRow$;
575
228
  exports.KeyspacesStreams = KeyspacesStreams;
576
229
  exports.KeyspacesStreamsClient = KeyspacesStreamsClient;
577
- exports.KeyspacesStreamsServiceException = KeyspacesStreamsServiceException;
578
- exports.KeyspacesStreamsServiceException$ = KeyspacesStreamsServiceException$;
579
- exports.ListStreams$ = ListStreams$;
580
230
  exports.ListStreamsCommand = ListStreamsCommand;
581
- exports.ListStreamsInput$ = ListStreamsInput$;
582
- exports.ListStreamsOutput$ = ListStreamsOutput$;
583
231
  exports.OriginType = OriginType;
584
- exports.ResourceNotFoundException = ResourceNotFoundException;
585
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
586
- exports.SequenceNumberRange$ = SequenceNumberRange$;
587
- exports.Shard$ = Shard$;
588
- exports.ShardFilter$ = ShardFilter$;
589
232
  exports.ShardFilterType = ShardFilterType;
590
233
  exports.ShardIteratorType = ShardIteratorType;
591
234
  exports.StreamStatus = StreamStatus;
592
235
  exports.StreamViewType = StreamViewType;
593
- exports.ThrottlingException = ThrottlingException;
594
- exports.ThrottlingException$ = ThrottlingException$;
595
- exports.ValidationException = ValidationException;
596
- exports.ValidationException$ = ValidationException$;
597
236
  exports.ValidationExceptionType = ValidationExceptionType;
598
- exports._Record$ = _Record$;
599
- exports._Stream$ = _Stream$;
600
237
  exports.paginateGetStream = paginateGetStream;
601
238
  exports.paginateListStreams = paginateListStreams;
239
+ Object.keys(schemas_0).forEach(function (k) {
240
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
241
+ enumerable: true,
242
+ get: function () { return schemas_0[k]; }
243
+ });
244
+ });
245
+ Object.keys(errors).forEach(function (k) {
246
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
247
+ enumerable: true,
248
+ get: function () { return errors[k]; }
249
+ });
250
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KeyspacesStreamsServiceException = 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 KeyspacesStreamsServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, KeyspacesStreamsServiceException.prototype);
10
+ }
11
+ }
12
+ exports.KeyspacesStreamsServiceException = KeyspacesStreamsServiceException;
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
+ const KeyspacesStreamsServiceException_1 = require("./KeyspacesStreamsServiceException");
5
+ class AccessDeniedException extends KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException {
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 KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException {
19
+ name = "InternalServerException";
20
+ $fault = "server";
21
+ constructor(opts) {
22
+ super({
23
+ name: "InternalServerException",
24
+ $fault: "server",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, InternalServerException.prototype);
28
+ }
29
+ }
30
+ exports.InternalServerException = InternalServerException;
31
+ class ResourceNotFoundException extends KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException {
32
+ name = "ResourceNotFoundException";
33
+ $fault = "client";
34
+ constructor(opts) {
35
+ super({
36
+ name: "ResourceNotFoundException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
41
+ }
42
+ }
43
+ exports.ResourceNotFoundException = ResourceNotFoundException;
44
+ class ThrottlingException extends KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException {
45
+ name = "ThrottlingException";
46
+ $fault = "client";
47
+ constructor(opts) {
48
+ super({
49
+ name: "ThrottlingException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
54
+ }
55
+ }
56
+ exports.ThrottlingException = ThrottlingException;
57
+ class ValidationException extends KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException {
58
+ name = "ValidationException";
59
+ $fault = "client";
60
+ errorCode;
61
+ constructor(opts) {
62
+ super({
63
+ name: "ValidationException",
64
+ $fault: "client",
65
+ ...opts,
66
+ });
67
+ Object.setPrototypeOf(this, ValidationException.prototype);
68
+ this.errorCode = opts.errorCode;
69
+ }
70
+ }
71
+ exports.ValidationException = ValidationException;
@@ -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: "2024-09-09",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.keyspacesstreams",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2024-09-09",
33
35
  serviceTarget: "KeyspacesStreams",
34
36
  },
@@ -0,0 +1,278 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListStreams$ = exports.GetStream$ = exports.GetShardIterator$ = exports.GetRecords$ = exports.KeyspacesCellValue$ = exports._Stream$ = exports.ShardFilter$ = exports.Shard$ = exports.SequenceNumberRange$ = exports._Record$ = exports.ListStreamsOutput$ = exports.ListStreamsInput$ = exports.KeyspacesRow$ = exports.KeyspacesMetadata$ = exports.KeyspacesCellMapDefinition$ = exports.KeyspacesCell$ = exports.GetStreamOutput$ = exports.GetStreamInput$ = exports.GetShardIteratorOutput$ = exports.GetShardIteratorInput$ = exports.GetRecordsOutput$ = exports.GetRecordsInput$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.KeyspacesStreamsServiceException$ = void 0;
4
+ const _ADE = "AccessDeniedException";
5
+ const _GR = "GetRecords";
6
+ const _GRI = "GetRecordsInput";
7
+ const _GRO = "GetRecordsOutput";
8
+ const _GS = "GetStream";
9
+ const _GSI = "GetStreamInput";
10
+ const _GSII = "GetShardIteratorInput";
11
+ const _GSIO = "GetShardIteratorOutput";
12
+ const _GSIe = "GetShardIterator";
13
+ const _GSO = "GetStreamOutput";
14
+ const _ISE = "InternalServerException";
15
+ const _KC = "KeyspacesCell";
16
+ const _KCL = "KeyspacesCellList";
17
+ const _KCM = "KeyspacesCellMap";
18
+ const _KCMD = "KeyspacesCellMapDefinition";
19
+ const _KCV = "KeyspacesCellValue";
20
+ const _KCe = "KeyspacesCells";
21
+ const _KKM = "KeyspacesKeysMap";
22
+ const _KM = "KeyspacesMetadata";
23
+ const _KR = "KeyspacesRow";
24
+ const _KUM = "KeyspacesUdtMap";
25
+ const _LS = "ListStreams";
26
+ const _LSI = "ListStreamsInput";
27
+ const _LSO = "ListStreamsOutput";
28
+ const _R = "Record";
29
+ const _RL = "RecordList";
30
+ const _RNFE = "ResourceNotFoundException";
31
+ const _S = "Shard";
32
+ const _SDL = "ShardDescriptionList";
33
+ const _SF = "ShardFilter";
34
+ const _SL = "StreamList";
35
+ const _SNR = "SequenceNumberRange";
36
+ const _St = "Stream";
37
+ const _TE = "ThrottlingException";
38
+ const _VE = "ValidationException";
39
+ const _aQE = "awsQueryError";
40
+ const _aT = "asciiT";
41
+ const _bT = "bigintT";
42
+ const _bTl = "blobT";
43
+ const _bTo = "boolT";
44
+ const _c = "client";
45
+ const _cA = "createdAt";
46
+ const _cK = "clusteringKeys";
47
+ const _cR = "changeRecords";
48
+ const _cRDT = "creationRequestDateTime";
49
+ const _cT = "counterT";
50
+ const _dT = "dateT";
51
+ const _dTe = "decimalT";
52
+ const _dTo = "doubleT";
53
+ const _e = "error";
54
+ const _eC = "errorCode";
55
+ const _eSN = "endingSequenceNumber";
56
+ const _eT = "expirationTime";
57
+ const _eV = "eventVersion";
58
+ const _fT = "floatT";
59
+ const _hE = "httpError";
60
+ const _iT = "inetT";
61
+ const _iTn = "intT";
62
+ const _k = "key";
63
+ const _kN = "keyspaceName";
64
+ const _lT = "listT";
65
+ const _m = "message";
66
+ const _mR = "maxResults";
67
+ const _mT = "mapT";
68
+ const _me = "metadata";
69
+ const _nI = "newImage";
70
+ const _nSI = "nextShardIterator";
71
+ const _nT = "nextToken";
72
+ const _o = "origin";
73
+ const _oI = "oldImage";
74
+ const _pK = "partitionKeys";
75
+ const _pSI = "parentShardIds";
76
+ const _rM = "rowMetadata";
77
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.keyspacesstreams";
78
+ const _sA = "streamArn";
79
+ const _sC = "staticCells";
80
+ const _sF = "shardFilter";
81
+ const _sI = "shardIterator";
82
+ const _sIT = "shardIteratorType";
83
+ const _sIh = "shardId";
84
+ const _sL = "streamLabel";
85
+ const _sN = "sequenceNumber";
86
+ const _sNR = "sequenceNumberRange";
87
+ const _sS = "streamStatus";
88
+ const _sSN = "startingSequenceNumber";
89
+ const _sT = "setT";
90
+ const _sTm = "smallintT";
91
+ const _sVT = "streamViewType";
92
+ const _se = "server";
93
+ const _sh = "shards";
94
+ const _st = "streams";
95
+ const _t = "type";
96
+ const _tN = "tableName";
97
+ const _tT = "textT";
98
+ const _tTi = "timeT";
99
+ const _tTim = "timestampT";
100
+ const _tTime = "timeuuidT";
101
+ const _tTin = "tinyintT";
102
+ const _tTu = "tupleT";
103
+ const _uT = "uuidT";
104
+ const _uTd = "udtT";
105
+ const _v = "value";
106
+ const _vC = "valueCells";
107
+ const _vT = "varcharT";
108
+ const _vTa = "varintT";
109
+ const _wT = "writeTime";
110
+ const n0 = "com.amazonaws.keyspacesstreams";
111
+ const schema_1 = require("@smithy/core/schema");
112
+ const errors_1 = require("../models/errors");
113
+ const KeyspacesStreamsServiceException_1 = require("../models/KeyspacesStreamsServiceException");
114
+ const _s_registry = schema_1.TypeRegistry.for(_s);
115
+ exports.KeyspacesStreamsServiceException$ = [-3, _s, "KeyspacesStreamsServiceException", 0, [], []];
116
+ _s_registry.registerError(exports.KeyspacesStreamsServiceException$, KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException);
117
+ const n0_registry = schema_1.TypeRegistry.for(n0);
118
+ exports.AccessDeniedException$ = [-3, n0, _ADE,
119
+ { [_aQE]: [`AccessDeniedException`, 403], [_e]: _c, [_hE]: 403 },
120
+ [_m],
121
+ [0]
122
+ ];
123
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
124
+ exports.InternalServerException$ = [-3, n0, _ISE,
125
+ { [_aQE]: [`InternalServerException`, 500], [_e]: _se, [_hE]: 500 },
126
+ [_m],
127
+ [0]
128
+ ];
129
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
130
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
131
+ { [_aQE]: [`ResourceNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
132
+ [_m],
133
+ [0]
134
+ ];
135
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
136
+ exports.ThrottlingException$ = [-3, n0, _TE,
137
+ { [_aQE]: [`ThrottlingException`, 429], [_e]: _c, [_hE]: 429 },
138
+ [_m],
139
+ [0]
140
+ ];
141
+ n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
142
+ exports.ValidationException$ = [-3, n0, _VE,
143
+ { [_aQE]: [`ValidationException`, 400], [_e]: _c, [_hE]: 400 },
144
+ [_m, _eC],
145
+ [0, 0]
146
+ ];
147
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
148
+ exports.errorTypeRegistries = [
149
+ _s_registry,
150
+ n0_registry,
151
+ ];
152
+ exports.GetRecordsInput$ = [3, n0, _GRI,
153
+ 0,
154
+ [_sI, _mR],
155
+ [0, 1], 1
156
+ ];
157
+ exports.GetRecordsOutput$ = [3, n0, _GRO,
158
+ 0,
159
+ [_cR, _nSI],
160
+ [() => RecordList, 0]
161
+ ];
162
+ exports.GetShardIteratorInput$ = [3, n0, _GSII,
163
+ 0,
164
+ [_sA, _sIh, _sIT, _sN],
165
+ [0, 0, 0, 0], 3
166
+ ];
167
+ exports.GetShardIteratorOutput$ = [3, n0, _GSIO,
168
+ 0,
169
+ [_sI],
170
+ [0]
171
+ ];
172
+ exports.GetStreamInput$ = [3, n0, _GSI,
173
+ 0,
174
+ [_sA, _mR, _sF, _nT],
175
+ [0, 1, () => exports.ShardFilter$, 0], 1
176
+ ];
177
+ exports.GetStreamOutput$ = [3, n0, _GSO,
178
+ 0,
179
+ [_sA, _sL, _sS, _sVT, _cRDT, _kN, _tN, _sh, _nT],
180
+ [0, 0, 0, 0, 4, 0, 0, () => ShardDescriptionList, 0], 7
181
+ ];
182
+ exports.KeyspacesCell$ = [3, n0, _KC,
183
+ 0,
184
+ [_v, _me],
185
+ [() => exports.KeyspacesCellValue$, () => exports.KeyspacesMetadata$]
186
+ ];
187
+ exports.KeyspacesCellMapDefinition$ = [3, n0, _KCMD,
188
+ 0,
189
+ [_k, _v, _me],
190
+ [() => exports.KeyspacesCellValue$, () => exports.KeyspacesCellValue$, () => exports.KeyspacesMetadata$]
191
+ ];
192
+ exports.KeyspacesMetadata$ = [3, n0, _KM,
193
+ 0,
194
+ [_eT, _wT],
195
+ [0, 0]
196
+ ];
197
+ exports.KeyspacesRow$ = [3, n0, _KR,
198
+ 0,
199
+ [_vC, _sC, _rM],
200
+ [() => KeyspacesCells, () => KeyspacesCells, () => exports.KeyspacesMetadata$]
201
+ ];
202
+ exports.ListStreamsInput$ = [3, n0, _LSI,
203
+ 0,
204
+ [_kN, _tN, _mR, _nT],
205
+ [0, 0, 1, 0]
206
+ ];
207
+ exports.ListStreamsOutput$ = [3, n0, _LSO,
208
+ 0,
209
+ [_st, _nT],
210
+ [() => StreamList, 0]
211
+ ];
212
+ exports._Record$ = [3, n0, _R,
213
+ 0,
214
+ [_eV, _cA, _o, _pK, _cK, _nI, _oI, _sN],
215
+ [0, 4, 0, () => KeyspacesKeysMap, () => KeyspacesKeysMap, () => exports.KeyspacesRow$, () => exports.KeyspacesRow$, 0]
216
+ ];
217
+ exports.SequenceNumberRange$ = [3, n0, _SNR,
218
+ 0,
219
+ [_sSN, _eSN],
220
+ [0, 0]
221
+ ];
222
+ exports.Shard$ = [3, n0, _S,
223
+ 0,
224
+ [_sIh, _sNR, _pSI],
225
+ [0, () => exports.SequenceNumberRange$, 64 | 0]
226
+ ];
227
+ exports.ShardFilter$ = [3, n0, _SF,
228
+ 0,
229
+ [_t, _sIh],
230
+ [0, 0]
231
+ ];
232
+ exports._Stream$ = [3, n0, _St,
233
+ 0,
234
+ [_sA, _kN, _tN, _sL],
235
+ [0, 0, 0, 0], 4
236
+ ];
237
+ var KeyspacesCellList = [1, n0, _KCL,
238
+ 0, () => exports.KeyspacesCell$
239
+ ];
240
+ var KeyspacesCellMap = [1, n0, _KCM,
241
+ 0, () => exports.KeyspacesCellMapDefinition$
242
+ ];
243
+ var RecordList = [1, n0, _RL,
244
+ 0, () => exports._Record$
245
+ ];
246
+ var ShardDescriptionList = [1, n0, _SDL,
247
+ 0, () => exports.Shard$
248
+ ];
249
+ var ShardIdList = 64 | 0;
250
+ var StreamList = [1, n0, _SL,
251
+ 0, () => exports._Stream$
252
+ ];
253
+ var KeyspacesCells = [2, n0, _KCe,
254
+ 0, 0, () => exports.KeyspacesCell$
255
+ ];
256
+ var KeyspacesKeysMap = [2, n0, _KKM,
257
+ 0, 0, () => exports.KeyspacesCellValue$
258
+ ];
259
+ var KeyspacesUdtMap = [2, n0, _KUM,
260
+ 0, 0, () => exports.KeyspacesCell$
261
+ ];
262
+ exports.KeyspacesCellValue$ = [4, n0, _KCV,
263
+ 0,
264
+ [_aT, _bT, _bTl, _bTo, _cT, _dT, _dTe, _dTo, _fT, _iT, _iTn, _lT, _mT, _sT, _sTm, _tT, _tTi, _tTim, _tTime, _tTin, _tTu, _uT, _vT, _vTa, _uTd],
265
+ [0, 0, 21, 2, 0, 0, 0, 0, 0, 0, 0, () => KeyspacesCellList, () => KeyspacesCellMap, () => KeyspacesCellList, 0, 0, 0, 0, 0, 0, () => KeyspacesCellList, 0, 0, 0, () => KeyspacesUdtMap]
266
+ ];
267
+ exports.GetRecords$ = [9, n0, _GR,
268
+ 0, () => exports.GetRecordsInput$, () => exports.GetRecordsOutput$
269
+ ];
270
+ exports.GetShardIterator$ = [9, n0, _GSIe,
271
+ 0, () => exports.GetShardIteratorInput$, () => exports.GetShardIteratorOutput$
272
+ ];
273
+ exports.GetStream$ = [9, n0, _GS,
274
+ 0, () => exports.GetStreamInput$, () => exports.GetStreamOutput$
275
+ ];
276
+ exports.ListStreams$ = [9, n0, _LS,
277
+ 0, () => exports.ListStreamsInput$, () => exports.ListStreamsOutput$
278
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultKeyspacesStreamsHttpAuthSchemeProvider } 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: "2024-09-09",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_0Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.keyspacesstreams",
30
+ errorTypeRegistries,
29
31
  version: "2024-09-09",
30
32
  serviceTarget: "KeyspacesStreams",
31
33
  },
@@ -71,7 +71,7 @@ const _oI = "oldImage";
71
71
  const _pK = "partitionKeys";
72
72
  const _pSI = "parentShardIds";
73
73
  const _rM = "rowMetadata";
74
- const _s = "shards";
74
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.keyspacesstreams";
75
75
  const _sA = "streamArn";
76
76
  const _sC = "staticCells";
77
77
  const _sF = "shardFilter";
@@ -87,7 +87,7 @@ const _sT = "setT";
87
87
  const _sTm = "smallintT";
88
88
  const _sVT = "streamViewType";
89
89
  const _se = "server";
90
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.keyspacesstreams";
90
+ const _sh = "shards";
91
91
  const _st = "streams";
92
92
  const _t = "type";
93
93
  const _tN = "tableName";
@@ -108,12 +108,44 @@ const n0 = "com.amazonaws.keyspacesstreams";
108
108
  import { TypeRegistry } from "@smithy/core/schema";
109
109
  import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
110
110
  import { KeyspacesStreamsServiceException } from "../models/KeyspacesStreamsServiceException";
111
+ const _s_registry = TypeRegistry.for(_s);
112
+ export var KeyspacesStreamsServiceException$ = [-3, _s, "KeyspacesStreamsServiceException", 0, [], []];
113
+ _s_registry.registerError(KeyspacesStreamsServiceException$, KeyspacesStreamsServiceException);
114
+ const n0_registry = TypeRegistry.for(n0);
111
115
  export var AccessDeniedException$ = [-3, n0, _ADE,
112
116
  { [_aQE]: [`AccessDeniedException`, 403], [_e]: _c, [_hE]: 403 },
113
117
  [_m],
114
118
  [0]
115
119
  ];
116
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
120
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
121
+ export var InternalServerException$ = [-3, n0, _ISE,
122
+ { [_aQE]: [`InternalServerException`, 500], [_e]: _se, [_hE]: 500 },
123
+ [_m],
124
+ [0]
125
+ ];
126
+ n0_registry.registerError(InternalServerException$, InternalServerException);
127
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
128
+ { [_aQE]: [`ResourceNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
129
+ [_m],
130
+ [0]
131
+ ];
132
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
133
+ export var ThrottlingException$ = [-3, n0, _TE,
134
+ { [_aQE]: [`ThrottlingException`, 429], [_e]: _c, [_hE]: 429 },
135
+ [_m],
136
+ [0]
137
+ ];
138
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
139
+ export var ValidationException$ = [-3, n0, _VE,
140
+ { [_aQE]: [`ValidationException`, 400], [_e]: _c, [_hE]: 400 },
141
+ [_m, _eC],
142
+ [0, 0]
143
+ ];
144
+ n0_registry.registerError(ValidationException$, ValidationException);
145
+ export const errorTypeRegistries = [
146
+ _s_registry,
147
+ n0_registry,
148
+ ];
117
149
  export var GetRecordsInput$ = [3, n0, _GRI,
118
150
  0,
119
151
  [_sI, _mR],
@@ -141,15 +173,9 @@ export var GetStreamInput$ = [3, n0, _GSI,
141
173
  ];
142
174
  export var GetStreamOutput$ = [3, n0, _GSO,
143
175
  0,
144
- [_sA, _sL, _sS, _sVT, _cRDT, _kN, _tN, _s, _nT],
176
+ [_sA, _sL, _sS, _sVT, _cRDT, _kN, _tN, _sh, _nT],
145
177
  [0, 0, 0, 0, 4, 0, 0, () => ShardDescriptionList, 0], 7
146
178
  ];
147
- export var InternalServerException$ = [-3, n0, _ISE,
148
- { [_aQE]: [`InternalServerException`, 500], [_e]: _se, [_hE]: 500 },
149
- [_m],
150
- [0]
151
- ];
152
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
153
179
  export var KeyspacesCell$ = [3, n0, _KC,
154
180
  0,
155
181
  [_v, _me],
@@ -185,12 +211,6 @@ export var _Record$ = [3, n0, _R,
185
211
  [_eV, _cA, _o, _pK, _cK, _nI, _oI, _sN],
186
212
  [0, 4, 0, () => KeyspacesKeysMap, () => KeyspacesKeysMap, () => KeyspacesRow$, () => KeyspacesRow$, 0]
187
213
  ];
188
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
189
- { [_aQE]: [`ResourceNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
190
- [_m],
191
- [0]
192
- ];
193
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
194
214
  export var SequenceNumberRange$ = [3, n0, _SNR,
195
215
  0,
196
216
  [_sSN, _eSN],
@@ -211,20 +231,6 @@ export var _Stream$ = [3, n0, _St,
211
231
  [_sA, _kN, _tN, _sL],
212
232
  [0, 0, 0, 0], 4
213
233
  ];
214
- export var ThrottlingException$ = [-3, n0, _TE,
215
- { [_aQE]: [`ThrottlingException`, 429], [_e]: _c, [_hE]: 429 },
216
- [_m],
217
- [0]
218
- ];
219
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
220
- export var ValidationException$ = [-3, n0, _VE,
221
- { [_aQE]: [`ValidationException`, 400], [_e]: _c, [_hE]: 400 },
222
- [_m, _eC],
223
- [0, 0]
224
- ];
225
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
226
- export var KeyspacesStreamsServiceException$ = [-3, _sm, "KeyspacesStreamsServiceException", 0, [], []];
227
- TypeRegistry.for(_sm).registerError(KeyspacesStreamsServiceException$, KeyspacesStreamsServiceException);
228
234
  var KeyspacesCellList = [1, n0, _KCL,
229
235
  0, () => KeyspacesCell$
230
236
  ];
@@ -1,12 +1,23 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var KeyspacesStreamsServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var InternalServerException$: StaticErrorSchema;
6
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
7
+ export declare var ThrottlingException$: StaticErrorSchema;
8
+ export declare var ValidationException$: StaticErrorSchema;
9
+ /**
10
+ * TypeRegistry instances containing modeled errors.
11
+ * @internal
12
+ *
13
+ */
14
+ export declare const errorTypeRegistries: TypeRegistry[];
3
15
  export declare var GetRecordsInput$: StaticStructureSchema;
4
16
  export declare var GetRecordsOutput$: StaticStructureSchema;
5
17
  export declare var GetShardIteratorInput$: StaticStructureSchema;
6
18
  export declare var GetShardIteratorOutput$: StaticStructureSchema;
7
19
  export declare var GetStreamInput$: StaticStructureSchema;
8
20
  export declare var GetStreamOutput$: StaticStructureSchema;
9
- export declare var InternalServerException$: StaticErrorSchema;
10
21
  export declare var KeyspacesCell$: StaticStructureSchema;
11
22
  export declare var KeyspacesCellMapDefinition$: StaticStructureSchema;
12
23
  export declare var KeyspacesMetadata$: StaticStructureSchema;
@@ -14,14 +25,10 @@ export declare var KeyspacesRow$: StaticStructureSchema;
14
25
  export declare var ListStreamsInput$: StaticStructureSchema;
15
26
  export declare var ListStreamsOutput$: StaticStructureSchema;
16
27
  export declare var _Record$: StaticStructureSchema;
17
- export declare var ResourceNotFoundException$: StaticErrorSchema;
18
28
  export declare var SequenceNumberRange$: StaticStructureSchema;
19
29
  export declare var Shard$: StaticStructureSchema;
20
30
  export declare var ShardFilter$: StaticStructureSchema;
21
31
  export declare var _Stream$: StaticStructureSchema;
22
- export declare var ThrottlingException$: StaticErrorSchema;
23
- export declare var ValidationException$: StaticErrorSchema;
24
- export declare var KeyspacesStreamsServiceException$: StaticErrorSchema;
25
32
  export declare var KeyspacesCellValue$: StaticUnionSchema;
26
33
  export declare var GetRecords$: StaticOperationSchema;
27
34
  export declare var GetShardIterator$: StaticOperationSchema;
@@ -1,17 +1,23 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  StaticUnionSchema,
6
7
  } from "@smithy/types";
8
+ export declare var KeyspacesStreamsServiceException$: StaticErrorSchema;
7
9
  export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var InternalServerException$: StaticErrorSchema;
11
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
12
+ export declare var ThrottlingException$: StaticErrorSchema;
13
+ export declare var ValidationException$: StaticErrorSchema;
14
+ export declare const errorTypeRegistries: TypeRegistry[];
8
15
  export declare var GetRecordsInput$: StaticStructureSchema;
9
16
  export declare var GetRecordsOutput$: StaticStructureSchema;
10
17
  export declare var GetShardIteratorInput$: StaticStructureSchema;
11
18
  export declare var GetShardIteratorOutput$: StaticStructureSchema;
12
19
  export declare var GetStreamInput$: StaticStructureSchema;
13
20
  export declare var GetStreamOutput$: StaticStructureSchema;
14
- export declare var InternalServerException$: StaticErrorSchema;
15
21
  export declare var KeyspacesCell$: StaticStructureSchema;
16
22
  export declare var KeyspacesCellMapDefinition$: StaticStructureSchema;
17
23
  export declare var KeyspacesMetadata$: StaticStructureSchema;
@@ -19,14 +25,10 @@ export declare var KeyspacesRow$: StaticStructureSchema;
19
25
  export declare var ListStreamsInput$: StaticStructureSchema;
20
26
  export declare var ListStreamsOutput$: StaticStructureSchema;
21
27
  export declare var _Record$: StaticStructureSchema;
22
- export declare var ResourceNotFoundException$: StaticErrorSchema;
23
28
  export declare var SequenceNumberRange$: StaticStructureSchema;
24
29
  export declare var Shard$: StaticStructureSchema;
25
30
  export declare var ShardFilter$: StaticStructureSchema;
26
31
  export declare var _Stream$: StaticStructureSchema;
27
- export declare var ThrottlingException$: StaticErrorSchema;
28
- export declare var ValidationException$: StaticErrorSchema;
29
- export declare var KeyspacesStreamsServiceException$: StaticErrorSchema;
30
32
  export declare var KeyspacesCellValue$: StaticUnionSchema;
31
33
  export declare var GetRecords$: StaticOperationSchema;
32
34
  export declare var GetShardIterator$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-keyspacesstreams",
3
3
  "description": "AWS SDK for JavaScript Keyspacesstreams Client for Node.js, Browser and React Native",
4
- "version": "3.986.0",
4
+ "version": "3.988.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-keyspacesstreams",
@@ -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.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
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.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.986.0",
32
+ "@aws-sdk/util-endpoints": "3.988.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
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.13",
42
- "@smithy/middleware-retry": "^4.4.30",
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.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
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.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
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",