@aws-sdk/client-dynamodb-streams 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
@@ -110,14 +110,14 @@ class DynamoDBStreamsClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let DynamoDBStreamsServiceException$1 = class DynamoDBStreamsServiceException extends smithyClient.ServiceException {
113
+ class DynamoDBStreamsServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, DynamoDBStreamsServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let InternalServerError$1 = class InternalServerError extends DynamoDBStreamsServiceException$1 {
120
+ class InternalServerError extends DynamoDBStreamsServiceException {
121
121
  name = "InternalServerError";
122
122
  $fault = "server";
123
123
  constructor(opts) {
@@ -128,8 +128,8 @@ let InternalServerError$1 = class InternalServerError extends DynamoDBStreamsSer
128
128
  });
129
129
  Object.setPrototypeOf(this, InternalServerError.prototype);
130
130
  }
131
- };
132
- let ResourceNotFoundException$1 = class ResourceNotFoundException extends DynamoDBStreamsServiceException$1 {
131
+ }
132
+ class ResourceNotFoundException extends DynamoDBStreamsServiceException {
133
133
  name = "ResourceNotFoundException";
134
134
  $fault = "client";
135
135
  constructor(opts) {
@@ -140,8 +140,8 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Dynamo
140
140
  });
141
141
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
142
142
  }
143
- };
144
- let ExpiredIteratorException$1 = class ExpiredIteratorException extends DynamoDBStreamsServiceException$1 {
143
+ }
144
+ class ExpiredIteratorException extends DynamoDBStreamsServiceException {
145
145
  name = "ExpiredIteratorException";
146
146
  $fault = "client";
147
147
  constructor(opts) {
@@ -152,8 +152,8 @@ let ExpiredIteratorException$1 = class ExpiredIteratorException extends DynamoDB
152
152
  });
153
153
  Object.setPrototypeOf(this, ExpiredIteratorException.prototype);
154
154
  }
155
- };
156
- let LimitExceededException$1 = class LimitExceededException extends DynamoDBStreamsServiceException$1 {
155
+ }
156
+ class LimitExceededException extends DynamoDBStreamsServiceException {
157
157
  name = "LimitExceededException";
158
158
  $fault = "client";
159
159
  constructor(opts) {
@@ -164,8 +164,8 @@ let LimitExceededException$1 = class LimitExceededException extends DynamoDBStre
164
164
  });
165
165
  Object.setPrototypeOf(this, LimitExceededException.prototype);
166
166
  }
167
- };
168
- let TrimmedDataAccessException$1 = class TrimmedDataAccessException extends DynamoDBStreamsServiceException$1 {
167
+ }
168
+ class TrimmedDataAccessException extends DynamoDBStreamsServiceException {
169
169
  name = "TrimmedDataAccessException";
170
170
  $fault = "client";
171
171
  constructor(opts) {
@@ -176,7 +176,7 @@ let TrimmedDataAccessException$1 = class TrimmedDataAccessException extends Dyna
176
176
  });
177
177
  Object.setPrototypeOf(this, TrimmedDataAccessException.prototype);
178
178
  }
179
- };
179
+ }
180
180
 
181
181
  const _ACDT = "ApproximateCreationDateTime";
182
182
  const _AM = "AttributeMap";
@@ -266,44 +266,44 @@ const _s = "server";
266
266
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.dynamodbstreams";
267
267
  const _uI = "userIdentity";
268
268
  const n0 = "com.amazonaws.dynamodbstreams";
