@aws-sdk/client-keyspaces 3.490.0 → 3.495.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 +8 -0
- package/dist-cjs/Keyspaces.js +1 -37
- package/dist-cjs/KeyspacesClient.js +1 -43
- package/dist-cjs/commands/CreateKeyspaceCommand.js +1 -28
- package/dist-cjs/commands/CreateTableCommand.js +1 -28
- package/dist-cjs/commands/DeleteKeyspaceCommand.js +1 -28
- package/dist-cjs/commands/DeleteTableCommand.js +1 -28
- package/dist-cjs/commands/GetKeyspaceCommand.js +1 -28
- package/dist-cjs/commands/GetTableAutoScalingSettingsCommand.js +1 -0
- package/dist-cjs/commands/GetTableCommand.js +1 -28
- package/dist-cjs/commands/ListKeyspacesCommand.js +1 -28
- package/dist-cjs/commands/ListTablesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/RestoreTableCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateTableCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -16
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1647 -11
- package/dist-cjs/models/KeyspacesServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -118
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListKeyspacesPaginator.js +1 -7
- package/dist-cjs/pagination/ListTablesPaginator.js +1 -7
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -7
- package/dist-cjs/protocols/Aws_json1_0.js +1 -871
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-es/Keyspaces.js +2 -0
- package/dist-es/commands/GetTableAutoScalingSettingsCommand.js +24 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +194 -3
- package/dist-types/Keyspaces.d.ts +7 -0
- package/dist-types/KeyspacesClient.d.ts +3 -2
- package/dist-types/commands/CreateKeyspaceCommand.d.ts +2 -2
- package/dist-types/commands/CreateTableCommand.d.ts +49 -2
- package/dist-types/commands/DeleteKeyspaceCommand.d.ts +2 -2
- package/dist-types/commands/DeleteTableCommand.d.ts +2 -2
- package/dist-types/commands/GetKeyspaceCommand.d.ts +1 -1
- package/dist-types/commands/GetTableAutoScalingSettingsCommand.d.ts +142 -0
- package/dist-types/commands/GetTableCommand.d.ts +13 -1
- package/dist-types/commands/ListKeyspacesCommand.d.ts +1 -1
- package/dist-types/commands/ListTablesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/RestoreTableCommand.d.ts +55 -9
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateTableCommand.d.ts +50 -3
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +362 -2
- package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
- package/dist-types/ts3.4/Keyspaces.d.ts +17 -0
- package/dist-types/ts3.4/KeyspacesClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetTableAutoScalingSettingsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +51 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
- package/package.json +40 -40
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.KeyspacesServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class KeyspacesServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, KeyspacesServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.KeyspacesServiceException = KeyspacesServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,118 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TableStatus = exports.ResourceNotFoundException = exports.TimeToLiveStatus = exports.PointInTimeRecoveryStatus = exports.EncryptionType = exports.ValidationException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.Rs = exports.ConflictException = exports.SortOrder = exports.ClientSideTimestampsStatus = exports.ThroughputMode = exports.AccessDeniedException = void 0;
|
|
4
|
-
const KeyspacesServiceException_1 = require("./KeyspacesServiceException");
|
|
5
|
-
class AccessDeniedException extends KeyspacesServiceException_1.KeyspacesServiceException {
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
this.name = "AccessDeniedException";
|
|
13
|
-
this.$fault = "client";
|
|
14
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
-
exports.ThroughputMode = {
|
|
19
|
-
PAY_PER_REQUEST: "PAY_PER_REQUEST",
|
|
20
|
-
PROVISIONED: "PROVISIONED",
|
|
21
|
-
};
|
|
22
|
-
exports.ClientSideTimestampsStatus = {
|
|
23
|
-
ENABLED: "ENABLED",
|
|
24
|
-
};
|
|
25
|
-
exports.SortOrder = {
|
|
26
|
-
ASC: "ASC",
|
|
27
|
-
DESC: "DESC",
|
|
28
|
-
};
|
|
29
|
-
class ConflictException extends KeyspacesServiceException_1.KeyspacesServiceException {
|
|
30
|
-
constructor(opts) {
|
|
31
|
-
super({
|
|
32
|
-
name: "ConflictException",
|
|
33
|
-
$fault: "client",
|
|
34
|
-
...opts,
|
|
35
|
-
});
|
|
36
|
-
this.name = "ConflictException";
|
|
37
|
-
this.$fault = "client";
|
|
38
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.ConflictException = ConflictException;
|
|
42
|
-
exports.Rs = {
|
|
43
|
-
MULTI_REGION: "MULTI_REGION",
|
|
44
|
-
SINGLE_REGION: "SINGLE_REGION",
|
|
45
|
-
};
|
|
46
|
-
class InternalServerException extends KeyspacesServiceException_1.KeyspacesServiceException {
|
|
47
|
-
constructor(opts) {
|
|
48
|
-
super({
|
|
49
|
-
name: "InternalServerException",
|
|
50
|
-
$fault: "server",
|
|
51
|
-
...opts,
|
|
52
|
-
});
|
|
53
|
-
this.name = "InternalServerException";
|
|
54
|
-
this.$fault = "server";
|
|
55
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
exports.InternalServerException = InternalServerException;
|
|
59
|
-
class ServiceQuotaExceededException extends KeyspacesServiceException_1.KeyspacesServiceException {
|
|
60
|
-
constructor(opts) {
|
|
61
|
-
super({
|
|
62
|
-
name: "ServiceQuotaExceededException",
|
|
63
|
-
$fault: "client",
|
|
64
|
-
...opts,
|
|
65
|
-
});
|
|
66
|
-
this.name = "ServiceQuotaExceededException";
|
|
67
|
-
this.$fault = "client";
|
|
68
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
72
|
-
class ValidationException extends KeyspacesServiceException_1.KeyspacesServiceException {
|
|
73
|
-
constructor(opts) {
|
|
74
|
-
super({
|
|
75
|
-
name: "ValidationException",
|
|
76
|
-
$fault: "client",
|
|
77
|
-
...opts,
|
|
78
|
-
});
|
|
79
|
-
this.name = "ValidationException";
|
|
80
|
-
this.$fault = "client";
|
|
81
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
exports.ValidationException = ValidationException;
|
|
85
|
-
exports.EncryptionType = {
|
|
86
|
-
AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
|
|
87
|
-
CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
|
|
88
|
-
};
|
|
89
|
-
exports.PointInTimeRecoveryStatus = {
|
|
90
|
-
DISABLED: "DISABLED",
|
|
91
|
-
ENABLED: "ENABLED",
|
|
92
|
-
};
|
|
93
|
-
exports.TimeToLiveStatus = {
|
|
94
|
-
ENABLED: "ENABLED",
|
|
95
|
-
};
|
|
96
|
-
class ResourceNotFoundException extends KeyspacesServiceException_1.KeyspacesServiceException {
|
|
97
|
-
constructor(opts) {
|
|
98
|
-
super({
|
|
99
|
-
name: "ResourceNotFoundException",
|
|
100
|
-
$fault: "client",
|
|
101
|
-
...opts,
|
|
102
|
-
});
|
|
103
|
-
this.name = "ResourceNotFoundException";
|
|
104
|
-
this.$fault = "client";
|
|
105
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
106
|
-
this.resourceArn = opts.resourceArn;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
110
|
-
exports.TableStatus = {
|
|
111
|
-
ACTIVE: "ACTIVE",
|
|
112
|
-
CREATING: "CREATING",
|
|
113
|
-
DELETED: "DELETED",
|
|
114
|
-
DELETING: "DELETING",
|
|
115
|
-
INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
|
|
116
|
-
RESTORING: "RESTORING",
|
|
117
|
-
UPDATING: "UPDATING",
|
|
118
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListKeyspaces = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListKeyspacesCommand_1 = require("../commands/ListKeyspacesCommand");
|
|
6
|
-
const KeyspacesClient_1 = require("../KeyspacesClient");
|
|
7
|
-
exports.paginateListKeyspaces = (0, core_1.createPaginator)(KeyspacesClient_1.KeyspacesClient, ListKeyspacesCommand_1.ListKeyspacesCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListTables = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListTablesCommand_1 = require("../commands/ListTablesCommand");
|
|
6
|
-
const KeyspacesClient_1 = require("../KeyspacesClient");
|
|
7
|
-
exports.paginateListTables = (0, core_1.createPaginator)(KeyspacesClient_1.KeyspacesClient, ListTablesCommand_1.ListTablesCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListTagsForResource = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
|
|
6
|
-
const KeyspacesClient_1 = require("../KeyspacesClient");
|
|
7
|
-
exports.paginateListTagsForResource = (0, core_1.createPaginator)(KeyspacesClient_1.KeyspacesClient, ListTagsForResourceCommand_1.ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ListKeyspacesPaginator"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ListTablesPaginator"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./ListTagsForResourcePaginator"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|