@aws-sdk/client-keyspaces 3.971.0 → 3.974.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 +30 -8
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +23 -8
- package/dist-types/commands/CreateTableCommand.d.ts +4 -0
- package/dist-types/commands/GetTableCommand.d.ts +10 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +4 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +58 -1
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +20 -20
package/dist-cjs/index.js
CHANGED
|
@@ -295,6 +295,8 @@ const _UT = "UpdateTable";
|
|
|
295
295
|
const _UTR = "UpdateTableRequest";
|
|
296
296
|
const _UTRp = "UpdateTableResponse";
|
|
297
297
|
const _VE = "ValidationException";
|
|
298
|
+
const _WTS = "WarmThroughputSpecification";
|
|
299
|
+
const _WTSS = "WarmThroughputSpecificationSummary";
|
|
298
300
|
const _aC = "allColumns";
|
|
299
301
|
const _aCd = "addColumns";
|
|
300
302
|
const _aQE = "awsQueryError";
|
|
@@ -351,6 +353,7 @@ const _rSe = "replicaSpecifications";
|
|
|
351
353
|
const _rSep = "replicationStrategy";
|
|
352
354
|
const _rT = "restoreTimestamp";
|
|
353
355
|
const _rTARN = "restoredTableARN";
|
|
356
|
+
const _rUPS = "readUnitsPerSecond";
|
|
354
357
|
const _s = "status";
|
|
355
358
|
const _sC = "staticColumns";
|
|
356
359
|
const _sD = "schemaDefinition";
|
|
@@ -379,6 +382,8 @@ const _v = "value";
|
|
|
379
382
|
const _vT = "viewType";
|
|
380
383
|
const _wCAS = "writeCapacityAutoScaling";
|
|
381
384
|
const _wCU = "writeCapacityUnits";
|
|
385
|
+
const _wTS = "warmThroughputSpecification";
|
|
386
|
+
const _wUPS = "writeUnitsPerSecond";
|
|
382
387
|
const n0 = "com.amazonaws.keyspaces";
|
|
383
388
|
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
384
389
|
{ [_aQE]: [`AccessDeniedException`, 403], [_e]: _c, [_hE]: 403 },
|
|
@@ -459,8 +464,8 @@ var CreateKeyspaceResponse$ = [3, n0, _CKRr,
|
|
|
459
464
|
];
|
|
460
465
|
var CreateTableRequest$ = [3, n0, _CTR,
|
|
461
466
|
0,
|
|
462
|
-
[_kN, _tN, _sD, _co, _cS, _eS, _pITR, _tt, _dTTL, _t, _cST, _aSS, _rSe, _cSd],
|
|
463
|
-
[0, 0, () => SchemaDefinition$, () => Comment$, () => CapacitySpecification$, () => EncryptionSpecification$, () => PointInTimeRecovery$, () => TimeToLive$, 1, () => TagList, () => ClientSideTimestamps$, () => AutoScalingSpecification$, () => ReplicaSpecificationList, () => CdcSpecification$], 3
|
|
467
|
+
[_kN, _tN, _sD, _co, _cS, _eS, _pITR, _tt, _dTTL, _t, _cST, _aSS, _rSe, _cSd, _wTS],
|
|
468
|
+
[0, 0, () => SchemaDefinition$, () => Comment$, () => CapacitySpecification$, () => EncryptionSpecification$, () => PointInTimeRecovery$, () => TimeToLive$, 1, () => TagList, () => ClientSideTimestamps$, () => AutoScalingSpecification$, () => ReplicaSpecificationList, () => CdcSpecification$, () => WarmThroughputSpecification$], 3
|
|
464
469
|
];
|
|
465
470
|
var CreateTableResponse$ = [3, n0, _CTRr,
|
|
466
471
|
0,
|
|
@@ -544,8 +549,8 @@ var GetTableRequest$ = [3, n0, _GTR,
|
|
|
544
549
|
];
|
|
545
550
|
var GetTableResponse$ = [3, n0, _GTRe,
|
|
546
551
|
0,
|
|
547
|
-
[_kN, _tN, _rA, _cT, _s, _sD, _cS, _eS, _pITR, _tt, _dTTL, _co, _cST, _rSe, _lSA, _cSd],
|
|
548
|
-
[0, 0, 0, 4, 0, () => SchemaDefinition$, () => CapacitySpecificationSummary$, () => EncryptionSpecification$, () => PointInTimeRecoverySummary$, () => TimeToLive$, 1, () => Comment$, () => ClientSideTimestamps$, () => ReplicaSpecificationSummaryList, 0, () => CdcSpecificationSummary$], 3
|
|
552
|
+
[_kN, _tN, _rA, _cT, _s, _sD, _cS, _eS, _pITR, _tt, _dTTL, _co, _cST, _rSe, _lSA, _cSd, _wTS],
|
|
553
|
+
[0, 0, 0, 4, 0, () => SchemaDefinition$, () => CapacitySpecificationSummary$, () => EncryptionSpecification$, () => PointInTimeRecoverySummary$, () => TimeToLive$, 1, () => Comment$, () => ClientSideTimestamps$, () => ReplicaSpecificationSummaryList, 0, () => CdcSpecificationSummary$, () => WarmThroughputSpecificationSummary$], 3
|
|
549
554
|
];
|
|
550
555
|
var GetTypeRequest$ = [3, n0, _GTRet,
|
|
551
556
|
0,
|
|
@@ -635,8 +640,8 @@ var ReplicaSpecification$ = [3, n0, _RS,
|
|
|
635
640
|
];
|
|
636
641
|
var ReplicaSpecificationSummary$ = [3, n0, _RSS,
|
|
637
642
|
0,
|
|
638
|
-
[_r, _s, _cS],
|
|
639
|
-
[0, 0, () => CapacitySpecificationSummary$]
|
|
643
|
+
[_r, _s, _cS, _wTS],
|
|
644
|
+
[0, 0, () => CapacitySpecificationSummary$, () => WarmThroughputSpecificationSummary$]
|
|
640
645
|
];
|
|
641
646
|
var ReplicationGroupStatus$ = [3, n0, _RGS,
|
|
642
647
|
0,
|
|
@@ -732,8 +737,8 @@ var UpdateKeyspaceResponse$ = [3, n0, _UKRp,
|
|
|
732
737
|
];
|
|
733
738
|
var UpdateTableRequest$ = [3, n0, _UTR,
|
|
734
739
|
0,
|
|
735
|
-
[_kN, _tN, _aCd, _cS, _eS, _pITR, _tt, _dTTL, _cST, _aSS, _rSe, _cSd],
|
|
736
|
-
[0, 0, () => ColumnDefinitionList, () => CapacitySpecification$, () => EncryptionSpecification$, () => PointInTimeRecovery$, () => TimeToLive$, 1, () => ClientSideTimestamps$, () => AutoScalingSpecification$, () => ReplicaSpecificationList, () => CdcSpecification$], 2
|
|
740
|
+
[_kN, _tN, _aCd, _cS, _eS, _pITR, _tt, _dTTL, _cST, _aSS, _rSe, _cSd, _wTS],
|
|
741
|
+
[0, 0, () => ColumnDefinitionList, () => CapacitySpecification$, () => EncryptionSpecification$, () => PointInTimeRecovery$, () => TimeToLive$, 1, () => ClientSideTimestamps$, () => AutoScalingSpecification$, () => ReplicaSpecificationList, () => CdcSpecification$, () => WarmThroughputSpecification$], 2
|
|
737
742
|
];
|
|
738
743
|
var UpdateTableResponse$ = [3, n0, _UTRp,
|
|
739
744
|
0,
|
|
@@ -746,6 +751,16 @@ var ValidationException$ = [-3, n0, _VE,
|
|
|
746
751
|
[0]
|
|
747
752
|
];
|
|
748
753
|
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
754
|
+
var WarmThroughputSpecification$ = [3, n0, _WTS,
|
|
755
|
+
0,
|
|
756
|
+
[_rUPS, _wUPS],
|
|
757
|
+
[1, 1]
|
|
758
|
+
];
|
|
759
|
+
var WarmThroughputSpecificationSummary$ = [3, n0, _WTSS,
|
|
760
|
+
0,
|
|
761
|
+
[_rUPS, _wUPS, _s],
|
|
762
|
+
[1, 1, 0], 3
|
|
763
|
+
];
|
|
749
764
|
var KeyspacesServiceException$ = [-3, _sm, "KeyspacesServiceException", 0, [], []];
|
|
750
765
|
schema.TypeRegistry.for(_sm).registerError(KeyspacesServiceException$, KeyspacesServiceException);
|
|
751
766
|
var ClusteringKeyList = [1, n0, _CKL,
|
|
@@ -1160,6 +1175,10 @@ const TableStatus = {
|
|
|
1160
1175
|
RESTORING: "RESTORING",
|
|
1161
1176
|
UPDATING: "UPDATING",
|
|
1162
1177
|
};
|
|
1178
|
+
const WarmThroughputStatus = {
|
|
1179
|
+
AVAILABLE: "AVAILABLE",
|
|
1180
|
+
UPDATING: "UPDATING",
|
|
1181
|
+
};
|
|
1163
1182
|
const TypeStatus = {
|
|
1164
1183
|
ACTIVE: "ACTIVE",
|
|
1165
1184
|
CREATING: "CREATING",
|
|
@@ -1308,6 +1327,9 @@ exports.UpdateTableResponse$ = UpdateTableResponse$;
|
|
|
1308
1327
|
exports.ValidationException = ValidationException;
|
|
1309
1328
|
exports.ValidationException$ = ValidationException$;
|
|
1310
1329
|
exports.ViewType = ViewType;
|
|
1330
|
+
exports.WarmThroughputSpecification$ = WarmThroughputSpecification$;
|
|
1331
|
+
exports.WarmThroughputSpecificationSummary$ = WarmThroughputSpecificationSummary$;
|
|
1332
|
+
exports.WarmThroughputStatus = WarmThroughputStatus;
|
|
1311
1333
|
exports.paginateListKeyspaces = paginateListKeyspaces;
|
|
1312
1334
|
exports.paginateListTables = paginateListTables;
|
|
1313
1335
|
exports.paginateListTagsForResource = paginateListTagsForResource;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -55,6 +55,10 @@ export const TableStatus = {
|
|
|
55
55
|
RESTORING: "RESTORING",
|
|
56
56
|
UPDATING: "UPDATING",
|
|
57
57
|
};
|
|
58
|
+
export const WarmThroughputStatus = {
|
|
59
|
+
AVAILABLE: "AVAILABLE",
|
|
60
|
+
UPDATING: "UPDATING",
|
|
61
|
+
};
|
|
58
62
|
export const TypeStatus = {
|
|
59
63
|
ACTIVE: "ACTIVE",
|
|
60
64
|
CREATING: "CREATING",
|
|
@@ -101,6 +101,8 @@ const _UT = "UpdateTable";
|
|
|
101
101
|
const _UTR = "UpdateTableRequest";
|
|
102
102
|
const _UTRp = "UpdateTableResponse";
|
|
103
103
|
const _VE = "ValidationException";
|
|
104
|
+
const _WTS = "WarmThroughputSpecification";
|
|
105
|
+
const _WTSS = "WarmThroughputSpecificationSummary";
|
|
104
106
|
const _aC = "allColumns";
|
|
105
107
|
const _aCd = "addColumns";
|
|
106
108
|
const _aQE = "awsQueryError";
|
|
@@ -157,6 +159,7 @@ const _rSe = "replicaSpecifications";
|
|
|
157
159
|
const _rSep = "replicationStrategy";
|
|
158
160
|
const _rT = "restoreTimestamp";
|
|
159
161
|
const _rTARN = "restoredTableARN";
|
|
162
|
+
const _rUPS = "readUnitsPerSecond";
|
|
160
163
|
const _s = "status";
|
|
161
164
|
const _sC = "staticColumns";
|
|
162
165
|
const _sD = "schemaDefinition";
|
|
@@ -185,6 +188,8 @@ const _v = "value";
|
|
|
185
188
|
const _vT = "viewType";
|
|
186
189
|
const _wCAS = "writeCapacityAutoScaling";
|
|
187
190
|
const _wCU = "writeCapacityUnits";
|
|
191
|
+
const _wTS = "warmThroughputSpecification";
|
|
192
|
+
const _wUPS = "writeUnitsPerSecond";
|
|
188
193
|
const n0 = "com.amazonaws.keyspaces";
|
|
189
194
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
190
195
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/errors";
|
|
@@ -268,8 +273,8 @@ export var CreateKeyspaceResponse$ = [3, n0, _CKRr,
|
|
|
268
273
|
];
|
|
269
274
|
export var CreateTableRequest$ = [3, n0, _CTR,
|
|
270
275
|
0,
|
|
271
|
-
[_kN, _tN, _sD, _co, _cS, _eS, _pITR, _tt, _dTTL, _t, _cST, _aSS, _rSe, _cSd],
|
|
272
|
-
[0, 0, () => SchemaDefinition$, () => Comment$, () => CapacitySpecification$, () => EncryptionSpecification$, () => PointInTimeRecovery$, () => TimeToLive$, 1, () => TagList, () => ClientSideTimestamps$, () => AutoScalingSpecification$, () => ReplicaSpecificationList, () => CdcSpecification$], 3
|
|
276
|
+
[_kN, _tN, _sD, _co, _cS, _eS, _pITR, _tt, _dTTL, _t, _cST, _aSS, _rSe, _cSd, _wTS],
|
|
277
|
+
[0, 0, () => SchemaDefinition$, () => Comment$, () => CapacitySpecification$, () => EncryptionSpecification$, () => PointInTimeRecovery$, () => TimeToLive$, 1, () => TagList, () => ClientSideTimestamps$, () => AutoScalingSpecification$, () => ReplicaSpecificationList, () => CdcSpecification$, () => WarmThroughputSpecification$], 3
|
|
273
278
|
];
|
|
274
279
|
export var CreateTableResponse$ = [3, n0, _CTRr,
|
|
275
280
|
0,
|
|
@@ -353,8 +358,8 @@ export var GetTableRequest$ = [3, n0, _GTR,
|
|
|
353
358
|
];
|
|
354
359
|
export var GetTableResponse$ = [3, n0, _GTRe,
|
|
355
360
|
0,
|
|
356
|
-
[_kN, _tN, _rA, _cT, _s, _sD, _cS, _eS, _pITR, _tt, _dTTL, _co, _cST, _rSe, _lSA, _cSd],
|
|
357
|
-
[0, 0, 0, 4, 0, () => SchemaDefinition$, () => CapacitySpecificationSummary$, () => EncryptionSpecification$, () => PointInTimeRecoverySummary$, () => TimeToLive$, 1, () => Comment$, () => ClientSideTimestamps$, () => ReplicaSpecificationSummaryList, 0, () => CdcSpecificationSummary$], 3
|
|
361
|
+
[_kN, _tN, _rA, _cT, _s, _sD, _cS, _eS, _pITR, _tt, _dTTL, _co, _cST, _rSe, _lSA, _cSd, _wTS],
|
|
362
|
+
[0, 0, 0, 4, 0, () => SchemaDefinition$, () => CapacitySpecificationSummary$, () => EncryptionSpecification$, () => PointInTimeRecoverySummary$, () => TimeToLive$, 1, () => Comment$, () => ClientSideTimestamps$, () => ReplicaSpecificationSummaryList, 0, () => CdcSpecificationSummary$, () => WarmThroughputSpecificationSummary$], 3
|
|
358
363
|
];
|
|
359
364
|
export var GetTypeRequest$ = [3, n0, _GTRet,
|
|
360
365
|
0,
|
|
@@ -444,8 +449,8 @@ export var ReplicaSpecification$ = [3, n0, _RS,
|
|
|
444
449
|
];
|
|
445
450
|
export var ReplicaSpecificationSummary$ = [3, n0, _RSS,
|
|
446
451
|
0,
|
|
447
|
-
[_r, _s, _cS],
|
|
448
|
-
[0, 0, () => CapacitySpecificationSummary$]
|
|
452
|
+
[_r, _s, _cS, _wTS],
|
|
453
|
+
[0, 0, () => CapacitySpecificationSummary$, () => WarmThroughputSpecificationSummary$]
|
|
449
454
|
];
|
|
450
455
|
export var ReplicationGroupStatus$ = [3, n0, _RGS,
|
|
451
456
|
0,
|
|
@@ -541,8 +546,8 @@ export var UpdateKeyspaceResponse$ = [3, n0, _UKRp,
|
|
|
541
546
|
];
|
|
542
547
|
export var UpdateTableRequest$ = [3, n0, _UTR,
|
|
543
548
|
0,
|
|
544
|
-
[_kN, _tN, _aCd, _cS, _eS, _pITR, _tt, _dTTL, _cST, _aSS, _rSe, _cSd],
|
|
545
|
-
[0, 0, () => ColumnDefinitionList, () => CapacitySpecification$, () => EncryptionSpecification$, () => PointInTimeRecovery$, () => TimeToLive$, 1, () => ClientSideTimestamps$, () => AutoScalingSpecification$, () => ReplicaSpecificationList, () => CdcSpecification$], 2
|
|
549
|
+
[_kN, _tN, _aCd, _cS, _eS, _pITR, _tt, _dTTL, _cST, _aSS, _rSe, _cSd, _wTS],
|
|
550
|
+
[0, 0, () => ColumnDefinitionList, () => CapacitySpecification$, () => EncryptionSpecification$, () => PointInTimeRecovery$, () => TimeToLive$, 1, () => ClientSideTimestamps$, () => AutoScalingSpecification$, () => ReplicaSpecificationList, () => CdcSpecification$, () => WarmThroughputSpecification$], 2
|
|
546
551
|
];
|
|
547
552
|
export var UpdateTableResponse$ = [3, n0, _UTRp,
|
|
548
553
|
0,
|
|
@@ -555,6 +560,16 @@ export var ValidationException$ = [-3, n0, _VE,
|
|
|
555
560
|
[0]
|
|
556
561
|
];
|
|
557
562
|
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
563
|
+
export var WarmThroughputSpecification$ = [3, n0, _WTS,
|
|
564
|
+
0,
|
|
565
|
+
[_rUPS, _wUPS],
|
|
566
|
+
[1, 1]
|
|
567
|
+
];
|
|
568
|
+
export var WarmThroughputSpecificationSummary$ = [3, n0, _WTSS,
|
|
569
|
+
0,
|
|
570
|
+
[_rUPS, _wUPS, _s],
|
|
571
|
+
[1, 1, 0], 3
|
|
572
|
+
];
|
|
558
573
|
export var KeyspacesServiceException$ = [-3, _sm, "KeyspacesServiceException", 0, [], []];
|
|
559
574
|
TypeRegistry.for(_sm).registerError(KeyspacesServiceException$, KeyspacesServiceException);
|
|
560
575
|
var ClusteringKeyList = [1, n0, _CKL,
|
|
@@ -149,6 +149,10 @@ declare const CreateTableCommand_base: {
|
|
|
149
149
|
* ],
|
|
150
150
|
* propagateTags: "STRING_VALUE",
|
|
151
151
|
* },
|
|
152
|
+
* warmThroughputSpecification: { // WarmThroughputSpecification
|
|
153
|
+
* readUnitsPerSecond: Number("long"),
|
|
154
|
+
* writeUnitsPerSecond: Number("long"),
|
|
155
|
+
* },
|
|
152
156
|
* };
|
|
153
157
|
* const command = new CreateTableCommand(input);
|
|
154
158
|
* const response = await client.send(command);
|
|
@@ -106,6 +106,11 @@ declare const GetTableCommand_base: {
|
|
|
106
106
|
* // writeCapacityUnits: Number("long"),
|
|
107
107
|
* // lastUpdateToPayPerRequestTimestamp: new Date("TIMESTAMP"),
|
|
108
108
|
* // },
|
|
109
|
+
* // warmThroughputSpecification: { // WarmThroughputSpecificationSummary
|
|
110
|
+
* // readUnitsPerSecond: Number("long"), // required
|
|
111
|
+
* // writeUnitsPerSecond: Number("long"), // required
|
|
112
|
+
* // status: "STRING_VALUE", // required
|
|
113
|
+
* // },
|
|
109
114
|
* // },
|
|
110
115
|
* // ],
|
|
111
116
|
* // latestStreamArn: "STRING_VALUE",
|
|
@@ -113,6 +118,11 @@ declare const GetTableCommand_base: {
|
|
|
113
118
|
* // status: "STRING_VALUE", // required
|
|
114
119
|
* // viewType: "STRING_VALUE",
|
|
115
120
|
* // },
|
|
121
|
+
* // warmThroughputSpecification: {
|
|
122
|
+
* // readUnitsPerSecond: Number("long"), // required
|
|
123
|
+
* // writeUnitsPerSecond: Number("long"), // required
|
|
124
|
+
* // status: "STRING_VALUE", // required
|
|
125
|
+
* // },
|
|
116
126
|
* // };
|
|
117
127
|
*
|
|
118
128
|
* ```
|
|
@@ -122,6 +122,10 @@ declare const UpdateTableCommand_base: {
|
|
|
122
122
|
* ],
|
|
123
123
|
* propagateTags: "STRING_VALUE",
|
|
124
124
|
* },
|
|
125
|
+
* warmThroughputSpecification: { // WarmThroughputSpecification
|
|
126
|
+
* readUnitsPerSecond: Number("long"),
|
|
127
|
+
* writeUnitsPerSecond: Number("long"),
|
|
128
|
+
* },
|
|
125
129
|
* };
|
|
126
130
|
* const command = new UpdateTableCommand(input);
|
|
127
131
|
* const response = await client.send(command);
|
|
@@ -151,6 +151,18 @@ export declare const TableStatus: {
|
|
|
151
151
|
* @public
|
|
152
152
|
*/
|
|
153
153
|
export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus];
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
* @enum
|
|
157
|
+
*/
|
|
158
|
+
export declare const WarmThroughputStatus: {
|
|
159
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
160
|
+
readonly UPDATING: "UPDATING";
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
export type WarmThroughputStatus = (typeof WarmThroughputStatus)[keyof typeof WarmThroughputStatus];
|
|
154
166
|
/**
|
|
155
167
|
* @public
|
|
156
168
|
* @enum
|
|
@@ -68,7 +68,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
68
68
|
readonly name: "ResourceNotFoundException";
|
|
69
69
|
readonly $fault: "client";
|
|
70
70
|
/**
|
|
71
|
-
* <p>The unique identifier in the format of Amazon Resource Name (ARN) for the resource couldn
|
|
71
|
+
* <p>The unique identifier in the format of Amazon Resource Name (ARN) for the resource couldn't be found.</p>
|
|
72
72
|
* @public
|
|
73
73
|
*/
|
|
74
74
|
resourceArn?: string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CdcPropagateTags, CdcStatus, ClientSideTimestampsStatus, EncryptionType, KeyspaceStatus, PointInTimeRecoveryStatus, Rs, SortOrder, TableStatus, ThroughputMode, TimeToLiveStatus, TypeStatus, ViewType } from "./enums";
|
|
1
|
+
import { CdcPropagateTags, CdcStatus, ClientSideTimestampsStatus, EncryptionType, KeyspaceStatus, PointInTimeRecoveryStatus, Rs, SortOrder, TableStatus, ThroughputMode, TimeToLiveStatus, TypeStatus, ViewType, WarmThroughputStatus } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity.</p>
|
|
4
4
|
* @public
|
|
@@ -390,6 +390,22 @@ export interface TimeToLive {
|
|
|
390
390
|
*/
|
|
391
391
|
status: TimeToLiveStatus | undefined;
|
|
392
392
|
}
|
|
393
|
+
/**
|
|
394
|
+
* <p>Specifies the warm throughput settings for a table. Pre-warming a table by specifying warm throughput pre-provisions read and write capacity units to help avoid capacity exceeded exceptions and reduce latency when your table starts receiving traffic.</p> <p>For more information about pre-warming in Amazon Keyspaces, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/warm-throughput.html">Pre-warm a table in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
|
|
395
|
+
* @public
|
|
396
|
+
*/
|
|
397
|
+
export interface WarmThroughputSpecification {
|
|
398
|
+
/**
|
|
399
|
+
* <p>The number of read capacity units per second to pre-warm the table for read capacity throughput. The minimum value is 1.</p>
|
|
400
|
+
* @public
|
|
401
|
+
*/
|
|
402
|
+
readUnitsPerSecond?: number | undefined;
|
|
403
|
+
/**
|
|
404
|
+
* <p>The number of write capacity units per second to pre-warm the table for write capacity throughput. The minimum value is 1.</p>
|
|
405
|
+
* @public
|
|
406
|
+
*/
|
|
407
|
+
writeUnitsPerSecond?: number | undefined;
|
|
408
|
+
}
|
|
393
409
|
/**
|
|
394
410
|
* @public
|
|
395
411
|
*/
|
|
@@ -464,6 +480,11 @@ export interface CreateTableRequest {
|
|
|
464
480
|
* @public
|
|
465
481
|
*/
|
|
466
482
|
cdcSpecification?: CdcSpecification | undefined;
|
|
483
|
+
/**
|
|
484
|
+
* <p>Specifies the warm throughput settings for the table. Pre-warming a table helps you avoid capacity exceeded exceptions by pre-provisioning read and write capacity units to reduce cold start latency when your table receives traffic.</p> <p>For more information about pre-warming in Amazon Keyspaces, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/warm-throughput.html">Pre-warm a table in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
|
|
485
|
+
* @public
|
|
486
|
+
*/
|
|
487
|
+
warmThroughputSpecification?: WarmThroughputSpecification | undefined;
|
|
467
488
|
}
|
|
468
489
|
/**
|
|
469
490
|
* @public
|
|
@@ -683,6 +704,27 @@ export interface PointInTimeRecoverySummary {
|
|
|
683
704
|
*/
|
|
684
705
|
earliestRestorableTimestamp?: Date | undefined;
|
|
685
706
|
}
|
|
707
|
+
/**
|
|
708
|
+
* <p>Contains the current warm throughput settings for a table, including the configured capacity units and the current status of the warm throughput configuration.</p>
|
|
709
|
+
* @public
|
|
710
|
+
*/
|
|
711
|
+
export interface WarmThroughputSpecificationSummary {
|
|
712
|
+
/**
|
|
713
|
+
* <p>The number of read capacity units per second currently configured for warm throughput.</p>
|
|
714
|
+
* @public
|
|
715
|
+
*/
|
|
716
|
+
readUnitsPerSecond: number | undefined;
|
|
717
|
+
/**
|
|
718
|
+
* <p>The number of write capacity units per second currently configured for warm throughput.</p>
|
|
719
|
+
* @public
|
|
720
|
+
*/
|
|
721
|
+
writeUnitsPerSecond: number | undefined;
|
|
722
|
+
/**
|
|
723
|
+
* <p>The current status of the warm throughput configuration. Valid values are <code>AVAILABLE</code> when the configuration is active, and <code>UPDATING</code> when changes are being applied.</p>
|
|
724
|
+
* @public
|
|
725
|
+
*/
|
|
726
|
+
status: WarmThroughputStatus | undefined;
|
|
727
|
+
}
|
|
686
728
|
/**
|
|
687
729
|
* <p>The Region-specific settings of a multi-Region table in the specified Amazon Web Services Region.</p> <p>If the multi-Region table is using provisioned capacity and has optional auto scaling policies configured, note that the Region specific summary returns both read and write capacity settings. But only Region specific read capacity settings can be configured for a multi-Region table. In a multi-Region table, your write capacity units will be synced across all Amazon Web Services Regions to ensure that there is enough capacity to replicate write events across Regions.</p>
|
|
688
730
|
* @public
|
|
@@ -703,6 +745,11 @@ export interface ReplicaSpecificationSummary {
|
|
|
703
745
|
* @public
|
|
704
746
|
*/
|
|
705
747
|
capacitySpecification?: CapacitySpecificationSummary | undefined;
|
|
748
|
+
/**
|
|
749
|
+
* <p>The warm throughput settings for this replica, including the current status and configured read and write capacity units.</p>
|
|
750
|
+
* @public
|
|
751
|
+
*/
|
|
752
|
+
warmThroughputSpecification?: WarmThroughputSpecificationSummary | undefined;
|
|
706
753
|
}
|
|
707
754
|
/**
|
|
708
755
|
* @public
|
|
@@ -788,6 +835,11 @@ export interface GetTableResponse {
|
|
|
788
835
|
* @public
|
|
789
836
|
*/
|
|
790
837
|
cdcSpecification?: CdcSpecificationSummary | undefined;
|
|
838
|
+
/**
|
|
839
|
+
* <p>The warm throughput settings for the table, including the current status and configured read and write capacity units.</p>
|
|
840
|
+
* @public
|
|
841
|
+
*/
|
|
842
|
+
warmThroughputSpecification?: WarmThroughputSpecificationSummary | undefined;
|
|
791
843
|
}
|
|
792
844
|
/**
|
|
793
845
|
* @public
|
|
@@ -1301,6 +1353,11 @@ export interface UpdateTableRequest {
|
|
|
1301
1353
|
* @public
|
|
1302
1354
|
*/
|
|
1303
1355
|
cdcSpecification?: CdcSpecification | undefined;
|
|
1356
|
+
/**
|
|
1357
|
+
* <p>Modifies the warm throughput settings for the table. You can update the read and write capacity units to adjust the pre-provisioned throughput.</p>
|
|
1358
|
+
* @public
|
|
1359
|
+
*/
|
|
1360
|
+
warmThroughputSpecification?: WarmThroughputSpecification | undefined;
|
|
1304
1361
|
}
|
|
1305
1362
|
/**
|
|
1306
1363
|
* @public
|
|
@@ -71,6 +71,8 @@ export declare var UpdateKeyspaceResponse$: StaticStructureSchema;
|
|
|
71
71
|
export declare var UpdateTableRequest$: StaticStructureSchema;
|
|
72
72
|
export declare var UpdateTableResponse$: StaticStructureSchema;
|
|
73
73
|
export declare var ValidationException$: StaticErrorSchema;
|
|
74
|
+
export declare var WarmThroughputSpecification$: StaticStructureSchema;
|
|
75
|
+
export declare var WarmThroughputSpecificationSummary$: StaticStructureSchema;
|
|
74
76
|
export declare var KeyspacesServiceException$: StaticErrorSchema;
|
|
75
77
|
export declare var CreateKeyspace$: StaticOperationSchema;
|
|
76
78
|
export declare var CreateTable$: StaticOperationSchema;
|
|
@@ -74,6 +74,12 @@ export declare const TableStatus: {
|
|
|
74
74
|
readonly UPDATING: "UPDATING";
|
|
75
75
|
};
|
|
76
76
|
export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus];
|
|
77
|
+
export declare const WarmThroughputStatus: {
|
|
78
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
79
|
+
readonly UPDATING: "UPDATING";
|
|
80
|
+
};
|
|
81
|
+
export type WarmThroughputStatus =
|
|
82
|
+
(typeof WarmThroughputStatus)[keyof typeof WarmThroughputStatus];
|
|
77
83
|
export declare const TypeStatus: {
|
|
78
84
|
readonly ACTIVE: "ACTIVE";
|
|
79
85
|
readonly CREATING: "CREATING";
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
TimeToLiveStatus,
|
|
13
13
|
TypeStatus,
|
|
14
14
|
ViewType,
|
|
15
|
+
WarmThroughputStatus,
|
|
15
16
|
} from "./enums";
|
|
16
17
|
export interface TargetTrackingScalingPolicyConfiguration {
|
|
17
18
|
disableScaleIn?: boolean | undefined;
|
|
@@ -112,6 +113,10 @@ export interface SchemaDefinition {
|
|
|
112
113
|
export interface TimeToLive {
|
|
113
114
|
status: TimeToLiveStatus | undefined;
|
|
114
115
|
}
|
|
116
|
+
export interface WarmThroughputSpecification {
|
|
117
|
+
readUnitsPerSecond?: number | undefined;
|
|
118
|
+
writeUnitsPerSecond?: number | undefined;
|
|
119
|
+
}
|
|
115
120
|
export interface CreateTableRequest {
|
|
116
121
|
keyspaceName: string | undefined;
|
|
117
122
|
tableName: string | undefined;
|
|
@@ -127,6 +132,7 @@ export interface CreateTableRequest {
|
|
|
127
132
|
autoScalingSpecification?: AutoScalingSpecification | undefined;
|
|
128
133
|
replicaSpecifications?: ReplicaSpecification[] | undefined;
|
|
129
134
|
cdcSpecification?: CdcSpecification | undefined;
|
|
135
|
+
warmThroughputSpecification?: WarmThroughputSpecification | undefined;
|
|
130
136
|
}
|
|
131
137
|
export interface CreateTableResponse {
|
|
132
138
|
resourceArn: string | undefined;
|
|
@@ -184,10 +190,16 @@ export interface PointInTimeRecoverySummary {
|
|
|
184
190
|
status: PointInTimeRecoveryStatus | undefined;
|
|
185
191
|
earliestRestorableTimestamp?: Date | undefined;
|
|
186
192
|
}
|
|
193
|
+
export interface WarmThroughputSpecificationSummary {
|
|
194
|
+
readUnitsPerSecond: number | undefined;
|
|
195
|
+
writeUnitsPerSecond: number | undefined;
|
|
196
|
+
status: WarmThroughputStatus | undefined;
|
|
197
|
+
}
|
|
187
198
|
export interface ReplicaSpecificationSummary {
|
|
188
199
|
region?: string | undefined;
|
|
189
200
|
status?: TableStatus | undefined;
|
|
190
201
|
capacitySpecification?: CapacitySpecificationSummary | undefined;
|
|
202
|
+
warmThroughputSpecification?: WarmThroughputSpecificationSummary | undefined;
|
|
191
203
|
}
|
|
192
204
|
export interface GetTableResponse {
|
|
193
205
|
keyspaceName: string | undefined;
|
|
@@ -206,6 +218,7 @@ export interface GetTableResponse {
|
|
|
206
218
|
replicaSpecifications?: ReplicaSpecificationSummary[] | undefined;
|
|
207
219
|
latestStreamArn?: string | undefined;
|
|
208
220
|
cdcSpecification?: CdcSpecificationSummary | undefined;
|
|
221
|
+
warmThroughputSpecification?: WarmThroughputSpecificationSummary | undefined;
|
|
209
222
|
}
|
|
210
223
|
export interface GetTableAutoScalingSettingsRequest {
|
|
211
224
|
keyspaceName: string | undefined;
|
|
@@ -330,6 +343,7 @@ export interface UpdateTableRequest {
|
|
|
330
343
|
autoScalingSpecification?: AutoScalingSpecification | undefined;
|
|
331
344
|
replicaSpecifications?: ReplicaSpecification[] | undefined;
|
|
332
345
|
cdcSpecification?: CdcSpecification | undefined;
|
|
346
|
+
warmThroughputSpecification?: WarmThroughputSpecification | undefined;
|
|
333
347
|
}
|
|
334
348
|
export interface UpdateTableResponse {
|
|
335
349
|
resourceArn: string | undefined;
|
|
@@ -75,6 +75,8 @@ export declare var UpdateKeyspaceResponse$: StaticStructureSchema;
|
|
|
75
75
|
export declare var UpdateTableRequest$: StaticStructureSchema;
|
|
76
76
|
export declare var UpdateTableResponse$: StaticStructureSchema;
|
|
77
77
|
export declare var ValidationException$: StaticErrorSchema;
|
|
78
|
+
export declare var WarmThroughputSpecification$: StaticStructureSchema;
|
|
79
|
+
export declare var WarmThroughputSpecificationSummary$: StaticStructureSchema;
|
|
78
80
|
export declare var KeyspacesServiceException$: StaticErrorSchema;
|
|
79
81
|
export declare var CreateKeyspace$: StaticOperationSchema;
|
|
80
82
|
export declare var CreateTable$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-keyspaces",
|
|
3
3
|
"description": "AWS SDK for JavaScript Keyspaces Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.974.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-keyspaces",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "
|
|
12
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
13
13
|
"extract:docs": "api-extractor run --local",
|
|
14
14
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo keyspaces",
|
|
15
15
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
@@ -21,38 +21,38 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
24
|
+
"@aws-sdk/core": "^3.973.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.1",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.1",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.1",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.1",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.1",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.1",
|
|
31
|
+
"@aws-sdk/types": "^3.973.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.1",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.1",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.21.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.10",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.26",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.10.
|
|
48
|
+
"@smithy/smithy-client": "^4.10.11",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.25",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.28",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@types/node": "^20.14.8",
|
|
65
65
|
"concurrently": "7.0.0",
|
|
66
66
|
"downlevel-dts": "0.10.1",
|
|
67
|
-
"
|
|
67
|
+
"premove": "4.0.0",
|
|
68
68
|
"typescript": "~5.8.3"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|