@aws-sdk/client-keyspacesstreams 3.948.0 → 3.953.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
@@ -108,14 +108,14 @@ class KeyspacesStreamsClient extends smithyClient.Client {
108
108
  }
109
109
  }
110
110
 
111
- let KeyspacesStreamsServiceException$1 = class KeyspacesStreamsServiceException extends smithyClient.ServiceException {
111
+ class KeyspacesStreamsServiceException extends smithyClient.ServiceException {
112
112
  constructor(options) {
113
113
  super(options);
114
114
  Object.setPrototypeOf(this, KeyspacesStreamsServiceException.prototype);
115
115
  }
116
- };
116
+ }
117
117
 
118
- let AccessDeniedException$1 = class AccessDeniedException extends KeyspacesStreamsServiceException$1 {
118
+ class AccessDeniedException extends KeyspacesStreamsServiceException {
119
119
  name = "AccessDeniedException";
120
120
  $fault = "client";
121
121
  constructor(opts) {
@@ -126,8 +126,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends KeyspacesStrea
126
126
  });
127
127
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
128
128
  }
129
- };
130
- let InternalServerException$1 = class InternalServerException extends KeyspacesStreamsServiceException$1 {
129
+ }
130
+ class InternalServerException extends KeyspacesStreamsServiceException {
131
131
  name = "InternalServerException";
132
132
  $fault = "server";
133
133
  constructor(opts) {
@@ -138,8 +138,8 @@ let InternalServerException$1 = class InternalServerException extends KeyspacesS
138
138
  });
139
139
  Object.setPrototypeOf(this, InternalServerException.prototype);
140
140
  }
141
- };
142
- let ResourceNotFoundException$1 = class ResourceNotFoundException extends KeyspacesStreamsServiceException$1 {
141
+ }
142
+ class ResourceNotFoundException extends KeyspacesStreamsServiceException {
143
143
  name = "ResourceNotFoundException";
144
144
  $fault = "client";
145
145
  constructor(opts) {
@@ -150,8 +150,8 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Keyspa
150
150
  });
151
151
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
152
152
  }
153
- };
154
- let ThrottlingException$1 = class ThrottlingException extends KeyspacesStreamsServiceException$1 {
153
+ }
154
+ class ThrottlingException extends KeyspacesStreamsServiceException {
155
155
  name = "ThrottlingException";
156
156
  $fault = "client";
157
157
  constructor(opts) {
@@ -162,8 +162,8 @@ let ThrottlingException$1 = class ThrottlingException extends KeyspacesStreamsSe
162
162
  });
163
163
  Object.setPrototypeOf(this, ThrottlingException.prototype);
164
164
  }
165
- };
166
- let ValidationException$1 = class ValidationException extends KeyspacesStreamsServiceException$1 {
165
+ }
166
+ class ValidationException extends KeyspacesStreamsServiceException {
167
167
  name = "ValidationException";
168
168
  $fault = "client";
169
169
  errorCode;
@@ -176,7 +176,7 @@ let ValidationException$1 = class ValidationException extends KeyspacesStreamsSe
176
176
  Object.setPrototypeOf(this, ValidationException.prototype);
177
177
  this.errorCode = opts.errorCode;
178
178
  }
179
- };
179
+ }
180
180
 
181
181
  const _ADE = "AccessDeniedException";
182
182
  const _GR = "GetRecords";
@@ -285,7 +285,7 @@ const _vT = "varcharT";
285
285
  const _vTa = "varintT";
286
286
  const _wT = "writeTime";
287
287
  const n0 = "com.amazonaws.keyspacesstreams";