269
- var DescribeStreamInput = [
269
+ var DescribeStreamInput$ = [
270
270
  3,
271
271
  n0,
272
272
  _DSI,
273
273
  0,
274
274
  [_SA, _L, _ESSI, _SF],
275
- [0, 1, 0, () => ShardFilter],
275
+ [0, 1, 0, () => ShardFilter$],
276
276
  ];
277
- var DescribeStreamOutput = [3, n0, _DSO, 0, [_SD], [() => StreamDescription]];
278
- var ExpiredIteratorException = [-3, n0, _EIE, { [_e]: _c }, [_m], [0]];
279
- schema.TypeRegistry.for(n0).registerError(ExpiredIteratorException, ExpiredIteratorException$1);
280
- var GetRecordsInput = [3, n0, _GRI, 0, [_SI, _L], [0, 1]];
281
- var GetRecordsOutput = [3, n0, _GRO, 0, [_R, _NSI], [() => RecordList, 0]];
282
- var GetShardIteratorInput = [3, n0, _GSII, 0, [_SA, _SIh, _SIT, _SN], [0, 0, 0, 0]];
283
- var GetShardIteratorOutput = [3, n0, _GSIO, 0, [_SI], [0]];
284
- var Identity = [3, n0, _I, 0, [_PI, _T], [0, 0]];
285
- var InternalServerError = [-3, n0, _ISE, { [_e]: _s }, [_m], [0]];
286
- schema.TypeRegistry.for(n0).registerError(InternalServerError, InternalServerError$1);
287
- var KeySchemaElement = [3, n0, _KSE, 0, [_AN, _KT], [0, 0]];
288
- var LimitExceededException = [-3, n0, _LEE, { [_e]: _c }, [_m], [0]];
289
- schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
290
- var ListStreamsInput = [3, n0, _LSI, 0, [_TN, _L, _ESSA], [0, 1, 0]];
291
- var ListStreamsOutput = [3, n0, _LSO, 0, [_S, _LESA], [() => StreamList, 0]];
292
- var _Record = [
277
+ var DescribeStreamOutput$ = [3, n0, _DSO, 0, [_SD], [() => StreamDescription$]];
278
+ var ExpiredIteratorException$ = [-3, n0, _EIE, { [_e]: _c }, [_m], [0]];
279
+ schema.TypeRegistry.for(n0).registerError(ExpiredIteratorException$, ExpiredIteratorException);
280
+ var GetRecordsInput$ = [3, n0, _GRI, 0, [_SI, _L], [0, 1]];
281
+ var GetRecordsOutput$ = [3, n0, _GRO, 0, [_R, _NSI], [() => RecordList, 0]];
282
+ var GetShardIteratorInput$ = [3, n0, _GSII, 0, [_SA, _SIh, _SIT, _SN], [0, 0, 0, 0]];
283
+ var GetShardIteratorOutput$ = [3, n0, _GSIO, 0, [_SI], [0]];
284
+ var Identity$ = [3, n0, _I, 0, [_PI, _T], [0, 0]];
285
+ var InternalServerError$ = [-3, n0, _ISE, { [_e]: _s }, [_m], [0]];
286
+ schema.TypeRegistry.for(n0).registerError(InternalServerError$, InternalServerError);
287
+ var KeySchemaElement$ = [3, n0, _KSE, 0, [_AN, _KT], [0, 0]];
288
+ var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c }, [_m], [0]];
289
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
290
+ var ListStreamsInput$ = [3, n0, _LSI, 0, [_TN, _L, _ESSA], [0, 1, 0]];
291
+ var ListStreamsOutput$ = [3, n0, _LSO, 0, [_S, _LESA], [() => StreamList, 0]];
292
+ var _Record$ = [
293
293
  3,
294
294
  n0,
295
295
  _Re,
296
296
  0,
297
297
  [_eID, _eN, _eV, _eS, _aR, _d, _uI],
298
- [0, 0, 0, 0, 0, () => StreamRecord, () => Identity],
298
+ [0, 0, 0, 0, 0, () => StreamRecord$, () => Identity$],
299
299
  ];
