@aws-sdk/client-dynamodb-streams 3.50.0 → 3.53.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.
Files changed (30) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/DynamoDBStreamsServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +67 -1
  5. package/dist-cjs/protocols/Aws_json1_0.js +61 -145
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/DynamoDBStreamsServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +62 -1
  9. package/dist-es/protocols/Aws_json1_0.js +106 -152
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/DynamoDBStreamsServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +27 -26
  13. package/dist-types/ts3.4/DynamoDBStreams.d.ts +25 -0
  14. package/dist-types/ts3.4/DynamoDBStreamsClient.d.ts +77 -0
  15. package/dist-types/ts3.4/commands/DescribeStreamCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/GetRecordsCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/GetShardIteratorCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  20. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  21. package/dist-types/ts3.4/index.d.ts +5 -0
  22. package/dist-types/ts3.4/models/DynamoDBStreamsServiceException.d.ts +6 -0
  23. package/dist-types/ts3.4/models/index.d.ts +1 -0
  24. package/dist-types/ts3.4/models/models_0.d.ts +446 -0
  25. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +14 -0
  26. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  27. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  28. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  29. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  30. package/package.json +33 -33
@@ -0,0 +1,77 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { DescribeStreamCommandInput, DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
10
+ import { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
11
+ import { GetShardIteratorCommandInput, GetShardIteratorCommandOutput } from "./commands/GetShardIteratorCommand";
12
+ import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
13
+ export declare type ServiceInputTypes = DescribeStreamCommandInput | GetRecordsCommandInput | GetShardIteratorCommandInput | ListStreamsCommandInput;
14
+ export declare type ServiceOutputTypes = DescribeStreamCommandOutput | GetRecordsCommandOutput | GetShardIteratorCommandOutput | ListStreamsCommandOutput;
15
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
16
+
17
+ requestHandler?: __HttpHandler;
18
+
19
+ sha256?: __HashConstructor;
20
+
21
+ urlParser?: __UrlParser;
22
+
23
+ bodyLengthChecker?: (body: any) => number | undefined;
24
+
25
+ streamCollector?: __StreamCollector;
26
+
27
+ base64Decoder?: __Decoder;
28
+
29
+ base64Encoder?: __Encoder;
30
+
31
+ utf8Decoder?: __Decoder;
32
+
33
+ utf8Encoder?: __Encoder;
34
+
35
+ runtime?: string;
36
+
37
+ disableHostPrefix?: boolean;
38
+
39
+ maxAttempts?: number | __Provider<number>;
40
+
41
+ retryMode?: string | __Provider<string>;
42
+
43
+ logger?: __Logger;
44
+
45
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
46
+
47
+ useFipsEndpoint?: boolean | __Provider<boolean>;
48
+
49
+ serviceId?: string;
50
+
51
+ region?: string | __Provider<string>;
52
+
53
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
54
+
55
+ regionInfoProvider?: RegionInfoProvider;
56
+
57
+ defaultUserAgentProvider?: Provider<__UserAgent>;
58
+
59
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
60
+ }
61
+ declare type DynamoDBStreamsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
62
+
63
+ export interface DynamoDBStreamsClientConfig extends DynamoDBStreamsClientConfigType {
64
+ }
65
+ declare type DynamoDBStreamsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
66
+
67
+ export interface DynamoDBStreamsClientResolvedConfig extends DynamoDBStreamsClientResolvedConfigType {
68
+ }
69
+
70
+ export declare class DynamoDBStreamsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DynamoDBStreamsClientResolvedConfig> {
71
+
72
+ readonly config: DynamoDBStreamsClientResolvedConfig;
73
+ constructor(configuration: DynamoDBStreamsClientConfig);
74
+
75
+ destroy(): void;
76
+ }
77
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DynamoDBStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBStreamsClient";
4
+ import { DescribeStreamInput, DescribeStreamOutput } from "../models/models_0";
5
+ export interface DescribeStreamCommandInput extends DescribeStreamInput {
6
+ }
7
+ export interface DescribeStreamCommandOutput extends DescribeStreamOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeStreamCommand extends $Command<DescribeStreamCommandInput, DescribeStreamCommandOutput, DynamoDBStreamsClientResolvedConfig> {
11
+ readonly input: DescribeStreamCommandInput;
12
+ constructor(input: DescribeStreamCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBStreamsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeStreamCommandInput, DescribeStreamCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DynamoDBStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBStreamsClient";
4
+ import { GetRecordsInput, GetRecordsOutput } from "../models/models_0";
5
+ export interface GetRecordsCommandInput extends GetRecordsInput {
6
+ }
7
+ export interface GetRecordsCommandOutput extends GetRecordsOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetRecordsCommand extends $Command<GetRecordsCommandInput, GetRecordsCommandOutput, DynamoDBStreamsClientResolvedConfig> {
11
+ readonly input: GetRecordsCommandInput;
12
+ constructor(input: GetRecordsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBStreamsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRecordsCommandInput, GetRecordsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DynamoDBStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBStreamsClient";
4
+ import { GetShardIteratorInput, GetShardIteratorOutput } from "../models/models_0";
5
+ export interface GetShardIteratorCommandInput extends GetShardIteratorInput {
6
+ }
7
+ export interface GetShardIteratorCommandOutput extends GetShardIteratorOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetShardIteratorCommand extends $Command<GetShardIteratorCommandInput, GetShardIteratorCommandOutput, DynamoDBStreamsClientResolvedConfig> {
11
+ readonly input: GetShardIteratorCommandInput;
12
+ constructor(input: GetShardIteratorCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBStreamsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetShardIteratorCommandInput, GetShardIteratorCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DynamoDBStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBStreamsClient";
4
+ import { ListStreamsInput, ListStreamsOutput } from "../models/models_0";
5
+ export interface ListStreamsCommandInput extends ListStreamsInput {
6
+ }
7
+ export interface ListStreamsCommandOutput extends ListStreamsOutput, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListStreamsCommand extends $Command<ListStreamsCommandInput, ListStreamsCommandOutput, DynamoDBStreamsClientResolvedConfig> {
11
+ readonly input: ListStreamsCommandInput;
12
+ constructor(input: ListStreamsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBStreamsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListStreamsCommandInput, ListStreamsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,4 @@
1
+ export * from "./DescribeStreamCommand";
2
+ export * from "./GetRecordsCommand";
3
+ export * from "./GetShardIteratorCommand";
4
+ export * from "./ListStreamsCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,5 @@
1
+ export * from "./DynamoDBStreams";
2
+ export * from "./DynamoDBStreamsClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export { DynamoDBStreamsServiceException } from "./models/DynamoDBStreamsServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class DynamoDBStreamsServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,446 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { DynamoDBStreamsServiceException as __BaseException } from "./DynamoDBStreamsServiceException";
3
+
4
+ export interface DescribeStreamInput {
5
+
6
+ StreamArn: string | undefined;
7
+
8
+ Limit?: number;
9
+
10
+ ExclusiveStartShardId?: string;
11
+ }
12
+ export declare namespace DescribeStreamInput {
13
+
14
+ const filterSensitiveLog: (obj: DescribeStreamInput) => any;
15
+ }
16
+ export declare type KeyType = "HASH" | "RANGE";
17
+
18
+ export interface KeySchemaElement {
19
+
20
+ AttributeName: string | undefined;
21
+
22
+ KeyType: KeyType | string | undefined;
23
+ }
24
+ export declare namespace KeySchemaElement {
25
+
26
+ const filterSensitiveLog: (obj: KeySchemaElement) => any;
27
+ }
28
+
29
+ export interface SequenceNumberRange {
30
+
31
+ StartingSequenceNumber?: string;
32
+
33
+ EndingSequenceNumber?: string;
34
+ }
35
+ export declare namespace SequenceNumberRange {
36
+
37
+ const filterSensitiveLog: (obj: SequenceNumberRange) => any;
38
+ }
39
+
40
+ export interface Shard {
41
+
42
+ ShardId?: string;
43
+
44
+ SequenceNumberRange?: SequenceNumberRange;
45
+
46
+ ParentShardId?: string;
47
+ }
48
+ export declare namespace Shard {
49
+
50
+ const filterSensitiveLog: (obj: Shard) => any;
51
+ }
52
+ export declare type StreamStatus = "DISABLED" | "DISABLING" | "ENABLED" | "ENABLING";
53
+ export declare type StreamViewType = "KEYS_ONLY" | "NEW_AND_OLD_IMAGES" | "NEW_IMAGE" | "OLD_IMAGE";
54
+
55
+ export interface StreamDescription {
56
+
57
+ StreamArn?: string;
58
+
59
+ StreamLabel?: string;
60
+
61
+ StreamStatus?: StreamStatus | string;
62
+
63
+ StreamViewType?: StreamViewType | string;
64
+
65
+ CreationRequestDateTime?: Date;
66
+
67
+ TableName?: string;
68
+
69
+ KeySchema?: KeySchemaElement[];
70
+
71
+ Shards?: Shard[];
72
+
73
+ LastEvaluatedShardId?: string;
74
+ }
75
+ export declare namespace StreamDescription {
76
+
77
+ const filterSensitiveLog: (obj: StreamDescription) => any;
78
+ }
79
+
80
+ export interface DescribeStreamOutput {
81
+
82
+ StreamDescription?: StreamDescription;
83
+ }
84
+ export declare namespace DescribeStreamOutput {
85
+
86
+ const filterSensitiveLog: (obj: DescribeStreamOutput) => any;
87
+ }
88
+
89
+ export declare class InternalServerError extends __BaseException {
90
+ readonly name: "InternalServerError";
91
+ readonly $fault: "server";
92
+
93
+ constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
94
+ }
95
+
96
+ export declare class ResourceNotFoundException extends __BaseException {
97
+ readonly name: "ResourceNotFoundException";
98
+ readonly $fault: "client";
99
+
100
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
101
+ }
102
+
103
+ export declare class ExpiredIteratorException extends __BaseException {
104
+ readonly name: "ExpiredIteratorException";
105
+ readonly $fault: "client";
106
+
107
+ constructor(opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>);
108
+ }
109
+
110
+ export interface GetRecordsInput {
111
+
112
+ ShardIterator: string | undefined;
113
+
114
+ Limit?: number;
115
+ }
116
+ export declare namespace GetRecordsInput {
117
+
118
+ const filterSensitiveLog: (obj: GetRecordsInput) => any;
119
+ }
120
+ export declare type OperationType = "INSERT" | "MODIFY" | "REMOVE";
121
+
122
+ export interface Identity {
123
+
124
+ PrincipalId?: string;
125
+
126
+ Type?: string;
127
+ }
128
+ export declare namespace Identity {
129
+
130
+ const filterSensitiveLog: (obj: Identity) => any;
131
+ }
132
+
133
+ export declare class LimitExceededException extends __BaseException {
134
+ readonly name: "LimitExceededException";
135
+ readonly $fault: "client";
136
+
137
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
138
+ }
139
+
140
+ export declare class TrimmedDataAccessException extends __BaseException {
141
+ readonly name: "TrimmedDataAccessException";
142
+ readonly $fault: "client";
143
+
144
+ constructor(opts: __ExceptionOptionType<TrimmedDataAccessException, __BaseException>);
145
+ }
146
+ export declare type ShardIteratorType = "AFTER_SEQUENCE_NUMBER" | "AT_SEQUENCE_NUMBER" | "LATEST" | "TRIM_HORIZON";
147
+
148
+ export interface GetShardIteratorInput {
149
+
150
+ StreamArn: string | undefined;
151
+
152
+ ShardId: string | undefined;
153
+
154
+ ShardIteratorType: ShardIteratorType | string | undefined;
155
+
156
+ SequenceNumber?: string;
157
+ }
158
+ export declare namespace GetShardIteratorInput {
159
+
160
+ const filterSensitiveLog: (obj: GetShardIteratorInput) => any;
161
+ }
162
+
163
+ export interface GetShardIteratorOutput {
164
+
165
+ ShardIterator?: string;
166
+ }
167
+ export declare namespace GetShardIteratorOutput {
168
+
169
+ const filterSensitiveLog: (obj: GetShardIteratorOutput) => any;
170
+ }
171
+
172
+ export interface ListStreamsInput {
173
+
174
+ TableName?: string;
175
+
176
+ Limit?: number;
177
+
178
+ ExclusiveStartStreamArn?: string;
179
+ }
180
+ export declare namespace ListStreamsInput {
181
+
182
+ const filterSensitiveLog: (obj: ListStreamsInput) => any;
183
+ }
184
+
185
+ export interface _Stream {
186
+
187
+ StreamArn?: string;
188
+
189
+ TableName?: string;
190
+
191
+ StreamLabel?: string;
192
+ }
193
+ export declare namespace _Stream {
194
+
195
+ const filterSensitiveLog: (obj: _Stream) => any;
196
+ }
197
+
198
+ export interface ListStreamsOutput {
199
+
200
+ Streams?: _Stream[];
201
+
202
+ LastEvaluatedStreamArn?: string;
203
+ }
204
+ export declare namespace ListStreamsOutput {
205
+
206
+ const filterSensitiveLog: (obj: ListStreamsOutput) => any;
207
+ }
208
+
209
+ export declare type AttributeValue = AttributeValue.BMember | AttributeValue.BOOLMember | AttributeValue.BSMember | AttributeValue.LMember | AttributeValue.MMember | AttributeValue.NMember | AttributeValue.NSMember | AttributeValue.NULLMember | AttributeValue.SMember | AttributeValue.SSMember | AttributeValue.$UnknownMember;
210
+ export declare namespace AttributeValue {
211
+
212
+ interface SMember {
213
+ S: string;
214
+ N?: never;
215
+ B?: never;
216
+ SS?: never;
217
+ NS?: never;
218
+ BS?: never;
219
+ M?: never;
220
+ L?: never;
221
+ NULL?: never;
222
+ BOOL?: never;
223
+ $unknown?: never;
224
+ }
225
+
226
+ interface NMember {
227
+ S?: never;
228
+ N: string;
229
+ B?: never;
230
+ SS?: never;
231
+ NS?: never;
232
+ BS?: never;
233
+ M?: never;
234
+ L?: never;
235
+ NULL?: never;
236
+ BOOL?: never;
237
+ $unknown?: never;
238
+ }
239
+
240
+ interface BMember {
241
+ S?: never;
242
+ N?: never;
243
+ B: Uint8Array;
244
+ SS?: never;
245
+ NS?: never;
246
+ BS?: never;
247
+ M?: never;
248
+ L?: never;
249
+ NULL?: never;
250
+ BOOL?: never;
251
+ $unknown?: never;
252
+ }
253
+
254
+ interface SSMember {
255
+ S?: never;
256
+ N?: never;
257
+ B?: never;
258
+ SS: string[];
259
+ NS?: never;
260
+ BS?: never;
261
+ M?: never;
262
+ L?: never;
263
+ NULL?: never;
264
+ BOOL?: never;
265
+ $unknown?: never;
266
+ }
267
+
268
+ interface NSMember {
269
+ S?: never;
270
+ N?: never;
271
+ B?: never;
272
+ SS?: never;
273
+ NS: string[];
274
+ BS?: never;
275
+ M?: never;
276
+ L?: never;
277
+ NULL?: never;
278
+ BOOL?: never;
279
+ $unknown?: never;
280
+ }
281
+
282
+ interface BSMember {
283
+ S?: never;
284
+ N?: never;
285
+ B?: never;
286
+ SS?: never;
287
+ NS?: never;
288
+ BS: Uint8Array[];
289
+ M?: never;
290
+ L?: never;
291
+ NULL?: never;
292
+ BOOL?: never;
293
+ $unknown?: never;
294
+ }
295
+
296
+ interface MMember {
297
+ S?: never;
298
+ N?: never;
299
+ B?: never;
300
+ SS?: never;
301
+ NS?: never;
302
+ BS?: never;
303
+ M: {
304
+ [key: string]: AttributeValue;
305
+ };
306
+ L?: never;
307
+ NULL?: never;
308
+ BOOL?: never;
309
+ $unknown?: never;
310
+ }
311
+
312
+ interface LMember {
313
+ S?: never;
314
+ N?: never;
315
+ B?: never;
316
+ SS?: never;
317
+ NS?: never;
318
+ BS?: never;
319
+ M?: never;
320
+ L: AttributeValue[];
321
+ NULL?: never;
322
+ BOOL?: never;
323
+ $unknown?: never;
324
+ }
325
+
326
+ interface NULLMember {
327
+ S?: never;
328
+ N?: never;
329
+ B?: never;
330
+ SS?: never;
331
+ NS?: never;
332
+ BS?: never;
333
+ M?: never;
334
+ L?: never;
335
+ NULL: boolean;
336
+ BOOL?: never;
337
+ $unknown?: never;
338
+ }
339
+
340
+ interface BOOLMember {
341
+ S?: never;
342
+ N?: never;
343
+ B?: never;
344
+ SS?: never;
345
+ NS?: never;
346
+ BS?: never;
347
+ M?: never;
348
+ L?: never;
349
+ NULL?: never;
350
+ BOOL: boolean;
351
+ $unknown?: never;
352
+ }
353
+ interface $UnknownMember {
354
+ S?: never;
355
+ N?: never;
356
+ B?: never;
357
+ SS?: never;
358
+ NS?: never;
359
+ BS?: never;
360
+ M?: never;
361
+ L?: never;
362
+ NULL?: never;
363
+ BOOL?: never;
364
+ $unknown: [
365
+ string,
366
+ any
367
+ ];
368
+ }
369
+ interface Visitor<T> {
370
+ S: (value: string) => T;
371
+ N: (value: string) => T;
372
+ B: (value: Uint8Array) => T;
373
+ SS: (value: string[]) => T;
374
+ NS: (value: string[]) => T;
375
+ BS: (value: Uint8Array[]) => T;
376
+ M: (value: {
377
+ [key: string]: AttributeValue;
378
+ }) => T;
379
+ L: (value: AttributeValue[]) => T;
380
+ NULL: (value: boolean) => T;
381
+ BOOL: (value: boolean) => T;
382
+ _: (name: string, value: any) => T;
383
+ }
384
+ const visit: <T>(value: AttributeValue, visitor: Visitor<T>) => T;
385
+
386
+ const filterSensitiveLog: (obj: AttributeValue) => any;
387
+ }
388
+
389
+ export interface StreamRecord {
390
+
391
+ ApproximateCreationDateTime?: Date;
392
+
393
+ Keys?: {
394
+ [key: string]: AttributeValue;
395
+ };
396
+
397
+ NewImage?: {
398
+ [key: string]: AttributeValue;
399
+ };
400
+
401
+ OldImage?: {
402
+ [key: string]: AttributeValue;
403
+ };
404
+
405
+ SequenceNumber?: string;
406
+
407
+ SizeBytes?: number;
408
+
409
+ StreamViewType?: StreamViewType | string;
410
+ }
411
+ export declare namespace StreamRecord {
412
+
413
+ const filterSensitiveLog: (obj: StreamRecord) => any;
414
+ }
415
+
416
+ export interface _Record {
417
+
418
+ eventID?: string;
419
+
420
+ eventName?: OperationType | string;
421
+
422
+ eventVersion?: string;
423
+
424
+ eventSource?: string;
425
+
426
+ awsRegion?: string;
427
+
428
+ dynamodb?: StreamRecord;
429
+
430
+ userIdentity?: Identity;
431
+ }
432
+ export declare namespace _Record {
433
+
434
+ const filterSensitiveLog: (obj: _Record) => any;
435
+ }
436
+
437
+ export interface GetRecordsOutput {
438
+
439
+ Records?: _Record[];
440
+
441
+ NextShardIterator?: string;
442
+ }
443
+ export declare namespace GetRecordsOutput {
444
+
445
+ const filterSensitiveLog: (obj: GetRecordsOutput) => any;
446
+ }
@@ -0,0 +1,14 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { DescribeStreamCommandInput, DescribeStreamCommandOutput } from "../commands/DescribeStreamCommand";
4
+ import { GetRecordsCommandInput, GetRecordsCommandOutput } from "../commands/GetRecordsCommand";
5
+ import { GetShardIteratorCommandInput, GetShardIteratorCommandOutput } from "../commands/GetShardIteratorCommand";
6
+ import { ListStreamsCommandInput, ListStreamsCommandOutput } from "../commands/ListStreamsCommand";
7
+ export declare const serializeAws_json1_0DescribeStreamCommand: (input: DescribeStreamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
+ export declare const serializeAws_json1_0GetRecordsCommand: (input: GetRecordsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
9
+ export declare const serializeAws_json1_0GetShardIteratorCommand: (input: GetShardIteratorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
10
+ export declare const serializeAws_json1_0ListStreamsCommand: (input: ListStreamsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
11
+ export declare const deserializeAws_json1_0DescribeStreamCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeStreamCommandOutput>;
12
+ export declare const deserializeAws_json1_0GetRecordsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRecordsCommandOutput>;
13
+ export declare const deserializeAws_json1_0GetShardIteratorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetShardIteratorCommandOutput>;
14
+ export declare const deserializeAws_json1_0ListStreamsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListStreamsCommandOutput>;
@@ -0,0 +1,38 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { DynamoDBStreamsClientConfig } from "./DynamoDBStreamsClient";
3
+
4
+ export declare const getRuntimeConfig: (config: DynamoDBStreamsClientConfig) => {
5
+ runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
+ base64Decoder: import("@aws-sdk/types").Decoder;
8
+ base64Encoder: import("@aws-sdk/types").Encoder;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<any>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ utf8Decoder: import("@aws-sdk/types").Decoder;
21
+ utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ apiVersion: string;
23
+ urlParser: import("@aws-sdk/types").UrlParser;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@aws-sdk/types").Logger;
26
+ serviceId: string;
27
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ tls?: boolean | undefined;
30
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
31
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
32
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signingEscapePath?: boolean | undefined;
34
+ systemClockOffset?: number | undefined;
35
+ signingRegion?: string | undefined;
36
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
37
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
38
+ };