@aws-sdk/client-keyspaces 3.290.0 → 3.291.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/README.md +2 -1
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +10 -2
- package/dist-cjs/protocols/Aws_json1_0.js +19 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +7 -0
- package/dist-es/protocols/Aws_json1_0.js +19 -0
- package/dist-types/Keyspaces.d.ts +29 -11
- package/dist-types/KeyspacesClient.d.ts +2 -1
- package/dist-types/commands/RestoreTableCommand.d.ts +27 -10
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +336 -99
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,8 @@ highly available, and managed Apache Cassandra-compatible database service. Amaz
|
|
|
14
14
|
run, and scale Cassandra workloads in the Amazon Web Services Cloud. With just a few clicks on the Amazon Web Services Management Console or a few lines of code,
|
|
15
15
|
you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software. </p>
|
|
16
16
|
<p>In addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers,
|
|
17
|
-
Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI
|
|
17
|
+
Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI, as well as
|
|
18
|
+
infrastructure as code (IaC) services and tools such as CloudFormation and Terraform. This API reference describes
|
|
18
19
|
the supported DDL operations in detail.</p>
|
|
19
20
|
<p>For the list of all supported CQL APIs, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/cassandra-apis.html">Supported Cassandra APIs, operations, and data types
|
|
20
21
|
in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const s = "
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cassandra-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://cassandra.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://cassandra-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cassandra.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://cassandra.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateTableResponseFilterSensitiveLog = exports.UpdateTableRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = void 0;
|
|
3
|
+
exports.TagResourceRequestFilterSensitiveLog = exports.RestoreTableResponseFilterSensitiveLog = exports.RestoreTableRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListTablesResponseFilterSensitiveLog = exports.TableSummaryFilterSensitiveLog = exports.ListTablesRequestFilterSensitiveLog = exports.ListKeyspacesResponseFilterSensitiveLog = exports.KeyspaceSummaryFilterSensitiveLog = exports.ListKeyspacesRequestFilterSensitiveLog = exports.GetTableResponseFilterSensitiveLog = exports.PointInTimeRecoverySummaryFilterSensitiveLog = exports.GetTableRequestFilterSensitiveLog = exports.GetKeyspaceResponseFilterSensitiveLog = exports.GetKeyspaceRequestFilterSensitiveLog = exports.DeleteTableResponseFilterSensitiveLog = exports.DeleteTableRequestFilterSensitiveLog = exports.DeleteKeyspaceResponseFilterSensitiveLog = exports.DeleteKeyspaceRequestFilterSensitiveLog = exports.CreateTableResponseFilterSensitiveLog = exports.CreateTableRequestFilterSensitiveLog = exports.TimeToLiveFilterSensitiveLog = exports.SchemaDefinitionFilterSensitiveLog = exports.StaticColumnFilterSensitiveLog = exports.PartitionKeyFilterSensitiveLog = exports.PointInTimeRecoveryFilterSensitiveLog = exports.EncryptionSpecificationFilterSensitiveLog = exports.CreateKeyspaceResponseFilterSensitiveLog = exports.CreateKeyspaceRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.CommentFilterSensitiveLog = exports.ColumnDefinitionFilterSensitiveLog = exports.ClusteringKeyFilterSensitiveLog = exports.ClientSideTimestampsFilterSensitiveLog = exports.CapacitySpecificationSummaryFilterSensitiveLog = exports.CapacitySpecificationFilterSensitiveLog = exports.TableStatus = exports.ResourceNotFoundException = exports.TimeToLiveStatus = exports.PointInTimeRecoveryStatus = exports.EncryptionType = exports.ValidationException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.SortOrder = exports.ClientSideTimestampsStatus = exports.ThroughputMode = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UpdateTableResponseFilterSensitiveLog = exports.UpdateTableRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = void 0;
|
|
5
5
|
const KeyspacesServiceException_1 = require("./KeyspacesServiceException");
|
|
6
6
|
class AccessDeniedException extends KeyspacesServiceException_1.KeyspacesServiceException {
|
|
7
7
|
constructor(opts) {
|
|
@@ -21,6 +21,10 @@ var ThroughputMode;
|
|
|
21
21
|
ThroughputMode["PAY_PER_REQUEST"] = "PAY_PER_REQUEST";
|
|
22
22
|
ThroughputMode["PROVISIONED"] = "PROVISIONED";
|
|
23
23
|
})(ThroughputMode = exports.ThroughputMode || (exports.ThroughputMode = {}));
|
|
24
|
+
var ClientSideTimestampsStatus;
|
|
25
|
+
(function (ClientSideTimestampsStatus) {
|
|
26
|
+
ClientSideTimestampsStatus["ENABLED"] = "ENABLED";
|
|
27
|
+
})(ClientSideTimestampsStatus = exports.ClientSideTimestampsStatus || (exports.ClientSideTimestampsStatus = {}));
|
|
24
28
|
var SortOrder;
|
|
25
29
|
(function (SortOrder) {
|
|
26
30
|
SortOrder["ASC"] = "ASC";
|
|
@@ -124,6 +128,10 @@ const CapacitySpecificationSummaryFilterSensitiveLog = (obj) => ({
|
|
|
124
128
|
...obj,
|
|
125
129
|
});
|
|
126
130
|
exports.CapacitySpecificationSummaryFilterSensitiveLog = CapacitySpecificationSummaryFilterSensitiveLog;
|
|
131
|
+
const ClientSideTimestampsFilterSensitiveLog = (obj) => ({
|
|
132
|
+
...obj,
|
|
133
|
+
});
|
|
134
|
+
exports.ClientSideTimestampsFilterSensitiveLog = ClientSideTimestampsFilterSensitiveLog;
|
|
127
135
|
const ClusteringKeyFilterSensitiveLog = (obj) => ({
|
|
128
136
|
...obj,
|
|
129
137
|
});
|
|
@@ -812,6 +812,11 @@ const serializeAws_json1_0CapacitySpecification = (input, context) => {
|
|
|
812
812
|
...(input.writeCapacityUnits != null && { writeCapacityUnits: input.writeCapacityUnits }),
|
|
813
813
|
};
|
|
814
814
|
};
|
|
815
|
+
const serializeAws_json1_0ClientSideTimestamps = (input, context) => {
|
|
816
|
+
return {
|
|
817
|
+
...(input.status != null && { status: input.status }),
|
|
818
|
+
};
|
|
819
|
+
};
|
|
815
820
|
const serializeAws_json1_0ClusteringKey = (input, context) => {
|
|
816
821
|
return {
|
|
817
822
|
...(input.name != null && { name: input.name }),
|
|
@@ -854,6 +859,9 @@ const serializeAws_json1_0CreateTableRequest = (input, context) => {
|
|
|
854
859
|
...(input.capacitySpecification != null && {
|
|
855
860
|
capacitySpecification: serializeAws_json1_0CapacitySpecification(input.capacitySpecification, context),
|
|
856
861
|
}),
|
|
862
|
+
...(input.clientSideTimestamps != null && {
|
|
863
|
+
clientSideTimestamps: serializeAws_json1_0ClientSideTimestamps(input.clientSideTimestamps, context),
|
|
864
|
+
}),
|
|
857
865
|
...(input.comment != null && { comment: serializeAws_json1_0Comment(input.comment, context) }),
|
|
858
866
|
...(input.defaultTimeToLive != null && { defaultTimeToLive: input.defaultTimeToLive }),
|
|
859
867
|
...(input.encryptionSpecification != null && {
|
|
@@ -1021,6 +1029,9 @@ const serializeAws_json1_0UpdateTableRequest = (input, context) => {
|
|
|
1021
1029
|
...(input.capacitySpecification != null && {
|
|
1022
1030
|
capacitySpecification: serializeAws_json1_0CapacitySpecification(input.capacitySpecification, context),
|
|
1023
1031
|
}),
|
|
1032
|
+
...(input.clientSideTimestamps != null && {
|
|
1033
|
+
clientSideTimestamps: serializeAws_json1_0ClientSideTimestamps(input.clientSideTimestamps, context),
|
|
1034
|
+
}),
|
|
1024
1035
|
...(input.defaultTimeToLive != null && { defaultTimeToLive: input.defaultTimeToLive }),
|
|
1025
1036
|
...(input.encryptionSpecification != null && {
|
|
1026
1037
|
encryptionSpecification: serializeAws_json1_0EncryptionSpecification(input.encryptionSpecification, context),
|
|
@@ -1048,6 +1059,11 @@ const deserializeAws_json1_0CapacitySpecificationSummary = (output, context) =>
|
|
|
1048
1059
|
writeCapacityUnits: (0, smithy_client_1.expectLong)(output.writeCapacityUnits),
|
|
1049
1060
|
};
|
|
1050
1061
|
};
|
|
1062
|
+
const deserializeAws_json1_0ClientSideTimestamps = (output, context) => {
|
|
1063
|
+
return {
|
|
1064
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
1065
|
+
};
|
|
1066
|
+
};
|
|
1051
1067
|
const deserializeAws_json1_0ClusteringKey = (output, context) => {
|
|
1052
1068
|
return {
|
|
1053
1069
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
@@ -1125,6 +1141,9 @@ const deserializeAws_json1_0GetTableResponse = (output, context) => {
|
|
|
1125
1141
|
capacitySpecification: output.capacitySpecification != null
|
|
1126
1142
|
? deserializeAws_json1_0CapacitySpecificationSummary(output.capacitySpecification, context)
|
|
1127
1143
|
: undefined,
|
|
1144
|
+
clientSideTimestamps: output.clientSideTimestamps != null
|
|
1145
|
+
? deserializeAws_json1_0ClientSideTimestamps(output.clientSideTimestamps, context)
|
|
1146
|
+
: undefined,
|
|
1128
1147
|
comment: output.comment != null ? deserializeAws_json1_0Comment(output.comment, context) : undefined,
|
|
1129
1148
|
creationTimestamp: output.creationTimestamp != null
|
|
1130
1149
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTimestamp)))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const s = "
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cassandra-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://cassandra.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://cassandra-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cassandra.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://cassandra.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -16,6 +16,10 @@ export var ThroughputMode;
|
|
|
16
16
|
ThroughputMode["PAY_PER_REQUEST"] = "PAY_PER_REQUEST";
|
|
17
17
|
ThroughputMode["PROVISIONED"] = "PROVISIONED";
|
|
18
18
|
})(ThroughputMode || (ThroughputMode = {}));
|
|
19
|
+
export var ClientSideTimestampsStatus;
|
|
20
|
+
(function (ClientSideTimestampsStatus) {
|
|
21
|
+
ClientSideTimestampsStatus["ENABLED"] = "ENABLED";
|
|
22
|
+
})(ClientSideTimestampsStatus || (ClientSideTimestampsStatus = {}));
|
|
19
23
|
export var SortOrder;
|
|
20
24
|
(function (SortOrder) {
|
|
21
25
|
SortOrder["ASC"] = "ASC";
|
|
@@ -112,6 +116,9 @@ export const CapacitySpecificationFilterSensitiveLog = (obj) => ({
|
|
|
112
116
|
export const CapacitySpecificationSummaryFilterSensitiveLog = (obj) => ({
|
|
113
117
|
...obj,
|
|
114
118
|
});
|
|
119
|
+
export const ClientSideTimestampsFilterSensitiveLog = (obj) => ({
|
|
120
|
+
...obj,
|
|
121
|
+
});
|
|
115
122
|
export const ClusteringKeyFilterSensitiveLog = (obj) => ({
|
|
116
123
|
...obj,
|
|
117
124
|
});
|
|
@@ -783,6 +783,11 @@ const serializeAws_json1_0CapacitySpecification = (input, context) => {
|
|
|
783
783
|
...(input.writeCapacityUnits != null && { writeCapacityUnits: input.writeCapacityUnits }),
|
|
784
784
|
};
|
|
785
785
|
};
|
|
786
|
+
const serializeAws_json1_0ClientSideTimestamps = (input, context) => {
|
|
787
|
+
return {
|
|
788
|
+
...(input.status != null && { status: input.status }),
|
|
789
|
+
};
|
|
790
|
+
};
|
|
786
791
|
const serializeAws_json1_0ClusteringKey = (input, context) => {
|
|
787
792
|
return {
|
|
788
793
|
...(input.name != null && { name: input.name }),
|
|
@@ -825,6 +830,9 @@ const serializeAws_json1_0CreateTableRequest = (input, context) => {
|
|
|
825
830
|
...(input.capacitySpecification != null && {
|
|
826
831
|
capacitySpecification: serializeAws_json1_0CapacitySpecification(input.capacitySpecification, context),
|
|
827
832
|
}),
|
|
833
|
+
...(input.clientSideTimestamps != null && {
|
|
834
|
+
clientSideTimestamps: serializeAws_json1_0ClientSideTimestamps(input.clientSideTimestamps, context),
|
|
835
|
+
}),
|
|
828
836
|
...(input.comment != null && { comment: serializeAws_json1_0Comment(input.comment, context) }),
|
|
829
837
|
...(input.defaultTimeToLive != null && { defaultTimeToLive: input.defaultTimeToLive }),
|
|
830
838
|
...(input.encryptionSpecification != null && {
|
|
@@ -992,6 +1000,9 @@ const serializeAws_json1_0UpdateTableRequest = (input, context) => {
|
|
|
992
1000
|
...(input.capacitySpecification != null && {
|
|
993
1001
|
capacitySpecification: serializeAws_json1_0CapacitySpecification(input.capacitySpecification, context),
|
|
994
1002
|
}),
|
|
1003
|
+
...(input.clientSideTimestamps != null && {
|
|
1004
|
+
clientSideTimestamps: serializeAws_json1_0ClientSideTimestamps(input.clientSideTimestamps, context),
|
|
1005
|
+
}),
|
|
995
1006
|
...(input.defaultTimeToLive != null && { defaultTimeToLive: input.defaultTimeToLive }),
|
|
996
1007
|
...(input.encryptionSpecification != null && {
|
|
997
1008
|
encryptionSpecification: serializeAws_json1_0EncryptionSpecification(input.encryptionSpecification, context),
|
|
@@ -1019,6 +1030,11 @@ const deserializeAws_json1_0CapacitySpecificationSummary = (output, context) =>
|
|
|
1019
1030
|
writeCapacityUnits: __expectLong(output.writeCapacityUnits),
|
|
1020
1031
|
};
|
|
1021
1032
|
};
|
|
1033
|
+
const deserializeAws_json1_0ClientSideTimestamps = (output, context) => {
|
|
1034
|
+
return {
|
|
1035
|
+
status: __expectString(output.status),
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
1022
1038
|
const deserializeAws_json1_0ClusteringKey = (output, context) => {
|
|
1023
1039
|
return {
|
|
1024
1040
|
name: __expectString(output.name),
|
|
@@ -1096,6 +1112,9 @@ const deserializeAws_json1_0GetTableResponse = (output, context) => {
|
|
|
1096
1112
|
capacitySpecification: output.capacitySpecification != null
|
|
1097
1113
|
? deserializeAws_json1_0CapacitySpecificationSummary(output.capacitySpecification, context)
|
|
1098
1114
|
: undefined,
|
|
1115
|
+
clientSideTimestamps: output.clientSideTimestamps != null
|
|
1116
|
+
? deserializeAws_json1_0ClientSideTimestamps(output.clientSideTimestamps, context)
|
|
1117
|
+
: undefined,
|
|
1099
1118
|
comment: output.comment != null ? deserializeAws_json1_0Comment(output.comment, context) : undefined,
|
|
1100
1119
|
creationTimestamp: output.creationTimestamp != null
|
|
1101
1120
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTimestamp)))
|
|
@@ -19,7 +19,8 @@ import { KeyspacesClient } from "./KeyspacesClient";
|
|
|
19
19
|
* run, and scale Cassandra workloads in the Amazon Web Services Cloud. With just a few clicks on the Amazon Web Services Management Console or a few lines of code,
|
|
20
20
|
* you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software. </p>
|
|
21
21
|
* <p>In addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers,
|
|
22
|
-
*
|
|
22
|
+
* Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI, as well as
|
|
23
|
+
* infrastructure as code (IaC) services and tools such as CloudFormation and Terraform. This API reference describes
|
|
23
24
|
* the supported DDL operations in detail.</p>
|
|
24
25
|
* <p>For the list of all supported CQL APIs, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/cassandra-apis.html">Supported Cassandra APIs, operations, and data types
|
|
25
26
|
* in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer
|
|
@@ -107,8 +108,7 @@ export declare class Keyspaces extends KeyspacesClient {
|
|
|
107
108
|
* <p>Restores the specified table to the specified point in time within the
|
|
108
109
|
* <code>earliest_restorable_timestamp</code> and the current time. For more information about restore points, see
|
|
109
110
|
* <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_window">
|
|
110
|
-
* Time window for PITR continuous backups</a> in the <i>Amazon Keyspaces Developer Guide</i
|
|
111
|
-
* </p>
|
|
111
|
+
* Time window for PITR continuous backups</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
|
|
112
112
|
* <p>Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.</p>
|
|
113
113
|
* <p>When you restore using point in time recovery,
|
|
114
114
|
* Amazon Keyspaces restores your source table's schema and data to the state
|
|
@@ -121,19 +121,37 @@ export declare class Keyspaces extends KeyspacesClient {
|
|
|
121
121
|
* these settings are always restored based on the table's settings as of the current time or when the table was deleted.</p>
|
|
122
122
|
* <p>You can also overwrite
|
|
123
123
|
* these settings during restore:</p>
|
|
124
|
-
* <
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
124
|
+
* <ul>
|
|
125
|
+
* <li>
|
|
126
|
+
* <p>Read/write capacity mode</p>
|
|
127
|
+
* </li>
|
|
128
|
+
* <li>
|
|
129
|
+
* <p>Provisioned throughput capacity settings</p>
|
|
130
|
+
* </li>
|
|
131
|
+
* <li>
|
|
132
|
+
* <p>Point-in-time (PITR) settings</p>
|
|
133
|
+
* </li>
|
|
134
|
+
* <li>
|
|
135
|
+
* <p>Tags</p>
|
|
136
|
+
* </li>
|
|
137
|
+
* </ul>
|
|
128
138
|
* <p>For more
|
|
129
139
|
* information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_settings">PITR restore settings</a> in the <i>Amazon Keyspaces Developer
|
|
130
140
|
* Guide</i>.</p>
|
|
131
141
|
* <p>Note that the following settings are not restored, and you must configure them manually for
|
|
132
142
|
* the new table:</p>
|
|
133
|
-
* <
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
143
|
+
* <ul>
|
|
144
|
+
* <li>
|
|
145
|
+
* <p>Automatic scaling policies (for tables that use provisioned capacity
|
|
146
|
+
* mode)</p>
|
|
147
|
+
* </li>
|
|
148
|
+
* <li>
|
|
149
|
+
* <p>Identity and Access Management (IAM) policies</p>
|
|
150
|
+
* </li>
|
|
151
|
+
* <li>
|
|
152
|
+
* <p>Amazon CloudWatch metrics and alarms</p>
|
|
153
|
+
* </li>
|
|
154
|
+
* </ul>
|
|
137
155
|
*/
|
|
138
156
|
restoreTable(args: RestoreTableCommandInput, options?: __HttpHandlerOptions): Promise<RestoreTableCommandOutput>;
|
|
139
157
|
restoreTable(args: RestoreTableCommandInput, cb: (err: any, data?: RestoreTableCommandOutput) => void): void;
|
|
@@ -141,7 +141,8 @@ export interface KeyspacesClientResolvedConfig extends KeyspacesClientResolvedCo
|
|
|
141
141
|
* run, and scale Cassandra workloads in the Amazon Web Services Cloud. With just a few clicks on the Amazon Web Services Management Console or a few lines of code,
|
|
142
142
|
* you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software. </p>
|
|
143
143
|
* <p>In addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers,
|
|
144
|
-
*
|
|
144
|
+
* Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI, as well as
|
|
145
|
+
* infrastructure as code (IaC) services and tools such as CloudFormation and Terraform. This API reference describes
|
|
145
146
|
* the supported DDL operations in detail.</p>
|
|
146
147
|
* <p>For the list of all supported CQL APIs, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/cassandra-apis.html">Supported Cassandra APIs, operations, and data types
|
|
147
148
|
* in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer
|
|
@@ -17,8 +17,7 @@ export interface RestoreTableCommandOutput extends RestoreTableResponse, __Metad
|
|
|
17
17
|
* <p>Restores the specified table to the specified point in time within the
|
|
18
18
|
* <code>earliest_restorable_timestamp</code> and the current time. For more information about restore points, see
|
|
19
19
|
* <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_window">
|
|
20
|
-
* Time window for PITR continuous backups</a> in the <i>Amazon Keyspaces Developer Guide</i
|
|
21
|
-
* </p>
|
|
20
|
+
* Time window for PITR continuous backups</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
|
|
22
21
|
* <p>Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.</p>
|
|
23
22
|
* <p>When you restore using point in time recovery,
|
|
24
23
|
* Amazon Keyspaces restores your source table's schema and data to the state
|
|
@@ -31,19 +30,37 @@ export interface RestoreTableCommandOutput extends RestoreTableResponse, __Metad
|
|
|
31
30
|
* these settings are always restored based on the table's settings as of the current time or when the table was deleted.</p>
|
|
32
31
|
* <p>You can also overwrite
|
|
33
32
|
* these settings during restore:</p>
|
|
34
|
-
* <
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
33
|
+
* <ul>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>Read/write capacity mode</p>
|
|
36
|
+
* </li>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>Provisioned throughput capacity settings</p>
|
|
39
|
+
* </li>
|
|
40
|
+
* <li>
|
|
41
|
+
* <p>Point-in-time (PITR) settings</p>
|
|
42
|
+
* </li>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>Tags</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* </ul>
|
|
38
47
|
* <p>For more
|
|
39
48
|
* information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_settings">PITR restore settings</a> in the <i>Amazon Keyspaces Developer
|
|
40
49
|
* Guide</i>.</p>
|
|
41
50
|
* <p>Note that the following settings are not restored, and you must configure them manually for
|
|
42
51
|
* the new table:</p>
|
|
43
|
-
* <
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
52
|
+
* <ul>
|
|
53
|
+
* <li>
|
|
54
|
+
* <p>Automatic scaling policies (for tables that use provisioned capacity
|
|
55
|
+
* mode)</p>
|
|
56
|
+
* </li>
|
|
57
|
+
* <li>
|
|
58
|
+
* <p>Identity and Access Management (IAM) policies</p>
|
|
59
|
+
* </li>
|
|
60
|
+
* <li>
|
|
61
|
+
* <p>Amazon CloudWatch metrics and alarms</p>
|
|
62
|
+
* </li>
|
|
63
|
+
* </ul>
|
|
47
64
|
* @example
|
|
48
65
|
* Use a bare-bones client and the command you need to make an API call.
|
|
49
66
|
* ```javascript
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -17,9 +17,15 @@ export declare enum ThroughputMode {
|
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* <p>Amazon Keyspaces has two read/write capacity modes for processing reads and writes on your tables: </p>
|
|
20
|
-
* <
|
|
21
|
-
*
|
|
22
|
-
*
|
|
20
|
+
* <ul>
|
|
21
|
+
* <li>
|
|
22
|
+
* <p>On-demand (default)</p>
|
|
23
|
+
* </li>
|
|
24
|
+
* <li>
|
|
25
|
+
* <p>Provisioned</p>
|
|
26
|
+
* </li>
|
|
27
|
+
* </ul>
|
|
28
|
+
* <p>The read/write capacity mode that you choose controls how you are charged for read and
|
|
23
29
|
* write throughput and how table throughput capacity is managed.</p>
|
|
24
30
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer
|
|
25
31
|
* Guide</i>.</p>
|
|
@@ -27,9 +33,17 @@ export declare enum ThroughputMode {
|
|
|
27
33
|
export interface CapacitySpecification {
|
|
28
34
|
/**
|
|
29
35
|
* <p>The read/write throughput capacity mode for a table. The options are:</p>
|
|
30
|
-
* <
|
|
31
|
-
*
|
|
32
|
-
* <
|
|
36
|
+
* <ul>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>
|
|
39
|
+
* <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
40
|
+
* </li>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>
|
|
43
|
+
* <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires
|
|
44
|
+
* <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input.</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* </ul>
|
|
33
47
|
* <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p>
|
|
34
48
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer
|
|
35
49
|
* Guide</i>.</p>
|
|
@@ -48,17 +62,33 @@ export interface CapacitySpecification {
|
|
|
48
62
|
}
|
|
49
63
|
/**
|
|
50
64
|
* <p>The read/write throughput capacity mode for a table. The options are:</p>
|
|
51
|
-
* <
|
|
52
|
-
*
|
|
65
|
+
* <ul>
|
|
66
|
+
* <li>
|
|
67
|
+
* <p>
|
|
68
|
+
* <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
69
|
+
* </li>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>
|
|
72
|
+
* <code>throughputMode:PROVISIONED</code>.</p>
|
|
73
|
+
* </li>
|
|
74
|
+
* </ul>
|
|
53
75
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer
|
|
54
76
|
* Guide</i>.</p>
|
|
55
77
|
*/
|
|
56
78
|
export interface CapacitySpecificationSummary {
|
|
57
79
|
/**
|
|
58
80
|
* <p>The read/write throughput capacity mode for a table. The options are:</p>
|
|
59
|
-
* <
|
|
60
|
-
*
|
|
61
|
-
* <
|
|
81
|
+
* <ul>
|
|
82
|
+
* <li>
|
|
83
|
+
* <p>
|
|
84
|
+
* <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
85
|
+
* </li>
|
|
86
|
+
* <li>
|
|
87
|
+
* <p>
|
|
88
|
+
* <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires
|
|
89
|
+
* <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input. </p>
|
|
90
|
+
* </li>
|
|
91
|
+
* </ul>
|
|
62
92
|
* <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p>
|
|
63
93
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer
|
|
64
94
|
* Guide</i>.</p>
|
|
@@ -79,6 +109,20 @@ export interface CapacitySpecificationSummary {
|
|
|
79
109
|
*/
|
|
80
110
|
lastUpdateToPayPerRequestTimestamp?: Date;
|
|
81
111
|
}
|
|
112
|
+
export declare enum ClientSideTimestampsStatus {
|
|
113
|
+
ENABLED = "ENABLED"
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* <p>The client-side timestamp setting of the table.</p>
|
|
117
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/client-side-timestamps-how-it-works.html">How it works: Amazon Keyspaces client-side timestamps</a> in the <i>Amazon Keyspaces Developer
|
|
118
|
+
* Guide</i>.</p>
|
|
119
|
+
*/
|
|
120
|
+
export interface ClientSideTimestamps {
|
|
121
|
+
/**
|
|
122
|
+
* <p>Shows how to enable client-side timestamps settings for the specified table.</p>
|
|
123
|
+
*/
|
|
124
|
+
status: ClientSideTimestampsStatus | string | undefined;
|
|
125
|
+
}
|
|
82
126
|
export declare enum SortOrder {
|
|
83
127
|
ASC = "ASC",
|
|
84
128
|
DESC = "DESC"
|
|
@@ -210,9 +254,15 @@ export declare enum EncryptionType {
|
|
|
210
254
|
/**
|
|
211
255
|
* <p>Amazon Keyspaces encrypts and decrypts the table data at rest transparently and integrates with Key Management Service for storing and managing the encryption key.
|
|
212
256
|
* You can choose one of the following KMS keys (KMS keys):</p>
|
|
213
|
-
* <
|
|
214
|
-
*
|
|
215
|
-
*
|
|
257
|
+
* <ul>
|
|
258
|
+
* <li>
|
|
259
|
+
* <p>Amazon Web Services owned key - This is the default encryption type. The key is owned by Amazon Keyspaces (no additional charge). </p>
|
|
260
|
+
* </li>
|
|
261
|
+
* <li>
|
|
262
|
+
* <p>Customer managed key - This key is stored in your account and is created, owned, and managed by you. You have full control over the customer
|
|
263
|
+
* managed key (KMS charges apply).</p>
|
|
264
|
+
* </li>
|
|
265
|
+
* </ul>
|
|
216
266
|
* <p>For more information about encryption at rest in Amazon Keyspaces, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html">Encryption at rest</a> in the <i>Amazon Keyspaces Developer
|
|
217
267
|
* Guide</i>.</p>
|
|
218
268
|
* <p>For more information about KMS, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html">KMS management service concepts</a> in the <i>Key Management Service Developer Guide</i>.</p>
|
|
@@ -220,10 +270,18 @@ export declare enum EncryptionType {
|
|
|
220
270
|
export interface EncryptionSpecification {
|
|
221
271
|
/**
|
|
222
272
|
* <p>The encryption option specified for the table. You can choose one of the following KMS keys (KMS keys):</p>
|
|
223
|
-
* <
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
*
|
|
273
|
+
* <ul>
|
|
274
|
+
* <li>
|
|
275
|
+
* <p>
|
|
276
|
+
* <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p>
|
|
277
|
+
* </li>
|
|
278
|
+
* <li>
|
|
279
|
+
* <p>
|
|
280
|
+
* <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you.
|
|
281
|
+
* This option
|
|
282
|
+
* requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input. </p>
|
|
283
|
+
* </li>
|
|
284
|
+
* </ul>
|
|
227
285
|
* <p>The default is <code>type:AWS_OWNED_KMS_KEY</code>. </p>
|
|
228
286
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html">Encryption at rest</a> in the <i>Amazon Keyspaces Developer
|
|
229
287
|
* Guide</i>.</p>
|
|
@@ -246,10 +304,18 @@ export declare enum PointInTimeRecoveryStatus {
|
|
|
246
304
|
export interface PointInTimeRecovery {
|
|
247
305
|
/**
|
|
248
306
|
* <p>The options are:</p>
|
|
249
|
-
* <
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
307
|
+
* <ul>
|
|
308
|
+
* <li>
|
|
309
|
+
* <p>
|
|
310
|
+
* <code>status=ENABLED</code>
|
|
311
|
+
* </p>
|
|
312
|
+
* </li>
|
|
313
|
+
* <li>
|
|
314
|
+
* <p>
|
|
315
|
+
* <code>status=DISABLED</code>
|
|
316
|
+
* </p>
|
|
317
|
+
* </li>
|
|
318
|
+
* </ul>
|
|
253
319
|
*/
|
|
254
320
|
status: PointInTimeRecoveryStatus | string | undefined;
|
|
255
321
|
}
|
|
@@ -321,30 +387,61 @@ export interface CreateTableRequest {
|
|
|
321
387
|
* <p>The <code>schemaDefinition</code> consists of the
|
|
322
388
|
* following parameters.</p>
|
|
323
389
|
* <p>For each column to be created:</p>
|
|
324
|
-
* <
|
|
325
|
-
*
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
*
|
|
390
|
+
* <ul>
|
|
391
|
+
* <li>
|
|
392
|
+
* <p>
|
|
393
|
+
* <code>name</code> - The name
|
|
394
|
+
* of the column.</p>
|
|
395
|
+
* </li>
|
|
396
|
+
* <li>
|
|
397
|
+
* <p>
|
|
398
|
+
* <code>type</code> - An Amazon Keyspaces
|
|
399
|
+
* data type. For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/cql.elements.html#cql.data-types">Data types</a> in the <i>Amazon Keyspaces Developer
|
|
400
|
+
* Guide</i>.</p>
|
|
401
|
+
* </li>
|
|
402
|
+
* </ul>
|
|
329
403
|
* <p>The primary key of the table consists of the
|
|
330
404
|
* following columns:</p>
|
|
331
|
-
* <
|
|
332
|
-
*
|
|
333
|
-
*
|
|
334
|
-
*
|
|
335
|
-
*
|
|
336
|
-
*
|
|
337
|
-
*
|
|
338
|
-
*
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
*
|
|
342
|
-
*
|
|
343
|
-
*
|
|
344
|
-
*
|
|
345
|
-
*
|
|
346
|
-
*
|
|
347
|
-
*
|
|
405
|
+
* <ul>
|
|
406
|
+
* <li>
|
|
407
|
+
* <p>
|
|
408
|
+
* <code>partitionKeys</code> - The partition key can be a single column, or it can be a
|
|
409
|
+
* compound value composed of two or more columns. The partition
|
|
410
|
+
* key portion of the primary key is required and determines how
|
|
411
|
+
* Amazon Keyspaces stores your data.</p>
|
|
412
|
+
* </li>
|
|
413
|
+
* <li>
|
|
414
|
+
* <p>
|
|
415
|
+
* <code>name</code> - The name of each partition key column.</p>
|
|
416
|
+
* </li>
|
|
417
|
+
* <li>
|
|
418
|
+
* <p>
|
|
419
|
+
* <code>clusteringKeys</code> - The optional clustering column portion of your primary key
|
|
420
|
+
* determines how the data is clustered and sorted within each
|
|
421
|
+
* partition.</p>
|
|
422
|
+
* </li>
|
|
423
|
+
* <li>
|
|
424
|
+
* <p>
|
|
425
|
+
* <code>name</code> - The name of the clustering column. </p>
|
|
426
|
+
* </li>
|
|
427
|
+
* <li>
|
|
428
|
+
* <p>
|
|
429
|
+
* <code>orderBy</code> - Sets the
|
|
430
|
+
* ascendant (<code>ASC</code>) or descendant (<code>DESC</code>) order modifier.</p>
|
|
431
|
+
* <p>To define a column as static use <code>staticColumns</code> -
|
|
432
|
+
* Static columns store values that are shared by all rows in the same partition:</p>
|
|
433
|
+
* </li>
|
|
434
|
+
* <li>
|
|
435
|
+
* <p>
|
|
436
|
+
* <code>name</code> - The name
|
|
437
|
+
* of the column.</p>
|
|
438
|
+
* </li>
|
|
439
|
+
* <li>
|
|
440
|
+
* <p>
|
|
441
|
+
* <code>type</code> - An Amazon Keyspaces
|
|
442
|
+
* data type.</p>
|
|
443
|
+
* </li>
|
|
444
|
+
* </ul>
|
|
348
445
|
*/
|
|
349
446
|
schemaDefinition: SchemaDefinition | undefined;
|
|
350
447
|
/**
|
|
@@ -353,9 +450,17 @@ export interface CreateTableRequest {
|
|
|
353
450
|
comment?: Comment;
|
|
354
451
|
/**
|
|
355
452
|
* <p>Specifies the read/write throughput capacity mode for the table. The options are:</p>
|
|
356
|
-
* <
|
|
357
|
-
*
|
|
358
|
-
*
|
|
453
|
+
* <ul>
|
|
454
|
+
* <li>
|
|
455
|
+
* <p>
|
|
456
|
+
* <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
457
|
+
* </li>
|
|
458
|
+
* <li>
|
|
459
|
+
* <p>
|
|
460
|
+
* <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires
|
|
461
|
+
* <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input.</p>
|
|
462
|
+
* </li>
|
|
463
|
+
* </ul>
|
|
359
464
|
* <p>The default is
|
|
360
465
|
* <code>throughput_mode:PAY_PER_REQUEST</code>.</p>
|
|
361
466
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer
|
|
@@ -365,11 +470,19 @@ export interface CreateTableRequest {
|
|
|
365
470
|
/**
|
|
366
471
|
* <p>Specifies how the encryption key for encryption at rest is managed for the table.
|
|
367
472
|
* You can choose one of the following KMS key (KMS key):</p>
|
|
368
|
-
* <
|
|
369
|
-
*
|
|
370
|
-
*
|
|
371
|
-
*
|
|
372
|
-
*
|
|
473
|
+
* <ul>
|
|
474
|
+
* <li>
|
|
475
|
+
* <p>
|
|
476
|
+
* <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p>
|
|
477
|
+
* </li>
|
|
478
|
+
* <li>
|
|
479
|
+
* <p>
|
|
480
|
+
* <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you.
|
|
481
|
+
* This option
|
|
482
|
+
* requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input.</p>
|
|
483
|
+
* </li>
|
|
484
|
+
* </ul>
|
|
485
|
+
* <p>The default is <code>type:AWS_OWNED_KMS_KEY</code>.</p>
|
|
373
486
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html">Encryption at rest</a> in the <i>Amazon Keyspaces Developer
|
|
374
487
|
* Guide</i>.</p>
|
|
375
488
|
*/
|
|
@@ -377,12 +490,20 @@ export interface CreateTableRequest {
|
|
|
377
490
|
/**
|
|
378
491
|
* <p>Specifies if <code>pointInTimeRecovery</code> is enabled or disabled for the
|
|
379
492
|
* table. The options are:</p>
|
|
380
|
-
* <
|
|
381
|
-
*
|
|
382
|
-
*
|
|
383
|
-
*
|
|
493
|
+
* <ul>
|
|
494
|
+
* <li>
|
|
495
|
+
* <p>
|
|
496
|
+
* <code>status=ENABLED</code>
|
|
497
|
+
* </p>
|
|
498
|
+
* </li>
|
|
499
|
+
* <li>
|
|
500
|
+
* <p>
|
|
501
|
+
* <code>status=DISABLED</code>
|
|
502
|
+
* </p>
|
|
503
|
+
* </li>
|
|
504
|
+
* </ul>
|
|
384
505
|
* <p>If it's not specified, the
|
|
385
|
-
* default is <code>DISABLED</code>.</p>
|
|
506
|
+
* default is <code>status=DISABLED</code>.</p>
|
|
386
507
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html">Point-in-time recovery</a> in the <i>Amazon Keyspaces Developer
|
|
387
508
|
* Guide</i>.</p>
|
|
388
509
|
*/
|
|
@@ -390,10 +511,18 @@ export interface CreateTableRequest {
|
|
|
390
511
|
/**
|
|
391
512
|
* <p>Enables Time to Live custom settings for the
|
|
392
513
|
* table. The options are:</p>
|
|
393
|
-
* <
|
|
394
|
-
*
|
|
395
|
-
*
|
|
396
|
-
*
|
|
514
|
+
* <ul>
|
|
515
|
+
* <li>
|
|
516
|
+
* <p>
|
|
517
|
+
* <code>status:enabled</code>
|
|
518
|
+
* </p>
|
|
519
|
+
* </li>
|
|
520
|
+
* <li>
|
|
521
|
+
* <p>
|
|
522
|
+
* <code>status:disabled</code>
|
|
523
|
+
* </p>
|
|
524
|
+
* </li>
|
|
525
|
+
* </ul>
|
|
397
526
|
* <p>The default is <code>status:disabled</code>. After
|
|
398
527
|
* <code>ttl</code> is enabled, you can't disable it
|
|
399
528
|
* for the table.</p>
|
|
@@ -415,6 +544,20 @@ export interface CreateTableRequest {
|
|
|
415
544
|
* Guide</i>.</p>
|
|
416
545
|
*/
|
|
417
546
|
tags?: Tag[];
|
|
547
|
+
/**
|
|
548
|
+
* <p>
|
|
549
|
+
* Enables client-side timestamps for the table. By default, the setting is disabled. You can enable
|
|
550
|
+
* client-side timestamps with the following option:</p>
|
|
551
|
+
* <ul>
|
|
552
|
+
* <li>
|
|
553
|
+
* <p>
|
|
554
|
+
* <code>status: "enabled"</code>
|
|
555
|
+
* </p>
|
|
556
|
+
* </li>
|
|
557
|
+
* </ul>
|
|
558
|
+
* <p>Once client-side timestamps are enabled for a table, this setting cannot be disabled.</p>
|
|
559
|
+
*/
|
|
560
|
+
clientSideTimestamps?: ClientSideTimestamps;
|
|
418
561
|
}
|
|
419
562
|
export interface CreateTableResponse {
|
|
420
563
|
/**
|
|
@@ -532,10 +675,18 @@ export interface GetTableResponse {
|
|
|
532
675
|
schemaDefinition?: SchemaDefinition;
|
|
533
676
|
/**
|
|
534
677
|
* <p>The read/write throughput capacity mode for a table. The options are:</p>
|
|
535
|
-
* <
|
|
536
|
-
*
|
|
537
|
-
*
|
|
538
|
-
*
|
|
678
|
+
* <ul>
|
|
679
|
+
* <li>
|
|
680
|
+
* <p>
|
|
681
|
+
* <code>throughputMode:PAY_PER_REQUEST</code>
|
|
682
|
+
* </p>
|
|
683
|
+
* </li>
|
|
684
|
+
* <li>
|
|
685
|
+
* <p>
|
|
686
|
+
* <code>throughputMode:PROVISIONED</code>
|
|
687
|
+
* </p>
|
|
688
|
+
* </li>
|
|
689
|
+
* </ul>
|
|
539
690
|
*/
|
|
540
691
|
capacitySpecification?: CapacitySpecificationSummary;
|
|
541
692
|
/**
|
|
@@ -551,13 +702,18 @@ export interface GetTableResponse {
|
|
|
551
702
|
*/
|
|
552
703
|
ttl?: TimeToLive;
|
|
553
704
|
/**
|
|
554
|
-
* <p>The default Time to Live settings of the specified table.</p>
|
|
705
|
+
* <p>The default Time to Live settings in seconds of the specified table.</p>
|
|
555
706
|
*/
|
|
556
707
|
defaultTimeToLive?: number;
|
|
557
708
|
/**
|
|
558
709
|
* <p>The the description of the specified table.</p>
|
|
559
710
|
*/
|
|
560
711
|
comment?: Comment;
|
|
712
|
+
/**
|
|
713
|
+
* <p>
|
|
714
|
+
* The client-side timestamps setting of the table.</p>
|
|
715
|
+
*/
|
|
716
|
+
clientSideTimestamps?: ClientSideTimestamps;
|
|
561
717
|
}
|
|
562
718
|
export interface ListKeyspacesRequest {
|
|
563
719
|
/**
|
|
@@ -686,10 +842,18 @@ export interface RestoreTableRequest {
|
|
|
686
842
|
restoreTimestamp?: Date;
|
|
687
843
|
/**
|
|
688
844
|
* <p>Specifies the read/write throughput capacity mode for the target table. The options are:</p>
|
|
689
|
-
* <
|
|
690
|
-
*
|
|
691
|
-
*
|
|
845
|
+
* <ul>
|
|
846
|
+
* <li>
|
|
847
|
+
* <p>
|
|
848
|
+
* <code>throughputMode:PAY_PER_REQUEST</code>
|
|
849
|
+
* </p>
|
|
850
|
+
* </li>
|
|
851
|
+
* <li>
|
|
852
|
+
* <p>
|
|
853
|
+
* <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires
|
|
692
854
|
* <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input.</p>
|
|
855
|
+
* </li>
|
|
856
|
+
* </ul>
|
|
693
857
|
* <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p>
|
|
694
858
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer
|
|
695
859
|
* Guide</i>.</p>
|
|
@@ -697,10 +861,18 @@ export interface RestoreTableRequest {
|
|
|
697
861
|
capacitySpecificationOverride?: CapacitySpecification;
|
|
698
862
|
/**
|
|
699
863
|
* <p>Specifies the encryption settings for the target table. You can choose one of the following KMS key (KMS key):</p>
|
|
700
|
-
* <
|
|
701
|
-
*
|
|
702
|
-
*
|
|
703
|
-
*
|
|
864
|
+
* <ul>
|
|
865
|
+
* <li>
|
|
866
|
+
* <p>
|
|
867
|
+
* <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p>
|
|
868
|
+
* </li>
|
|
869
|
+
* <li>
|
|
870
|
+
* <p>
|
|
871
|
+
* <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you.
|
|
872
|
+
* This option
|
|
873
|
+
* requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input. </p>
|
|
874
|
+
* </li>
|
|
875
|
+
* </ul>
|
|
704
876
|
* <p>The default is <code>type:AWS_OWNED_KMS_KEY</code>.</p>
|
|
705
877
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html">Encryption at rest</a> in the <i>Amazon Keyspaces Developer
|
|
706
878
|
* Guide</i>.</p>
|
|
@@ -709,11 +881,19 @@ export interface RestoreTableRequest {
|
|
|
709
881
|
/**
|
|
710
882
|
* <p>Specifies the <code>pointInTimeRecovery</code> settings for the target
|
|
711
883
|
* table. The options are:</p>
|
|
712
|
-
* <
|
|
713
|
-
*
|
|
714
|
-
*
|
|
715
|
-
*
|
|
716
|
-
*
|
|
884
|
+
* <ul>
|
|
885
|
+
* <li>
|
|
886
|
+
* <p>
|
|
887
|
+
* <code>status=ENABLED</code>
|
|
888
|
+
* </p>
|
|
889
|
+
* </li>
|
|
890
|
+
* <li>
|
|
891
|
+
* <p>
|
|
892
|
+
* <code>status=DISABLED</code>
|
|
893
|
+
* </p>
|
|
894
|
+
* </li>
|
|
895
|
+
* </ul>
|
|
896
|
+
* <p>If it's not specified, the default is <code>status=DISABLED</code>.</p>
|
|
717
897
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html">Point-in-time recovery</a> in the <i>Amazon Keyspaces Developer
|
|
718
898
|
* Guide</i>.</p>
|
|
719
899
|
*/
|
|
@@ -767,18 +947,34 @@ export interface UpdateTableRequest {
|
|
|
767
947
|
tableName: string | undefined;
|
|
768
948
|
/**
|
|
769
949
|
* <p>For each column to be added to the specified table:</p>
|
|
770
|
-
* <
|
|
771
|
-
*
|
|
772
|
-
*
|
|
773
|
-
*
|
|
774
|
-
*
|
|
950
|
+
* <ul>
|
|
951
|
+
* <li>
|
|
952
|
+
* <p>
|
|
953
|
+
* <code>name</code> - The name
|
|
954
|
+
* of the column.</p>
|
|
955
|
+
* </li>
|
|
956
|
+
* <li>
|
|
957
|
+
* <p>
|
|
958
|
+
* <code>type</code> - An Amazon Keyspaces
|
|
959
|
+
* data type. For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/cql.elements.html#cql.data-types">Data types</a> in the <i>Amazon Keyspaces Developer
|
|
960
|
+
* Guide</i>.</p>
|
|
961
|
+
* </li>
|
|
962
|
+
* </ul>
|
|
775
963
|
*/
|
|
776
964
|
addColumns?: ColumnDefinition[];
|
|
777
965
|
/**
|
|
778
966
|
* <p>Modifies the read/write throughput capacity mode for the table. The options are:</p>
|
|
779
|
-
* <
|
|
780
|
-
*
|
|
781
|
-
* <
|
|
967
|
+
* <ul>
|
|
968
|
+
* <li>
|
|
969
|
+
* <p>
|
|
970
|
+
* <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
971
|
+
* </li>
|
|
972
|
+
* <li>
|
|
973
|
+
* <p>
|
|
974
|
+
* <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires
|
|
975
|
+
* <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input.</p>
|
|
976
|
+
* </li>
|
|
977
|
+
* </ul>
|
|
782
978
|
* <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p>
|
|
783
979
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer
|
|
784
980
|
* Guide</i>.</p>
|
|
@@ -786,10 +982,18 @@ export interface UpdateTableRequest {
|
|
|
786
982
|
capacitySpecification?: CapacitySpecification;
|
|
787
983
|
/**
|
|
788
984
|
* <p>Modifies the encryption settings of the table. You can choose one of the following KMS key (KMS key):</p>
|
|
789
|
-
* <
|
|
790
|
-
*
|
|
791
|
-
*
|
|
792
|
-
*
|
|
985
|
+
* <ul>
|
|
986
|
+
* <li>
|
|
987
|
+
* <p>
|
|
988
|
+
* <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p>
|
|
989
|
+
* </li>
|
|
990
|
+
* <li>
|
|
991
|
+
* <p>
|
|
992
|
+
* <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you.
|
|
993
|
+
* This option
|
|
994
|
+
* requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input. </p>
|
|
995
|
+
* </li>
|
|
996
|
+
* </ul>
|
|
793
997
|
* <p>The default is <code>AWS_OWNED_KMS_KEY</code>.</p>
|
|
794
998
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html">Encryption at rest</a> in the <i>Amazon Keyspaces Developer
|
|
795
999
|
* Guide</i>.</p>
|
|
@@ -797,21 +1001,37 @@ export interface UpdateTableRequest {
|
|
|
797
1001
|
encryptionSpecification?: EncryptionSpecification;
|
|
798
1002
|
/**
|
|
799
1003
|
* <p>Modifies the <code>pointInTimeRecovery</code> settings of the table. The options are:</p>
|
|
800
|
-
* <
|
|
801
|
-
*
|
|
802
|
-
*
|
|
803
|
-
*
|
|
804
|
-
*
|
|
1004
|
+
* <ul>
|
|
1005
|
+
* <li>
|
|
1006
|
+
* <p>
|
|
1007
|
+
* <code>status=ENABLED</code>
|
|
1008
|
+
* </p>
|
|
1009
|
+
* </li>
|
|
1010
|
+
* <li>
|
|
1011
|
+
* <p>
|
|
1012
|
+
* <code>status=DISABLED</code>
|
|
1013
|
+
* </p>
|
|
1014
|
+
* </li>
|
|
1015
|
+
* </ul>
|
|
1016
|
+
* <p>If it's not specified, the default is <code>status=DISABLED</code>.</p>
|
|
805
1017
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html">Point-in-time recovery</a> in the <i>Amazon Keyspaces Developer
|
|
806
1018
|
* Guide</i>.</p>
|
|
807
1019
|
*/
|
|
808
1020
|
pointInTimeRecovery?: PointInTimeRecovery;
|
|
809
1021
|
/**
|
|
810
1022
|
* <p>Modifies Time to Live custom settings for the table. The options are:</p>
|
|
811
|
-
* <
|
|
812
|
-
*
|
|
813
|
-
*
|
|
814
|
-
*
|
|
1023
|
+
* <ul>
|
|
1024
|
+
* <li>
|
|
1025
|
+
* <p>
|
|
1026
|
+
* <code>status:enabled</code>
|
|
1027
|
+
* </p>
|
|
1028
|
+
* </li>
|
|
1029
|
+
* <li>
|
|
1030
|
+
* <p>
|
|
1031
|
+
* <code>status:disabled</code>
|
|
1032
|
+
* </p>
|
|
1033
|
+
* </li>
|
|
1034
|
+
* </ul>
|
|
815
1035
|
* <p>The default is <code>status:disabled</code>. After
|
|
816
1036
|
* <code>ttl</code> is enabled, you can't disable it
|
|
817
1037
|
* for the table.</p>
|
|
@@ -825,6 +1045,19 @@ export interface UpdateTableRequest {
|
|
|
825
1045
|
* Guide</i>.</p>
|
|
826
1046
|
*/
|
|
827
1047
|
defaultTimeToLive?: number;
|
|
1048
|
+
/**
|
|
1049
|
+
* <p>Enables client-side timestamps for the table. By default, the setting is disabled. You can enable
|
|
1050
|
+
* client-side timestamps with the following option:</p>
|
|
1051
|
+
* <ul>
|
|
1052
|
+
* <li>
|
|
1053
|
+
* <p>
|
|
1054
|
+
* <code>status: "enabled"</code>
|
|
1055
|
+
* </p>
|
|
1056
|
+
* </li>
|
|
1057
|
+
* </ul>
|
|
1058
|
+
* <p>Once client-side timestamps are enabled for a table, this setting cannot be disabled.</p>
|
|
1059
|
+
*/
|
|
1060
|
+
clientSideTimestamps?: ClientSideTimestamps;
|
|
828
1061
|
}
|
|
829
1062
|
export interface UpdateTableResponse {
|
|
830
1063
|
/**
|
|
@@ -840,6 +1073,10 @@ export declare const CapacitySpecificationFilterSensitiveLog: (obj: CapacitySpec
|
|
|
840
1073
|
* @internal
|
|
841
1074
|
*/
|
|
842
1075
|
export declare const CapacitySpecificationSummaryFilterSensitiveLog: (obj: CapacitySpecificationSummary) => any;
|
|
1076
|
+
/**
|
|
1077
|
+
* @internal
|
|
1078
|
+
*/
|
|
1079
|
+
export declare const ClientSideTimestampsFilterSensitiveLog: (obj: ClientSideTimestamps) => any;
|
|
843
1080
|
/**
|
|
844
1081
|
* @internal
|
|
845
1082
|
*/
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region?: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -22,6 +22,12 @@ export interface CapacitySpecificationSummary {
|
|
|
22
22
|
writeCapacityUnits?: number;
|
|
23
23
|
lastUpdateToPayPerRequestTimestamp?: Date;
|
|
24
24
|
}
|
|
25
|
+
export declare enum ClientSideTimestampsStatus {
|
|
26
|
+
ENABLED = "ENABLED",
|
|
27
|
+
}
|
|
28
|
+
export interface ClientSideTimestamps {
|
|
29
|
+
status: ClientSideTimestampsStatus | string | undefined;
|
|
30
|
+
}
|
|
25
31
|
export declare enum SortOrder {
|
|
26
32
|
ASC = "ASC",
|
|
27
33
|
DESC = "DESC",
|
|
@@ -118,6 +124,7 @@ export interface CreateTableRequest {
|
|
|
118
124
|
ttl?: TimeToLive;
|
|
119
125
|
defaultTimeToLive?: number;
|
|
120
126
|
tags?: Tag[];
|
|
127
|
+
clientSideTimestamps?: ClientSideTimestamps;
|
|
121
128
|
}
|
|
122
129
|
export interface CreateTableResponse {
|
|
123
130
|
resourceArn: string | undefined;
|
|
@@ -176,6 +183,7 @@ export interface GetTableResponse {
|
|
|
176
183
|
ttl?: TimeToLive;
|
|
177
184
|
defaultTimeToLive?: number;
|
|
178
185
|
comment?: Comment;
|
|
186
|
+
clientSideTimestamps?: ClientSideTimestamps;
|
|
179
187
|
}
|
|
180
188
|
export interface ListKeyspacesRequest {
|
|
181
189
|
nextToken?: string;
|
|
@@ -245,6 +253,7 @@ export interface UpdateTableRequest {
|
|
|
245
253
|
pointInTimeRecovery?: PointInTimeRecovery;
|
|
246
254
|
ttl?: TimeToLive;
|
|
247
255
|
defaultTimeToLive?: number;
|
|
256
|
+
clientSideTimestamps?: ClientSideTimestamps;
|
|
248
257
|
}
|
|
249
258
|
export interface UpdateTableResponse {
|
|
250
259
|
resourceArn: string | undefined;
|
|
@@ -255,6 +264,9 @@ export declare const CapacitySpecificationFilterSensitiveLog: (
|
|
|
255
264
|
export declare const CapacitySpecificationSummaryFilterSensitiveLog: (
|
|
256
265
|
obj: CapacitySpecificationSummary
|
|
257
266
|
) => any;
|
|
267
|
+
export declare const ClientSideTimestampsFilterSensitiveLog: (
|
|
268
|
+
obj: ClientSideTimestamps
|
|
269
|
+
) => any;
|
|
258
270
|
export declare const ClusteringKeyFilterSensitiveLog: (
|
|
259
271
|
obj: ClusteringKey
|
|
260
272
|
) => any;
|
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.291.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|