@aws-sdk/client-dynamodb-streams 3.934.0 → 3.935.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 +31 -30
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +30 -0
- package/dist-es/models/errors.js +61 -0
- package/dist-es/models/models_0.js +1 -91
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +78 -0
- package/dist-types/models/errors.d.ts +90 -0
- package/dist-types/models/models_0.d.ts +1 -168
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +39 -0
- package/dist-types/ts3.4/models/errors.d.ts +37 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -76
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,25 +117,6 @@ let DynamoDBStreamsServiceException$1 = class DynamoDBStreamsServiceException ex
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const ShardFilterType = {
|
|
121
|
-
CHILD_SHARDS: "CHILD_SHARDS",
|
|
122
|
-
};
|
|
123
|
-
const KeyType = {
|
|
124
|
-
HASH: "HASH",
|
|
125
|
-
RANGE: "RANGE",
|
|
126
|
-
};
|
|
127
|
-
const StreamStatus = {
|
|
128
|
-
DISABLED: "DISABLED",
|
|
129
|
-
DISABLING: "DISABLING",
|
|
130
|
-
ENABLED: "ENABLED",
|
|
131
|
-
ENABLING: "ENABLING",
|
|
132
|
-
};
|
|
133
|
-
const StreamViewType = {
|
|
134
|
-
KEYS_ONLY: "KEYS_ONLY",
|
|
135
|
-
NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
|
|
136
|
-
NEW_IMAGE: "NEW_IMAGE",
|
|
137
|
-
OLD_IMAGE: "OLD_IMAGE",
|
|
138
|
-
};
|
|
139
120
|
let InternalServerError$1 = class InternalServerError extends DynamoDBStreamsServiceException$1 {
|
|
140
121
|
name = "InternalServerError";
|
|
141
122
|
$fault = "server";
|
|
@@ -172,11 +153,6 @@ let ExpiredIteratorException$1 = class ExpiredIteratorException extends DynamoDB
|
|
|
172
153
|
Object.setPrototypeOf(this, ExpiredIteratorException.prototype);
|
|
173
154
|
}
|
|
174
155
|
};
|
|
175
|
-
const OperationType = {
|
|
176
|
-
INSERT: "INSERT",
|
|
177
|
-
MODIFY: "MODIFY",
|
|
178
|
-
REMOVE: "REMOVE",
|
|
179
|
-
};
|
|
180
156
|
let LimitExceededException$1 = class LimitExceededException extends DynamoDBStreamsServiceException$1 {
|
|
181
157
|
name = "LimitExceededException";
|
|
182
158
|
$fault = "client";
|
|
@@ -201,12 +177,6 @@ let TrimmedDataAccessException$1 = class TrimmedDataAccessException extends Dyna
|
|
|
201
177
|
Object.setPrototypeOf(this, TrimmedDataAccessException.prototype);
|
|
202
178
|
}
|
|
203
179
|
};
|
|
204
|
-
const ShardIteratorType = {
|
|
205
|
-
AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER",
|
|
206
|
-
AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER",
|
|
207
|
-
LATEST: "LATEST",
|
|
208
|
-
TRIM_HORIZON: "TRIM_HORIZON",
|
|
209
|
-
};
|
|
210
180
|
|
|
211
181
|
const _ACDT = "ApproximateCreationDateTime";
|
|
212
182
|
const _AM = "AttributeMap";
|
|
@@ -490,6 +460,37 @@ class DynamoDBStreams extends DynamoDBStreamsClient {
|
|
|
490
460
|
}
|
|
491
461
|
smithyClient.createAggregatedClient(commands, DynamoDBStreams);
|
|
492
462
|
|
|
463
|
+
const ShardFilterType = {
|
|
464
|
+
CHILD_SHARDS: "CHILD_SHARDS",
|
|
465
|
+
};
|
|
466
|
+
const KeyType = {
|
|
467
|
+
HASH: "HASH",
|
|
468
|
+
RANGE: "RANGE",
|
|
469
|
+
};
|
|
470
|
+
const StreamStatus = {
|
|
471
|
+
DISABLED: "DISABLED",
|
|
472
|
+
DISABLING: "DISABLING",
|
|
473
|
+
ENABLED: "ENABLED",
|
|
474
|
+
ENABLING: "ENABLING",
|
|
475
|
+
};
|
|
476
|
+
const StreamViewType = {
|
|
477
|
+
KEYS_ONLY: "KEYS_ONLY",
|
|
478
|
+
NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
|
|
479
|
+
NEW_IMAGE: "NEW_IMAGE",
|
|
480
|
+
OLD_IMAGE: "OLD_IMAGE",
|
|
481
|
+
};
|
|
482
|
+
const OperationType = {
|
|
483
|
+
INSERT: "INSERT",
|
|
484
|
+
MODIFY: "MODIFY",
|
|
485
|
+
REMOVE: "REMOVE",
|
|
486
|
+
};
|
|
487
|
+
const ShardIteratorType = {
|
|
488
|
+
AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER",
|
|
489
|
+
AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER",
|
|
490
|
+
LATEST: "LATEST",
|
|
491
|
+
TRIM_HORIZON: "TRIM_HORIZON",
|
|
492
|
+
};
|
|
493
|
+
|
|
493
494
|
Object.defineProperty(exports, "$Command", {
|
|
494
495
|
enumerable: true,
|
|
495
496
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./DynamoDBStreamsClient";
|
|
2
2
|
export * from "./DynamoDBStreams";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
4
|
+
export * from "./models/enums";
|
|
5
|
+
export * from "./models/errors";
|
|
5
6
|
export { DynamoDBStreamsServiceException } from "./models/DynamoDBStreamsServiceException";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export const ShardFilterType = {
|
|
2
|
+
CHILD_SHARDS: "CHILD_SHARDS",
|
|
3
|
+
};
|
|
4
|
+
export const KeyType = {
|
|
5
|
+
HASH: "HASH",
|
|
6
|
+
RANGE: "RANGE",
|
|
7
|
+
};
|
|
8
|
+
export const StreamStatus = {
|
|
9
|
+
DISABLED: "DISABLED",
|
|
10
|
+
DISABLING: "DISABLING",
|
|
11
|
+
ENABLED: "ENABLED",
|
|
12
|
+
ENABLING: "ENABLING",
|
|
13
|
+
};
|
|
14
|
+
export const StreamViewType = {
|
|
15
|
+
KEYS_ONLY: "KEYS_ONLY",
|
|
16
|
+
NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
|
|
17
|
+
NEW_IMAGE: "NEW_IMAGE",
|
|
18
|
+
OLD_IMAGE: "OLD_IMAGE",
|
|
19
|
+
};
|
|
20
|
+
export const OperationType = {
|
|
21
|
+
INSERT: "INSERT",
|
|
22
|
+
MODIFY: "MODIFY",
|
|
23
|
+
REMOVE: "REMOVE",
|
|
24
|
+
};
|
|
25
|
+
export const ShardIteratorType = {
|
|
26
|
+
AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER",
|
|
27
|
+
AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER",
|
|
28
|
+
LATEST: "LATEST",
|
|
29
|
+
TRIM_HORIZON: "TRIM_HORIZON",
|
|
30
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { DynamoDBStreamsServiceException as __BaseException } from "./DynamoDBStreamsServiceException";
|
|
2
|
+
export class InternalServerError extends __BaseException {
|
|
3
|
+
name = "InternalServerError";
|
|
4
|
+
$fault = "server";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "InternalServerError",
|
|
8
|
+
$fault: "server",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
15
|
+
name = "ResourceNotFoundException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ResourceNotFoundException",
|
|
20
|
+
$fault: "client",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export class ExpiredIteratorException extends __BaseException {
|
|
27
|
+
name = "ExpiredIteratorException";
|
|
28
|
+
$fault = "client";
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "ExpiredIteratorException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, ExpiredIteratorException.prototype);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class LimitExceededException extends __BaseException {
|
|
39
|
+
name = "LimitExceededException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "LimitExceededException",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export class TrimmedDataAccessException extends __BaseException {
|
|
51
|
+
name = "TrimmedDataAccessException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
constructor(opts) {
|
|
54
|
+
super({
|
|
55
|
+
name: "TrimmedDataAccessException",
|
|
56
|
+
$fault: "client",
|
|
57
|
+
...opts,
|
|
58
|
+
});
|
|
59
|
+
Object.setPrototypeOf(this, TrimmedDataAccessException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -1,91 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const ShardFilterType = {
|
|
3
|
-
CHILD_SHARDS: "CHILD_SHARDS",
|
|
4
|
-
};
|
|
5
|
-
export const KeyType = {
|
|
6
|
-
HASH: "HASH",
|
|
7
|
-
RANGE: "RANGE",
|
|
8
|
-
};
|
|
9
|
-
export const StreamStatus = {
|
|
10
|
-
DISABLED: "DISABLED",
|
|
11
|
-
DISABLING: "DISABLING",
|
|
12
|
-
ENABLED: "ENABLED",
|
|
13
|
-
ENABLING: "ENABLING",
|
|
14
|
-
};
|
|
15
|
-
export const StreamViewType = {
|
|
16
|
-
KEYS_ONLY: "KEYS_ONLY",
|
|
17
|
-
NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
|
|
18
|
-
NEW_IMAGE: "NEW_IMAGE",
|
|
19
|
-
OLD_IMAGE: "OLD_IMAGE",
|
|
20
|
-
};
|
|
21
|
-
export class InternalServerError extends __BaseException {
|
|
22
|
-
name = "InternalServerError";
|
|
23
|
-
$fault = "server";
|
|
24
|
-
constructor(opts) {
|
|
25
|
-
super({
|
|
26
|
-
name: "InternalServerError",
|
|
27
|
-
$fault: "server",
|
|
28
|
-
...opts,
|
|
29
|
-
});
|
|
30
|
-
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
34
|
-
name = "ResourceNotFoundException";
|
|
35
|
-
$fault = "client";
|
|
36
|
-
constructor(opts) {
|
|
37
|
-
super({
|
|
38
|
-
name: "ResourceNotFoundException",
|
|
39
|
-
$fault: "client",
|
|
40
|
-
...opts,
|
|
41
|
-
});
|
|
42
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
export class ExpiredIteratorException extends __BaseException {
|
|
46
|
-
name = "ExpiredIteratorException";
|
|
47
|
-
$fault = "client";
|
|
48
|
-
constructor(opts) {
|
|
49
|
-
super({
|
|
50
|
-
name: "ExpiredIteratorException",
|
|
51
|
-
$fault: "client",
|
|
52
|
-
...opts,
|
|
53
|
-
});
|
|
54
|
-
Object.setPrototypeOf(this, ExpiredIteratorException.prototype);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
export const OperationType = {
|
|
58
|
-
INSERT: "INSERT",
|
|
59
|
-
MODIFY: "MODIFY",
|
|
60
|
-
REMOVE: "REMOVE",
|
|
61
|
-
};
|
|
62
|
-
export class LimitExceededException extends __BaseException {
|
|
63
|
-
name = "LimitExceededException";
|
|
64
|
-
$fault = "client";
|
|
65
|
-
constructor(opts) {
|
|
66
|
-
super({
|
|
67
|
-
name: "LimitExceededException",
|
|
68
|
-
$fault: "client",
|
|
69
|
-
...opts,
|
|
70
|
-
});
|
|
71
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
export class TrimmedDataAccessException extends __BaseException {
|
|
75
|
-
name = "TrimmedDataAccessException";
|
|
76
|
-
$fault = "client";
|
|
77
|
-
constructor(opts) {
|
|
78
|
-
super({
|
|
79
|
-
name: "TrimmedDataAccessException",
|
|
80
|
-
$fault: "client",
|
|
81
|
-
...opts,
|
|
82
|
-
});
|
|
83
|
-
Object.setPrototypeOf(this, TrimmedDataAccessException.prototype);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
export const ShardIteratorType = {
|
|
87
|
-
AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER",
|
|
88
|
-
AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER",
|
|
89
|
-
LATEST: "LATEST",
|
|
90
|
-
TRIM_HORIZON: "TRIM_HORIZON",
|
|
91
|
-
};
|
|
1
|
+
export {};
|
|
@@ -88,7 +88,7 @@ const _uI = "userIdentity";
|
|
|
88
88
|
const n0 = "com.amazonaws.dynamodbstreams";
|
|
89
89
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
90
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/
|
|
91
|
+
import { ExpiredIteratorException as __ExpiredIteratorException, InternalServerError as __InternalServerError, LimitExceededException as __LimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, TrimmedDataAccessException as __TrimmedDataAccessException, } from "../models/errors";
|
|
92
92
|
export var DescribeStreamInput = [
|
|
93
93
|
3,
|
|
94
94
|
n0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -13,5 +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 "./models";
|
|
16
|
+
export * from "./models/enums";
|
|
17
|
+
export * from "./models/errors";
|
|
18
|
+
export type * from "./models/models_0";
|
|
17
19
|
export { DynamoDBStreamsServiceException } from "./models/DynamoDBStreamsServiceException";
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ShardFilterType: {
|
|
6
|
+
readonly CHILD_SHARDS: "CHILD_SHARDS";
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export type ShardFilterType = (typeof ShardFilterType)[keyof typeof ShardFilterType];
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* @enum
|
|
15
|
+
*/
|
|
16
|
+
export declare const KeyType: {
|
|
17
|
+
readonly HASH: "HASH";
|
|
18
|
+
readonly RANGE: "RANGE";
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type KeyType = (typeof KeyType)[keyof typeof KeyType];
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* @enum
|
|
27
|
+
*/
|
|
28
|
+
export declare const StreamStatus: {
|
|
29
|
+
readonly DISABLED: "DISABLED";
|
|
30
|
+
readonly DISABLING: "DISABLING";
|
|
31
|
+
readonly ENABLED: "ENABLED";
|
|
32
|
+
readonly ENABLING: "ENABLING";
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type StreamStatus = (typeof StreamStatus)[keyof typeof StreamStatus];
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
* @enum
|
|
41
|
+
*/
|
|
42
|
+
export declare const StreamViewType: {
|
|
43
|
+
readonly KEYS_ONLY: "KEYS_ONLY";
|
|
44
|
+
readonly NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES";
|
|
45
|
+
readonly NEW_IMAGE: "NEW_IMAGE";
|
|
46
|
+
readonly OLD_IMAGE: "OLD_IMAGE";
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export type StreamViewType = (typeof StreamViewType)[keyof typeof StreamViewType];
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
* @enum
|
|
55
|
+
*/
|
|
56
|
+
export declare const OperationType: {
|
|
57
|
+
readonly INSERT: "INSERT";
|
|
58
|
+
readonly MODIFY: "MODIFY";
|
|
59
|
+
readonly REMOVE: "REMOVE";
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
export type OperationType = (typeof OperationType)[keyof typeof OperationType];
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
* @enum
|
|
68
|
+
*/
|
|
69
|
+
export declare const ShardIteratorType: {
|
|
70
|
+
readonly AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER";
|
|
71
|
+
readonly AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER";
|
|
72
|
+
readonly LATEST: "LATEST";
|
|
73
|
+
readonly TRIM_HORIZON: "TRIM_HORIZON";
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export type ShardIteratorType = (typeof ShardIteratorType)[keyof typeof ShardIteratorType];
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { DynamoDBStreamsServiceException as __BaseException } from "./DynamoDBStreamsServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>An error occurred on the server side.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class InternalServerError extends __BaseException {
|
|
8
|
+
readonly name: "InternalServerError";
|
|
9
|
+
readonly $fault: "server";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>The operation tried to access a nonexistent table or index. The resource
|
|
17
|
+
* might not be specified correctly, or its status might not be
|
|
18
|
+
* <code>ACTIVE</code>.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
22
|
+
readonly name: "ResourceNotFoundException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* <p>The shard iterator has expired and can no longer be used to retrieve stream records. A shard
|
|
31
|
+
* iterator expires 15 minutes after it is retrieved using the <code>GetShardIterator</code>
|
|
32
|
+
* action.</p>
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export declare class ExpiredIteratorException extends __BaseException {
|
|
36
|
+
readonly name: "ExpiredIteratorException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
constructor(opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
45
|
+
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account. These operations
|
|
46
|
+
* include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
47
|
+
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
48
|
+
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
49
|
+
* <p>When you are creating a table with one or more secondary
|
|
50
|
+
* indexes, you can have up to 250 such requests running at a time. However, if the table or
|
|
51
|
+
* index specifications are complex, then DynamoDB might temporarily reduce the number
|
|
52
|
+
* of concurrent operations.</p>
|
|
53
|
+
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are allowed per account.</p>
|
|
54
|
+
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
55
|
+
* <p>GetRecords was called with a value of more than 1000 for the limit request parameter.</p>
|
|
56
|
+
* <p>More than 2 processes are reading from the same streams shard at the same time. Exceeding
|
|
57
|
+
* this limit may result in request throttling.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class LimitExceededException extends __BaseException {
|
|
61
|
+
readonly name: "LimitExceededException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* <p>The operation attempted to read past the oldest stream record in a shard.</p>
|
|
70
|
+
* <p>In DynamoDB Streams, there is a 24 hour limit on data retention. Stream records whose age exceeds this limit are subject to removal (trimming) from the stream. You might receive a TrimmedDataAccessException if:</p>
|
|
71
|
+
* <ul>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>You request a shard iterator with a sequence number older than the trim point (24 hours).</p>
|
|
74
|
+
* </li>
|
|
75
|
+
* <li>
|
|
76
|
+
* <p>You obtain a shard iterator, but before you use the iterator in a <code>GetRecords</code>
|
|
77
|
+
* request, a stream record in the shard exceeds the 24 hour period and is trimmed. This causes
|
|
78
|
+
* the iterator to access a record that no longer exists.</p>
|
|
79
|
+
* </li>
|
|
80
|
+
* </ul>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class TrimmedDataAccessException extends __BaseException {
|
|
84
|
+
readonly name: "TrimmedDataAccessException";
|
|
85
|
+
readonly $fault: "client";
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
constructor(opts: __ExceptionOptionType<TrimmedDataAccessException, __BaseException>);
|
|
90
|
+
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DynamoDBStreamsServiceException as __BaseException } from "./DynamoDBStreamsServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
* @enum
|
|
6
|
-
*/
|
|
7
|
-
export declare const ShardFilterType: {
|
|
8
|
-
readonly CHILD_SHARDS: "CHILD_SHARDS";
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*/
|
|
13
|
-
export type ShardFilterType = (typeof ShardFilterType)[keyof typeof ShardFilterType];
|
|
1
|
+
import { KeyType, OperationType, ShardFilterType, ShardIteratorType, StreamStatus, StreamViewType } from "./enums";
|
|
14
2
|
/**
|
|
15
3
|
* <p>This optional field contains the filter
|
|
16
4
|
* definition for the <code>DescribeStream</code> API.</p>
|
|
@@ -60,18 +48,6 @@ export interface DescribeStreamInput {
|
|
|
60
48
|
*/
|
|
61
49
|
ShardFilter?: ShardFilter | undefined;
|
|
62
50
|
}
|
|
63
|
-
/**
|
|
64
|
-
* @public
|
|
65
|
-
* @enum
|
|
66
|
-
*/
|
|
67
|
-
export declare const KeyType: {
|
|
68
|
-
readonly HASH: "HASH";
|
|
69
|
-
readonly RANGE: "RANGE";
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
export type KeyType = (typeof KeyType)[keyof typeof KeyType];
|
|
75
51
|
/**
|
|
76
52
|
* <p>Represents <i>a single element</i> of a key schema. A key schema specifies
|
|
77
53
|
* the attributes that make up the primary key of a table, or the key attributes of an
|
|
@@ -155,34 +131,6 @@ export interface Shard {
|
|
|
155
131
|
*/
|
|
156
132
|
ParentShardId?: string | undefined;
|
|
157
133
|
}
|
|
158
|
-
/**
|
|
159
|
-
* @public
|
|
160
|
-
* @enum
|
|
161
|
-
*/
|
|
162
|
-
export declare const StreamStatus: {
|
|
163
|
-
readonly DISABLED: "DISABLED";
|
|
164
|
-
readonly DISABLING: "DISABLING";
|
|
165
|
-
readonly ENABLED: "ENABLED";
|
|
166
|
-
readonly ENABLING: "ENABLING";
|
|
167
|
-
};
|
|
168
|
-
/**
|
|
169
|
-
* @public
|
|
170
|
-
*/
|
|
171
|
-
export type StreamStatus = (typeof StreamStatus)[keyof typeof StreamStatus];
|
|
172
|
-
/**
|
|
173
|
-
* @public
|
|
174
|
-
* @enum
|
|
175
|
-
*/
|
|
176
|
-
export declare const StreamViewType: {
|
|
177
|
-
readonly KEYS_ONLY: "KEYS_ONLY";
|
|
178
|
-
readonly NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES";
|
|
179
|
-
readonly NEW_IMAGE: "NEW_IMAGE";
|
|
180
|
-
readonly OLD_IMAGE: "OLD_IMAGE";
|
|
181
|
-
};
|
|
182
|
-
/**
|
|
183
|
-
* @public
|
|
184
|
-
*/
|
|
185
|
-
export type StreamViewType = (typeof StreamViewType)[keyof typeof StreamViewType];
|
|
186
134
|
/**
|
|
187
135
|
* <p>Represents all of the data describing a particular stream.</p>
|
|
188
136
|
* @public
|
|
@@ -301,46 +249,6 @@ export interface DescribeStreamOutput {
|
|
|
301
249
|
*/
|
|
302
250
|
StreamDescription?: StreamDescription | undefined;
|
|
303
251
|
}
|
|
304
|
-
/**
|
|
305
|
-
* <p>An error occurred on the server side.</p>
|
|
306
|
-
* @public
|
|
307
|
-
*/
|
|
308
|
-
export declare class InternalServerError extends __BaseException {
|
|
309
|
-
readonly name: "InternalServerError";
|
|
310
|
-
readonly $fault: "server";
|
|
311
|
-
/**
|
|
312
|
-
* @internal
|
|
313
|
-
*/
|
|
314
|
-
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
315
|
-
}
|
|
316
|
-
/**
|
|
317
|
-
* <p>The operation tried to access a nonexistent table or index. The resource
|
|
318
|
-
* might not be specified correctly, or its status might not be
|
|
319
|
-
* <code>ACTIVE</code>.</p>
|
|
320
|
-
* @public
|
|
321
|
-
*/
|
|
322
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
323
|
-
readonly name: "ResourceNotFoundException";
|
|
324
|
-
readonly $fault: "client";
|
|
325
|
-
/**
|
|
326
|
-
* @internal
|
|
327
|
-
*/
|
|
328
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
329
|
-
}
|
|
330
|
-
/**
|
|
331
|
-
* <p>The shard iterator has expired and can no longer be used to retrieve stream records. A shard
|
|
332
|
-
* iterator expires 15 minutes after it is retrieved using the <code>GetShardIterator</code>
|
|
333
|
-
* action.</p>
|
|
334
|
-
* @public
|
|
335
|
-
*/
|
|
336
|
-
export declare class ExpiredIteratorException extends __BaseException {
|
|
337
|
-
readonly name: "ExpiredIteratorException";
|
|
338
|
-
readonly $fault: "client";
|
|
339
|
-
/**
|
|
340
|
-
* @internal
|
|
341
|
-
*/
|
|
342
|
-
constructor(opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>);
|
|
343
|
-
}
|
|
344
252
|
/**
|
|
345
253
|
* <p>Represents the input of a <code>GetRecords</code> operation.</p>
|
|
346
254
|
* @public
|
|
@@ -357,19 +265,6 @@ export interface GetRecordsInput {
|
|
|
357
265
|
*/
|
|
358
266
|
Limit?: number | undefined;
|
|
359
267
|
}
|
|
360
|
-
/**
|
|
361
|
-
* @public
|
|
362
|
-
* @enum
|
|
363
|
-
*/
|
|
364
|
-
export declare const OperationType: {
|
|
365
|
-
readonly INSERT: "INSERT";
|
|
366
|
-
readonly MODIFY: "MODIFY";
|
|
367
|
-
readonly REMOVE: "REMOVE";
|
|
368
|
-
};
|
|
369
|
-
/**
|
|
370
|
-
* @public
|
|
371
|
-
*/
|
|
372
|
-
export type OperationType = (typeof OperationType)[keyof typeof OperationType];
|
|
373
268
|
/**
|
|
374
269
|
* <p>Contains details about the type of identity that made the request.</p>
|
|
375
270
|
* @public
|
|
@@ -387,68 +282,6 @@ export interface Identity {
|
|
|
387
282
|
*/
|
|
388
283
|
Type?: string | undefined;
|
|
389
284
|
}
|
|
390
|
-
/**
|
|
391
|
-
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
392
|
-
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account. These operations
|
|
393
|
-
* include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
394
|
-
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
395
|
-
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
396
|
-
* <p>When you are creating a table with one or more secondary
|
|
397
|
-
* indexes, you can have up to 250 such requests running at a time. However, if the table or
|
|
398
|
-
* index specifications are complex, then DynamoDB might temporarily reduce the number
|
|
399
|
-
* of concurrent operations.</p>
|
|
400
|
-
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are allowed per account.</p>
|
|
401
|
-
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
402
|
-
* <p>GetRecords was called with a value of more than 1000 for the limit request parameter.</p>
|
|
403
|
-
* <p>More than 2 processes are reading from the same streams shard at the same time. Exceeding
|
|
404
|
-
* this limit may result in request throttling.</p>
|
|
405
|
-
* @public
|
|
406
|
-
*/
|
|
407
|
-
export declare class LimitExceededException extends __BaseException {
|
|
408
|
-
readonly name: "LimitExceededException";
|
|
409
|
-
readonly $fault: "client";
|
|
410
|
-
/**
|
|
411
|
-
* @internal
|
|
412
|
-
*/
|
|
413
|
-
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
414
|
-
}
|
|
415
|
-
/**
|
|
416
|
-
* <p>The operation attempted to read past the oldest stream record in a shard.</p>
|
|
417
|
-
* <p>In DynamoDB Streams, there is a 24 hour limit on data retention. Stream records whose age exceeds this limit are subject to removal (trimming) from the stream. You might receive a TrimmedDataAccessException if:</p>
|
|
418
|
-
* <ul>
|
|
419
|
-
* <li>
|
|
420
|
-
* <p>You request a shard iterator with a sequence number older than the trim point (24 hours).</p>
|
|
421
|
-
* </li>
|
|
422
|
-
* <li>
|
|
423
|
-
* <p>You obtain a shard iterator, but before you use the iterator in a <code>GetRecords</code>
|
|
424
|
-
* request, a stream record in the shard exceeds the 24 hour period and is trimmed. This causes
|
|
425
|
-
* the iterator to access a record that no longer exists.</p>
|
|
426
|
-
* </li>
|
|
427
|
-
* </ul>
|
|
428
|
-
* @public
|
|
429
|
-
*/
|
|
430
|
-
export declare class TrimmedDataAccessException extends __BaseException {
|
|
431
|
-
readonly name: "TrimmedDataAccessException";
|
|
432
|
-
readonly $fault: "client";
|
|
433
|
-
/**
|
|
434
|
-
* @internal
|
|
435
|
-
*/
|
|
436
|
-
constructor(opts: __ExceptionOptionType<TrimmedDataAccessException, __BaseException>);
|
|
437
|
-
}
|
|
438
|
-
/**
|
|
439
|
-
* @public
|
|
440
|
-
* @enum
|
|
441
|
-
*/
|
|
442
|
-
export declare const ShardIteratorType: {
|
|
443
|
-
readonly AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER";
|
|
444
|
-
readonly AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER";
|
|
445
|
-
readonly LATEST: "LATEST";
|
|
446
|
-
readonly TRIM_HORIZON: "TRIM_HORIZON";
|
|
447
|
-
};
|
|
448
|
-
/**
|
|
449
|
-
* @public
|
|
450
|
-
*/
|
|
451
|
-
export type ShardIteratorType = (typeof ShardIteratorType)[keyof typeof ShardIteratorType];
|
|
452
285
|
/**
|
|
453
286
|
* <p>Represents the input of a <code>GetShardIterator</code> operation.</p>
|
|
454
287
|
* @public
|
|
@@ -4,5 +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 "./models";
|
|
7
|
+
export * from "./models/enums";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
8
10
|
export { DynamoDBStreamsServiceException } from "./models/DynamoDBStreamsServiceException";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const ShardFilterType: {
|
|
2
|
+
readonly CHILD_SHARDS: "CHILD_SHARDS";
|
|
3
|
+
};
|
|
4
|
+
export type ShardFilterType =
|
|
5
|
+
(typeof ShardFilterType)[keyof typeof ShardFilterType];
|
|
6
|
+
export declare const KeyType: {
|
|
7
|
+
readonly HASH: "HASH";
|
|
8
|
+
readonly RANGE: "RANGE";
|
|
9
|
+
};
|
|
10
|
+
export type KeyType = (typeof KeyType)[keyof typeof KeyType];
|
|
11
|
+
export declare const StreamStatus: {
|
|
12
|
+
readonly DISABLED: "DISABLED";
|
|
13
|
+
readonly DISABLING: "DISABLING";
|
|
14
|
+
readonly ENABLED: "ENABLED";
|
|
15
|
+
readonly ENABLING: "ENABLING";
|
|
16
|
+
};
|
|
17
|
+
export type StreamStatus = (typeof StreamStatus)[keyof typeof StreamStatus];
|
|
18
|
+
export declare const StreamViewType: {
|
|
19
|
+
readonly KEYS_ONLY: "KEYS_ONLY";
|
|
20
|
+
readonly NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES";
|
|
21
|
+
readonly NEW_IMAGE: "NEW_IMAGE";
|
|
22
|
+
readonly OLD_IMAGE: "OLD_IMAGE";
|
|
23
|
+
};
|
|
24
|
+
export type StreamViewType =
|
|
25
|
+
(typeof StreamViewType)[keyof typeof StreamViewType];
|
|
26
|
+
export declare const OperationType: {
|
|
27
|
+
readonly INSERT: "INSERT";
|
|
28
|
+
readonly MODIFY: "MODIFY";
|
|
29
|
+
readonly REMOVE: "REMOVE";
|
|
30
|
+
};
|
|
31
|
+
export type OperationType = (typeof OperationType)[keyof typeof OperationType];
|
|
32
|
+
export declare const ShardIteratorType: {
|
|
33
|
+
readonly AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER";
|
|
34
|
+
readonly AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER";
|
|
35
|
+
readonly LATEST: "LATEST";
|
|
36
|
+
readonly TRIM_HORIZON: "TRIM_HORIZON";
|
|
37
|
+
};
|
|
38
|
+
export type ShardIteratorType =
|
|
39
|
+
(typeof ShardIteratorType)[keyof typeof ShardIteratorType];
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { DynamoDBStreamsServiceException as __BaseException } from "./DynamoDBStreamsServiceException";
|
|
3
|
+
export declare class InternalServerError extends __BaseException {
|
|
4
|
+
readonly name: "InternalServerError";
|
|
5
|
+
readonly $fault: "server";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
11
|
+
readonly name: "ResourceNotFoundException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(
|
|
14
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export declare class ExpiredIteratorException extends __BaseException {
|
|
18
|
+
readonly name: "ExpiredIteratorException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export declare class LimitExceededException extends __BaseException {
|
|
25
|
+
readonly name: "LimitExceededException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
constructor(
|
|
28
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
export declare class TrimmedDataAccessException extends __BaseException {
|
|
32
|
+
readonly name: "TrimmedDataAccessException";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<TrimmedDataAccessException, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import {
|
|
2
|
+
KeyType,
|
|
3
|
+
OperationType,
|
|
4
|
+
ShardFilterType,
|
|
5
|
+
ShardIteratorType,
|
|
6
|
+
StreamStatus,
|
|
7
|
+
StreamViewType,
|
|
8
|
+
} from "./enums";
|
|
8
9
|
export interface ShardFilter {
|
|
9
10
|
Type?: ShardFilterType | undefined;
|
|
10
11
|
ShardId?: string | undefined;
|
|
@@ -15,11 +16,6 @@ export interface DescribeStreamInput {
|
|
|
15
16
|
ExclusiveStartShardId?: string | undefined;
|
|
16
17
|
ShardFilter?: ShardFilter | undefined;
|
|
17
18
|
}
|
|
18
|
-
export declare const KeyType: {
|
|
19
|
-
readonly HASH: "HASH";
|
|
20
|
-
readonly RANGE: "RANGE";
|
|
21
|
-
};
|
|
22
|
-
export type KeyType = (typeof KeyType)[keyof typeof KeyType];
|
|
23
19
|
export interface KeySchemaElement {
|
|
24
20
|
AttributeName: string | undefined;
|
|
25
21
|
KeyType: KeyType | undefined;
|
|
@@ -33,21 +29,6 @@ export interface Shard {
|
|
|
33
29
|
SequenceNumberRange?: SequenceNumberRange | undefined;
|
|
34
30
|
ParentShardId?: string | undefined;
|
|
35
31
|
}
|
|
36
|
-
export declare const StreamStatus: {
|
|
37
|
-
readonly DISABLED: "DISABLED";
|
|
38
|
-
readonly DISABLING: "DISABLING";
|
|
39
|
-
readonly ENABLED: "ENABLED";
|
|
40
|
-
readonly ENABLING: "ENABLING";
|
|
41
|
-
};
|
|
42
|
-
export type StreamStatus = (typeof StreamStatus)[keyof typeof StreamStatus];
|
|
43
|
-
export declare const StreamViewType: {
|
|
44
|
-
readonly KEYS_ONLY: "KEYS_ONLY";
|
|
45
|
-
readonly NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES";
|
|
46
|
-
readonly NEW_IMAGE: "NEW_IMAGE";
|
|
47
|
-
readonly OLD_IMAGE: "OLD_IMAGE";
|
|
48
|
-
};
|
|
49
|
-
export type StreamViewType =
|
|
50
|
-
(typeof StreamViewType)[keyof typeof StreamViewType];
|
|
51
32
|
export interface StreamDescription {
|
|
52
33
|
StreamArn?: string | undefined;
|
|
53
34
|
StreamLabel?: string | undefined;
|
|
@@ -62,63 +43,14 @@ export interface StreamDescription {
|
|
|
62
43
|
export interface DescribeStreamOutput {
|
|
63
44
|
StreamDescription?: StreamDescription | undefined;
|
|
64
45
|
}
|
|
65
|
-
export declare class InternalServerError extends __BaseException {
|
|
66
|
-
readonly name: "InternalServerError";
|
|
67
|
-
readonly $fault: "server";
|
|
68
|
-
constructor(
|
|
69
|
-
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
70
|
-
);
|
|
71
|
-
}
|
|
72
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
73
|
-
readonly name: "ResourceNotFoundException";
|
|
74
|
-
readonly $fault: "client";
|
|
75
|
-
constructor(
|
|
76
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
export declare class ExpiredIteratorException extends __BaseException {
|
|
80
|
-
readonly name: "ExpiredIteratorException";
|
|
81
|
-
readonly $fault: "client";
|
|
82
|
-
constructor(
|
|
83
|
-
opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
46
|
export interface GetRecordsInput {
|
|
87
47
|
ShardIterator: string | undefined;
|
|
88
48
|
Limit?: number | undefined;
|
|
89
49
|
}
|
|
90
|
-
export declare const OperationType: {
|
|
91
|
-
readonly INSERT: "INSERT";
|
|
92
|
-
readonly MODIFY: "MODIFY";
|
|
93
|
-
readonly REMOVE: "REMOVE";
|
|
94
|
-
};
|
|
95
|
-
export type OperationType = (typeof OperationType)[keyof typeof OperationType];
|
|
96
50
|
export interface Identity {
|
|
97
51
|
PrincipalId?: string | undefined;
|
|
98
52
|
Type?: string | undefined;
|
|
99
53
|
}
|
|
100
|
-
export declare class LimitExceededException extends __BaseException {
|
|
101
|
-
readonly name: "LimitExceededException";
|
|
102
|
-
readonly $fault: "client";
|
|
103
|
-
constructor(
|
|
104
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
105
|
-
);
|
|
106
|
-
}
|
|
107
|
-
export declare class TrimmedDataAccessException extends __BaseException {
|
|
108
|
-
readonly name: "TrimmedDataAccessException";
|
|
109
|
-
readonly $fault: "client";
|
|
110
|
-
constructor(
|
|
111
|
-
opts: __ExceptionOptionType<TrimmedDataAccessException, __BaseException>
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
export declare const ShardIteratorType: {
|
|
115
|
-
readonly AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER";
|
|
116
|
-
readonly AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER";
|
|
117
|
-
readonly LATEST: "LATEST";
|
|
118
|
-
readonly TRIM_HORIZON: "TRIM_HORIZON";
|
|
119
|
-
};
|
|
120
|
-
export type ShardIteratorType =
|
|
121
|
-
(typeof ShardIteratorType)[keyof typeof ShardIteratorType];
|
|
122
54
|
export interface GetShardIteratorInput {
|
|
123
55
|
StreamArn: string | undefined;
|
|
124
56
|
ShardId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-dynamodb-streams",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|