@aws-sdk/client-keyspacesstreams 3.1058.0 → 3.1059.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 +5 -0
- package/dist-cjs/schemas/schemas_0.js +11 -3
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +10 -2
- package/dist-types/commands/GetRecordsCommand.d.ts +3 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +17 -1
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -177,6 +177,10 @@ const OriginType = {
|
|
|
177
177
|
TTL: "TTL",
|
|
178
178
|
USER: "USER",
|
|
179
179
|
};
|
|
180
|
+
const IteratorPosition = {
|
|
181
|
+
AT_TIP: "AT_TIP",
|
|
182
|
+
BEHIND_TIP: "BEHIND_TIP",
|
|
183
|
+
};
|
|
180
184
|
const ValidationExceptionType = {
|
|
181
185
|
ExpiredIterator: "ExpiredIterator",
|
|
182
186
|
ExpiredNextToken: "ExpiredNextToken",
|
|
@@ -211,6 +215,7 @@ exports.KeyspacesStreamsServiceException = KeyspacesStreamsServiceException.Keys
|
|
|
211
215
|
exports.GetRecordsCommand = GetRecordsCommand;
|
|
212
216
|
exports.GetShardIteratorCommand = GetShardIteratorCommand;
|
|
213
217
|
exports.GetStreamCommand = GetStreamCommand;
|
|
218
|
+
exports.IteratorPosition = IteratorPosition;
|
|
214
219
|
exports.KeyspacesStreams = KeyspacesStreams;
|
|
215
220
|
exports.KeyspacesStreamsClient = KeyspacesStreamsClient;
|
|
216
221
|
exports.ListStreamsCommand = ListStreamsCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListStreams$ = exports.GetStream$ = exports.GetShardIterator$ = exports.GetRecords$ = exports.KeyspacesCellValue$ = exports._Stream$ = exports.ShardFilter$ = exports.Shard$ = exports.SequenceNumberRange$ = exports._Record$ = exports.ListStreamsOutput$ = exports.ListStreamsInput$ = exports.KeyspacesRow$ = exports.KeyspacesMetadata$ = exports.KeyspacesCellMapDefinition$ = exports.KeyspacesCell$ = exports.GetStreamOutput$ = exports.GetStreamInput$ = exports.GetShardIteratorOutput$ = exports.GetShardIteratorInput$ = exports.GetRecordsOutput$ = exports.GetRecordsInput$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.KeyspacesStreamsServiceException$ = void 0;
|
|
3
|
+
exports.ListStreams$ = exports.GetStream$ = exports.GetShardIterator$ = exports.GetRecords$ = exports.KeyspacesCellValue$ = exports._Stream$ = exports.ShardFilter$ = exports.Shard$ = exports.SequenceNumberRange$ = exports._Record$ = exports.ListStreamsOutput$ = exports.ListStreamsInput$ = exports.KeyspacesRow$ = exports.KeyspacesMetadata$ = exports.KeyspacesCellMapDefinition$ = exports.KeyspacesCell$ = exports.IteratorDescription$ = exports.GetStreamOutput$ = exports.GetStreamInput$ = exports.GetShardIteratorOutput$ = exports.GetShardIteratorInput$ = exports.GetRecordsOutput$ = exports.GetRecordsInput$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.KeyspacesStreamsServiceException$ = void 0;
|
|
4
4
|
const _ADE = "AccessDeniedException";
|
|
5
5
|
const _GR = "GetRecords";
|
|
6
6
|
const _GRI = "GetRecordsInput";
|
|
@@ -11,6 +11,7 @@ const _GSII = "GetShardIteratorInput";
|
|
|
11
11
|
const _GSIO = "GetShardIteratorOutput";
|
|
12
12
|
const _GSIe = "GetShardIterator";
|
|
13
13
|
const _GSO = "GetStreamOutput";
|
|
14
|
+
const _ID = "IteratorDescription";
|
|
14
15
|
const _ISE = "InternalServerException";
|
|
15
16
|
const _KC = "KeyspacesCell";
|
|
16
17
|
const _KCL = "KeyspacesCellList";
|
|
@@ -58,6 +59,8 @@ const _eT = "expirationTime";
|
|
|
58
59
|
const _eV = "eventVersion";
|
|
59
60
|
const _fT = "floatT";
|
|
60
61
|
const _hE = "httpError";
|
|
62
|
+
const _iD = "iteratorDescription";
|
|
63
|
+
const _iP = "iteratorPosition";
|
|
61
64
|
const _iT = "inetT";
|
|
62
65
|
const _iTn = "intT";
|
|
63
66
|
const _k = "key";
|
|
@@ -157,8 +160,8 @@ exports.GetRecordsInput$ = [3, n0, _GRI,
|
|
|
157
160
|
];
|
|
158
161
|
exports.GetRecordsOutput$ = [3, n0, _GRO,
|
|
159
162
|
0,
|
|
160
|
-
[_cR, _nSI],
|
|
161
|
-
[() => RecordList, 0]
|
|
163
|
+
[_cR, _nSI, _iD],
|
|
164
|
+
[() => RecordList, 0, () => exports.IteratorDescription$]
|
|
162
165
|
];
|
|
163
166
|
exports.GetShardIteratorInput$ = [3, n0, _GSII,
|
|
164
167
|
0,
|
|
@@ -180,6 +183,11 @@ exports.GetStreamOutput$ = [3, n0, _GSO,
|
|
|
180
183
|
[_sA, _sL, _sS, _sVT, _cRDT, _kN, _tN, _sh, _nT],
|
|
181
184
|
[0, 0, 0, 0, 4, 0, 0, () => ShardDescriptionList, 0], 7
|
|
182
185
|
];
|
|
186
|
+
exports.IteratorDescription$ = [3, n0, _ID,
|
|
187
|
+
0,
|
|
188
|
+
[_iP],
|
|
189
|
+
[0]
|
|
190
|
+
];
|
|
183
191
|
exports.KeyspacesCell$ = [3, n0, _KC,
|
|
184
192
|
0,
|
|
185
193
|
[_v, _me],
|
package/dist-es/models/enums.js
CHANGED
|
@@ -3,6 +3,10 @@ export const OriginType = {
|
|
|
3
3
|
TTL: "TTL",
|
|
4
4
|
USER: "USER",
|
|
5
5
|
};
|
|
6
|
+
export const IteratorPosition = {
|
|
7
|
+
AT_TIP: "AT_TIP",
|
|
8
|
+
BEHIND_TIP: "BEHIND_TIP",
|
|
9
|
+
};
|
|
6
10
|
export const ValidationExceptionType = {
|
|
7
11
|
ExpiredIterator: "ExpiredIterator",
|
|
8
12
|
ExpiredNextToken: "ExpiredNextToken",
|
|
@@ -8,6 +8,7 @@ const _GSII = "GetShardIteratorInput";
|
|
|
8
8
|
const _GSIO = "GetShardIteratorOutput";
|
|
9
9
|
const _GSIe = "GetShardIterator";
|
|
10
10
|
const _GSO = "GetStreamOutput";
|
|
11
|
+
const _ID = "IteratorDescription";
|
|
11
12
|
const _ISE = "InternalServerException";
|
|
12
13
|
const _KC = "KeyspacesCell";
|
|
13
14
|
const _KCL = "KeyspacesCellList";
|
|
@@ -55,6 +56,8 @@ const _eT = "expirationTime";
|
|
|
55
56
|
const _eV = "eventVersion";
|
|
56
57
|
const _fT = "floatT";
|
|
57
58
|
const _hE = "httpError";
|
|
59
|
+
const _iD = "iteratorDescription";
|
|
60
|
+
const _iP = "iteratorPosition";
|
|
58
61
|
const _iT = "inetT";
|
|
59
62
|
const _iTn = "intT";
|
|
60
63
|
const _k = "key";
|
|
@@ -154,8 +157,8 @@ export var GetRecordsInput$ = [3, n0, _GRI,
|
|
|
154
157
|
];
|
|
155
158
|
export var GetRecordsOutput$ = [3, n0, _GRO,
|
|
156
159
|
0,
|
|
157
|
-
[_cR, _nSI],
|
|
158
|
-
[() => RecordList, 0]
|
|
160
|
+
[_cR, _nSI, _iD],
|
|
161
|
+
[() => RecordList, 0, () => IteratorDescription$]
|
|
159
162
|
];
|
|
160
163
|
export var GetShardIteratorInput$ = [3, n0, _GSII,
|
|
161
164
|
0,
|
|
@@ -177,6 +180,11 @@ export var GetStreamOutput$ = [3, n0, _GSO,
|
|
|
177
180
|
[_sA, _sL, _sS, _sVT, _cRDT, _kN, _tN, _sh, _nT],
|
|
178
181
|
[0, 0, 0, 0, 4, 0, 0, () => ShardDescriptionList, 0], 7
|
|
179
182
|
];
|
|
183
|
+
export var IteratorDescription$ = [3, n0, _ID,
|
|
184
|
+
0,
|
|
185
|
+
[_iP],
|
|
186
|
+
[0]
|
|
187
|
+
];
|
|
180
188
|
export var KeyspacesCell$ = [3, n0, _KC,
|
|
181
189
|
0,
|
|
182
190
|
[_v, _me],
|
|
@@ -188,6 +188,9 @@ declare const GetRecordsCommand_base: {
|
|
|
188
188
|
* // },
|
|
189
189
|
* // ],
|
|
190
190
|
* // nextShardIterator: "STRING_VALUE",
|
|
191
|
+
* // iteratorDescription: { // IteratorDescription
|
|
192
|
+
* // iteratorPosition: "AT_TIP" || "BEHIND_TIP",
|
|
193
|
+
* // },
|
|
191
194
|
* // };
|
|
192
195
|
*
|
|
193
196
|
* ```
|
|
@@ -11,6 +11,18 @@ export declare const OriginType: {
|
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
13
|
export type OriginType = (typeof OriginType)[keyof typeof OriginType];
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* @enum
|
|
17
|
+
*/
|
|
18
|
+
export declare const IteratorPosition: {
|
|
19
|
+
readonly AT_TIP: "AT_TIP";
|
|
20
|
+
readonly BEHIND_TIP: "BEHIND_TIP";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type IteratorPosition = (typeof IteratorPosition)[keyof typeof IteratorPosition];
|
|
14
26
|
/**
|
|
15
27
|
* @public
|
|
16
28
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { OriginType, ShardFilterType, ShardIteratorType, StreamStatus, StreamViewType } from "./enums";
|
|
1
|
+
import type { IteratorPosition, OriginType, ShardFilterType, ShardIteratorType, StreamStatus, StreamViewType } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -30,6 +30,17 @@ export interface KeyspacesMetadata {
|
|
|
30
30
|
*/
|
|
31
31
|
writeTime?: string | undefined;
|
|
32
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* <p>Provides information about the current iterator.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export interface IteratorDescription {
|
|
38
|
+
/**
|
|
39
|
+
* <p> Indicates the current iterator's position within the shard. The possible values are: </p> <ul> <li> <p> <code>AT_TIP</code> - No more records are currently available.</p> </li> <li> <p> <code>BEHIND_TIP</code> - Additional records may be available.</p> </li> </ul> <p>Stream progresses in absence of customer records. <code>BEHIND_TIP</code> with an empty <code>changeRecords</code> list indicates the stream is progressing but no customer records are available at this position. Continue polling normally.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
iteratorPosition?: IteratorPosition | undefined;
|
|
43
|
+
}
|
|
33
44
|
/**
|
|
34
45
|
* @public
|
|
35
46
|
*/
|
|
@@ -1310,4 +1321,9 @@ export interface GetRecordsOutput {
|
|
|
1310
1321
|
* @public
|
|
1311
1322
|
*/
|
|
1312
1323
|
nextShardIterator?: string | undefined;
|
|
1324
|
+
/**
|
|
1325
|
+
* <p> Provides information about the current iterator at the time GetRecords request was processed by Keyspaces. </p>
|
|
1326
|
+
* @public
|
|
1327
|
+
*/
|
|
1328
|
+
iteratorDescription?: IteratorDescription | undefined;
|
|
1313
1329
|
}
|
|
@@ -18,6 +18,7 @@ export declare var GetShardIteratorInput$: StaticStructureSchema;
|
|
|
18
18
|
export declare var GetShardIteratorOutput$: StaticStructureSchema;
|
|
19
19
|
export declare var GetStreamInput$: StaticStructureSchema;
|
|
20
20
|
export declare var GetStreamOutput$: StaticStructureSchema;
|
|
21
|
+
export declare var IteratorDescription$: StaticStructureSchema;
|
|
21
22
|
export declare var KeyspacesCell$: StaticStructureSchema;
|
|
22
23
|
export declare var KeyspacesCellMapDefinition$: StaticStructureSchema;
|
|
23
24
|
export declare var KeyspacesMetadata$: StaticStructureSchema;
|
|
@@ -4,6 +4,12 @@ export declare const OriginType: {
|
|
|
4
4
|
readonly USER: "USER";
|
|
5
5
|
};
|
|
6
6
|
export type OriginType = (typeof OriginType)[keyof typeof OriginType];
|
|
7
|
+
export declare const IteratorPosition: {
|
|
8
|
+
readonly AT_TIP: "AT_TIP";
|
|
9
|
+
readonly BEHIND_TIP: "BEHIND_TIP";
|
|
10
|
+
};
|
|
11
|
+
export type IteratorPosition =
|
|
12
|
+
(typeof IteratorPosition)[keyof typeof IteratorPosition];
|
|
7
13
|
export declare const ValidationExceptionType: {
|
|
8
14
|
readonly ExpiredIterator: "ExpiredIterator";
|
|
9
15
|
readonly ExpiredNextToken: "ExpiredNextToken";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
IteratorPosition,
|
|
2
3
|
OriginType,
|
|
3
4
|
ShardFilterType,
|
|
4
5
|
ShardIteratorType,
|
|
@@ -13,6 +14,9 @@ export interface KeyspacesMetadata {
|
|
|
13
14
|
expirationTime?: string | undefined;
|
|
14
15
|
writeTime?: string | undefined;
|
|
15
16
|
}
|
|
17
|
+
export interface IteratorDescription {
|
|
18
|
+
iteratorPosition?: IteratorPosition | undefined;
|
|
19
|
+
}
|
|
16
20
|
export interface GetShardIteratorInput {
|
|
17
21
|
streamArn: string | undefined;
|
|
18
22
|
shardId: string | undefined;
|
|
@@ -937,4 +941,5 @@ export interface _Record {
|
|
|
937
941
|
export interface GetRecordsOutput {
|
|
938
942
|
changeRecords?: _Record[] | undefined;
|
|
939
943
|
nextShardIterator?: string | undefined;
|
|
944
|
+
iteratorDescription?: IteratorDescription | undefined;
|
|
940
945
|
}
|
|
@@ -18,6 +18,7 @@ export declare var GetShardIteratorInput$: StaticStructureSchema;
|
|
|
18
18
|
export declare var GetShardIteratorOutput$: StaticStructureSchema;
|
|
19
19
|
export declare var GetStreamInput$: StaticStructureSchema;
|
|
20
20
|
export declare var GetStreamOutput$: StaticStructureSchema;
|
|
21
|
+
export declare var IteratorDescription$: StaticStructureSchema;
|
|
21
22
|
export declare var KeyspacesCell$: StaticStructureSchema;
|
|
22
23
|
export declare var KeyspacesCellMapDefinition$: StaticStructureSchema;
|
|
23
24
|
export declare var KeyspacesMetadata$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-keyspacesstreams",
|
|
3
3
|
"description": "AWS SDK for JavaScript Keyspacesstreams Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1059.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-keyspacesstreams",
|
|
@@ -21,13 +21,13 @@
|
|
|
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.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/types": "^3.973.
|
|
27
|
-
"@smithy/core": "^3.24.
|
|
28
|
-
"@smithy/fetch-http-handler": "^5.4.
|
|
29
|
-
"@smithy/node-http-handler": "^4.7.
|
|
30
|
-
"@smithy/types": "^4.14.
|
|
24
|
+
"@aws-sdk/core": "^3.974.16",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.49",
|
|
26
|
+
"@aws-sdk/types": "^3.973.10",
|
|
27
|
+
"@smithy/core": "^3.24.6",
|
|
28
|
+
"@smithy/fetch-http-handler": "^5.4.6",
|
|
29
|
+
"@smithy/node-http-handler": "^4.7.6",
|
|
30
|
+
"@smithy/types": "^4.14.3",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|