300
- var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c }, [_m], [0]];
301
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
302
- var SequenceNumberRange = [3, n0, _SNR, 0, [_SSN, _ESN], [0, 0]];
303
- var Shard = [3, n0, _Sh, 0, [_SIh, _SNR, _PSI], [0, () => SequenceNumberRange, 0]];
304
- var ShardFilter = [3, n0, _SF, 0, [_T, _SIh], [0, 0]];
305
- var _Stream = [3, n0, _St, 0, [_SA, _TN, _SL], [0, 0, 0]];
306
- var StreamDescription = [
300
+ var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c }, [_m], [0]];
301
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
302
+ var SequenceNumberRange$ = [3, n0, _SNR, 0, [_SSN, _ESN], [0, 0]];
303
+ var Shard$ = [3, n0, _Sh, 0, [_SIh, _SNR, _PSI], [0, () => SequenceNumberRange$, 0]];
304
+ var ShardFilter$ = [3, n0, _SF, 0, [_T, _SIh], [0, 0]];
305
+ var _Stream$ = [3, n0, _St, 0, [_SA, _TN, _SL], [0, 0, 0]];
306
+ var StreamDescription$ = [
307
307
  3,
308
308
  n0,
309
309
  _SD,
@@ -311,7 +311,7 @@ var StreamDescription = [
311
311
  [_SA, _SL, _SS, _SVT, _CRDT, _TN, _KS, _Sha, _LESI],
312
312
  [0, 0, 0, 0, 4, 0, () => KeySchema, () => ShardDescriptionList, 0],
313
313
  ];
314
- var StreamRecord = [
314
+ var StreamRecord$ = [
315
315
  3,
316
316
  n0,
317
317
  _SR,
@@ -319,18 +319,25 @@ var StreamRecord = [
319
319
  [_ACDT, _K, _NI, _OI, _SN, _SB, _SVT],
320
320
  [4, () => AttributeMap, () => AttributeMap, () => AttributeMap, 0, 1, 0],
321
321
  ];
322
- var TrimmedDataAccessException = [-3, n0, _TDAE, { [_e]: _c }, [_m], [0]];
323
- schema.TypeRegistry.for(n0).registerError(TrimmedDataAccessException, TrimmedDataAccessException$1);
324
- var DynamoDBStreamsServiceException = [-3, _sm, "DynamoDBStreamsServiceException", 0, [], []];
325
- schema.TypeRegistry.for(_sm).registerError(DynamoDBStreamsServiceException, DynamoDBStreamsServiceException$1);
326
- var KeySchema = [1, n0, _KS, 0, () => KeySchemaElement];
327
- var ListAttributeValue = [1, n0, _LAV, 0, () => AttributeValue];
328
- var RecordList = [1, n0, _RL, 0, () => _Record];
329
- var ShardDescriptionList = [1, n0, _SDL, 0, () => Shard];
330
- var StreamList = [1, n0, _SLt, 0, () => _Stream];
331
- var AttributeMap = [2, n0, _AM, 0, 0, () => AttributeValue];
332
- var MapAttributeValue = [2, n0, _MAV, 0, 0, () => AttributeValue];
333
- var AttributeValue = [
322
+ var TrimmedDataAccessException$ = [-3, n0, _TDAE, { [_e]: _c }, [_m], [0]];
323
+ schema.TypeRegistry.for(n0).registerError(TrimmedDataAccessException$, TrimmedDataAccessException);
324
+ var DynamoDBStreamsServiceException$ = [
325
+ -3,
326
+ _sm,
327
+ "DynamoDBStreamsServiceException",
328
+ 0,
329
+ [],
330
+ [],
331
+ ];
332
+ schema.TypeRegistry.for(_sm).registerError(DynamoDBStreamsServiceException$, DynamoDBStreamsServiceException);
333
+ var KeySchema = [1, n0, _KS, 0, () => KeySchemaElement$];
334
+ var ListAttributeValue = [1, n0, _LAV, 0, () => AttributeValue$];
335
+ var RecordList = [1, n0, _RL, 0, () => _Record$];
336
+ var ShardDescriptionList = [1, n0, _SDL, 0, () => Shard$];
337
+ var StreamList = [1, n0, _SLt, 0, () => _Stream$];
338
+ var AttributeMap = [2, n0, _AM, 0, 0, () => AttributeValue$];
339
+ var MapAttributeValue = [2, n0, _MAV, 0, 0, () => AttributeValue$];
340
+ var AttributeValue$ = [
334
341
  3,
335
342
  n0,
336
343
  _AV,
@@ -338,24 +345,24 @@ var AttributeValue = [
338
345
  [_S_, _N, _B, _SS_, _NS, _BS, _M, _L_, _NULL, _BOOL],
339
346
  [0, 0, 21, 64 | 0, 64 | 0, 64 | 21, () => MapAttributeValue, () => ListAttributeValue, 2, 2],
340
347
  ];
341
- var DescribeStream = [
348
+ var DescribeStream$ = [
342
349
  9,
343
350
  n0,
344
351
  _DS,
345
352
  0,
346
- () => DescribeStreamInput,
347
- () => DescribeStreamOutput,
353
+ () => DescribeStreamInput$,
354
+ () => DescribeStreamOutput$,
348
355
  ];
349
- var GetRecords = [9, n0, _GR, 0, () => GetRecordsInput, () => GetRecordsOutput];
350
- var GetShardIterator = [
356
+ var GetRecords$ = [9, n0, _GR, 0, () => GetRecordsInput$, () => GetRecordsOutput$];
357
+ var GetShardIterator$ = [
351
358
  9,
352
359
  n0,
353
360
  _GSI,
354
361
  0,
355
- () => GetShardIteratorInput,
356
- () => GetShardIteratorOutput,
362
+ () => GetShardIteratorInput$,
363
+ () => GetShardIteratorOutput$,
357
364
  ];
358
- var ListStreams = [9, n0, _LS, 0, () => ListStreamsInput, () => ListStreamsOutput];
365
+ var ListStreams$ = [9, n0, _LS, 0, () => ListStreamsInput$, () => ListStreamsOutput$];
359
366
 
360
367
  class DescribeStreamCommand extends smithyClient.Command
361
368
  .classBuilder()
@@ -365,7 +372,7 @@ class DescribeStreamCommand extends smithyClient.Command
365
372
  })
366
373
  .s("DynamoDBStreams_20120810", "DescribeStream", {})
367
374
  .n("DynamoDBStreamsClient", "DescribeStreamCommand")
368
- .sc(DescribeStream)
375
+ .sc(DescribeStream$)
369
376
  .build() {
370
377
  }
371
378
 
@@ -377,7 +384,7 @@ class GetRecordsCommand extends smithyClient.Command
377
384
  })
378
385
  .s("DynamoDBStreams_20120810", "GetRecords", {})
379
386
  .n("DynamoDBStreamsClient", "GetRecordsCommand")
380
- .sc(GetRecords)
387
+ .sc(GetRecords$)
381
388
  .build() {
382
389
  }
383
390
 
@@ -389,7 +396,7 @@ class GetShardIteratorCommand extends smithyClient.Command
389
396
  })
390
397
  .s("DynamoDBStreams_20120810", "GetShardIterator", {})
391
398
  .n("DynamoDBStreamsClient", "GetShardIteratorCommand")
392
- .sc(GetShardIterator)
399
+ .sc(GetShardIterator$)
393
400
  .build() {
394
401
  }
395
402
 
@@ -401,7 +408,7 @@ class ListStreamsCommand extends smithyClient.Command
401
408
  })
402
409
  .s("DynamoDBStreams_20120810", "ListStreams", {})
403
410
  .n("DynamoDBStreamsClient", "ListStreamsCommand")
404
- .sc(ListStreams)
411
+ .sc(ListStreams$)
405
412
  .build() {
406
413
  }
407
414
 
@@ -454,21 +461,49 @@ Object.defineProperty(exports, "__Client", {
454
461
  enumerable: true,
455
462
  get: function () { return smithyClient.Client; }
456
463
  });
464
+ exports.AttributeValue$ = AttributeValue$;
465
+ exports.DescribeStream$ = DescribeStream$;
457
466
  exports.DescribeStreamCommand = DescribeStreamCommand;
467
+ exports.DescribeStreamInput$ = DescribeStreamInput$;
468
+ exports.DescribeStreamOutput$ = DescribeStreamOutput$;
458
469
  exports.DynamoDBStreams = DynamoDBStreams;
459
470
  exports.DynamoDBStreamsClient = DynamoDBStreamsClient;
