@aws-sdk/client-keyspacesstreams 3.838.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/LICENSE +201 -0
- package/README.md +237 -0
- package/dist-cjs/KeyspacesStreams.js +19 -0
- package/dist-cjs/KeyspacesStreamsClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/GetRecordsCommand.js +26 -0
- package/dist-cjs/commands/GetShardIteratorCommand.js +26 -0
- package/dist-cjs/commands/GetStreamCommand.js +26 -0
- package/dist-cjs/commands/ListStreamsCommand.js +26 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/endpoint/EndpointParameters.js +15 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/KeyspacesStreamsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +159 -0
- package/dist-cjs/pagination/GetStreamPaginator.js +7 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListStreamsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_json1_0.js +392 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-es/KeyspacesStreams.js +15 -0
- package/dist-es/KeyspacesStreamsClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/GetRecordsCommand.js +22 -0
- package/dist-es/commands/GetShardIteratorCommand.js +22 -0
- package/dist-es/commands/GetStreamCommand.js +22 -0
- package/dist-es/commands/ListStreamsCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/KeyspacesStreamsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +151 -0
- package/dist-es/pagination/GetStreamPaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListStreamsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_0.js +381 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-types/KeyspacesStreams.d.ts +39 -0
- package/dist-types/KeyspacesStreamsClient.d.ts +191 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/GetRecordsCommand.d.ts +228 -0
- package/dist-types/commands/GetShardIteratorCommand.d.ts +90 -0
- package/dist-types/commands/GetStreamCommand.d.ts +112 -0
- package/dist-types/commands/ListStreamsCommand.d.ts +98 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/KeyspacesStreamsServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1396 -0
- package/dist-types/pagination/GetStreamPaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListStreamsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +38 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/KeyspacesStreams.d.ts +76 -0
- package/dist-types/ts3.4/KeyspacesStreamsClient.d.ts +146 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetRecordsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetShardIteratorCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/KeyspacesStreamsServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +957 -0
- package/dist-types/ts3.4/pagination/GetStreamPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListStreamsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +53 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +99 -0
|
@@ -0,0 +1,1396 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { KeyspacesStreamsServiceException as __BaseException } from "./KeyspacesStreamsServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You don't have sufficient access permissions to perform this operation. </p> <p>This exception occurs when your IAM user or role lacks the required permissions to access the Amazon Keyspaces resource or perform the requested action. Check your IAM policies and ensure they grant the necessary permissions.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export interface GetRecordsInput {
|
|
19
|
+
/**
|
|
20
|
+
* <p> The unique identifier of the shard iterator. A shard iterator specifies the position in the shard from which you want to start reading data records sequentially. You obtain this value by calling the <code>GetShardIterator</code> operation. Each shard iterator is valid for 5 minutes after creation. </p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
shardIterator: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p> The maximum number of records to return in a single <code>GetRecords</code> request. Default value is 1000. You can specify a limit between 1 and 10000, but the actual number returned might be less than the specified maximum if the size of the data for the returned records exceeds the internal size limit. </p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
maxResults?: number | undefined;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* <p>Contains metadata information associated with Amazon Keyspaces cells and rows.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export interface KeyspacesMetadata {
|
|
35
|
+
/**
|
|
36
|
+
* <p>The time at which the associated data will expire, based on the time-to-live (TTL) setting.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
expirationTime?: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* <p>The timestamp at which the associated data was written to the database.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
writeTime?: string | undefined;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
* @enum
|
|
49
|
+
*/
|
|
50
|
+
export declare const OriginType: {
|
|
51
|
+
readonly REPLICATION: "REPLICATION";
|
|
52
|
+
readonly TTL: "TTL";
|
|
53
|
+
readonly USER: "USER";
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export type OriginType = (typeof OriginType)[keyof typeof OriginType];
|
|
59
|
+
/**
|
|
60
|
+
* <p>The Amazon Keyspaces service encountered an unexpected error while processing the request. </p> <p>This internal server error is not related to your request parameters. Retry your request after a brief delay. If the issue persists, contact Amazon Web Services Support with details of your request to help identify and resolve the problem.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export declare class InternalServerException extends __BaseException {
|
|
64
|
+
readonly name: "InternalServerException";
|
|
65
|
+
readonly $fault: "server";
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* <p>The requested resource doesn't exist or could not be found. </p> <p>This exception occurs when you attempt to access a keyspace, table, stream, or other Amazon Keyspaces resource that doesn't exist or that has been deleted. Verify that the resource identifier is correct and that the resource exists in your account.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
76
|
+
readonly name: "ResourceNotFoundException";
|
|
77
|
+
readonly $fault: "client";
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* <p>The request rate is too high and exceeds the service's throughput limits. </p> <p>This exception occurs when you send too many requests in a short period of time. Implement exponential backoff in your retry strategy to handle this exception. Reducing your request frequency or distributing requests more evenly can help avoid throughput exceptions.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class ThrottlingException extends __BaseException {
|
|
88
|
+
readonly name: "ThrottlingException";
|
|
89
|
+
readonly $fault: "client";
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @public
|
|
97
|
+
* @enum
|
|
98
|
+
*/
|
|
99
|
+
export declare const ValidationExceptionType: {
|
|
100
|
+
readonly ExpiredIterator: "ExpiredIterator";
|
|
101
|
+
readonly ExpiredNextToken: "ExpiredNextToken";
|
|
102
|
+
readonly InvalidFormat: "InvalidFormat";
|
|
103
|
+
readonly TrimmedDataAccess: "TrimmedDataAccess";
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export type ValidationExceptionType = (typeof ValidationExceptionType)[keyof typeof ValidationExceptionType];
|
|
109
|
+
/**
|
|
110
|
+
* <p>The request validation failed because one or more input parameters failed validation. </p> <p>This exception occurs when there are syntax errors in the request, field constraints are violated, or required parameters are missing. To help you fix the issue, the exception message provides details about which parameter failed and why.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare class ValidationException extends __BaseException {
|
|
114
|
+
readonly name: "ValidationException";
|
|
115
|
+
readonly $fault: "client";
|
|
116
|
+
/**
|
|
117
|
+
* <p>An error occurred validating your request. See the error message for details.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
errorCode?: ValidationExceptionType | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
124
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
* @enum
|
|
129
|
+
*/
|
|
130
|
+
export declare const ShardIteratorType: {
|
|
131
|
+
readonly AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER";
|
|
132
|
+
readonly AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER";
|
|
133
|
+
readonly LATEST: "LATEST";
|
|
134
|
+
readonly TRIM_HORIZON: "TRIM_HORIZON";
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export type ShardIteratorType = (typeof ShardIteratorType)[keyof typeof ShardIteratorType];
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export interface GetShardIteratorInput {
|
|
144
|
+
/**
|
|
145
|
+
* <p> The Amazon Resource Name (ARN) of the stream for which to get the shard iterator. The ARN uniquely identifies the stream within Amazon Keyspaces. </p>
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
streamArn: string | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* <p> The identifier of the shard within the stream. The shard ID uniquely identifies a subset of the stream's data records that you want to access. </p>
|
|
151
|
+
* @public
|
|
152
|
+
*/
|
|
153
|
+
shardId: string | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* <p> Determines how the shard iterator is positioned. Must be one of the following:</p> <ul> <li> <p> <code>TRIM_HORIZON</code> - Start reading at the last untrimmed record in the shard, which is the oldest data record in the shard.</p> </li> <li> <p> <code>AT_SEQUENCE_NUMBER</code> - Start reading exactly from the specified sequence number.</p> </li> <li> <p> <code>AFTER_SEQUENCE_NUMBER</code> - Start reading right after the specified sequence number.</p> </li> <li> <p> <code>LATEST</code> - Start reading just after the most recent record in the shard, so that you always read the most recent data.</p> </li> </ul>
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
shardIteratorType: ShardIteratorType | undefined;
|
|
159
|
+
/**
|
|
160
|
+
* <p> The sequence number of the data record in the shard from which to start reading. Required if <code>ShardIteratorType</code> is <code>AT_SEQUENCE_NUMBER</code> or <code>AFTER_SEQUENCE_NUMBER</code>. This parameter is ignored for other iterator types. </p>
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
sequenceNumber?: string | undefined;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export interface GetShardIteratorOutput {
|
|
169
|
+
/**
|
|
170
|
+
* <p> The unique identifier for the shard iterator. This value is used in the <code>GetRecords</code> operation to retrieve data records from the specified shard. Each shard iterator expires 5 minutes after it is returned to the requester. </p>
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
shardIterator?: string | undefined;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
* @enum
|
|
178
|
+
*/
|
|
179
|
+
export declare const ShardFilterType: {
|
|
180
|
+
readonly CHILD_SHARDS: "CHILD_SHARDS";
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
export type ShardFilterType = (typeof ShardFilterType)[keyof typeof ShardFilterType];
|
|
186
|
+
/**
|
|
187
|
+
* <p>A filter used to limit the shards returned by a <code>GetStream</code> operation.</p>
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
export interface ShardFilter {
|
|
191
|
+
/**
|
|
192
|
+
* <p>The type of shard filter to use, which determines how the shardId parameter is interpreted.</p>
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
type?: ShardFilterType | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* <p>The identifier of a specific shard used to filter results based on the specified filter type.</p>
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
shardId?: string | undefined;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
export interface GetStreamInput {
|
|
206
|
+
/**
|
|
207
|
+
* <p> The Amazon Resource Name (ARN) of the stream for which detailed information is requested. This uniquely identifies the specific stream you want to get information about. </p>
|
|
208
|
+
* @public
|
|
209
|
+
*/
|
|
210
|
+
streamArn: string | undefined;
|
|
211
|
+
/**
|
|
212
|
+
* <p> The maximum number of shard objects to return in a single <code>GetStream</code> request. Default value is 100. The minimum value is 1 and the maximum value is 1000. </p>
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
maxResults?: number | undefined;
|
|
216
|
+
/**
|
|
217
|
+
* <p> Optional filter criteria to apply when retrieving shards. You can filter shards based on their state or other attributes to narrow down the results returned by the <code>GetStream</code> operation. </p>
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
shardFilter?: ShardFilter | undefined;
|
|
221
|
+
/**
|
|
222
|
+
* <p> An optional pagination token provided by a previous <code>GetStream</code> operation. If this parameter is specified, the response includes only records beyond the token, up to the value specified by <code>maxResults</code>. </p>
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
nextToken?: string | undefined;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* <p>Defines a range of sequence numbers within a change data capture stream's shard for Amazon Keyspaces.</p>
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
export interface SequenceNumberRange {
|
|
232
|
+
/**
|
|
233
|
+
* <p>The starting sequence number of the range.</p>
|
|
234
|
+
* @public
|
|
235
|
+
*/
|
|
236
|
+
startingSequenceNumber?: string | undefined;
|
|
237
|
+
/**
|
|
238
|
+
* <p>The ending sequence number of the range, which may be null for open-ended ranges.</p>
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
endingSequenceNumber?: string | undefined;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* <p>Represents a uniquely identified group of change records within a change data capture stream for Amazon Keyspaces.</p>
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
export interface Shard {
|
|
248
|
+
/**
|
|
249
|
+
* <p>A unique identifier for this shard within the stream.</p>
|
|
250
|
+
* @public
|
|
251
|
+
*/
|
|
252
|
+
shardId?: string | undefined;
|
|
253
|
+
/**
|
|
254
|
+
* <p>The range of sequence numbers contained within this shard.</p>
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
sequenceNumberRange?: SequenceNumberRange | undefined;
|
|
258
|
+
/**
|
|
259
|
+
* <p>The identifiers of parent shards that this shard evolved from, if this shard was created through resharding.</p>
|
|
260
|
+
* @public
|
|
261
|
+
*/
|
|
262
|
+
parentShardIds?: string[] | undefined;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* @public
|
|
266
|
+
* @enum
|
|
267
|
+
*/
|
|
268
|
+
export declare const StreamStatus: {
|
|
269
|
+
readonly DISABLED: "DISABLED";
|
|
270
|
+
readonly DISABLING: "DISABLING";
|
|
271
|
+
readonly ENABLED: "ENABLED";
|
|
272
|
+
readonly ENABLING: "ENABLING";
|
|
273
|
+
};
|
|
274
|
+
/**
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
export type StreamStatus = (typeof StreamStatus)[keyof typeof StreamStatus];
|
|
278
|
+
/**
|
|
279
|
+
* @public
|
|
280
|
+
* @enum
|
|
281
|
+
*/
|
|
282
|
+
export declare const StreamViewType: {
|
|
283
|
+
readonly KEYS_ONLY: "KEYS_ONLY";
|
|
284
|
+
readonly NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES";
|
|
285
|
+
readonly NEW_IMAGE: "NEW_IMAGE";
|
|
286
|
+
readonly OLD_IMAGE: "OLD_IMAGE";
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* @public
|
|
290
|
+
*/
|
|
291
|
+
export type StreamViewType = (typeof StreamViewType)[keyof typeof StreamViewType];
|
|
292
|
+
/**
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
export interface GetStreamOutput {
|
|
296
|
+
/**
|
|
297
|
+
* <p> The Amazon Resource Name (ARN) that uniquely identifies the stream within Amazon Keyspaces. This ARN can be used in other API operations to reference this specific stream. </p>
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
streamArn: string | undefined;
|
|
301
|
+
/**
|
|
302
|
+
* <p> A timestamp that serves as a unique identifier for this stream, used for debugging and monitoring purposes. The stream label represents the point in time when the stream was created. </p>
|
|
303
|
+
* @public
|
|
304
|
+
*/
|
|
305
|
+
streamLabel: string | undefined;
|
|
306
|
+
/**
|
|
307
|
+
* <p> The current status of the stream. Values can be <code>ENABLING</code>, <code>ENABLED</code>, <code>DISABLING</code>, or <code>DISABLED</code>. Operations on the stream depend on its current status. </p>
|
|
308
|
+
* @public
|
|
309
|
+
*/
|
|
310
|
+
streamStatus: StreamStatus | undefined;
|
|
311
|
+
/**
|
|
312
|
+
* <p> The format of the data records in this stream. Currently, this can be one of the following options:</p> <ul> <li> <p> <code>NEW_AND_OLD_IMAGES</code> - both versions of the row, before and after the change. This is the default.</p> </li> <li> <p> <code>NEW_IMAGE</code> - the version of the row after the change.</p> </li> <li> <p> <code>OLD_IMAGE</code> - the version of the row before the change.</p> </li> <li> <p> <code>KEYS_ONLY</code> - the partition and clustering keys of the row that was changed.</p> </li> </ul>
|
|
313
|
+
* @public
|
|
314
|
+
*/
|
|
315
|
+
streamViewType: StreamViewType | undefined;
|
|
316
|
+
/**
|
|
317
|
+
* <p> The date and time when the request to create this stream was issued. The value is represented in ISO 8601 format. </p>
|
|
318
|
+
* @public
|
|
319
|
+
*/
|
|
320
|
+
creationRequestDateTime: Date | undefined;
|
|
321
|
+
/**
|
|
322
|
+
* <p> The name of the keyspace containing the table associated with this stream. The keyspace name is part of the table's hierarchical identifier in Amazon Keyspaces. </p>
|
|
323
|
+
* @public
|
|
324
|
+
*/
|
|
325
|
+
keyspaceName: string | undefined;
|
|
326
|
+
/**
|
|
327
|
+
* <p> The name of the table associated with this stream. The stream captures changes to rows in this Amazon Keyspaces table. </p>
|
|
328
|
+
* @public
|
|
329
|
+
*/
|
|
330
|
+
tableName: string | undefined;
|
|
331
|
+
/**
|
|
332
|
+
* <p> An array of shard objects associated with this stream. Each shard contains a subset of the stream's data records and has its own unique identifier. The collection of shards represents the complete stream data. </p>
|
|
333
|
+
* @public
|
|
334
|
+
*/
|
|
335
|
+
shards?: Shard[] | undefined;
|
|
336
|
+
/**
|
|
337
|
+
* <p> A pagination token that can be used in a subsequent <code>GetStream</code> request. This token is returned if the response contains more shards than can be returned in a single response. </p>
|
|
338
|
+
* @public
|
|
339
|
+
*/
|
|
340
|
+
nextToken?: string | undefined;
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* @public
|
|
344
|
+
*/
|
|
345
|
+
export interface ListStreamsInput {
|
|
346
|
+
/**
|
|
347
|
+
* <p> The name of the keyspace for which to list streams. If specified, only streams associated with tables in this keyspace are returned. If omitted, streams from all keyspaces are included in the results. </p>
|
|
348
|
+
* @public
|
|
349
|
+
*/
|
|
350
|
+
keyspaceName?: string | undefined;
|
|
351
|
+
/**
|
|
352
|
+
* <p> The name of the table for which to list streams. Must be used together with <code>keyspaceName</code>. If specified, only streams associated with this specific table are returned. </p>
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
tableName?: string | undefined;
|
|
356
|
+
/**
|
|
357
|
+
* <p> The maximum number of streams to return in a single <code>ListStreams</code> request. Default value is 100. The minimum value is 1 and the maximum value is 1000. </p>
|
|
358
|
+
* @public
|
|
359
|
+
*/
|
|
360
|
+
maxResults?: number | undefined;
|
|
361
|
+
/**
|
|
362
|
+
* <p> An optional pagination token provided by a previous <code>ListStreams</code> operation. If this parameter is specified, the response includes only records beyond the token, up to the value specified by <code>maxResults</code>. </p>
|
|
363
|
+
* @public
|
|
364
|
+
*/
|
|
365
|
+
nextToken?: string | undefined;
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* <p>Represents a change data capture stream for an Amazon Keyspaces table, which enables tracking and processing of data changes.</p>
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
371
|
+
export interface _Stream {
|
|
372
|
+
/**
|
|
373
|
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies this stream.</p>
|
|
374
|
+
* @public
|
|
375
|
+
*/
|
|
376
|
+
streamArn: string | undefined;
|
|
377
|
+
/**
|
|
378
|
+
* <p>The name of the keyspace containing the table associated with this stream.</p>
|
|
379
|
+
* @public
|
|
380
|
+
*/
|
|
381
|
+
keyspaceName: string | undefined;
|
|
382
|
+
/**
|
|
383
|
+
* <p>The name of the table associated with this stream.</p>
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
tableName: string | undefined;
|
|
387
|
+
/**
|
|
388
|
+
* <p>A unique identifier for this stream that can be used in stream operations.</p>
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
streamLabel: string | undefined;
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* @public
|
|
395
|
+
*/
|
|
396
|
+
export interface ListStreamsOutput {
|
|
397
|
+
/**
|
|
398
|
+
* <p> An array of stream objects, each containing summary information about a stream including its ARN, status, and associated table information. This list includes all streams that match the request criteria. </p>
|
|
399
|
+
* @public
|
|
400
|
+
*/
|
|
401
|
+
streams?: _Stream[] | undefined;
|
|
402
|
+
/**
|
|
403
|
+
* <p> A pagination token that can be used in a subsequent <code>ListStreams</code> request. This token is returned if the response contains more streams than can be returned in a single response based on the <code>MaxResults</code> parameter. </p>
|
|
404
|
+
* @public
|
|
405
|
+
*/
|
|
406
|
+
nextToken?: string | undefined;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* <p>Represents the value of a cell in an Amazon Keyspaces table, supporting various data types with type-specific fields.</p>
|
|
410
|
+
* @public
|
|
411
|
+
*/
|
|
412
|
+
export type KeyspacesCellValue = KeyspacesCellValue.AsciiTMember | KeyspacesCellValue.BigintTMember | KeyspacesCellValue.BlobTMember | KeyspacesCellValue.BoolTMember | KeyspacesCellValue.CounterTMember | KeyspacesCellValue.DateTMember | KeyspacesCellValue.DecimalTMember | KeyspacesCellValue.DoubleTMember | KeyspacesCellValue.FloatTMember | KeyspacesCellValue.InetTMember | KeyspacesCellValue.IntTMember | KeyspacesCellValue.ListTMember | KeyspacesCellValue.MapTMember | KeyspacesCellValue.SetTMember | KeyspacesCellValue.SmallintTMember | KeyspacesCellValue.TextTMember | KeyspacesCellValue.TimeTMember | KeyspacesCellValue.TimestampTMember | KeyspacesCellValue.TimeuuidTMember | KeyspacesCellValue.TinyintTMember | KeyspacesCellValue.TupleTMember | KeyspacesCellValue.UdtTMember | KeyspacesCellValue.UuidTMember | KeyspacesCellValue.VarcharTMember | KeyspacesCellValue.VarintTMember | KeyspacesCellValue.$UnknownMember;
|
|
413
|
+
/**
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
416
|
+
export declare namespace KeyspacesCellValue {
|
|
417
|
+
/**
|
|
418
|
+
* <p>A value of ASCII text type, containing US-ASCII characters. </p>
|
|
419
|
+
* @public
|
|
420
|
+
*/
|
|
421
|
+
interface AsciiTMember {
|
|
422
|
+
asciiT: string;
|
|
423
|
+
bigintT?: never;
|
|
424
|
+
blobT?: never;
|
|
425
|
+
boolT?: never;
|
|
426
|
+
counterT?: never;
|
|
427
|
+
dateT?: never;
|
|
428
|
+
decimalT?: never;
|
|
429
|
+
doubleT?: never;
|
|
430
|
+
floatT?: never;
|
|
431
|
+
inetT?: never;
|
|
432
|
+
intT?: never;
|
|
433
|
+
listT?: never;
|
|
434
|
+
mapT?: never;
|
|
435
|
+
setT?: never;
|
|
436
|
+
smallintT?: never;
|
|
437
|
+
textT?: never;
|
|
438
|
+
timeT?: never;
|
|
439
|
+
timestampT?: never;
|
|
440
|
+
timeuuidT?: never;
|
|
441
|
+
tinyintT?: never;
|
|
442
|
+
tupleT?: never;
|
|
443
|
+
uuidT?: never;
|
|
444
|
+
varcharT?: never;
|
|
445
|
+
varintT?: never;
|
|
446
|
+
udtT?: never;
|
|
447
|
+
$unknown?: never;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* <p>A 64-bit signed integer value. </p>
|
|
451
|
+
* @public
|
|
452
|
+
*/
|
|
453
|
+
interface BigintTMember {
|
|
454
|
+
asciiT?: never;
|
|
455
|
+
bigintT: string;
|
|
456
|
+
blobT?: never;
|
|
457
|
+
boolT?: never;
|
|
458
|
+
counterT?: never;
|
|
459
|
+
dateT?: never;
|
|
460
|
+
decimalT?: never;
|
|
461
|
+
doubleT?: never;
|
|
462
|
+
floatT?: never;
|
|
463
|
+
inetT?: never;
|
|
464
|
+
intT?: never;
|
|
465
|
+
listT?: never;
|
|
466
|
+
mapT?: never;
|
|
467
|
+
setT?: never;
|
|
468
|
+
smallintT?: never;
|
|
469
|
+
textT?: never;
|
|
470
|
+
timeT?: never;
|
|
471
|
+
timestampT?: never;
|
|
472
|
+
timeuuidT?: never;
|
|
473
|
+
tinyintT?: never;
|
|
474
|
+
tupleT?: never;
|
|
475
|
+
uuidT?: never;
|
|
476
|
+
varcharT?: never;
|
|
477
|
+
varintT?: never;
|
|
478
|
+
udtT?: never;
|
|
479
|
+
$unknown?: never;
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* <p>A binary large object (BLOB) value stored as a Base64-encoded string. </p>
|
|
483
|
+
* @public
|
|
484
|
+
*/
|
|
485
|
+
interface BlobTMember {
|
|
486
|
+
asciiT?: never;
|
|
487
|
+
bigintT?: never;
|
|
488
|
+
blobT: Uint8Array;
|
|
489
|
+
boolT?: never;
|
|
490
|
+
counterT?: never;
|
|
491
|
+
dateT?: never;
|
|
492
|
+
decimalT?: never;
|
|
493
|
+
doubleT?: never;
|
|
494
|
+
floatT?: never;
|
|
495
|
+
inetT?: never;
|
|
496
|
+
intT?: never;
|
|
497
|
+
listT?: never;
|
|
498
|
+
mapT?: never;
|
|
499
|
+
setT?: never;
|
|
500
|
+
smallintT?: never;
|
|
501
|
+
textT?: never;
|
|
502
|
+
timeT?: never;
|
|
503
|
+
timestampT?: never;
|
|
504
|
+
timeuuidT?: never;
|
|
505
|
+
tinyintT?: never;
|
|
506
|
+
tupleT?: never;
|
|
507
|
+
uuidT?: never;
|
|
508
|
+
varcharT?: never;
|
|
509
|
+
varintT?: never;
|
|
510
|
+
udtT?: never;
|
|
511
|
+
$unknown?: never;
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* <p>A Boolean value, either <code>true</code> or <code>false</code>. </p>
|
|
515
|
+
* @public
|
|
516
|
+
*/
|
|
517
|
+
interface BoolTMember {
|
|
518
|
+
asciiT?: never;
|
|
519
|
+
bigintT?: never;
|
|
520
|
+
blobT?: never;
|
|
521
|
+
boolT: boolean;
|
|
522
|
+
counterT?: never;
|
|
523
|
+
dateT?: never;
|
|
524
|
+
decimalT?: never;
|
|
525
|
+
doubleT?: never;
|
|
526
|
+
floatT?: never;
|
|
527
|
+
inetT?: never;
|
|
528
|
+
intT?: never;
|
|
529
|
+
listT?: never;
|
|
530
|
+
mapT?: never;
|
|
531
|
+
setT?: never;
|
|
532
|
+
smallintT?: never;
|
|
533
|
+
textT?: never;
|
|
534
|
+
timeT?: never;
|
|
535
|
+
timestampT?: never;
|
|
536
|
+
timeuuidT?: never;
|
|
537
|
+
tinyintT?: never;
|
|
538
|
+
tupleT?: never;
|
|
539
|
+
uuidT?: never;
|
|
540
|
+
varcharT?: never;
|
|
541
|
+
varintT?: never;
|
|
542
|
+
udtT?: never;
|
|
543
|
+
$unknown?: never;
|
|
544
|
+
}
|
|
545
|
+
/**
|
|
546
|
+
* <p>A distributed counter value that can be incremented and decremented. </p>
|
|
547
|
+
* @public
|
|
548
|
+
*/
|
|
549
|
+
interface CounterTMember {
|
|
550
|
+
asciiT?: never;
|
|
551
|
+
bigintT?: never;
|
|
552
|
+
blobT?: never;
|
|
553
|
+
boolT?: never;
|
|
554
|
+
counterT: string;
|
|
555
|
+
dateT?: never;
|
|
556
|
+
decimalT?: never;
|
|
557
|
+
doubleT?: never;
|
|
558
|
+
floatT?: never;
|
|
559
|
+
inetT?: never;
|
|
560
|
+
intT?: never;
|
|
561
|
+
listT?: never;
|
|
562
|
+
mapT?: never;
|
|
563
|
+
setT?: never;
|
|
564
|
+
smallintT?: never;
|
|
565
|
+
textT?: never;
|
|
566
|
+
timeT?: never;
|
|
567
|
+
timestampT?: never;
|
|
568
|
+
timeuuidT?: never;
|
|
569
|
+
tinyintT?: never;
|
|
570
|
+
tupleT?: never;
|
|
571
|
+
uuidT?: never;
|
|
572
|
+
varcharT?: never;
|
|
573
|
+
varintT?: never;
|
|
574
|
+
udtT?: never;
|
|
575
|
+
$unknown?: never;
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* <p>A date value without a time component, represented as days since epoch (January 1, 1970). </p>
|
|
579
|
+
* @public
|
|
580
|
+
*/
|
|
581
|
+
interface DateTMember {
|
|
582
|
+
asciiT?: never;
|
|
583
|
+
bigintT?: never;
|
|
584
|
+
blobT?: never;
|
|
585
|
+
boolT?: never;
|
|
586
|
+
counterT?: never;
|
|
587
|
+
dateT: string;
|
|
588
|
+
decimalT?: never;
|
|
589
|
+
doubleT?: never;
|
|
590
|
+
floatT?: never;
|
|
591
|
+
inetT?: never;
|
|
592
|
+
intT?: never;
|
|
593
|
+
listT?: never;
|
|
594
|
+
mapT?: never;
|
|
595
|
+
setT?: never;
|
|
596
|
+
smallintT?: never;
|
|
597
|
+
textT?: never;
|
|
598
|
+
timeT?: never;
|
|
599
|
+
timestampT?: never;
|
|
600
|
+
timeuuidT?: never;
|
|
601
|
+
tinyintT?: never;
|
|
602
|
+
tupleT?: never;
|
|
603
|
+
uuidT?: never;
|
|
604
|
+
varcharT?: never;
|
|
605
|
+
varintT?: never;
|
|
606
|
+
udtT?: never;
|
|
607
|
+
$unknown?: never;
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* <p>A variable-precision decimal number value. </p>
|
|
611
|
+
* @public
|
|
612
|
+
*/
|
|
613
|
+
interface DecimalTMember {
|
|
614
|
+
asciiT?: never;
|
|
615
|
+
bigintT?: never;
|
|
616
|
+
blobT?: never;
|
|
617
|
+
boolT?: never;
|
|
618
|
+
counterT?: never;
|
|
619
|
+
dateT?: never;
|
|
620
|
+
decimalT: string;
|
|
621
|
+
doubleT?: never;
|
|
622
|
+
floatT?: never;
|
|
623
|
+
inetT?: never;
|
|
624
|
+
intT?: never;
|
|
625
|
+
listT?: never;
|
|
626
|
+
mapT?: never;
|
|
627
|
+
setT?: never;
|
|
628
|
+
smallintT?: never;
|
|
629
|
+
textT?: never;
|
|
630
|
+
timeT?: never;
|
|
631
|
+
timestampT?: never;
|
|
632
|
+
timeuuidT?: never;
|
|
633
|
+
tinyintT?: never;
|
|
634
|
+
tupleT?: never;
|
|
635
|
+
uuidT?: never;
|
|
636
|
+
varcharT?: never;
|
|
637
|
+
varintT?: never;
|
|
638
|
+
udtT?: never;
|
|
639
|
+
$unknown?: never;
|
|
640
|
+
}
|
|
641
|
+
/**
|
|
642
|
+
* <p>A 64-bit double-precision floating point value. </p>
|
|
643
|
+
* @public
|
|
644
|
+
*/
|
|
645
|
+
interface DoubleTMember {
|
|
646
|
+
asciiT?: never;
|
|
647
|
+
bigintT?: never;
|
|
648
|
+
blobT?: never;
|
|
649
|
+
boolT?: never;
|
|
650
|
+
counterT?: never;
|
|
651
|
+
dateT?: never;
|
|
652
|
+
decimalT?: never;
|
|
653
|
+
doubleT: string;
|
|
654
|
+
floatT?: never;
|
|
655
|
+
inetT?: never;
|
|
656
|
+
intT?: never;
|
|
657
|
+
listT?: never;
|
|
658
|
+
mapT?: never;
|
|
659
|
+
setT?: never;
|
|
660
|
+
smallintT?: never;
|
|
661
|
+
textT?: never;
|
|
662
|
+
timeT?: never;
|
|
663
|
+
timestampT?: never;
|
|
664
|
+
timeuuidT?: never;
|
|
665
|
+
tinyintT?: never;
|
|
666
|
+
tupleT?: never;
|
|
667
|
+
uuidT?: never;
|
|
668
|
+
varcharT?: never;
|
|
669
|
+
varintT?: never;
|
|
670
|
+
udtT?: never;
|
|
671
|
+
$unknown?: never;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
* <p>A 32-bit single-precision floating point value. </p>
|
|
675
|
+
* @public
|
|
676
|
+
*/
|
|
677
|
+
interface FloatTMember {
|
|
678
|
+
asciiT?: never;
|
|
679
|
+
bigintT?: never;
|
|
680
|
+
blobT?: never;
|
|
681
|
+
boolT?: never;
|
|
682
|
+
counterT?: never;
|
|
683
|
+
dateT?: never;
|
|
684
|
+
decimalT?: never;
|
|
685
|
+
doubleT?: never;
|
|
686
|
+
floatT: string;
|
|
687
|
+
inetT?: never;
|
|
688
|
+
intT?: never;
|
|
689
|
+
listT?: never;
|
|
690
|
+
mapT?: never;
|
|
691
|
+
setT?: never;
|
|
692
|
+
smallintT?: never;
|
|
693
|
+
textT?: never;
|
|
694
|
+
timeT?: never;
|
|
695
|
+
timestampT?: never;
|
|
696
|
+
timeuuidT?: never;
|
|
697
|
+
tinyintT?: never;
|
|
698
|
+
tupleT?: never;
|
|
699
|
+
uuidT?: never;
|
|
700
|
+
varcharT?: never;
|
|
701
|
+
varintT?: never;
|
|
702
|
+
udtT?: never;
|
|
703
|
+
$unknown?: never;
|
|
704
|
+
}
|
|
705
|
+
/**
|
|
706
|
+
* <p>An IP address value, either IPv4 or IPv6 format. </p>
|
|
707
|
+
* @public
|
|
708
|
+
*/
|
|
709
|
+
interface InetTMember {
|
|
710
|
+
asciiT?: never;
|
|
711
|
+
bigintT?: never;
|
|
712
|
+
blobT?: never;
|
|
713
|
+
boolT?: never;
|
|
714
|
+
counterT?: never;
|
|
715
|
+
dateT?: never;
|
|
716
|
+
decimalT?: never;
|
|
717
|
+
doubleT?: never;
|
|
718
|
+
floatT?: never;
|
|
719
|
+
inetT: string;
|
|
720
|
+
intT?: never;
|
|
721
|
+
listT?: never;
|
|
722
|
+
mapT?: never;
|
|
723
|
+
setT?: never;
|
|
724
|
+
smallintT?: never;
|
|
725
|
+
textT?: never;
|
|
726
|
+
timeT?: never;
|
|
727
|
+
timestampT?: never;
|
|
728
|
+
timeuuidT?: never;
|
|
729
|
+
tinyintT?: never;
|
|
730
|
+
tupleT?: never;
|
|
731
|
+
uuidT?: never;
|
|
732
|
+
varcharT?: never;
|
|
733
|
+
varintT?: never;
|
|
734
|
+
udtT?: never;
|
|
735
|
+
$unknown?: never;
|
|
736
|
+
}
|
|
737
|
+
/**
|
|
738
|
+
* <p>A 32-bit signed integer value. </p>
|
|
739
|
+
* @public
|
|
740
|
+
*/
|
|
741
|
+
interface IntTMember {
|
|
742
|
+
asciiT?: never;
|
|
743
|
+
bigintT?: never;
|
|
744
|
+
blobT?: never;
|
|
745
|
+
boolT?: never;
|
|
746
|
+
counterT?: never;
|
|
747
|
+
dateT?: never;
|
|
748
|
+
decimalT?: never;
|
|
749
|
+
doubleT?: never;
|
|
750
|
+
floatT?: never;
|
|
751
|
+
inetT?: never;
|
|
752
|
+
intT: string;
|
|
753
|
+
listT?: never;
|
|
754
|
+
mapT?: never;
|
|
755
|
+
setT?: never;
|
|
756
|
+
smallintT?: never;
|
|
757
|
+
textT?: never;
|
|
758
|
+
timeT?: never;
|
|
759
|
+
timestampT?: never;
|
|
760
|
+
timeuuidT?: never;
|
|
761
|
+
tinyintT?: never;
|
|
762
|
+
tupleT?: never;
|
|
763
|
+
uuidT?: never;
|
|
764
|
+
varcharT?: never;
|
|
765
|
+
varintT?: never;
|
|
766
|
+
udtT?: never;
|
|
767
|
+
$unknown?: never;
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
* <p>An ordered collection of elements that can contain duplicate values. </p>
|
|
771
|
+
* @public
|
|
772
|
+
*/
|
|
773
|
+
interface ListTMember {
|
|
774
|
+
asciiT?: never;
|
|
775
|
+
bigintT?: never;
|
|
776
|
+
blobT?: never;
|
|
777
|
+
boolT?: never;
|
|
778
|
+
counterT?: never;
|
|
779
|
+
dateT?: never;
|
|
780
|
+
decimalT?: never;
|
|
781
|
+
doubleT?: never;
|
|
782
|
+
floatT?: never;
|
|
783
|
+
inetT?: never;
|
|
784
|
+
intT?: never;
|
|
785
|
+
listT: KeyspacesCell[];
|
|
786
|
+
mapT?: never;
|
|
787
|
+
setT?: never;
|
|
788
|
+
smallintT?: never;
|
|
789
|
+
textT?: never;
|
|
790
|
+
timeT?: never;
|
|
791
|
+
timestampT?: never;
|
|
792
|
+
timeuuidT?: never;
|
|
793
|
+
tinyintT?: never;
|
|
794
|
+
tupleT?: never;
|
|
795
|
+
uuidT?: never;
|
|
796
|
+
varcharT?: never;
|
|
797
|
+
varintT?: never;
|
|
798
|
+
udtT?: never;
|
|
799
|
+
$unknown?: never;
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* <p>A collection of key-value pairs where each key is unique. </p>
|
|
803
|
+
* @public
|
|
804
|
+
*/
|
|
805
|
+
interface MapTMember {
|
|
806
|
+
asciiT?: never;
|
|
807
|
+
bigintT?: never;
|
|
808
|
+
blobT?: never;
|
|
809
|
+
boolT?: never;
|
|
810
|
+
counterT?: never;
|
|
811
|
+
dateT?: never;
|
|
812
|
+
decimalT?: never;
|
|
813
|
+
doubleT?: never;
|
|
814
|
+
floatT?: never;
|
|
815
|
+
inetT?: never;
|
|
816
|
+
intT?: never;
|
|
817
|
+
listT?: never;
|
|
818
|
+
mapT: KeyspacesCellMapDefinition[];
|
|
819
|
+
setT?: never;
|
|
820
|
+
smallintT?: never;
|
|
821
|
+
textT?: never;
|
|
822
|
+
timeT?: never;
|
|
823
|
+
timestampT?: never;
|
|
824
|
+
timeuuidT?: never;
|
|
825
|
+
tinyintT?: never;
|
|
826
|
+
tupleT?: never;
|
|
827
|
+
uuidT?: never;
|
|
828
|
+
varcharT?: never;
|
|
829
|
+
varintT?: never;
|
|
830
|
+
udtT?: never;
|
|
831
|
+
$unknown?: never;
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
* <p>An unordered collection of unique elements. </p>
|
|
835
|
+
* @public
|
|
836
|
+
*/
|
|
837
|
+
interface SetTMember {
|
|
838
|
+
asciiT?: never;
|
|
839
|
+
bigintT?: never;
|
|
840
|
+
blobT?: never;
|
|
841
|
+
boolT?: never;
|
|
842
|
+
counterT?: never;
|
|
843
|
+
dateT?: never;
|
|
844
|
+
decimalT?: never;
|
|
845
|
+
doubleT?: never;
|
|
846
|
+
floatT?: never;
|
|
847
|
+
inetT?: never;
|
|
848
|
+
intT?: never;
|
|
849
|
+
listT?: never;
|
|
850
|
+
mapT?: never;
|
|
851
|
+
setT: KeyspacesCell[];
|
|
852
|
+
smallintT?: never;
|
|
853
|
+
textT?: never;
|
|
854
|
+
timeT?: never;
|
|
855
|
+
timestampT?: never;
|
|
856
|
+
timeuuidT?: never;
|
|
857
|
+
tinyintT?: never;
|
|
858
|
+
tupleT?: never;
|
|
859
|
+
uuidT?: never;
|
|
860
|
+
varcharT?: never;
|
|
861
|
+
varintT?: never;
|
|
862
|
+
udtT?: never;
|
|
863
|
+
$unknown?: never;
|
|
864
|
+
}
|
|
865
|
+
/**
|
|
866
|
+
* <p>A 16-bit signed integer value. </p>
|
|
867
|
+
* @public
|
|
868
|
+
*/
|
|
869
|
+
interface SmallintTMember {
|
|
870
|
+
asciiT?: never;
|
|
871
|
+
bigintT?: never;
|
|
872
|
+
blobT?: never;
|
|
873
|
+
boolT?: never;
|
|
874
|
+
counterT?: never;
|
|
875
|
+
dateT?: never;
|
|
876
|
+
decimalT?: never;
|
|
877
|
+
doubleT?: never;
|
|
878
|
+
floatT?: never;
|
|
879
|
+
inetT?: never;
|
|
880
|
+
intT?: never;
|
|
881
|
+
listT?: never;
|
|
882
|
+
mapT?: never;
|
|
883
|
+
setT?: never;
|
|
884
|
+
smallintT: string;
|
|
885
|
+
textT?: never;
|
|
886
|
+
timeT?: never;
|
|
887
|
+
timestampT?: never;
|
|
888
|
+
timeuuidT?: never;
|
|
889
|
+
tinyintT?: never;
|
|
890
|
+
tupleT?: never;
|
|
891
|
+
uuidT?: never;
|
|
892
|
+
varcharT?: never;
|
|
893
|
+
varintT?: never;
|
|
894
|
+
udtT?: never;
|
|
895
|
+
$unknown?: never;
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* <p>A UTF-8 encoded string value. </p>
|
|
899
|
+
* @public
|
|
900
|
+
*/
|
|
901
|
+
interface TextTMember {
|
|
902
|
+
asciiT?: never;
|
|
903
|
+
bigintT?: never;
|
|
904
|
+
blobT?: never;
|
|
905
|
+
boolT?: never;
|
|
906
|
+
counterT?: never;
|
|
907
|
+
dateT?: never;
|
|
908
|
+
decimalT?: never;
|
|
909
|
+
doubleT?: never;
|
|
910
|
+
floatT?: never;
|
|
911
|
+
inetT?: never;
|
|
912
|
+
intT?: never;
|
|
913
|
+
listT?: never;
|
|
914
|
+
mapT?: never;
|
|
915
|
+
setT?: never;
|
|
916
|
+
smallintT?: never;
|
|
917
|
+
textT: string;
|
|
918
|
+
timeT?: never;
|
|
919
|
+
timestampT?: never;
|
|
920
|
+
timeuuidT?: never;
|
|
921
|
+
tinyintT?: never;
|
|
922
|
+
tupleT?: never;
|
|
923
|
+
uuidT?: never;
|
|
924
|
+
varcharT?: never;
|
|
925
|
+
varintT?: never;
|
|
926
|
+
udtT?: never;
|
|
927
|
+
$unknown?: never;
|
|
928
|
+
}
|
|
929
|
+
/**
|
|
930
|
+
* <p>A time value without a date component, with nanosecond precision. </p>
|
|
931
|
+
* @public
|
|
932
|
+
*/
|
|
933
|
+
interface TimeTMember {
|
|
934
|
+
asciiT?: never;
|
|
935
|
+
bigintT?: never;
|
|
936
|
+
blobT?: never;
|
|
937
|
+
boolT?: never;
|
|
938
|
+
counterT?: never;
|
|
939
|
+
dateT?: never;
|
|
940
|
+
decimalT?: never;
|
|
941
|
+
doubleT?: never;
|
|
942
|
+
floatT?: never;
|
|
943
|
+
inetT?: never;
|
|
944
|
+
intT?: never;
|
|
945
|
+
listT?: never;
|
|
946
|
+
mapT?: never;
|
|
947
|
+
setT?: never;
|
|
948
|
+
smallintT?: never;
|
|
949
|
+
textT?: never;
|
|
950
|
+
timeT: string;
|
|
951
|
+
timestampT?: never;
|
|
952
|
+
timeuuidT?: never;
|
|
953
|
+
tinyintT?: never;
|
|
954
|
+
tupleT?: never;
|
|
955
|
+
uuidT?: never;
|
|
956
|
+
varcharT?: never;
|
|
957
|
+
varintT?: never;
|
|
958
|
+
udtT?: never;
|
|
959
|
+
$unknown?: never;
|
|
960
|
+
}
|
|
961
|
+
/**
|
|
962
|
+
* <p>A timestamp value representing date and time with millisecond precision. </p>
|
|
963
|
+
* @public
|
|
964
|
+
*/
|
|
965
|
+
interface TimestampTMember {
|
|
966
|
+
asciiT?: never;
|
|
967
|
+
bigintT?: never;
|
|
968
|
+
blobT?: never;
|
|
969
|
+
boolT?: never;
|
|
970
|
+
counterT?: never;
|
|
971
|
+
dateT?: never;
|
|
972
|
+
decimalT?: never;
|
|
973
|
+
doubleT?: never;
|
|
974
|
+
floatT?: never;
|
|
975
|
+
inetT?: never;
|
|
976
|
+
intT?: never;
|
|
977
|
+
listT?: never;
|
|
978
|
+
mapT?: never;
|
|
979
|
+
setT?: never;
|
|
980
|
+
smallintT?: never;
|
|
981
|
+
textT?: never;
|
|
982
|
+
timeT?: never;
|
|
983
|
+
timestampT: string;
|
|
984
|
+
timeuuidT?: never;
|
|
985
|
+
tinyintT?: never;
|
|
986
|
+
tupleT?: never;
|
|
987
|
+
uuidT?: never;
|
|
988
|
+
varcharT?: never;
|
|
989
|
+
varintT?: never;
|
|
990
|
+
udtT?: never;
|
|
991
|
+
$unknown?: never;
|
|
992
|
+
}
|
|
993
|
+
/**
|
|
994
|
+
* <p>A universally unique identifier (UUID) that includes a timestamp component, ensuring both uniqueness and time ordering. </p>
|
|
995
|
+
* @public
|
|
996
|
+
*/
|
|
997
|
+
interface TimeuuidTMember {
|
|
998
|
+
asciiT?: never;
|
|
999
|
+
bigintT?: never;
|
|
1000
|
+
blobT?: never;
|
|
1001
|
+
boolT?: never;
|
|
1002
|
+
counterT?: never;
|
|
1003
|
+
dateT?: never;
|
|
1004
|
+
decimalT?: never;
|
|
1005
|
+
doubleT?: never;
|
|
1006
|
+
floatT?: never;
|
|
1007
|
+
inetT?: never;
|
|
1008
|
+
intT?: never;
|
|
1009
|
+
listT?: never;
|
|
1010
|
+
mapT?: never;
|
|
1011
|
+
setT?: never;
|
|
1012
|
+
smallintT?: never;
|
|
1013
|
+
textT?: never;
|
|
1014
|
+
timeT?: never;
|
|
1015
|
+
timestampT?: never;
|
|
1016
|
+
timeuuidT: string;
|
|
1017
|
+
tinyintT?: never;
|
|
1018
|
+
tupleT?: never;
|
|
1019
|
+
uuidT?: never;
|
|
1020
|
+
varcharT?: never;
|
|
1021
|
+
varintT?: never;
|
|
1022
|
+
udtT?: never;
|
|
1023
|
+
$unknown?: never;
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* <p>An 8-bit signed integer value. </p>
|
|
1027
|
+
* @public
|
|
1028
|
+
*/
|
|
1029
|
+
interface TinyintTMember {
|
|
1030
|
+
asciiT?: never;
|
|
1031
|
+
bigintT?: never;
|
|
1032
|
+
blobT?: never;
|
|
1033
|
+
boolT?: never;
|
|
1034
|
+
counterT?: never;
|
|
1035
|
+
dateT?: never;
|
|
1036
|
+
decimalT?: never;
|
|
1037
|
+
doubleT?: never;
|
|
1038
|
+
floatT?: never;
|
|
1039
|
+
inetT?: never;
|
|
1040
|
+
intT?: never;
|
|
1041
|
+
listT?: never;
|
|
1042
|
+
mapT?: never;
|
|
1043
|
+
setT?: never;
|
|
1044
|
+
smallintT?: never;
|
|
1045
|
+
textT?: never;
|
|
1046
|
+
timeT?: never;
|
|
1047
|
+
timestampT?: never;
|
|
1048
|
+
timeuuidT?: never;
|
|
1049
|
+
tinyintT: string;
|
|
1050
|
+
tupleT?: never;
|
|
1051
|
+
uuidT?: never;
|
|
1052
|
+
varcharT?: never;
|
|
1053
|
+
varintT?: never;
|
|
1054
|
+
udtT?: never;
|
|
1055
|
+
$unknown?: never;
|
|
1056
|
+
}
|
|
1057
|
+
/**
|
|
1058
|
+
* <p>A fixed-length ordered list of elements, where each element can be of a different data type. </p>
|
|
1059
|
+
* @public
|
|
1060
|
+
*/
|
|
1061
|
+
interface TupleTMember {
|
|
1062
|
+
asciiT?: never;
|
|
1063
|
+
bigintT?: never;
|
|
1064
|
+
blobT?: never;
|
|
1065
|
+
boolT?: never;
|
|
1066
|
+
counterT?: never;
|
|
1067
|
+
dateT?: never;
|
|
1068
|
+
decimalT?: never;
|
|
1069
|
+
doubleT?: never;
|
|
1070
|
+
floatT?: never;
|
|
1071
|
+
inetT?: never;
|
|
1072
|
+
intT?: never;
|
|
1073
|
+
listT?: never;
|
|
1074
|
+
mapT?: never;
|
|
1075
|
+
setT?: never;
|
|
1076
|
+
smallintT?: never;
|
|
1077
|
+
textT?: never;
|
|
1078
|
+
timeT?: never;
|
|
1079
|
+
timestampT?: never;
|
|
1080
|
+
timeuuidT?: never;
|
|
1081
|
+
tinyintT?: never;
|
|
1082
|
+
tupleT: KeyspacesCell[];
|
|
1083
|
+
uuidT?: never;
|
|
1084
|
+
varcharT?: never;
|
|
1085
|
+
varintT?: never;
|
|
1086
|
+
udtT?: never;
|
|
1087
|
+
$unknown?: never;
|
|
1088
|
+
}
|
|
1089
|
+
/**
|
|
1090
|
+
* <p>A universally unique identifier (UUID) value. </p>
|
|
1091
|
+
* @public
|
|
1092
|
+
*/
|
|
1093
|
+
interface UuidTMember {
|
|
1094
|
+
asciiT?: never;
|
|
1095
|
+
bigintT?: never;
|
|
1096
|
+
blobT?: never;
|
|
1097
|
+
boolT?: never;
|
|
1098
|
+
counterT?: never;
|
|
1099
|
+
dateT?: never;
|
|
1100
|
+
decimalT?: never;
|
|
1101
|
+
doubleT?: never;
|
|
1102
|
+
floatT?: never;
|
|
1103
|
+
inetT?: never;
|
|
1104
|
+
intT?: never;
|
|
1105
|
+
listT?: never;
|
|
1106
|
+
mapT?: never;
|
|
1107
|
+
setT?: never;
|
|
1108
|
+
smallintT?: never;
|
|
1109
|
+
textT?: never;
|
|
1110
|
+
timeT?: never;
|
|
1111
|
+
timestampT?: never;
|
|
1112
|
+
timeuuidT?: never;
|
|
1113
|
+
tinyintT?: never;
|
|
1114
|
+
tupleT?: never;
|
|
1115
|
+
uuidT: string;
|
|
1116
|
+
varcharT?: never;
|
|
1117
|
+
varintT?: never;
|
|
1118
|
+
udtT?: never;
|
|
1119
|
+
$unknown?: never;
|
|
1120
|
+
}
|
|
1121
|
+
/**
|
|
1122
|
+
* <p>A UTF-8 encoded string value, functionally equivalent to text type. </p>
|
|
1123
|
+
* @public
|
|
1124
|
+
*/
|
|
1125
|
+
interface VarcharTMember {
|
|
1126
|
+
asciiT?: never;
|
|
1127
|
+
bigintT?: never;
|
|
1128
|
+
blobT?: never;
|
|
1129
|
+
boolT?: never;
|
|
1130
|
+
counterT?: never;
|
|
1131
|
+
dateT?: never;
|
|
1132
|
+
decimalT?: never;
|
|
1133
|
+
doubleT?: never;
|
|
1134
|
+
floatT?: never;
|
|
1135
|
+
inetT?: never;
|
|
1136
|
+
intT?: never;
|
|
1137
|
+
listT?: never;
|
|
1138
|
+
mapT?: never;
|
|
1139
|
+
setT?: never;
|
|
1140
|
+
smallintT?: never;
|
|
1141
|
+
textT?: never;
|
|
1142
|
+
timeT?: never;
|
|
1143
|
+
timestampT?: never;
|
|
1144
|
+
timeuuidT?: never;
|
|
1145
|
+
tinyintT?: never;
|
|
1146
|
+
tupleT?: never;
|
|
1147
|
+
uuidT?: never;
|
|
1148
|
+
varcharT: string;
|
|
1149
|
+
varintT?: never;
|
|
1150
|
+
udtT?: never;
|
|
1151
|
+
$unknown?: never;
|
|
1152
|
+
}
|
|
1153
|
+
/**
|
|
1154
|
+
* <p>A variable precision integer value with arbitrary length. </p>
|
|
1155
|
+
* @public
|
|
1156
|
+
*/
|
|
1157
|
+
interface VarintTMember {
|
|
1158
|
+
asciiT?: never;
|
|
1159
|
+
bigintT?: never;
|
|
1160
|
+
blobT?: never;
|
|
1161
|
+
boolT?: never;
|
|
1162
|
+
counterT?: never;
|
|
1163
|
+
dateT?: never;
|
|
1164
|
+
decimalT?: never;
|
|
1165
|
+
doubleT?: never;
|
|
1166
|
+
floatT?: never;
|
|
1167
|
+
inetT?: never;
|
|
1168
|
+
intT?: never;
|
|
1169
|
+
listT?: never;
|
|
1170
|
+
mapT?: never;
|
|
1171
|
+
setT?: never;
|
|
1172
|
+
smallintT?: never;
|
|
1173
|
+
textT?: never;
|
|
1174
|
+
timeT?: never;
|
|
1175
|
+
timestampT?: never;
|
|
1176
|
+
timeuuidT?: never;
|
|
1177
|
+
tinyintT?: never;
|
|
1178
|
+
tupleT?: never;
|
|
1179
|
+
uuidT?: never;
|
|
1180
|
+
varcharT?: never;
|
|
1181
|
+
varintT: string;
|
|
1182
|
+
udtT?: never;
|
|
1183
|
+
$unknown?: never;
|
|
1184
|
+
}
|
|
1185
|
+
/**
|
|
1186
|
+
* <p>A user-defined type (UDT) value consisting of named fields, each with its own data type. </p>
|
|
1187
|
+
* @public
|
|
1188
|
+
*/
|
|
1189
|
+
interface UdtTMember {
|
|
1190
|
+
asciiT?: never;
|
|
1191
|
+
bigintT?: never;
|
|
1192
|
+
blobT?: never;
|
|
1193
|
+
boolT?: never;
|
|
1194
|
+
counterT?: never;
|
|
1195
|
+
dateT?: never;
|
|
1196
|
+
decimalT?: never;
|
|
1197
|
+
doubleT?: never;
|
|
1198
|
+
floatT?: never;
|
|
1199
|
+
inetT?: never;
|
|
1200
|
+
intT?: never;
|
|
1201
|
+
listT?: never;
|
|
1202
|
+
mapT?: never;
|
|
1203
|
+
setT?: never;
|
|
1204
|
+
smallintT?: never;
|
|
1205
|
+
textT?: never;
|
|
1206
|
+
timeT?: never;
|
|
1207
|
+
timestampT?: never;
|
|
1208
|
+
timeuuidT?: never;
|
|
1209
|
+
tinyintT?: never;
|
|
1210
|
+
tupleT?: never;
|
|
1211
|
+
uuidT?: never;
|
|
1212
|
+
varcharT?: never;
|
|
1213
|
+
varintT?: never;
|
|
1214
|
+
udtT: Record<string, KeyspacesCell>;
|
|
1215
|
+
$unknown?: never;
|
|
1216
|
+
}
|
|
1217
|
+
/**
|
|
1218
|
+
* @public
|
|
1219
|
+
*/
|
|
1220
|
+
interface $UnknownMember {
|
|
1221
|
+
asciiT?: never;
|
|
1222
|
+
bigintT?: never;
|
|
1223
|
+
blobT?: never;
|
|
1224
|
+
boolT?: never;
|
|
1225
|
+
counterT?: never;
|
|
1226
|
+
dateT?: never;
|
|
1227
|
+
decimalT?: never;
|
|
1228
|
+
doubleT?: never;
|
|
1229
|
+
floatT?: never;
|
|
1230
|
+
inetT?: never;
|
|
1231
|
+
intT?: never;
|
|
1232
|
+
listT?: never;
|
|
1233
|
+
mapT?: never;
|
|
1234
|
+
setT?: never;
|
|
1235
|
+
smallintT?: never;
|
|
1236
|
+
textT?: never;
|
|
1237
|
+
timeT?: never;
|
|
1238
|
+
timestampT?: never;
|
|
1239
|
+
timeuuidT?: never;
|
|
1240
|
+
tinyintT?: never;
|
|
1241
|
+
tupleT?: never;
|
|
1242
|
+
uuidT?: never;
|
|
1243
|
+
varcharT?: never;
|
|
1244
|
+
varintT?: never;
|
|
1245
|
+
udtT?: never;
|
|
1246
|
+
$unknown: [string, any];
|
|
1247
|
+
}
|
|
1248
|
+
interface Visitor<T> {
|
|
1249
|
+
asciiT: (value: string) => T;
|
|
1250
|
+
bigintT: (value: string) => T;
|
|
1251
|
+
blobT: (value: Uint8Array) => T;
|
|
1252
|
+
boolT: (value: boolean) => T;
|
|
1253
|
+
counterT: (value: string) => T;
|
|
1254
|
+
dateT: (value: string) => T;
|
|
1255
|
+
decimalT: (value: string) => T;
|
|
1256
|
+
doubleT: (value: string) => T;
|
|
1257
|
+
floatT: (value: string) => T;
|
|
1258
|
+
inetT: (value: string) => T;
|
|
1259
|
+
intT: (value: string) => T;
|
|
1260
|
+
listT: (value: KeyspacesCell[]) => T;
|
|
1261
|
+
mapT: (value: KeyspacesCellMapDefinition[]) => T;
|
|
1262
|
+
setT: (value: KeyspacesCell[]) => T;
|
|
1263
|
+
smallintT: (value: string) => T;
|
|
1264
|
+
textT: (value: string) => T;
|
|
1265
|
+
timeT: (value: string) => T;
|
|
1266
|
+
timestampT: (value: string) => T;
|
|
1267
|
+
timeuuidT: (value: string) => T;
|
|
1268
|
+
tinyintT: (value: string) => T;
|
|
1269
|
+
tupleT: (value: KeyspacesCell[]) => T;
|
|
1270
|
+
uuidT: (value: string) => T;
|
|
1271
|
+
varcharT: (value: string) => T;
|
|
1272
|
+
varintT: (value: string) => T;
|
|
1273
|
+
udtT: (value: Record<string, KeyspacesCell>) => T;
|
|
1274
|
+
_: (name: string, value: any) => T;
|
|
1275
|
+
}
|
|
1276
|
+
const visit: <T>(value: KeyspacesCellValue, visitor: Visitor<T>) => T;
|
|
1277
|
+
}
|
|
1278
|
+
/**
|
|
1279
|
+
* <p>Represents a cell in an Amazon Keyspaces table, containing both the value and metadata about the cell.</p>
|
|
1280
|
+
* @public
|
|
1281
|
+
*/
|
|
1282
|
+
export interface KeyspacesCell {
|
|
1283
|
+
/**
|
|
1284
|
+
* <p>The value stored in this cell, which can be of various data types supported by Amazon Keyspaces.</p>
|
|
1285
|
+
* @public
|
|
1286
|
+
*/
|
|
1287
|
+
value?: KeyspacesCellValue | undefined;
|
|
1288
|
+
/**
|
|
1289
|
+
* <p>Metadata associated with this cell, such as time-to-live (TTL) expiration time and write timestamp.</p>
|
|
1290
|
+
* @public
|
|
1291
|
+
*/
|
|
1292
|
+
metadata?: KeyspacesMetadata | undefined;
|
|
1293
|
+
}
|
|
1294
|
+
/**
|
|
1295
|
+
* <p>Represents a key-value pair within a map data type in Amazon Keyspaces, including the associated metadata.</p>
|
|
1296
|
+
* @public
|
|
1297
|
+
*/
|
|
1298
|
+
export interface KeyspacesCellMapDefinition {
|
|
1299
|
+
/**
|
|
1300
|
+
* <p>The key of this map entry in the Amazon Keyspaces cell.</p>
|
|
1301
|
+
* @public
|
|
1302
|
+
*/
|
|
1303
|
+
key?: KeyspacesCellValue | undefined;
|
|
1304
|
+
/**
|
|
1305
|
+
* <p>The value associated with the key in this map entry.</p>
|
|
1306
|
+
* @public
|
|
1307
|
+
*/
|
|
1308
|
+
value?: KeyspacesCellValue | undefined;
|
|
1309
|
+
/**
|
|
1310
|
+
* <p>Metadata for this specific key-value pair within the map, such as timestamps and TTL information.</p>
|
|
1311
|
+
* @public
|
|
1312
|
+
*/
|
|
1313
|
+
metadata?: KeyspacesMetadata | undefined;
|
|
1314
|
+
}
|
|
1315
|
+
/**
|
|
1316
|
+
* <p>Represents a row in an Amazon Keyspaces table, containing regular column values, static column values, and row-level metadata.</p>
|
|
1317
|
+
* @public
|
|
1318
|
+
*/
|
|
1319
|
+
export interface KeyspacesRow {
|
|
1320
|
+
/**
|
|
1321
|
+
* <p>A map of regular (non-static) column cells in the row, where keys are column names and values are the corresponding cells.</p>
|
|
1322
|
+
* @public
|
|
1323
|
+
*/
|
|
1324
|
+
valueCells?: Record<string, KeyspacesCell> | undefined;
|
|
1325
|
+
/**
|
|
1326
|
+
* <p>A map of static column cells shared by all rows with the same partition key, where keys are column names and values are the corresponding cells.</p>
|
|
1327
|
+
* @public
|
|
1328
|
+
*/
|
|
1329
|
+
staticCells?: Record<string, KeyspacesCell> | undefined;
|
|
1330
|
+
/**
|
|
1331
|
+
* <p>Metadata that applies to the entire row, such as timestamps and TTL information.</p>
|
|
1332
|
+
* @public
|
|
1333
|
+
*/
|
|
1334
|
+
rowMetadata?: KeyspacesMetadata | undefined;
|
|
1335
|
+
}
|
|
1336
|
+
/**
|
|
1337
|
+
* <p>Represents a change data capture record for a row in an Amazon Keyspaces table, containing both the new and old states of the row.</p>
|
|
1338
|
+
* @public
|
|
1339
|
+
*/
|
|
1340
|
+
export interface _Record {
|
|
1341
|
+
/**
|
|
1342
|
+
* <p>The version of the record format, used to track the evolution of the record structure over time.</p>
|
|
1343
|
+
* @public
|
|
1344
|
+
*/
|
|
1345
|
+
eventVersion?: string | undefined;
|
|
1346
|
+
/**
|
|
1347
|
+
* <p>The timestamp indicating when this change data capture record was created.</p>
|
|
1348
|
+
* @public
|
|
1349
|
+
*/
|
|
1350
|
+
createdAt?: Date | undefined;
|
|
1351
|
+
/**
|
|
1352
|
+
* <p>The origin or source of this change data capture record.</p>
|
|
1353
|
+
* @public
|
|
1354
|
+
*/
|
|
1355
|
+
origin?: OriginType | undefined;
|
|
1356
|
+
/**
|
|
1357
|
+
* <p>The partition key columns and their values for the affected row.</p>
|
|
1358
|
+
* @public
|
|
1359
|
+
*/
|
|
1360
|
+
partitionKeys?: Record<string, KeyspacesCellValue> | undefined;
|
|
1361
|
+
/**
|
|
1362
|
+
* <p>The clustering key columns and their values for the affected row, which determine the order of rows within a partition.</p>
|
|
1363
|
+
* @public
|
|
1364
|
+
*/
|
|
1365
|
+
clusteringKeys?: Record<string, KeyspacesCellValue> | undefined;
|
|
1366
|
+
/**
|
|
1367
|
+
* <p>The state of the row after the change operation that generated this record.</p>
|
|
1368
|
+
* @public
|
|
1369
|
+
*/
|
|
1370
|
+
newImage?: KeyspacesRow | undefined;
|
|
1371
|
+
/**
|
|
1372
|
+
* <p>The state of the row before the change operation that generated this record.</p>
|
|
1373
|
+
* @public
|
|
1374
|
+
*/
|
|
1375
|
+
oldImage?: KeyspacesRow | undefined;
|
|
1376
|
+
/**
|
|
1377
|
+
* <p>A unique identifier assigned to this record within the shard, used for ordering and tracking purposes.</p>
|
|
1378
|
+
* @public
|
|
1379
|
+
*/
|
|
1380
|
+
sequenceNumber?: string | undefined;
|
|
1381
|
+
}
|
|
1382
|
+
/**
|
|
1383
|
+
* @public
|
|
1384
|
+
*/
|
|
1385
|
+
export interface GetRecordsOutput {
|
|
1386
|
+
/**
|
|
1387
|
+
* <p> An array of change data records retrieved from the specified shard. Each record represents a single data modification (insert, update, or delete) to a row in the Amazon Keyspaces table. Records include the primary key columns and information about what data was modified. </p>
|
|
1388
|
+
* @public
|
|
1389
|
+
*/
|
|
1390
|
+
changeRecords?: _Record[] | undefined;
|
|
1391
|
+
/**
|
|
1392
|
+
* <p> The next position in the shard from which to start sequentially reading data records. If null, the shard has been closed and the requested iterator doesn't return any more data. </p>
|
|
1393
|
+
* @public
|
|
1394
|
+
*/
|
|
1395
|
+
nextShardIterator?: string | undefined;
|
|
1396
|
+
}
|