@aws-sdk/client-keyspaces 3.54.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/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +219 -0
- package/dist-cjs/Keyspaces.js +202 -0
- package/dist-cjs/KeyspacesClient.js +35 -0
- package/dist-cjs/commands/CreateKeyspaceCommand.js +36 -0
- package/dist-cjs/commands/CreateTableCommand.js +36 -0
- package/dist-cjs/commands/DeleteKeyspaceCommand.js +36 -0
- package/dist-cjs/commands/DeleteTableCommand.js +36 -0
- package/dist-cjs/commands/GetKeyspaceCommand.js +36 -0
- package/dist-cjs/commands/GetTableCommand.js +36 -0
- package/dist-cjs/commands/ListKeyspacesCommand.js +36 -0
- package/dist-cjs/commands/ListTablesCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/RestoreTableCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateTableCommand.js +36 -0
- package/dist-cjs/commands/index.js +16 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/KeyspacesServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +364 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListKeyspacesPaginator.js +35 -0
- package/dist-cjs/pagination/ListTablesPaginator.js +35 -0
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +35 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_0.js +1455 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/Keyspaces.js +205 -0
- package/dist-es/KeyspacesClient.js +37 -0
- package/dist-es/commands/CreateKeyspaceCommand.js +39 -0
- package/dist-es/commands/CreateTableCommand.js +39 -0
- package/dist-es/commands/DeleteKeyspaceCommand.js +39 -0
- package/dist-es/commands/DeleteTableCommand.js +39 -0
- package/dist-es/commands/GetKeyspaceCommand.js +39 -0
- package/dist-es/commands/GetTableCommand.js +39 -0
- package/dist-es/commands/ListKeyspacesCommand.js +39 -0
- package/dist-es/commands/ListTablesCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/RestoreTableCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateTableCommand.js +39 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/KeyspacesServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +273 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListKeyspacesPaginator.js +74 -0
- package/dist-es/pagination/ListTablesPaginator.js +74 -0
- package/dist-es/pagination/ListTagsForResourcePaginator.js +74 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_0.js +1627 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +28 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/Keyspaces.d.ts +187 -0
- package/dist-types/KeyspacesClient.d.ts +173 -0
- package/dist-types/commands/CreateKeyspaceCommand.d.ts +41 -0
- package/dist-types/commands/CreateTableCommand.d.ts +42 -0
- package/dist-types/commands/DeleteKeyspaceCommand.d.ts +35 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +40 -0
- package/dist-types/commands/GetKeyspaceCommand.d.ts +35 -0
- package/dist-types/commands/GetTableCommand.d.ts +38 -0
- package/dist-types/commands/ListKeyspacesCommand.d.ts +35 -0
- package/dist-types/commands/ListTablesCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/RestoreTableCommand.d.ts +79 -0
- package/dist-types/commands/TagResourceCommand.d.ts +41 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/KeyspacesServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1307 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListKeyspacesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTablesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +41 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/Keyspaces.d.ts +70 -0
- package/dist-types/ts3.4/KeyspacesClient.d.ts +86 -0
- package/dist-types/ts3.4/commands/CreateKeyspaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteKeyspaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetKeyspaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTableCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListKeyspacesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RestoreTableCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/KeyspacesServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +539 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListKeyspacesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +41 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +93 -0
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
|
+
import { KeyspacesServiceException as __BaseException } from "./KeyspacesServiceException";
|
|
3
|
+
var AccessDeniedException = (function (_super) {
|
|
4
|
+
__extends(AccessDeniedException, _super);
|
|
5
|
+
function AccessDeniedException(opts) {
|
|
6
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
7
|
+
_this.name = "AccessDeniedException";
|
|
8
|
+
_this.$fault = "client";
|
|
9
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
10
|
+
return _this;
|
|
11
|
+
}
|
|
12
|
+
return AccessDeniedException;
|
|
13
|
+
}(__BaseException));
|
|
14
|
+
export { AccessDeniedException };
|
|
15
|
+
export var ThroughputMode;
|
|
16
|
+
(function (ThroughputMode) {
|
|
17
|
+
ThroughputMode["PAY_PER_REQUEST"] = "PAY_PER_REQUEST";
|
|
18
|
+
ThroughputMode["PROVISIONED"] = "PROVISIONED";
|
|
19
|
+
})(ThroughputMode || (ThroughputMode = {}));
|
|
20
|
+
export var CapacitySpecification;
|
|
21
|
+
(function (CapacitySpecification) {
|
|
22
|
+
CapacitySpecification.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
23
|
+
})(CapacitySpecification || (CapacitySpecification = {}));
|
|
24
|
+
export var CapacitySpecificationSummary;
|
|
25
|
+
(function (CapacitySpecificationSummary) {
|
|
26
|
+
CapacitySpecificationSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
27
|
+
})(CapacitySpecificationSummary || (CapacitySpecificationSummary = {}));
|
|
28
|
+
export var SortOrder;
|
|
29
|
+
(function (SortOrder) {
|
|
30
|
+
SortOrder["ASC"] = "ASC";
|
|
31
|
+
SortOrder["DESC"] = "DESC";
|
|
32
|
+
})(SortOrder || (SortOrder = {}));
|
|
33
|
+
export var ClusteringKey;
|
|
34
|
+
(function (ClusteringKey) {
|
|
35
|
+
ClusteringKey.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
36
|
+
})(ClusteringKey || (ClusteringKey = {}));
|
|
37
|
+
export var ColumnDefinition;
|
|
38
|
+
(function (ColumnDefinition) {
|
|
39
|
+
ColumnDefinition.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
40
|
+
})(ColumnDefinition || (ColumnDefinition = {}));
|
|
41
|
+
export var Comment;
|
|
42
|
+
(function (Comment) {
|
|
43
|
+
Comment.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
44
|
+
})(Comment || (Comment = {}));
|
|
45
|
+
var ConflictException = (function (_super) {
|
|
46
|
+
__extends(ConflictException, _super);
|
|
47
|
+
function ConflictException(opts) {
|
|
48
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
49
|
+
_this.name = "ConflictException";
|
|
50
|
+
_this.$fault = "client";
|
|
51
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
52
|
+
return _this;
|
|
53
|
+
}
|
|
54
|
+
return ConflictException;
|
|
55
|
+
}(__BaseException));
|
|
56
|
+
export { ConflictException };
|
|
57
|
+
export var Tag;
|
|
58
|
+
(function (Tag) {
|
|
59
|
+
Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
60
|
+
})(Tag || (Tag = {}));
|
|
61
|
+
export var CreateKeyspaceRequest;
|
|
62
|
+
(function (CreateKeyspaceRequest) {
|
|
63
|
+
CreateKeyspaceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
64
|
+
})(CreateKeyspaceRequest || (CreateKeyspaceRequest = {}));
|
|
65
|
+
export var CreateKeyspaceResponse;
|
|
66
|
+
(function (CreateKeyspaceResponse) {
|
|
67
|
+
CreateKeyspaceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
68
|
+
})(CreateKeyspaceResponse || (CreateKeyspaceResponse = {}));
|
|
69
|
+
var InternalServerException = (function (_super) {
|
|
70
|
+
__extends(InternalServerException, _super);
|
|
71
|
+
function InternalServerException(opts) {
|
|
72
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
73
|
+
_this.name = "InternalServerException";
|
|
74
|
+
_this.$fault = "server";
|
|
75
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
76
|
+
return _this;
|
|
77
|
+
}
|
|
78
|
+
return InternalServerException;
|
|
79
|
+
}(__BaseException));
|
|
80
|
+
export { InternalServerException };
|
|
81
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
82
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
83
|
+
function ServiceQuotaExceededException(opts) {
|
|
84
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
85
|
+
_this.name = "ServiceQuotaExceededException";
|
|
86
|
+
_this.$fault = "client";
|
|
87
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
88
|
+
return _this;
|
|
89
|
+
}
|
|
90
|
+
return ServiceQuotaExceededException;
|
|
91
|
+
}(__BaseException));
|
|
92
|
+
export { ServiceQuotaExceededException };
|
|
93
|
+
var ValidationException = (function (_super) {
|
|
94
|
+
__extends(ValidationException, _super);
|
|
95
|
+
function ValidationException(opts) {
|
|
96
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
97
|
+
_this.name = "ValidationException";
|
|
98
|
+
_this.$fault = "client";
|
|
99
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
100
|
+
return _this;
|
|
101
|
+
}
|
|
102
|
+
return ValidationException;
|
|
103
|
+
}(__BaseException));
|
|
104
|
+
export { ValidationException };
|
|
105
|
+
export var EncryptionType;
|
|
106
|
+
(function (EncryptionType) {
|
|
107
|
+
EncryptionType["AWS_OWNED_KMS_KEY"] = "AWS_OWNED_KMS_KEY";
|
|
108
|
+
EncryptionType["CUSTOMER_MANAGED_KMS_KEY"] = "CUSTOMER_MANAGED_KMS_KEY";
|
|
109
|
+
})(EncryptionType || (EncryptionType = {}));
|
|
110
|
+
export var EncryptionSpecification;
|
|
111
|
+
(function (EncryptionSpecification) {
|
|
112
|
+
EncryptionSpecification.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
|
+
})(EncryptionSpecification || (EncryptionSpecification = {}));
|
|
114
|
+
export var PointInTimeRecoveryStatus;
|
|
115
|
+
(function (PointInTimeRecoveryStatus) {
|
|
116
|
+
PointInTimeRecoveryStatus["DISABLED"] = "DISABLED";
|
|
117
|
+
PointInTimeRecoveryStatus["ENABLED"] = "ENABLED";
|
|
118
|
+
})(PointInTimeRecoveryStatus || (PointInTimeRecoveryStatus = {}));
|
|
119
|
+
export var PointInTimeRecovery;
|
|
120
|
+
(function (PointInTimeRecovery) {
|
|
121
|
+
PointInTimeRecovery.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
122
|
+
})(PointInTimeRecovery || (PointInTimeRecovery = {}));
|
|
123
|
+
export var PartitionKey;
|
|
124
|
+
(function (PartitionKey) {
|
|
125
|
+
PartitionKey.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
126
|
+
})(PartitionKey || (PartitionKey = {}));
|
|
127
|
+
export var StaticColumn;
|
|
128
|
+
(function (StaticColumn) {
|
|
129
|
+
StaticColumn.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
130
|
+
})(StaticColumn || (StaticColumn = {}));
|
|
131
|
+
export var SchemaDefinition;
|
|
132
|
+
(function (SchemaDefinition) {
|
|
133
|
+
SchemaDefinition.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
134
|
+
})(SchemaDefinition || (SchemaDefinition = {}));
|
|
135
|
+
export var TimeToLiveStatus;
|
|
136
|
+
(function (TimeToLiveStatus) {
|
|
137
|
+
TimeToLiveStatus["ENABLED"] = "ENABLED";
|
|
138
|
+
})(TimeToLiveStatus || (TimeToLiveStatus = {}));
|
|
139
|
+
export var TimeToLive;
|
|
140
|
+
(function (TimeToLive) {
|
|
141
|
+
TimeToLive.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
142
|
+
})(TimeToLive || (TimeToLive = {}));
|
|
143
|
+
export var CreateTableRequest;
|
|
144
|
+
(function (CreateTableRequest) {
|
|
145
|
+
CreateTableRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
146
|
+
})(CreateTableRequest || (CreateTableRequest = {}));
|
|
147
|
+
export var CreateTableResponse;
|
|
148
|
+
(function (CreateTableResponse) {
|
|
149
|
+
CreateTableResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
150
|
+
})(CreateTableResponse || (CreateTableResponse = {}));
|
|
151
|
+
var ResourceNotFoundException = (function (_super) {
|
|
152
|
+
__extends(ResourceNotFoundException, _super);
|
|
153
|
+
function ResourceNotFoundException(opts) {
|
|
154
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
155
|
+
_this.name = "ResourceNotFoundException";
|
|
156
|
+
_this.$fault = "client";
|
|
157
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
158
|
+
_this.resourceArn = opts.resourceArn;
|
|
159
|
+
return _this;
|
|
160
|
+
}
|
|
161
|
+
return ResourceNotFoundException;
|
|
162
|
+
}(__BaseException));
|
|
163
|
+
export { ResourceNotFoundException };
|
|
164
|
+
export var DeleteKeyspaceRequest;
|
|
165
|
+
(function (DeleteKeyspaceRequest) {
|
|
166
|
+
DeleteKeyspaceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
167
|
+
})(DeleteKeyspaceRequest || (DeleteKeyspaceRequest = {}));
|
|
168
|
+
export var DeleteKeyspaceResponse;
|
|
169
|
+
(function (DeleteKeyspaceResponse) {
|
|
170
|
+
DeleteKeyspaceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
171
|
+
})(DeleteKeyspaceResponse || (DeleteKeyspaceResponse = {}));
|
|
172
|
+
export var DeleteTableRequest;
|
|
173
|
+
(function (DeleteTableRequest) {
|
|
174
|
+
DeleteTableRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
175
|
+
})(DeleteTableRequest || (DeleteTableRequest = {}));
|
|
176
|
+
export var DeleteTableResponse;
|
|
177
|
+
(function (DeleteTableResponse) {
|
|
178
|
+
DeleteTableResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
179
|
+
})(DeleteTableResponse || (DeleteTableResponse = {}));
|
|
180
|
+
export var GetKeyspaceRequest;
|
|
181
|
+
(function (GetKeyspaceRequest) {
|
|
182
|
+
GetKeyspaceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
|
+
})(GetKeyspaceRequest || (GetKeyspaceRequest = {}));
|
|
184
|
+
export var GetKeyspaceResponse;
|
|
185
|
+
(function (GetKeyspaceResponse) {
|
|
186
|
+
GetKeyspaceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
187
|
+
})(GetKeyspaceResponse || (GetKeyspaceResponse = {}));
|
|
188
|
+
export var GetTableRequest;
|
|
189
|
+
(function (GetTableRequest) {
|
|
190
|
+
GetTableRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
191
|
+
})(GetTableRequest || (GetTableRequest = {}));
|
|
192
|
+
export var PointInTimeRecoverySummary;
|
|
193
|
+
(function (PointInTimeRecoverySummary) {
|
|
194
|
+
PointInTimeRecoverySummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
|
+
})(PointInTimeRecoverySummary || (PointInTimeRecoverySummary = {}));
|
|
196
|
+
export var TableStatus;
|
|
197
|
+
(function (TableStatus) {
|
|
198
|
+
TableStatus["ACTIVE"] = "ACTIVE";
|
|
199
|
+
TableStatus["CREATING"] = "CREATING";
|
|
200
|
+
TableStatus["DELETED"] = "DELETED";
|
|
201
|
+
TableStatus["DELETING"] = "DELETING";
|
|
202
|
+
TableStatus["INACCESSIBLE_ENCRYPTION_CREDENTIALS"] = "INACCESSIBLE_ENCRYPTION_CREDENTIALS";
|
|
203
|
+
TableStatus["RESTORING"] = "RESTORING";
|
|
204
|
+
TableStatus["UPDATING"] = "UPDATING";
|
|
205
|
+
})(TableStatus || (TableStatus = {}));
|
|
206
|
+
export var GetTableResponse;
|
|
207
|
+
(function (GetTableResponse) {
|
|
208
|
+
GetTableResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
209
|
+
})(GetTableResponse || (GetTableResponse = {}));
|
|
210
|
+
export var ListKeyspacesRequest;
|
|
211
|
+
(function (ListKeyspacesRequest) {
|
|
212
|
+
ListKeyspacesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
213
|
+
})(ListKeyspacesRequest || (ListKeyspacesRequest = {}));
|
|
214
|
+
export var KeyspaceSummary;
|
|
215
|
+
(function (KeyspaceSummary) {
|
|
216
|
+
KeyspaceSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
217
|
+
})(KeyspaceSummary || (KeyspaceSummary = {}));
|
|
218
|
+
export var ListKeyspacesResponse;
|
|
219
|
+
(function (ListKeyspacesResponse) {
|
|
220
|
+
ListKeyspacesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
221
|
+
})(ListKeyspacesResponse || (ListKeyspacesResponse = {}));
|
|
222
|
+
export var ListTablesRequest;
|
|
223
|
+
(function (ListTablesRequest) {
|
|
224
|
+
ListTablesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
225
|
+
})(ListTablesRequest || (ListTablesRequest = {}));
|
|
226
|
+
export var TableSummary;
|
|
227
|
+
(function (TableSummary) {
|
|
228
|
+
TableSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
229
|
+
})(TableSummary || (TableSummary = {}));
|
|
230
|
+
export var ListTablesResponse;
|
|
231
|
+
(function (ListTablesResponse) {
|
|
232
|
+
ListTablesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
233
|
+
})(ListTablesResponse || (ListTablesResponse = {}));
|
|
234
|
+
export var ListTagsForResourceRequest;
|
|
235
|
+
(function (ListTagsForResourceRequest) {
|
|
236
|
+
ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
237
|
+
})(ListTagsForResourceRequest || (ListTagsForResourceRequest = {}));
|
|
238
|
+
export var ListTagsForResourceResponse;
|
|
239
|
+
(function (ListTagsForResourceResponse) {
|
|
240
|
+
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
241
|
+
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
242
|
+
export var RestoreTableRequest;
|
|
243
|
+
(function (RestoreTableRequest) {
|
|
244
|
+
RestoreTableRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
245
|
+
})(RestoreTableRequest || (RestoreTableRequest = {}));
|
|
246
|
+
export var RestoreTableResponse;
|
|
247
|
+
(function (RestoreTableResponse) {
|
|
248
|
+
RestoreTableResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
249
|
+
})(RestoreTableResponse || (RestoreTableResponse = {}));
|
|
250
|
+
export var TagResourceRequest;
|
|
251
|
+
(function (TagResourceRequest) {
|
|
252
|
+
TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
253
|
+
})(TagResourceRequest || (TagResourceRequest = {}));
|
|
254
|
+
export var TagResourceResponse;
|
|
255
|
+
(function (TagResourceResponse) {
|
|
256
|
+
TagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
257
|
+
})(TagResourceResponse || (TagResourceResponse = {}));
|
|
258
|
+
export var UntagResourceRequest;
|
|
259
|
+
(function (UntagResourceRequest) {
|
|
260
|
+
UntagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
261
|
+
})(UntagResourceRequest || (UntagResourceRequest = {}));
|
|
262
|
+
export var UntagResourceResponse;
|
|
263
|
+
(function (UntagResourceResponse) {
|
|
264
|
+
UntagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
265
|
+
})(UntagResourceResponse || (UntagResourceResponse = {}));
|
|
266
|
+
export var UpdateTableRequest;
|
|
267
|
+
(function (UpdateTableRequest) {
|
|
268
|
+
UpdateTableRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
269
|
+
})(UpdateTableRequest || (UpdateTableRequest = {}));
|
|
270
|
+
export var UpdateTableResponse;
|
|
271
|
+
(function (UpdateTableResponse) {
|
|
272
|
+
UpdateTableResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
273
|
+
})(UpdateTableResponse || (UpdateTableResponse = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListKeyspacesCommand, } from "../commands/ListKeyspacesCommand";
|
|
3
|
+
import { Keyspaces } from "../Keyspaces";
|
|
4
|
+
import { KeyspacesClient } from "../KeyspacesClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListKeyspacesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listKeyspaces.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListKeyspaces(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListKeyspaces_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Keyspaces)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof KeyspacesClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Keyspaces | KeyspacesClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.nextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListTablesCommand } from "../commands/ListTablesCommand";
|
|
3
|
+
import { Keyspaces } from "../Keyspaces";
|
|
4
|
+
import { KeyspacesClient } from "../KeyspacesClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListTablesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listTables.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListTables(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListTables_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Keyspaces)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof KeyspacesClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Keyspaces | KeyspacesClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.nextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListTagsForResourceCommand, } from "../commands/ListTagsForResourceCommand";
|
|
3
|
+
import { Keyspaces } from "../Keyspaces";
|
|
4
|
+
import { KeyspacesClient } from "../KeyspacesClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListTagsForResourceCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listTagsForResource.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListTagsForResource(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListTagsForResource_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Keyspaces)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof KeyspacesClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Keyspaces | KeyspacesClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.nextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|