288
- var AccessDeniedException = [
288
+ var AccessDeniedException$ = [
289
289
  -3,
290
290
  n0,
291
291
  _ADE,
@@ -293,13 +293,20 @@ var AccessDeniedException = [
293
293
  [_m],
294
294
  [0],
295
295
  ];
296
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
297
- var GetRecordsInput = [3, n0, _GRI, 0, [_sI, _mR], [0, 1]];
298
- var GetRecordsOutput = [3, n0, _GRO, 0, [_cR, _nSI], [() => RecordList, 0]];
299
- var GetShardIteratorInput = [3, n0, _GSII, 0, [_sA, _sIh, _sIT, _sN], [0, 0, 0, 0]];
300
- var GetShardIteratorOutput = [3, n0, _GSIO, 0, [_sI], [0]];
301
- var GetStreamInput = [3, n0, _GSI, 0, [_sA, _mR, _sF, _nT], [0, 1, () => ShardFilter, 0]];
302
- var GetStreamOutput = [
296
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
297
+ var GetRecordsInput$ = [3, n0, _GRI, 0, [_sI, _mR], [0, 1]];
298
+ var GetRecordsOutput$ = [3, n0, _GRO, 0, [_cR, _nSI], [() => RecordList, 0]];
299
+ var GetShardIteratorInput$ = [3, n0, _GSII, 0, [_sA, _sIh, _sIT, _sN], [0, 0, 0, 0]];
300
+ var GetShardIteratorOutput$ = [3, n0, _GSIO, 0, [_sI], [0]];
301
+ var GetStreamInput$ = [
302
+ 3,
303
+ n0,
304
+ _GSI,
305
+ 0,
306
+ [_sA, _mR, _sF, _nT],
307
+ [0, 1, () => ShardFilter$, 0],
308
+ ];
309
+ var GetStreamOutput$ = [
303
310
  3,
304
311
  n0,
305
312
  _GSO,
@@ -307,7 +314,7 @@ var GetStreamOutput = [
307
314
  [_sA, _sL, _sS, _sVT, _cRDT, _kN, _tN, _s, _nT],
308
315
  [0, 0, 0, 0, 4, 0, 0, () => ShardDescriptionList, 0],
309
316
  ];
310
- var InternalServerException = [
317
+ var InternalServerException$ = [
311
318
  -3,
312
319
  n0,
313
320
  _ISE,
@@ -315,43 +322,43 @@ var InternalServerException = [
315
322
  [_m],
316
323
  [0],
317
324
  ];
318
- schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
319
- var KeyspacesCell = [
325
+ schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
326
+ var KeyspacesCell$ = [
320
327
  3,
321
328
  n0,
322
329
  _KC,
323
330
  0,
324
331
  [_v, _me],
325
- [() => KeyspacesCellValue, () => KeyspacesMetadata],
332
+ [() => KeyspacesCellValue$, () => KeyspacesMetadata$],
326
333
  ];
327
- var KeyspacesCellMapDefinition = [
334
+ var KeyspacesCellMapDefinition$ = [
328
335
  3,
329
336
  n0,
330
337
  _KCMD,
331
338
  0,
332
339
  [_k, _v, _me],
333
- [() => KeyspacesCellValue, () => KeyspacesCellValue, () => KeyspacesMetadata],
340
+ [() => KeyspacesCellValue$, () => KeyspacesCellValue$, () => KeyspacesMetadata$],
334
341
  ];
335
- var KeyspacesMetadata = [3, n0, _KM, 0, [_eT, _wT], [0, 0]];
336
- var KeyspacesRow = [
342
+ var KeyspacesMetadata$ = [3, n0, _KM, 0, [_eT, _wT], [0, 0]];
343
+ var KeyspacesRow$ = [
337
344
  3,
338
345
  n0,
339
346
  _KR,
340
347
  0,
341
348
  [_vC, _sC, _rM],
342
- [() => KeyspacesCells, () => KeyspacesCells, () => KeyspacesMetadata],
349
+ [() => KeyspacesCells, () => KeyspacesCells, () => KeyspacesMetadata$],
343
350
  ];
344
- var ListStreamsInput = [3, n0, _LSI, 0, [_kN, _tN, _mR, _nT], [0, 0, 1, 0]];
345
- var ListStreamsOutput = [3, n0, _LSO, 0, [_st, _nT], [() => StreamList, 0]];
346
- var _Record = [
351
+ var ListStreamsInput$ = [3, n0, _LSI, 0, [_kN, _tN, _mR, _nT], [0, 0, 1, 0]];
352
+ var ListStreamsOutput$ = [3, n0, _LSO, 0, [_st, _nT], [() => StreamList, 0]];
353
+ var _Record$ = [
347
354
  3,
348
355
  n0,
349
356
  _R,
350
357
  0,
351
358
  [_eV, _cA, _o, _pK, _cK, _nI, _oI, _sN],
352
- [0, 4, 0, () => KeyspacesKeysMap, () => KeyspacesKeysMap, () => KeyspacesRow, () => KeyspacesRow, 0],
359
+ [0, 4, 0, () => KeyspacesKeysMap, () => KeyspacesKeysMap, () => KeyspacesRow$, () => KeyspacesRow$, 0],
353
360
  ];
354
- var ResourceNotFoundException = [
361
+ var ResourceNotFoundException$ = [
355
362
  -3,
356
363
  n0,
357
364
  _RNFE,
@@ -359,12 +366,12 @@ var ResourceNotFoundException = [
359
366
  [_m],
360
367
  [0],
361
368
  ];
362
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
363
- var SequenceNumberRange = [3, n0, _SNR, 0, [_sSN, _eSN], [0, 0]];
364
- var Shard = [3, n0, _S, 0, [_sIh, _sNR, _pSI], [0, () => SequenceNumberRange, 64 | 0]];
365
- var ShardFilter = [3, n0, _SF, 0, [_t, _sIh], [0, 0]];
366
- var _Stream = [3, n0, _St, 0, [_sA, _kN, _tN, _sL], [0, 0, 0, 0]];
367
- var ThrottlingException = [
369
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
370
+ var SequenceNumberRange$ = [3, n0, _SNR, 0, [_sSN, _eSN], [0, 0]];
371
+ var Shard$ = [3, n0, _S, 0, [_sIh, _sNR, _pSI], [0, () => SequenceNumberRange$, 64 | 0]];
372
+ var ShardFilter$ = [3, n0, _SF, 0, [_t, _sIh], [0, 0]];
373
+ var _Stream$ = [3, n0, _St, 0, [_sA, _kN, _tN, _sL], [0, 0, 0, 0]];
374
+ var ThrottlingException$ = [
368
375
  -3,
369
376
  n0,
370
377
  _TE,
@@ -372,8 +379,8 @@ var ThrottlingException = [
372
379
  [_m],
373
380
  [0],
374
381
  ];
375
- schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
376
- var ValidationException = [
382
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
383
+ var ValidationException$ = [
377
384
  -3,
378
385
  n0,
379
386
  _VE,
@@ -381,8 +388,8 @@ var ValidationException = [
381
388
  [_m, _eC],
382
389
  [0, 0],
383
390
  ];
384
- schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
385
- var KeyspacesStreamsServiceException = [
391
+ schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
392
+ var KeyspacesStreamsServiceException$ = [
386
393
  -3,
387
394
  _sm,
388
395
  "KeyspacesStreamsServiceException",
@@ -390,16 +397,16 @@ var KeyspacesStreamsServiceException = [
390
397
  [],
391
398
  [],
392
399
  ];
393
- schema.TypeRegistry.for(_sm).registerError(KeyspacesStreamsServiceException, KeyspacesStreamsServiceException$1);
394
- var KeyspacesCellList = [1, n0, _KCL, 0, () => KeyspacesCell];
395
- var KeyspacesCellMap = [1, n0, _KCM, 0, () => KeyspacesCellMapDefinition];
396
- var RecordList = [1, n0, _RL, 0, () => _Record];
397
- var ShardDescriptionList = [1, n0, _SDL, 0, () => Shard];
398
- var StreamList = [1, n0, _SL, 0, () => _Stream];
399
- var KeyspacesCells = [2, n0, _KCe, 0, 0, () => KeyspacesCell];
400
- var KeyspacesKeysMap = [2, n0, _KKM, 0, 0, () => KeyspacesCellValue];
401
- var KeyspacesUdtMap = [2, n0, _KUM, 0, 0, () => KeyspacesCell];
402
- var KeyspacesCellValue = [
400
+ schema.TypeRegistry.for(_sm).registerError(KeyspacesStreamsServiceException$, KeyspacesStreamsServiceException);
401
+ var KeyspacesCellList = [1, n0, _KCL, 0, () => KeyspacesCell$];
402
+ var KeyspacesCellMap = [1, n0, _KCM, 0, () => KeyspacesCellMapDefinition$];
403
+ var RecordList = [1, n0, _RL, 0, () => _Record$];
404
+ var ShardDescriptionList = [1, n0, _SDL, 0, () => Shard$];
405
+ var StreamList = [1, n0, _SL, 0, () => _Stream$];
406
+ var KeyspacesCells = [2, n0, _KCe, 0, 0, () => KeyspacesCell$];
407
+ var KeyspacesKeysMap = [2, n0, _KKM, 0, 0, () => KeyspacesCellValue$];
408
+ var KeyspacesUdtMap = [2, n0, _KUM, 0, 0, () => KeyspacesCell$];
409
+ var KeyspacesCellValue$ = [
403
410
  3,
404
411
  n0,
405
412
  _KCV,
@@ -459,17 +466,17 @@ var KeyspacesCellValue = [
459
466
  () => KeyspacesUdtMap,
460
467
  ],
461
468
  ];
462
- var GetRecords = [9, n0, _GR, 0, () => GetRecordsInput, () => GetRecordsOutput];
463
- var GetShardIterator = [
469
+ var GetRecords$ = [9, n0, _GR, 0, () => GetRecordsInput$, () => GetRecordsOutput$];
470
+ var GetShardIterator$ = [
464
471
  9,
465
472
  n0,
466
473
  _GSIe,
467
474
  0,
468
- () => GetShardIteratorInput,
469
- () => GetShardIteratorOutput,
475
+ () => GetShardIteratorInput$,
476
+ () => GetShardIteratorOutput$,
470
477
  ];
471
- var GetStream = [9, n0, _GS, 0, () => GetStreamInput, () => GetStreamOutput];
472
- var ListStreams = [9, n0, _LS, 0, () => ListStreamsInput, () => ListStreamsOutput];
478
+ var GetStream$ = [9, n0, _GS, 0, () => GetStreamInput$, () => GetStreamOutput$];
479
+ var ListStreams$ = [9, n0, _LS, 0, () => ListStreamsInput$, () => ListStreamsOutput$];
473
480
 
474
481
  class GetRecordsCommand extends smithyClient.Command
475
482
  .classBuilder()
@@ -479,7 +486,7 @@ class GetRecordsCommand extends smithyClient.Command
479
486
  })
480
487
  .s("KeyspacesStreams", "GetRecords", {})
481
488
  .n("KeyspacesStreamsClient", "GetRecordsCommand")
482
- .sc(GetRecords)
489
+ .sc(GetRecords$)
483
490
  .build() {
484
491
  }
485
492
 
@@ -491,7 +498,7 @@ class GetShardIteratorCommand extends smithyClient.Command
491
498
  })
492
499
  .s("KeyspacesStreams", "GetShardIterator", {})
493
500
  .n("KeyspacesStreamsClient", "GetShardIteratorCommand")
494
- .sc(GetShardIterator)
501
+ .sc(GetShardIterator$)
495
502
  .build() {
496
503
  }
497
504
 
@@ -503,7 +510,7 @@ class GetStreamCommand extends smithyClient.Command
503
510
  })
504
511
  .s("KeyspacesStreams", "GetStream", {})
505
512
  .n("KeyspacesStreamsClient", "GetStreamCommand")
506
- .sc(GetStream)
513
+ .sc(GetStream$)
507
514
  .build() {
508
515
  }
509
516
 
@@ -515,7 +522,7 @@ class ListStreamsCommand extends smithyClient.Command
515
522
  })
516
523
  .s("KeyspacesStreams", "ListStreams", {})
517
524
  .n("KeyspacesStreamsClient", "ListStreamsCommand")
518
- .sc(ListStreams)
525
+ .sc(ListStreams$)
519
526
  .build() {
520
527
  }
521
528
 
@@ -574,23 +581,51 @@ Object.defineProperty(exports, "__Client", {
574
581
  enumerable: true,
575
582
  get: function () { return smithyClient.Client; }
576
583
  });
577
- exports.AccessDeniedException = AccessDeniedException$1;
584
+ exports.AccessDeniedException = AccessDeniedException;
585
+ exports.AccessDeniedException$ = AccessDeniedException$;
586
+ exports.GetRecords$ = GetRecords$;
578
587
  exports.GetRecordsCommand = GetRecordsCommand;
588
+ exports.GetRecordsInput$ = GetRecordsInput$;
589
+ exports.GetRecordsOutput$ = GetRecordsOutput$;
590
+ exports.GetShardIterator$ = GetShardIterator$;
579
591
  exports.GetShardIteratorCommand = GetShardIteratorCommand;
592
+ exports.GetShardIteratorInput$ = GetShardIteratorInput$;
593
+ exports.GetShardIteratorOutput$ = GetShardIteratorOutput$;
594
+ exports.GetStream$ = GetStream$;
580
595
  exports.GetStreamCommand = GetStreamCommand;
581
- exports.InternalServerException = InternalServerException$1;
596
+ exports.GetStreamInput$ = GetStreamInput$;
597
+ exports.GetStreamOutput$ = GetStreamOutput$;
598
+ exports.InternalServerException = InternalServerException;
599
+ exports.InternalServerException$ = InternalServerException$;
600
+ exports.KeyspacesCell$ = KeyspacesCell$;
601
+ exports.KeyspacesCellMapDefinition$ = KeyspacesCellMapDefinition$;
602
+ exports.KeyspacesCellValue$ = KeyspacesCellValue$;
603
+ exports.KeyspacesMetadata$ = KeyspacesMetadata$;
604
+ exports.KeyspacesRow$ = KeyspacesRow$;
582
605
  exports.KeyspacesStreams = KeyspacesStreams;
583
606
  exports.KeyspacesStreamsClient = KeyspacesStreamsClient;
584
- exports.KeyspacesStreamsServiceException = KeyspacesStreamsServiceException$1;
607
+ exports.KeyspacesStreamsServiceException = KeyspacesStreamsServiceException;
608
+ exports.KeyspacesStreamsServiceException$ = KeyspacesStreamsServiceException$;
609
+ exports.ListStreams$ = ListStreams$;
585
610
  exports.ListStreamsCommand = ListStreamsCommand;
611
+ exports.ListStreamsInput$ = ListStreamsInput$;
612
+ exports.ListStreamsOutput$ = ListStreamsOutput$;
586
613
  exports.OriginType = OriginType;
587
- exports.ResourceNotFoundException = ResourceNotFoundException$1;
614
+ exports.ResourceNotFoundException = ResourceNotFoundException;
615
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
616
+ exports.SequenceNumberRange$ = SequenceNumberRange$;
617
+ exports.Shard$ = Shard$;
618
+ exports.ShardFilter$ = ShardFilter$;
588
619
  exports.ShardFilterType = ShardFilterType;
589
620
  exports.ShardIteratorType = ShardIteratorType;
590
621
  exports.StreamStatus = StreamStatus;
591
622
  exports.StreamViewType = StreamViewType;
592
- exports.ThrottlingException = ThrottlingException$1;
593
- exports.ValidationException = ValidationException$1;
623
+ exports.ThrottlingException = ThrottlingException;
624
+ exports.ThrottlingException$ = ThrottlingException$;
625
+ exports.ValidationException = ValidationException;
626
+ exports.ValidationException$ = ValidationException$;
594
627
  exports.ValidationExceptionType = ValidationExceptionType;
628
+ exports._Record$ = _Record$;
629
+ exports._Stream$ = _Stream$;
595
630
  exports.paginateGetStream = paginateGetStream;
596
631
  exports.paginateListStreams = paginateListStreams;
@@ -26,12 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsJson1_0Protocol({
31
- defaultNamespace: "com.amazonaws.keyspacesstreams",
32
- serviceTarget: "KeyspacesStreams",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.keyspacesstreams",
32
+ version: "2024-09-09",
33
+ serviceTarget: "KeyspacesStreams",
34
+ },
35
35
  serviceId: config?.serviceId ?? "KeyspacesStreams",
36
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetRecords } from "../schemas/schemas_0";
4
+ import { GetRecords$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetRecordsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetRecordsCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesStreams", "GetRecords", {})
13
13
  .n("KeyspacesStreamsClient", "GetRecordsCommand")
14
- .sc(GetRecords)
14
+ .sc(GetRecords$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetShardIterator } from "../schemas/schemas_0";
4
+ import { GetShardIterator$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetShardIteratorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetShardIteratorCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesStreams", "GetShardIterator", {})
13
13
  .n("KeyspacesStreamsClient", "GetShardIteratorCommand")
14
- .sc(GetShardIterator)
14
+ .sc(GetShardIterator$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetStream } from "../schemas/schemas_0";
4
+ import { GetStream$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetStreamCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetStreamCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesStreams", "GetStream", {})
13
13
  .n("KeyspacesStreamsClient", "GetStreamCommand")
14
- .sc(GetStream)
14
+ .sc(GetStream$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListStreams } from "../schemas/schemas_0";
4
+ import { ListStreams$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListStreamsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListStreamsCommand extends $Command
11
11
  })
12
12
  .s("KeyspacesStreams", "ListStreams", {})
13
13
  .n("KeyspacesStreamsClient", "ListStreamsCommand")
14
- .sc(ListStreams)
14
+ .sc(ListStreams$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./KeyspacesStreamsClient";
2
2
  export * from "./KeyspacesStreams";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_0Protocol({
28
- defaultNamespace: "com.amazonaws.keyspacesstreams",
29
- serviceTarget: "KeyspacesStreams",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.keyspacesstreams",
29
+ version: "2024-09-09",
30
+ serviceTarget: "KeyspacesStreams",
31
+ },
32
32
  serviceId: config?.serviceId ?? "KeyspacesStreams",
33
33
  urlParser: config?.urlParser ?? parseUrl,
34
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -106,9 +106,9 @@ const _vTa = "varintT";
106
106
  const _wT = "writeTime";
107
107
  const n0 = "com.amazonaws.keyspacesstreams";
108
108
  import { TypeRegistry } from "@smithy/core/schema";
109
- import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
110
- import { KeyspacesStreamsServiceException as __KeyspacesStreamsServiceException } from "../models/KeyspacesStreamsServiceException";
111
- export var AccessDeniedException = [
109
+ import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
110
+ import { KeyspacesStreamsServiceException } from "../models/KeyspacesStreamsServiceException";
111
+ export var AccessDeniedException$ = [
112
112
  -3,
113
113
  n0,
114
114
  _ADE,
@@ -116,13 +116,20 @@ export var AccessDeniedException = [
116
116
  [_m],
117
117
  [0],
118
118
  ];
119
- TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
120
- export var GetRecordsInput = [3, n0, _GRI, 0, [_sI, _mR], [0, 1]];
121
- export var GetRecordsOutput = [3, n0, _GRO, 0, [_cR, _nSI], [() => RecordList, 0]];
122
- export var GetShardIteratorInput = [3, n0, _GSII, 0, [_sA, _sIh, _sIT, _sN], [0, 0, 0, 0]];
123
- export var GetShardIteratorOutput = [3, n0, _GSIO, 0, [_sI], [0]];
124
- export var GetStreamInput = [3, n0, _GSI, 0, [_sA, _mR, _sF, _nT], [0, 1, () => ShardFilter, 0]];
125
- export var GetStreamOutput = [
119
+ TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
120
+ export var GetRecordsInput$ = [3, n0, _GRI, 0, [_sI, _mR], [0, 1]];
121
+ export var GetRecordsOutput$ = [3, n0, _GRO, 0, [_cR, _nSI], [() => RecordList, 0]];
122
+ export var GetShardIteratorInput$ = [3, n0, _GSII, 0, [_sA, _sIh, _sIT, _sN], [0, 0, 0, 0]];
123
+ export var GetShardIteratorOutput$ = [3, n0, _GSIO, 0, [_sI], [0]];
124
+ export var GetStreamInput$ = [
125
+ 3,
126
+ n0,
127
+ _GSI,
128
+ 0,
129
+ [_sA, _mR, _sF, _nT],
130
+ [0, 1, () => ShardFilter$, 0],
131
+ ];
132
+ export var GetStreamOutput$ = [
126
133
  3,
127
134
  n0,
128
135
  _GSO,
@@ -130,7 +137,7 @@ export var GetStreamOutput = [
130
137
  [_sA, _sL, _sS, _sVT, _cRDT, _kN, _tN, _s, _nT],
131
138
  [0, 0, 0, 0, 4, 0, 0, () => ShardDescriptionList, 0],
132
139
  ];
133
- export var InternalServerException = [
140
+ export var InternalServerException$ = [
134
141
  -3,
135
142
  n0,
136
143
  _ISE,
@@ -138,43 +145,43 @@ export var InternalServerException = [
138
145
  [_m],
139
146
  [0],
140
147
  ];
141
- TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
142
- export var KeyspacesCell = [
148
+ TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
149
+ export var KeyspacesCell$ = [
143
150
  3,
144
151
  n0,
145
152
  _KC,
146
153
  0,
147
154
  [_v, _me],
148
- [() => KeyspacesCellValue, () => KeyspacesMetadata],
155
+ [() => KeyspacesCellValue$, () => KeyspacesMetadata$],
149
156
  ];
150
- export var KeyspacesCellMapDefinition = [
157
+ export var KeyspacesCellMapDefinition$ = [
151
158
  3,
152
159
  n0,
153
160
  _KCMD,
154
161
  0,
155
162
  [_k, _v, _me],
156
- [() => KeyspacesCellValue, () => KeyspacesCellValue, () => KeyspacesMetadata],
163
+ [() => KeyspacesCellValue$, () => KeyspacesCellValue$, () => KeyspacesMetadata$],
157
164
  ];
158
- export var KeyspacesMetadata = [3, n0, _KM, 0, [_eT, _wT], [0, 0]];
159
- export var KeyspacesRow = [
165
+ export var KeyspacesMetadata$ = [3, n0, _KM, 0, [_eT, _wT], [0, 0]];
166
+ export var KeyspacesRow$ = [
160
167
  3,
161
168
  n0,
162
169
  _KR,
163
170
  0,
164
171
  [_vC, _sC, _rM],
165
- [() => KeyspacesCells, () => KeyspacesCells, () => KeyspacesMetadata],
172
+ [() => KeyspacesCells, () => KeyspacesCells, () => KeyspacesMetadata$],
166
173
  ];
167
- export var ListStreamsInput = [3, n0, _LSI, 0, [_kN, _tN, _mR, _nT], [0, 0, 1, 0]];
168
- export var ListStreamsOutput = [3, n0, _LSO, 0, [_st, _nT], [() => StreamList, 0]];
169
- export var _Record = [
174
+ export var ListStreamsInput$ = [3, n0, _LSI, 0, [_kN, _tN, _mR, _nT], [0, 0, 1, 0]];
175
+ export var ListStreamsOutput$ = [3, n0, _LSO, 0, [_st, _nT], [() => StreamList, 0]];
176
+ export var _Record$ = [
170
177
  3,
171
178
  n0,
172
179
  _R,
173
180
  0,
174
181
  [_eV, _cA, _o, _pK, _cK, _nI, _oI, _sN],
175
- [0, 4, 0, () => KeyspacesKeysMap, () => KeyspacesKeysMap, () => KeyspacesRow, () => KeyspacesRow, 0],
182
+ [0, 4, 0, () => KeyspacesKeysMap, () => KeyspacesKeysMap, () => KeyspacesRow$, () => KeyspacesRow$, 0],
176
183
  ];
177
- export var ResourceNotFoundException = [
184
+ export var ResourceNotFoundException$ = [
178
185
  -3,
179
186
  n0,
180
187
  _RNFE,
@@ -182,12 +189,12 @@ export var ResourceNotFoundException = [
182
189
  [_m],
183
190
  [0],
184
191
  ];
185
- TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
186
- export var SequenceNumberRange = [3, n0, _SNR, 0, [_sSN, _eSN], [0, 0]];
187
- export var Shard = [3, n0, _S, 0, [_sIh, _sNR, _pSI], [0, () => SequenceNumberRange, 64 | 0]];
188
- export var ShardFilter = [3, n0, _SF, 0, [_t, _sIh], [0, 0]];
189
- export var _Stream = [3, n0, _St, 0, [_sA, _kN, _tN, _sL], [0, 0, 0, 0]];
190
- export var ThrottlingException = [
192
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
193
+ export var SequenceNumberRange$ = [3, n0, _SNR, 0, [_sSN, _eSN], [0, 0]];
194
+ export var Shard$ = [3, n0, _S, 0, [_sIh, _sNR, _pSI], [0, () => SequenceNumberRange$, 64 | 0]];
195
+ export var ShardFilter$ = [3, n0, _SF, 0, [_t, _sIh], [0, 0]];
196
+ export var _Stream$ = [3, n0, _St, 0, [_sA, _kN, _tN, _sL], [0, 0, 0, 0]];
197
+ export var ThrottlingException$ = [
191
198
  -3,
192
199
  n0,
193
200
  _TE,
@@ -195,8 +202,8 @@ export var ThrottlingException = [
195
202
  [_m],
196
203
  [0],
197
204
  ];
198
- TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
199
- export var ValidationException = [
205
+ TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
206
+ export var ValidationException$ = [
200
207
  -3,
201
208
  n0,
202
209
  _VE,
@@ -204,8 +211,8 @@ export var ValidationException = [
204
211
  [_m, _eC],
205
212
  [0, 0],
206
213
  ];
207
- TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
208
- export var KeyspacesStreamsServiceException = [
214
+ TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
215
+ export var KeyspacesStreamsServiceException$ = [
209
216
  -3,
210
217
  _sm,
211
218
  "KeyspacesStreamsServiceException",
@@ -213,17 +220,17 @@ export var KeyspacesStreamsServiceException = [
213
220
  [],
214
221
  [],
215
222
  ];
216
- TypeRegistry.for(_sm).registerError(KeyspacesStreamsServiceException, __KeyspacesStreamsServiceException);
217
- export var KeyspacesCellList = [1, n0, _KCL, 0, () => KeyspacesCell];
218
- export var KeyspacesCellMap = [1, n0, _KCM, 0, () => KeyspacesCellMapDefinition];
219
- export var RecordList = [1, n0, _RL, 0, () => _Record];
220
- export var ShardDescriptionList = [1, n0, _SDL, 0, () => Shard];
221
- export var ShardIdList = 64 | 0;
222
- export var StreamList = [1, n0, _SL, 0, () => _Stream];
223
- export var KeyspacesCells = [2, n0, _KCe, 0, 0, () => KeyspacesCell];
224
- export var KeyspacesKeysMap = [2, n0, _KKM, 0, 0, () => KeyspacesCellValue];
225
- export var KeyspacesUdtMap = [2, n0, _KUM, 0, 0, () => KeyspacesCell];
226
- export var KeyspacesCellValue = [
223
+ TypeRegistry.for(_sm).registerError(KeyspacesStreamsServiceException$, KeyspacesStreamsServiceException);
224
+ var KeyspacesCellList = [1, n0, _KCL, 0, () => KeyspacesCell$];
225
+ var KeyspacesCellMap = [1, n0, _KCM, 0, () => KeyspacesCellMapDefinition$];
226
+ var RecordList = [1, n0, _RL, 0, () => _Record$];
227
+ var ShardDescriptionList = [1, n0, _SDL, 0, () => Shard$];
228
+ var ShardIdList = 64 | 0;
229
+ var StreamList = [1, n0, _SL, 0, () => _Stream$];
230
+ var KeyspacesCells = [2, n0, _KCe, 0, 0, () => KeyspacesCell$];
231
+ var KeyspacesKeysMap = [2, n0, _KKM, 0, 0, () => KeyspacesCellValue$];
232
+ var KeyspacesUdtMap = [2, n0, _KUM, 0, 0, () => KeyspacesCell$];
233
+ export var KeyspacesCellValue$ = [
227
234
  3,
228
235
  n0,
229
236
  _KCV,
@@ -283,14 +290,14 @@ export var KeyspacesCellValue = [
283
290
  () => KeyspacesUdtMap,
284
291
  ],
285
292
  ];
286
- export var GetRecords = [9, n0, _GR, 0, () => GetRecordsInput, () => GetRecordsOutput];
287
- export var GetShardIterator = [
293
+ export var GetRecords$ = [9, n0, _GR, 0, () => GetRecordsInput$, () => GetRecordsOutput$];
294
+ export var GetShardIterator$ = [
288
295
  9,
289
296
  n0,
290
297
  _GSIe,
291
298
  0,
292
- () => GetShardIteratorInput,
293
- () => GetShardIteratorOutput,
299
+ () => GetShardIteratorInput$,
300
+ () => GetShardIteratorOutput$,
294
301
  ];
295
- export var GetStream = [9, n0, _GS, 0, () => GetStreamInput, () => GetStreamOutput];
296
- export var ListStreams = [9, n0, _LS, 0, () => ListStreamsInput, () => ListStreamsOutput];
302
+ export var GetStream$ = [9, n0, _GS, 0, () => GetStreamInput$, () => GetStreamOutput$];
303
+ export var ListStreams$ = [9, n0, _LS, 0, () => ListStreamsInput$, () => ListStreamsOutput$];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
11
11
  import { GetShardIteratorCommandInput, GetShardIteratorCommandOutput } from "./commands/GetShardIteratorCommand";
@@ -145,15 +145,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
145
145
  * Optional extensions
146
146
  */
147
147
  extensions?: RuntimeExtension[];
148
- /**
149
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
150
- * may be overridden. A default will always be set by the client.
151
- * Available options depend on the service's supported protocols and will not be validated by
152
- * the client.
153
- * @alpha
154
- *
155
- */
156
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
157
148
  /**
158
149
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
159
150
  */
@@ -9,6 +9,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { KeyspacesStreamsExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export * from "./schemas/schemas_0";
12
13
  export * from "./pagination";
13
14
  export * from "./models/enums";
14
15
  export * from "./models/errors";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) =>
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) =>
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
34
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
35
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) =>
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) =>
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  customUserAgent?: string | import("@smithy/types").UserAgent;
36
40
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
37
41
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) =>
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) =>
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -1,3 +1,4 @@
1
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
1
2
  import type { KeyspacesStreamsClientConfig } from "./KeyspacesStreamsClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) =>
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KeyspacesStreamsHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsJson1_0Protocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  serviceId: string;
19
24
  urlParser: import("@smithy/types").UrlParser;
20
25
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,38 +1,29 @@
1
- import type { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var AccessDeniedException: StaticErrorSchema;
3
- export declare var GetRecordsInput: StaticStructureSchema;
4
- export declare var GetRecordsOutput: StaticStructureSchema;
5
- export declare var GetShardIteratorInput: StaticStructureSchema;
6
- export declare var GetShardIteratorOutput: StaticStructureSchema;
7
- export declare var GetStreamInput: StaticStructureSchema;
8
- export declare var GetStreamOutput: StaticStructureSchema;
9
- export declare var InternalServerException: StaticErrorSchema;
10
- export declare var KeyspacesCell: StaticStructureSchema;
11
- export declare var KeyspacesCellMapDefinition: StaticStructureSchema;
12
- export declare var KeyspacesMetadata: StaticStructureSchema;
13
- export declare var KeyspacesRow: StaticStructureSchema;
14
- export declare var ListStreamsInput: StaticStructureSchema;
15
- export declare var ListStreamsOutput: StaticStructureSchema;
16
- export declare var _Record: StaticStructureSchema;
17
- export declare var ResourceNotFoundException: StaticErrorSchema;
18
- export declare var SequenceNumberRange: StaticStructureSchema;
19
- export declare var Shard: StaticStructureSchema;
20
- export declare var ShardFilter: StaticStructureSchema;
21
- export declare var _Stream: StaticStructureSchema;
22
- export declare var ThrottlingException: StaticErrorSchema;
23
- export declare var ValidationException: StaticErrorSchema;
24
- export declare var KeyspacesStreamsServiceException: StaticErrorSchema;
25
- export declare var KeyspacesCellList: StaticListSchema;
26
- export declare var KeyspacesCellMap: StaticListSchema;
27
- export declare var RecordList: StaticListSchema;
28
- export declare var ShardDescriptionList: StaticListSchema;
29
- export declare var ShardIdList: number;
30
- export declare var StreamList: StaticListSchema;
31
- export declare var KeyspacesCells: StaticMapSchema;
32
- export declare var KeyspacesKeysMap: StaticMapSchema;
33
- export declare var KeyspacesUdtMap: StaticMapSchema;
34
- export declare var KeyspacesCellValue: StaticStructureSchema;
35
- export declare var GetRecords: StaticOperationSchema;
36
- export declare var GetShardIterator: StaticOperationSchema;
37
- export declare var GetStream: StaticOperationSchema;
38
- export declare var ListStreams: StaticOperationSchema;
1
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var AccessDeniedException$: StaticErrorSchema;
3
+ export declare var GetRecordsInput$: StaticStructureSchema;
4
+ export declare var GetRecordsOutput$: StaticStructureSchema;
5
+ export declare var GetShardIteratorInput$: StaticStructureSchema;
6
+ export declare var GetShardIteratorOutput$: StaticStructureSchema;
7
+ export declare var GetStreamInput$: StaticStructureSchema;
8
+ export declare var GetStreamOutput$: StaticStructureSchema;
9
+ export declare var InternalServerException$: StaticErrorSchema;
10
+ export declare var KeyspacesCell$: StaticStructureSchema;
11
+ export declare var KeyspacesCellMapDefinition$: StaticStructureSchema;
12
+ export declare var KeyspacesMetadata$: StaticStructureSchema;
13
+ export declare var KeyspacesRow$: StaticStructureSchema;
14
+ export declare var ListStreamsInput$: StaticStructureSchema;
15
+ export declare var ListStreamsOutput$: StaticStructureSchema;
16
+ export declare var _Record$: StaticStructureSchema;
17
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
18
+ export declare var SequenceNumberRange$: StaticStructureSchema;
19
+ export declare var Shard$: StaticStructureSchema;
20
+ export declare var ShardFilter$: StaticStructureSchema;
21
+ export declare var _Stream$: StaticStructureSchema;
22
+ export declare var ThrottlingException$: StaticErrorSchema;
23
+ export declare var ValidationException$: StaticErrorSchema;
24
+ export declare var KeyspacesStreamsServiceException$: StaticErrorSchema;
25
+ export declare var KeyspacesCellValue$: StaticStructureSchema;
26
+ export declare var GetRecords$: StaticOperationSchema;
27
+ export declare var GetShardIterator$: StaticOperationSchema;
28
+ export declare var GetStream$: StaticOperationSchema;
29
+ export declare var ListStreams$: StaticOperationSchema;
@@ -29,13 +29,10 @@ import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
30
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
31
  ChecksumConstructor as __ChecksumConstructor,
32
- ClientProtocol,
33
32
  Decoder as __Decoder,
34
33
  Encoder as __Encoder,
35
34
  HashConstructor as __HashConstructor,
36
35
  HttpHandlerOptions as __HttpHandlerOptions,
37
- HttpRequest,
38
- HttpResponse,
39
36
  Logger as __Logger,
40
37
  Provider as __Provider,
41
38
  StreamCollector as __StreamCollector,
@@ -105,7 +102,6 @@ export interface ClientDefaults
105
102
  retryMode?: string | __Provider<string>;
106
103
  logger?: __Logger;
107
104
  extensions?: RuntimeExtension[];
108
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
109
105
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
110
106
  }
111
107
  export type KeyspacesStreamsClientConfigType = Partial<
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { KeyspacesStreamsExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./pagination";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
@@ -27,8 +27,16 @@ export declare const getRuntimeConfig: (
27
27
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
28
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
29
29
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
30
- apiVersion: string;
31
30
  cacheMiddleware?: boolean | undefined;
31
+ protocol:
32
+ | import("@smithy/types").ClientProtocol<any, any>
33
+ | import("@smithy/types").ClientProtocolCtor<any, any>
34
+ | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
35
+ protocolSettings: {
36
+ defaultNamespace?: string;
37
+ [setting: string]: unknown;
38
+ };
39
+ apiVersion: string;
32
40
  urlParser: import("@smithy/types").UrlParser;
33
41
  base64Decoder: import("@smithy/types").Decoder;
34
42
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (
39
47
  profile?: string;
40
48
  logger: import("@smithy/types").Logger;
41
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
- protocol: import("@smithy/types").ClientProtocol<
43
- import("@smithy/types").HttpRequest,
44
- import("@smithy/types").HttpResponse
45
- >;
46
50
  customUserAgent?: string | import("@smithy/types").UserAgent;
47
51
  userAgentAppId?:
48
52
  | string
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
29
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
31
- apiVersion: string;
32
31
  cacheMiddleware?: boolean | undefined;
32
+ protocol:
33
+ | import("@smithy/types").ClientProtocol<any, any>
34
+ | import("@smithy/types").ClientProtocolCtor<any, any>
35
+ | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
36
+ protocolSettings: {
37
+ defaultNamespace?: string;
38
+ [setting: string]: unknown;
39
+ };
40
+ apiVersion: string;
33
41
  urlParser: import("@smithy/types").UrlParser;
34
42
  base64Decoder: import("@smithy/types").Decoder;
35
43
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,10 +48,6 @@ export declare const getRuntimeConfig: (
40
48
  profile?: string;
41
49
  logger: import("@smithy/types").Logger;
42
50
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
- protocol: import("@smithy/types").ClientProtocol<
44
- import("@smithy/types").HttpRequest,
45
- import("@smithy/types").HttpResponse
46
- >;
47
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
48
52
  retryStrategy?:
49
53
  | import("@smithy/types").RetryStrategy
@@ -10,8 +10,16 @@ export declare const getRuntimeConfig: (
10
10
  | Record<string, unknown>
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
- apiVersion: string;
14
13
  cacheMiddleware?: boolean;
14
+ protocol:
15
+ | import("@smithy/types").ClientProtocol<any, any>
16
+ | import("@smithy/types").ClientProtocolCtor<any, any>
17
+ | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
18
+ protocolSettings: {
19
+ defaultNamespace?: string;
20
+ [setting: string]: unknown;
21
+ };
22
+ apiVersion: string;
15
23
  urlParser: import("@smithy/types").UrlParser;
16
24
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
17
25
  streamCollector: import("@smithy/types").StreamCollector;
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (
38
46
  retryMode: string | import("@smithy/types").Provider<string>;
39
47
  logger: import("@smithy/types").Logger;
40
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- protocol: import("@smithy/types").ClientProtocol<
42
- import("@smithy/types").HttpRequest,
43
- import("@smithy/types").HttpResponse
44
- >;
45
49
  defaultsMode:
46
50
  | import("@smithy/smithy-client").DefaultsMode
47
51
  | import("@smithy/types").Provider<
@@ -1,3 +1,4 @@
1
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
1
2
  import { KeyspacesStreamsClientConfig } from "./KeyspacesStreamsClient";
2
3
  export declare const getRuntimeConfig: (
3
4
  config: KeyspacesStreamsClientConfig
@@ -16,10 +17,14 @@ export declare const getRuntimeConfig: (
16
17
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KeyspacesStreamsHttpAuthSchemeProvider;
17
18
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
18
19
  logger: import("@smithy/types").Logger;
19
- protocol: import("@smithy/types").ClientProtocol<
20
- import("@smithy/types").HttpRequest,
21
- import("@smithy/types").HttpResponse
22
- >;
20
+ protocol:
21
+ | import("@smithy/types").ClientProtocol<any, any>
22
+ | import("@smithy/types").ClientProtocolCtor<any, any>
23
+ | typeof AwsJson1_0Protocol;
24
+ protocolSettings: {
25
+ [setting: string]: unknown;
26
+ defaultNamespace?: string;
27
+ };
23
28
  serviceId: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,44 +1,33 @@
1
1
  import {
2
2
  StaticErrorSchema,
3
- StaticListSchema,
4
- StaticMapSchema,
5
3
  StaticOperationSchema,
6
4
  StaticStructureSchema,
7
5
  } from "@smithy/types";
8
- export declare var AccessDeniedException: StaticErrorSchema;
9
- export declare var GetRecordsInput: StaticStructureSchema;
10
- export declare var GetRecordsOutput: StaticStructureSchema;
11
- export declare var GetShardIteratorInput: StaticStructureSchema;
12
- export declare var GetShardIteratorOutput: StaticStructureSchema;
13
- export declare var GetStreamInput: StaticStructureSchema;
14
- export declare var GetStreamOutput: StaticStructureSchema;
15
- export declare var InternalServerException: StaticErrorSchema;
16
- export declare var KeyspacesCell: StaticStructureSchema;
17
- export declare var KeyspacesCellMapDefinition: StaticStructureSchema;
18
- export declare var KeyspacesMetadata: StaticStructureSchema;
19
- export declare var KeyspacesRow: StaticStructureSchema;
20
- export declare var ListStreamsInput: StaticStructureSchema;
21
- export declare var ListStreamsOutput: StaticStructureSchema;
22
- export declare var _Record: StaticStructureSchema;
23
- export declare var ResourceNotFoundException: StaticErrorSchema;
24
- export declare var SequenceNumberRange: StaticStructureSchema;
25
- export declare var Shard: StaticStructureSchema;
26
- export declare var ShardFilter: StaticStructureSchema;
27
- export declare var _Stream: StaticStructureSchema;
28
- export declare var ThrottlingException: StaticErrorSchema;
29
- export declare var ValidationException: StaticErrorSchema;
30
- export declare var KeyspacesStreamsServiceException: StaticErrorSchema;
31
- export declare var KeyspacesCellList: StaticListSchema;
32
- export declare var KeyspacesCellMap: StaticListSchema;
33
- export declare var RecordList: StaticListSchema;
34
- export declare var ShardDescriptionList: StaticListSchema;
35
- export declare var ShardIdList: number;
36
- export declare var StreamList: StaticListSchema;
37
- export declare var KeyspacesCells: StaticMapSchema;
38
- export declare var KeyspacesKeysMap: StaticMapSchema;
39
- export declare var KeyspacesUdtMap: StaticMapSchema;
40
- export declare var KeyspacesCellValue: StaticStructureSchema;
41
- export declare var GetRecords: StaticOperationSchema;
42
- export declare var GetShardIterator: StaticOperationSchema;
43
- export declare var GetStream: StaticOperationSchema;
44
- export declare var ListStreams: StaticOperationSchema;
6
+ export declare var AccessDeniedException$: StaticErrorSchema;
7
+ export declare var GetRecordsInput$: StaticStructureSchema;
8
+ export declare var GetRecordsOutput$: StaticStructureSchema;
9
+ export declare var GetShardIteratorInput$: StaticStructureSchema;
10
+ export declare var GetShardIteratorOutput$: StaticStructureSchema;
11
+ export declare var GetStreamInput$: StaticStructureSchema;
12
+ export declare var GetStreamOutput$: StaticStructureSchema;
13
+ export declare var InternalServerException$: StaticErrorSchema;
14
+ export declare var KeyspacesCell$: StaticStructureSchema;
15
+ export declare var KeyspacesCellMapDefinition$: StaticStructureSchema;
16
+ export declare var KeyspacesMetadata$: StaticStructureSchema;
17
+ export declare var KeyspacesRow$: StaticStructureSchema;
18
+ export declare var ListStreamsInput$: StaticStructureSchema;
19
+ export declare var ListStreamsOutput$: StaticStructureSchema;
20
+ export declare var _Record$: StaticStructureSchema;
21
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
22
+ export declare var SequenceNumberRange$: StaticStructureSchema;
23
+ export declare var Shard$: StaticStructureSchema;
24
+ export declare var ShardFilter$: StaticStructureSchema;
25
+ export declare var _Stream$: StaticStructureSchema;
26
+ export declare var ThrottlingException$: StaticErrorSchema;
27
+ export declare var ValidationException$: StaticErrorSchema;
28
+ export declare var KeyspacesStreamsServiceException$: StaticErrorSchema;
29
+ export declare var KeyspacesCellValue$: StaticStructureSchema;
30
+ export declare var GetRecords$: StaticOperationSchema;
31
+ export declare var GetShardIterator$: StaticOperationSchema;
32
+ export declare var GetStream$: StaticOperationSchema;
33
+ export declare var ListStreams$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,9 +1,9 @@
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.948.0",
4
+ "version": "3.953.0",
5
5
  "scripts": {
6
- "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-keyspacesstreams",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
@@ -21,41 +21,41 @@
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.947.0",
25
- "@aws-sdk/credential-provider-node": "3.948.0",
26
- "@aws-sdk/middleware-host-header": "3.936.0",
27
- "@aws-sdk/middleware-logger": "3.936.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.948.0",
29
- "@aws-sdk/middleware-user-agent": "3.947.0",
30
- "@aws-sdk/region-config-resolver": "3.936.0",
31
- "@aws-sdk/types": "3.936.0",
32
- "@aws-sdk/util-endpoints": "3.936.0",
33
- "@aws-sdk/util-user-agent-browser": "3.936.0",
34
- "@aws-sdk/util-user-agent-node": "3.947.0",
35
- "@smithy/config-resolver": "^4.4.3",
36
- "@smithy/core": "^3.18.7",
37
- "@smithy/fetch-http-handler": "^5.3.6",
38
- "@smithy/hash-node": "^4.2.5",
39
- "@smithy/invalid-dependency": "^4.2.5",
40
- "@smithy/middleware-content-length": "^4.2.5",
41
- "@smithy/middleware-endpoint": "^4.3.14",
42
- "@smithy/middleware-retry": "^4.4.14",
43
- "@smithy/middleware-serde": "^4.2.6",
44
- "@smithy/middleware-stack": "^4.2.5",
45
- "@smithy/node-config-provider": "^4.3.5",
46
- "@smithy/node-http-handler": "^4.4.5",
47
- "@smithy/protocol-http": "^5.3.5",
48
- "@smithy/smithy-client": "^4.9.10",
49
- "@smithy/types": "^4.9.0",
50
- "@smithy/url-parser": "^4.2.5",
24
+ "@aws-sdk/core": "3.953.0",
25
+ "@aws-sdk/credential-provider-node": "3.953.0",
26
+ "@aws-sdk/middleware-host-header": "3.953.0",
27
+ "@aws-sdk/middleware-logger": "3.953.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.953.0",
29
+ "@aws-sdk/middleware-user-agent": "3.953.0",
30
+ "@aws-sdk/region-config-resolver": "3.953.0",
31
+ "@aws-sdk/types": "3.953.0",
32
+ "@aws-sdk/util-endpoints": "3.953.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.953.0",
34
+ "@aws-sdk/util-user-agent-node": "3.953.0",
35
+ "@smithy/config-resolver": "^4.4.4",
36
+ "@smithy/core": "^3.19.0",
37
+ "@smithy/fetch-http-handler": "^5.3.7",
38
+ "@smithy/hash-node": "^4.2.6",
39
+ "@smithy/invalid-dependency": "^4.2.6",
40
+ "@smithy/middleware-content-length": "^4.2.6",
41
+ "@smithy/middleware-endpoint": "^4.3.15",
42
+ "@smithy/middleware-retry": "^4.4.15",
43
+ "@smithy/middleware-serde": "^4.2.7",
44
+ "@smithy/middleware-stack": "^4.2.6",
45
+ "@smithy/node-config-provider": "^4.3.6",
46
+ "@smithy/node-http-handler": "^4.4.6",
47
+ "@smithy/protocol-http": "^5.3.6",
48
+ "@smithy/smithy-client": "^4.10.0",
49
+ "@smithy/types": "^4.10.0",
50
+ "@smithy/url-parser": "^4.2.6",
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.13",
55
- "@smithy/util-defaults-mode-node": "^4.2.16",
56
- "@smithy/util-endpoints": "^3.2.5",
57
- "@smithy/util-middleware": "^4.2.5",
58
- "@smithy/util-retry": "^4.2.5",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.14",
55
+ "@smithy/util-defaults-mode-node": "^4.2.17",
56
+ "@smithy/util-endpoints": "^3.2.6",
57
+ "@smithy/util-middleware": "^4.2.6",
58
+ "@smithy/util-retry": "^4.2.6",
59
59
  "@smithy/util-utf8": "^4.2.0",
60
60
  "tslib": "^2.6.2"
61
61
  },