460
- exports.DynamoDBStreamsServiceException = DynamoDBStreamsServiceException$1;
461
- exports.ExpiredIteratorException = ExpiredIteratorException$1;
471
+ exports.DynamoDBStreamsServiceException = DynamoDBStreamsServiceException;
472
+ exports.DynamoDBStreamsServiceException$ = DynamoDBStreamsServiceException$;
473
+ exports.ExpiredIteratorException = ExpiredIteratorException;
474
+ exports.ExpiredIteratorException$ = ExpiredIteratorException$;
475
+ exports.GetRecords$ = GetRecords$;
462
476
  exports.GetRecordsCommand = GetRecordsCommand;
477
+ exports.GetRecordsInput$ = GetRecordsInput$;
478
+ exports.GetRecordsOutput$ = GetRecordsOutput$;
479
+ exports.GetShardIterator$ = GetShardIterator$;
463
480
  exports.GetShardIteratorCommand = GetShardIteratorCommand;
464
- exports.InternalServerError = InternalServerError$1;
481
+ exports.GetShardIteratorInput$ = GetShardIteratorInput$;
482
+ exports.GetShardIteratorOutput$ = GetShardIteratorOutput$;
483
+ exports.Identity$ = Identity$;
484
+ exports.InternalServerError = InternalServerError;
485
+ exports.InternalServerError$ = InternalServerError$;
486
+ exports.KeySchemaElement$ = KeySchemaElement$;
465
487
  exports.KeyType = KeyType;
466
- exports.LimitExceededException = LimitExceededException$1;
488
+ exports.LimitExceededException = LimitExceededException;
489
+ exports.LimitExceededException$ = LimitExceededException$;
490
+ exports.ListStreams$ = ListStreams$;
467
491
  exports.ListStreamsCommand = ListStreamsCommand;
492
+ exports.ListStreamsInput$ = ListStreamsInput$;
493
+ exports.ListStreamsOutput$ = ListStreamsOutput$;
468
494
  exports.OperationType = OperationType;
469
- exports.ResourceNotFoundException = ResourceNotFoundException$1;
495
+ exports.ResourceNotFoundException = ResourceNotFoundException;
496
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
497
+ exports.SequenceNumberRange$ = SequenceNumberRange$;
498
+ exports.Shard$ = Shard$;
499
+ exports.ShardFilter$ = ShardFilter$;
470
500
  exports.ShardFilterType = ShardFilterType;
471
501
  exports.ShardIteratorType = ShardIteratorType;
502
+ exports.StreamDescription$ = StreamDescription$;
503
+ exports.StreamRecord$ = StreamRecord$;
472
504
  exports.StreamStatus = StreamStatus;
473
505
  exports.StreamViewType = StreamViewType;
474
- exports.TrimmedDataAccessException = TrimmedDataAccessException$1;
506
+ exports.TrimmedDataAccessException = TrimmedDataAccessException;
507
+ exports.TrimmedDataAccessException$ = TrimmedDataAccessException$;
508
+ exports._Record$ = _Record$;
509
+ exports._Stream$ = _Stream$;
@@ -26,12 +26,13 @@ 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.dynamodbstreams",
32
- serviceTarget: "DynamoDBStreams_20120810",
33
- awsQueryCompatible: false,
34
- }),
29
+ protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.dynamodbstreams",
32
+ xmlNamespace: "http://dynamodb.amazonaws.com/doc/2012-08-10/",
33
+ version: "2012-08-10",
34
+ serviceTarget: "DynamoDBStreams_20120810",
35
+ },
35
36
  serviceId: config?.serviceId ?? "DynamoDB Streams",
36
37
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
37
38
  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 { DescribeStream } from "../schemas/schemas_0";
4
+ import { DescribeStream$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeStreamCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeStreamCommand extends $Command
11
11
  })
12
12
  .s("DynamoDBStreams_20120810", "DescribeStream", {})
13
13
  .n("DynamoDBStreamsClient", "DescribeStreamCommand")
14
- .sc(DescribeStream)
14
+ .sc(DescribeStream$)
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 { 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("DynamoDBStreams_20120810", "GetRecords", {})
13
13
  .n("DynamoDBStreamsClient", "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("DynamoDBStreams_20120810", "GetShardIterator", {})
13
13
  .n("DynamoDBStreamsClient", "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 { 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("DynamoDBStreams_20120810", "ListStreams", {})
13
13
  .n("DynamoDBStreamsClient", "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 "./DynamoDBStreamsClient";
2
2
  export * from "./DynamoDBStreams";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { DynamoDBStreamsServiceException } from "./models/DynamoDBStreamsServiceException";
@@ -23,12 +23,13 @@ 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.dynamodbstreams",
29
- serviceTarget: "DynamoDBStreams_20120810",
30
- awsQueryCompatible: false,
31
- }),
26
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.dynamodbstreams",
29
+ xmlNamespace: "http://dynamodb.amazonaws.com/doc/2012-08-10/",
30
+ version: "2012-08-10",
31
+ serviceTarget: "DynamoDBStreams_20120810",
32
+ },
32
33
  serviceId: config?.serviceId ?? "DynamoDB Streams",
33
34
  urlParser: config?.urlParser ?? parseUrl,
34
35
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -87,46 +87,46 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.dynamodbstreams";
87
87
  const _uI = "userIdentity";
88
88
  const n0 = "com.amazonaws.dynamodbstreams";
89
89
  import { TypeRegistry } from "@smithy/core/schema";
90
- import { DynamoDBStreamsServiceException as __DynamoDBStreamsServiceException } from "../models/DynamoDBStreamsServiceException";
91
- import { ExpiredIteratorException as __ExpiredIteratorException, InternalServerError as __InternalServerError, LimitExceededException as __LimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, TrimmedDataAccessException as __TrimmedDataAccessException, } from "../models/errors";
92
- export var DescribeStreamInput = [
90
+ import { DynamoDBStreamsServiceException } from "../models/DynamoDBStreamsServiceException";
91
+ import { ExpiredIteratorException, InternalServerError, LimitExceededException, ResourceNotFoundException, TrimmedDataAccessException, } from "../models/errors";
92
+ export var DescribeStreamInput$ = [
93
93
  3,
94
94
  n0,
95
95
  _DSI,
96
96
  0,
97
97
  [_SA, _L, _ESSI, _SF],
98
- [0, 1, 0, () => ShardFilter],
98
+ [0, 1, 0, () => ShardFilter$],
99
99
  ];
100
- export var DescribeStreamOutput = [3, n0, _DSO, 0, [_SD], [() => StreamDescription]];
101
- export var ExpiredIteratorException = [-3, n0, _EIE, { [_e]: _c }, [_m], [0]];
102
- TypeRegistry.for(n0).registerError(ExpiredIteratorException, __ExpiredIteratorException);
103
- export var GetRecordsInput = [3, n0, _GRI, 0, [_SI, _L], [0, 1]];
104
- export var GetRecordsOutput = [3, n0, _GRO, 0, [_R, _NSI], [() => RecordList, 0]];
105
- export var GetShardIteratorInput = [3, n0, _GSII, 0, [_SA, _SIh, _SIT, _SN], [0, 0, 0, 0]];
106
- export var GetShardIteratorOutput = [3, n0, _GSIO, 0, [_SI], [0]];
107
- export var Identity = [3, n0, _I, 0, [_PI, _T], [0, 0]];
108
- export var InternalServerError = [-3, n0, _ISE, { [_e]: _s }, [_m], [0]];
109
- TypeRegistry.for(n0).registerError(InternalServerError, __InternalServerError);
110
- export var KeySchemaElement = [3, n0, _KSE, 0, [_AN, _KT], [0, 0]];
111
- export var LimitExceededException = [-3, n0, _LEE, { [_e]: _c }, [_m], [0]];
112
- TypeRegistry.for(n0).registerError(LimitExceededException, __LimitExceededException);
113
- export var ListStreamsInput = [3, n0, _LSI, 0, [_TN, _L, _ESSA], [0, 1, 0]];
114
- export var ListStreamsOutput = [3, n0, _LSO, 0, [_S, _LESA], [() => StreamList, 0]];
115
- export var _Record = [
100
+ export var DescribeStreamOutput$ = [3, n0, _DSO, 0, [_SD], [() => StreamDescription$]];
101
+ export var ExpiredIteratorException$ = [-3, n0, _EIE, { [_e]: _c }, [_m], [0]];
102
+ TypeRegistry.for(n0).registerError(ExpiredIteratorException$, ExpiredIteratorException);
103
+ export var GetRecordsInput$ = [3, n0, _GRI, 0, [_SI, _L], [0, 1]];
104
+ export var GetRecordsOutput$ = [3, n0, _GRO, 0, [_R, _NSI], [() => RecordList, 0]];
105
+ export var GetShardIteratorInput$ = [3, n0, _GSII, 0, [_SA, _SIh, _SIT, _SN], [0, 0, 0, 0]];
106
+ export var GetShardIteratorOutput$ = [3, n0, _GSIO, 0, [_SI], [0]];
107
+ export var Identity$ = [3, n0, _I, 0, [_PI, _T], [0, 0]];
108
+ export var InternalServerError$ = [-3, n0, _ISE, { [_e]: _s }, [_m], [0]];
109
+ TypeRegistry.for(n0).registerError(InternalServerError$, InternalServerError);
110
+ export var KeySchemaElement$ = [3, n0, _KSE, 0, [_AN, _KT], [0, 0]];
111
+ export var LimitExceededException$ = [-3, n0, _LEE, { [_e]: _c }, [_m], [0]];
112
+ TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
113
+ export var ListStreamsInput$ = [3, n0, _LSI, 0, [_TN, _L, _ESSA], [0, 1, 0]];
114
+ export var ListStreamsOutput$ = [3, n0, _LSO, 0, [_S, _LESA], [() => StreamList, 0]];
115
+ export var _Record$ = [
116
116
  3,
117
117
  n0,
118
118
  _Re,
119
119
  0,
120
120
  [_eID, _eN, _eV, _eS, _aR, _d, _uI],
121
- [0, 0, 0, 0, 0, () => StreamRecord, () => Identity],
121
+ [0, 0, 0, 0, 0, () => StreamRecord$, () => Identity$],
122
122
  ];
123
- export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c }, [_m], [0]];
124
- TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
125
- export var SequenceNumberRange = [3, n0, _SNR, 0, [_SSN, _ESN], [0, 0]];
126
- export var Shard = [3, n0, _Sh, 0, [_SIh, _SNR, _PSI], [0, () => SequenceNumberRange, 0]];
127
- export var ShardFilter = [3, n0, _SF, 0, [_T, _SIh], [0, 0]];
128
- export var _Stream = [3, n0, _St, 0, [_SA, _TN, _SL], [0, 0, 0]];
129
- export var StreamDescription = [
123
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c }, [_m], [0]];
124
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
125
+ export var SequenceNumberRange$ = [3, n0, _SNR, 0, [_SSN, _ESN], [0, 0]];
126
+ export var Shard$ = [3, n0, _Sh, 0, [_SIh, _SNR, _PSI], [0, () => SequenceNumberRange$, 0]];
127
+ export var ShardFilter$ = [3, n0, _SF, 0, [_T, _SIh], [0, 0]];
128
+ export var _Stream$ = [3, n0, _St, 0, [_SA, _TN, _SL], [0, 0, 0]];
129
+ export var StreamDescription$ = [
130
130
  3,
131
131
  n0,
132
132
  _SD,
@@ -134,7 +134,7 @@ export var StreamDescription = [
134
134
  [_SA, _SL, _SS, _SVT, _CRDT, _TN, _KS, _Sha, _LESI],
135
135
  [0, 0, 0, 0, 4, 0, () => KeySchema, () => ShardDescriptionList, 0],
136
136
  ];
137
- export var StreamRecord = [
137
+ export var StreamRecord$ = [
138
138
  3,
139
139
  n0,
140
140
  _SR,
@@ -142,21 +142,28 @@ export var StreamRecord = [
142
142
  [_ACDT, _K, _NI, _OI, _SN, _SB, _SVT],
143
143
  [4, () => AttributeMap, () => AttributeMap, () => AttributeMap, 0, 1, 0],
144
144
  ];
145
- export var TrimmedDataAccessException = [-3, n0, _TDAE, { [_e]: _c }, [_m], [0]];
146
- TypeRegistry.for(n0).registerError(TrimmedDataAccessException, __TrimmedDataAccessException);
147
- export var DynamoDBStreamsServiceException = [-3, _sm, "DynamoDBStreamsServiceException", 0, [], []];
148
- TypeRegistry.for(_sm).registerError(DynamoDBStreamsServiceException, __DynamoDBStreamsServiceException);
149
- export var BinarySetAttributeValue = 64 | 21;
150
- export var KeySchema = [1, n0, _KS, 0, () => KeySchemaElement];
151
- export var ListAttributeValue = [1, n0, _LAV, 0, () => AttributeValue];
152
- export var NumberSetAttributeValue = 64 | 0;
153
- export var RecordList = [1, n0, _RL, 0, () => _Record];
154
- export var ShardDescriptionList = [1, n0, _SDL, 0, () => Shard];
155
- export var StreamList = [1, n0, _SLt, 0, () => _Stream];
156
- export var StringSetAttributeValue = 64 | 0;
157
- export var AttributeMap = [2, n0, _AM, 0, 0, () => AttributeValue];
158
- export var MapAttributeValue = [2, n0, _MAV, 0, 0, () => AttributeValue];
159
- export var AttributeValue = [
145
+ export var TrimmedDataAccessException$ = [-3, n0, _TDAE, { [_e]: _c }, [_m], [0]];
146
+ TypeRegistry.for(n0).registerError(TrimmedDataAccessException$, TrimmedDataAccessException);
147
+ export var DynamoDBStreamsServiceException$ = [
148
+ -3,
149
+ _sm,
150
+ "DynamoDBStreamsServiceException",
151
+ 0,
152
+ [],
153
+ [],
154
+ ];
155
+ TypeRegistry.for(_sm).registerError(DynamoDBStreamsServiceException$, DynamoDBStreamsServiceException);
156
+ var BinarySetAttributeValue = 64 | 21;
157
+ var KeySchema = [1, n0, _KS, 0, () => KeySchemaElement$];
158
+ var ListAttributeValue = [1, n0, _LAV, 0, () => AttributeValue$];
159
+ var NumberSetAttributeValue = 64 | 0;
160
+ var RecordList = [1, n0, _RL, 0, () => _Record$];
161
+ var ShardDescriptionList = [1, n0, _SDL, 0, () => Shard$];
162
+ var StreamList = [1, n0, _SLt, 0, () => _Stream$];
163
+ var StringSetAttributeValue = 64 | 0;
164
+ var AttributeMap = [2, n0, _AM, 0, 0, () => AttributeValue$];
165
+ var MapAttributeValue = [2, n0, _MAV, 0, 0, () => AttributeValue$];
166
+ export var AttributeValue$ = [
160
167
  3,
161
168
  n0,
162
169
  _AV,
@@ -164,21 +171,21 @@ export var AttributeValue = [
164
171
  [_S_, _N, _B, _SS_, _NS, _BS, _M, _L_, _NULL, _BOOL],
165
172
  [0, 0, 21, 64 | 0, 64 | 0, 64 | 21, () => MapAttributeValue, () => ListAttributeValue, 2, 2],
166
173
  ];
167
- export var DescribeStream = [
174
+ export var DescribeStream$ = [
168
175
  9,
169
176
  n0,
170
177
  _DS,
171
178
  0,
172
- () => DescribeStreamInput,
173
- () => DescribeStreamOutput,
179
+ () => DescribeStreamInput$,
180
+ () => DescribeStreamOutput$,
174
181
  ];
175
- export var GetRecords = [9, n0, _GR, 0, () => GetRecordsInput, () => GetRecordsOutput];
176
- export var GetShardIterator = [
182
+ export var GetRecords$ = [9, n0, _GR, 0, () => GetRecordsInput$, () => GetRecordsOutput$];
183
+ export var GetShardIterator$ = [
177
184
  9,
178
185
  n0,
179
186
  _GSI,
180
187
  0,
181
- () => GetShardIteratorInput,
182
- () => GetShardIteratorOutput,
188
+ () => GetShardIteratorInput$,
189
+ () => GetShardIteratorOutput$,
183
190
  ];
184
- export var ListStreams = [9, n0, _LS, 0, () => ListStreamsInput, () => ListStreamsOutput];
191
+ 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 { DescribeStreamCommandInput, DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
11
11
  import { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
@@ -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
  */
@@ -13,6 +13,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
13
13
  export type { RuntimeExtension } from "./runtimeExtensions";
14
14
  export type { DynamoDBStreamsExtensionConfiguration } from "./extensionConfiguration";
15
15
  export * from "./commands";
16
+ export * from "./schemas/schemas_0";
16
17
  export * from "./models/enums";
17
18
  export * from "./models/errors";
18
19
  export type * from "./models/models_0";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: DynamoDBStreamsClientConfig) =>
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
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: DynamoDBStreamsClientConfig) =>
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: DynamoDBStreamsClientConfig) =>
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: DynamoDBStreamsClientConfig) =>
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: DynamoDBStreamsClientConfig) =>
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: DynamoDBStreamsClientConfig) =>
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 { DynamoDBStreamsClientConfig } from "./DynamoDBStreamsClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: DynamoDBStreamsClientConfig) =>
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBStreamsHttpAuthSchemeProvider;
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,39 +1,29 @@
1
- import type { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var DescribeStreamInput: StaticStructureSchema;
3
- export declare var DescribeStreamOutput: StaticStructureSchema;
4
- export declare var ExpiredIteratorException: StaticErrorSchema;
5
- export declare var GetRecordsInput: StaticStructureSchema;
6
- export declare var GetRecordsOutput: StaticStructureSchema;
7
- export declare var GetShardIteratorInput: StaticStructureSchema;
8
- export declare var GetShardIteratorOutput: StaticStructureSchema;
9
- export declare var Identity: StaticStructureSchema;
10
- export declare var InternalServerError: StaticErrorSchema;
11
- export declare var KeySchemaElement: StaticStructureSchema;
12
- export declare var LimitExceededException: StaticErrorSchema;
13
- export declare var ListStreamsInput: StaticStructureSchema;
14
- export declare var ListStreamsOutput: StaticStructureSchema;
15
- export declare var _Record: StaticStructureSchema;
16
- export declare var ResourceNotFoundException: StaticErrorSchema;
17
- export declare var SequenceNumberRange: StaticStructureSchema;
18
- export declare var Shard: StaticStructureSchema;
19
- export declare var ShardFilter: StaticStructureSchema;
20
- export declare var _Stream: StaticStructureSchema;
21
- export declare var StreamDescription: StaticStructureSchema;
22
- export declare var StreamRecord: StaticStructureSchema;
23
- export declare var TrimmedDataAccessException: StaticErrorSchema;
24
- export declare var DynamoDBStreamsServiceException: StaticErrorSchema;
25
- export declare var BinarySetAttributeValue: number;
26
- export declare var KeySchema: StaticListSchema;
27
- export declare var ListAttributeValue: StaticListSchema;
28
- export declare var NumberSetAttributeValue: number;
29
- export declare var RecordList: StaticListSchema;
30
- export declare var ShardDescriptionList: StaticListSchema;
31
- export declare var StreamList: StaticListSchema;
32
- export declare var StringSetAttributeValue: number;
33
- export declare var AttributeMap: StaticMapSchema;
34
- export declare var MapAttributeValue: StaticMapSchema;
35
- export declare var AttributeValue: StaticStructureSchema;
36
- export declare var DescribeStream: StaticOperationSchema;
37
- export declare var GetRecords: StaticOperationSchema;
38
- export declare var GetShardIterator: StaticOperationSchema;
39
- export declare var ListStreams: StaticOperationSchema;
1
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var DescribeStreamInput$: StaticStructureSchema;
3
+ export declare var DescribeStreamOutput$: StaticStructureSchema;
4
+ export declare var ExpiredIteratorException$: StaticErrorSchema;
5
+ export declare var GetRecordsInput$: StaticStructureSchema;
6
+ export declare var GetRecordsOutput$: StaticStructureSchema;
7
+ export declare var GetShardIteratorInput$: StaticStructureSchema;
8
+ export declare var GetShardIteratorOutput$: StaticStructureSchema;
9
+ export declare var Identity$: StaticStructureSchema;
10
+ export declare var InternalServerError$: StaticErrorSchema;
11
+ export declare var KeySchemaElement$: StaticStructureSchema;
12
+ export declare var LimitExceededException$: StaticErrorSchema;
13
+ export declare var ListStreamsInput$: StaticStructureSchema;
14
+ export declare var ListStreamsOutput$: StaticStructureSchema;
15
+ export declare var _Record$: StaticStructureSchema;
16
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
17
+ export declare var SequenceNumberRange$: StaticStructureSchema;
18
+ export declare var Shard$: StaticStructureSchema;
19
+ export declare var ShardFilter$: StaticStructureSchema;
20
+ export declare var _Stream$: StaticStructureSchema;
21
+ export declare var StreamDescription$: StaticStructureSchema;
22
+ export declare var StreamRecord$: StaticStructureSchema;
23
+ export declare var TrimmedDataAccessException$: StaticErrorSchema;
24
+ export declare var DynamoDBStreamsServiceException$: StaticErrorSchema;
25
+ export declare var AttributeValue$: StaticStructureSchema;
26
+ export declare var DescribeStream$: StaticOperationSchema;
27
+ export declare var GetRecords$: StaticOperationSchema;
28
+ export declare var GetShardIterator$: 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 DynamoDBStreamsClientConfigType = Partial<
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { DynamoDBStreamsExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
@@ -28,8 +28,16 @@ export declare const getRuntimeConfig: (
28
28
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
29
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
30
  (boolean | import("@smithy/types").Provider<boolean | 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
  userAgentAppId?:
49
53
  | 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;
@@ -39,10 +47,6 @@ export declare const getRuntimeConfig: (
39
47
  retryMode: string | import("@smithy/types").Provider<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
  defaultsMode:
47
51
  | import("@smithy/smithy-client").DefaultsMode
48
52
  | import("@smithy/types").Provider<
@@ -1,3 +1,4 @@
1
+ import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
1
2
  import { DynamoDBStreamsClientConfig } from "./DynamoDBStreamsClient";
2
3
  export declare const getRuntimeConfig: (
3
4
  config: DynamoDBStreamsClientConfig
@@ -16,10 +17,14 @@ export declare const getRuntimeConfig: (
16
17
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBStreamsHttpAuthSchemeProvider;
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,45 +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 DescribeStreamInput: StaticStructureSchema;
9
- export declare var DescribeStreamOutput: StaticStructureSchema;
10
- export declare var ExpiredIteratorException: StaticErrorSchema;
11
- export declare var GetRecordsInput: StaticStructureSchema;
12
- export declare var GetRecordsOutput: StaticStructureSchema;
13
- export declare var GetShardIteratorInput: StaticStructureSchema;
14
- export declare var GetShardIteratorOutput: StaticStructureSchema;
15
- export declare var Identity: StaticStructureSchema;
16
- export declare var InternalServerError: StaticErrorSchema;
17
- export declare var KeySchemaElement: StaticStructureSchema;
18
- export declare var LimitExceededException: StaticErrorSchema;
19
- export declare var ListStreamsInput: StaticStructureSchema;
20
- export declare var ListStreamsOutput: StaticStructureSchema;
21
- export declare var _Record: StaticStructureSchema;
22
- export declare var ResourceNotFoundException: StaticErrorSchema;
23
- export declare var SequenceNumberRange: StaticStructureSchema;
24
- export declare var Shard: StaticStructureSchema;
25
- export declare var ShardFilter: StaticStructureSchema;
26
- export declare var _Stream: StaticStructureSchema;
27
- export declare var StreamDescription: StaticStructureSchema;
28
- export declare var StreamRecord: StaticStructureSchema;
29
- export declare var TrimmedDataAccessException: StaticErrorSchema;
30
- export declare var DynamoDBStreamsServiceException: StaticErrorSchema;
31
- export declare var BinarySetAttributeValue: number;
32
- export declare var KeySchema: StaticListSchema;
33
- export declare var ListAttributeValue: StaticListSchema;
34
- export declare var NumberSetAttributeValue: number;
35
- export declare var RecordList: StaticListSchema;
36
- export declare var ShardDescriptionList: StaticListSchema;
37
- export declare var StreamList: StaticListSchema;
38
- export declare var StringSetAttributeValue: number;
39
- export declare var AttributeMap: StaticMapSchema;
40
- export declare var MapAttributeValue: StaticMapSchema;
41
- export declare var AttributeValue: StaticStructureSchema;
42
- export declare var DescribeStream: StaticOperationSchema;
43
- export declare var GetRecords: StaticOperationSchema;
44
- export declare var GetShardIterator: StaticOperationSchema;
45
- export declare var ListStreams: StaticOperationSchema;
6
+ export declare var DescribeStreamInput$: StaticStructureSchema;
7
+ export declare var DescribeStreamOutput$: StaticStructureSchema;
8
+ export declare var ExpiredIteratorException$: 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 Identity$: StaticStructureSchema;
14
+ export declare var InternalServerError$: StaticErrorSchema;
15
+ export declare var KeySchemaElement$: StaticStructureSchema;
16
+ export declare var LimitExceededException$: StaticErrorSchema;
17
+ export declare var ListStreamsInput$: StaticStructureSchema;
18
+ export declare var ListStreamsOutput$: StaticStructureSchema;
19
+ export declare var _Record$: StaticStructureSchema;
20
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
21
+ export declare var SequenceNumberRange$: StaticStructureSchema;
22
+ export declare var Shard$: StaticStructureSchema;
23
+ export declare var ShardFilter$: StaticStructureSchema;
24
+ export declare var _Stream$: StaticStructureSchema;
25
+ export declare var StreamDescription$: StaticStructureSchema;
26
+ export declare var StreamRecord$: StaticStructureSchema;
27
+ export declare var TrimmedDataAccessException$: StaticErrorSchema;
28
+ export declare var DynamoDBStreamsServiceException$: StaticErrorSchema;
29
+ export declare var AttributeValue$: StaticStructureSchema;
30
+ export declare var DescribeStream$: StaticOperationSchema;
31
+ export declare var GetRecords$: StaticOperationSchema;
32
+ export declare var GetShardIterator$: StaticOperationSchema;
33
+ export declare var ListStreams$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dynamodb-streams",
3
3
  "description": "AWS SDK for JavaScript Dynamodb Streams 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-dynamodb-streams",
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
  },