@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,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
|
|
4
|
+
import { UpdateTableRequest, UpdateTableResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateTableCommandInput extends UpdateTableRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateTableCommandOutput extends UpdateTableResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class UpdateTableCommand extends $Command<UpdateTableCommandInput, UpdateTableCommandOutput, KeyspacesClientResolvedConfig> {
|
|
11
|
+
readonly input: UpdateTableCommandInput;
|
|
12
|
+
constructor(input: UpdateTableCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KeyspacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTableCommandInput, UpdateTableCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./CreateKeyspaceCommand";
|
|
2
|
+
export * from "./CreateTableCommand";
|
|
3
|
+
export * from "./DeleteKeyspaceCommand";
|
|
4
|
+
export * from "./DeleteTableCommand";
|
|
5
|
+
export * from "./GetKeyspaceCommand";
|
|
6
|
+
export * from "./GetTableCommand";
|
|
7
|
+
export * from "./ListKeyspacesCommand";
|
|
8
|
+
export * from "./ListTablesCommand";
|
|
9
|
+
export * from "./ListTagsForResourceCommand";
|
|
10
|
+
export * from "./RestoreTableCommand";
|
|
11
|
+
export * from "./TagResourceCommand";
|
|
12
|
+
export * from "./UntagResourceCommand";
|
|
13
|
+
export * from "./UpdateTableCommand";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class KeyspacesServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,539 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { KeyspacesServiceException as __BaseException } from "./KeyspacesServiceException";
|
|
3
|
+
|
|
4
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
5
|
+
readonly name: "AccessDeniedException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
9
|
+
}
|
|
10
|
+
export declare enum ThroughputMode {
|
|
11
|
+
PAY_PER_REQUEST = "PAY_PER_REQUEST",
|
|
12
|
+
PROVISIONED = "PROVISIONED"
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface CapacitySpecification {
|
|
16
|
+
|
|
17
|
+
throughputMode: ThroughputMode | string | undefined;
|
|
18
|
+
|
|
19
|
+
readCapacityUnits?: number;
|
|
20
|
+
|
|
21
|
+
writeCapacityUnits?: number;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace CapacitySpecification {
|
|
24
|
+
|
|
25
|
+
const filterSensitiveLog: (obj: CapacitySpecification) => any;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface CapacitySpecificationSummary {
|
|
29
|
+
|
|
30
|
+
throughputMode: ThroughputMode | string | undefined;
|
|
31
|
+
|
|
32
|
+
readCapacityUnits?: number;
|
|
33
|
+
|
|
34
|
+
writeCapacityUnits?: number;
|
|
35
|
+
|
|
36
|
+
lastUpdateToPayPerRequestTimestamp?: Date;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace CapacitySpecificationSummary {
|
|
39
|
+
|
|
40
|
+
const filterSensitiveLog: (obj: CapacitySpecificationSummary) => any;
|
|
41
|
+
}
|
|
42
|
+
export declare enum SortOrder {
|
|
43
|
+
ASC = "ASC",
|
|
44
|
+
DESC = "DESC"
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface ClusteringKey {
|
|
48
|
+
|
|
49
|
+
name: string | undefined;
|
|
50
|
+
|
|
51
|
+
orderBy: SortOrder | string | undefined;
|
|
52
|
+
}
|
|
53
|
+
export declare namespace ClusteringKey {
|
|
54
|
+
|
|
55
|
+
const filterSensitiveLog: (obj: ClusteringKey) => any;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface ColumnDefinition {
|
|
59
|
+
|
|
60
|
+
name: string | undefined;
|
|
61
|
+
|
|
62
|
+
type: string | undefined;
|
|
63
|
+
}
|
|
64
|
+
export declare namespace ColumnDefinition {
|
|
65
|
+
|
|
66
|
+
const filterSensitiveLog: (obj: ColumnDefinition) => any;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export interface Comment {
|
|
70
|
+
|
|
71
|
+
message: string | undefined;
|
|
72
|
+
}
|
|
73
|
+
export declare namespace Comment {
|
|
74
|
+
|
|
75
|
+
const filterSensitiveLog: (obj: Comment) => any;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export declare class ConflictException extends __BaseException {
|
|
79
|
+
readonly name: "ConflictException";
|
|
80
|
+
readonly $fault: "client";
|
|
81
|
+
|
|
82
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export interface Tag {
|
|
86
|
+
|
|
87
|
+
key: string | undefined;
|
|
88
|
+
|
|
89
|
+
value: string | undefined;
|
|
90
|
+
}
|
|
91
|
+
export declare namespace Tag {
|
|
92
|
+
|
|
93
|
+
const filterSensitiveLog: (obj: Tag) => any;
|
|
94
|
+
}
|
|
95
|
+
export interface CreateKeyspaceRequest {
|
|
96
|
+
|
|
97
|
+
keyspaceName: string | undefined;
|
|
98
|
+
|
|
99
|
+
tags?: Tag[];
|
|
100
|
+
}
|
|
101
|
+
export declare namespace CreateKeyspaceRequest {
|
|
102
|
+
|
|
103
|
+
const filterSensitiveLog: (obj: CreateKeyspaceRequest) => any;
|
|
104
|
+
}
|
|
105
|
+
export interface CreateKeyspaceResponse {
|
|
106
|
+
|
|
107
|
+
resourceArn: string | undefined;
|
|
108
|
+
}
|
|
109
|
+
export declare namespace CreateKeyspaceResponse {
|
|
110
|
+
|
|
111
|
+
const filterSensitiveLog: (obj: CreateKeyspaceResponse) => any;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export declare class InternalServerException extends __BaseException {
|
|
115
|
+
readonly name: "InternalServerException";
|
|
116
|
+
readonly $fault: "server";
|
|
117
|
+
|
|
118
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
122
|
+
readonly name: "ServiceQuotaExceededException";
|
|
123
|
+
readonly $fault: "client";
|
|
124
|
+
|
|
125
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export declare class ValidationException extends __BaseException {
|
|
129
|
+
readonly name: "ValidationException";
|
|
130
|
+
readonly $fault: "client";
|
|
131
|
+
|
|
132
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
133
|
+
}
|
|
134
|
+
export declare enum EncryptionType {
|
|
135
|
+
AWS_OWNED_KMS_KEY = "AWS_OWNED_KMS_KEY",
|
|
136
|
+
CUSTOMER_MANAGED_KMS_KEY = "CUSTOMER_MANAGED_KMS_KEY"
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export interface EncryptionSpecification {
|
|
140
|
+
|
|
141
|
+
type: EncryptionType | string | undefined;
|
|
142
|
+
|
|
143
|
+
kmsKeyIdentifier?: string;
|
|
144
|
+
}
|
|
145
|
+
export declare namespace EncryptionSpecification {
|
|
146
|
+
|
|
147
|
+
const filterSensitiveLog: (obj: EncryptionSpecification) => any;
|
|
148
|
+
}
|
|
149
|
+
export declare enum PointInTimeRecoveryStatus {
|
|
150
|
+
DISABLED = "DISABLED",
|
|
151
|
+
ENABLED = "ENABLED"
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export interface PointInTimeRecovery {
|
|
155
|
+
|
|
156
|
+
status: PointInTimeRecoveryStatus | string | undefined;
|
|
157
|
+
}
|
|
158
|
+
export declare namespace PointInTimeRecovery {
|
|
159
|
+
|
|
160
|
+
const filterSensitiveLog: (obj: PointInTimeRecovery) => any;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export interface PartitionKey {
|
|
164
|
+
|
|
165
|
+
name: string | undefined;
|
|
166
|
+
}
|
|
167
|
+
export declare namespace PartitionKey {
|
|
168
|
+
|
|
169
|
+
const filterSensitiveLog: (obj: PartitionKey) => any;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export interface StaticColumn {
|
|
173
|
+
|
|
174
|
+
name: string | undefined;
|
|
175
|
+
}
|
|
176
|
+
export declare namespace StaticColumn {
|
|
177
|
+
|
|
178
|
+
const filterSensitiveLog: (obj: StaticColumn) => any;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export interface SchemaDefinition {
|
|
182
|
+
|
|
183
|
+
allColumns: ColumnDefinition[] | undefined;
|
|
184
|
+
|
|
185
|
+
partitionKeys: PartitionKey[] | undefined;
|
|
186
|
+
|
|
187
|
+
clusteringKeys?: ClusteringKey[];
|
|
188
|
+
|
|
189
|
+
staticColumns?: StaticColumn[];
|
|
190
|
+
}
|
|
191
|
+
export declare namespace SchemaDefinition {
|
|
192
|
+
|
|
193
|
+
const filterSensitiveLog: (obj: SchemaDefinition) => any;
|
|
194
|
+
}
|
|
195
|
+
export declare enum TimeToLiveStatus {
|
|
196
|
+
ENABLED = "ENABLED"
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export interface TimeToLive {
|
|
200
|
+
|
|
201
|
+
status: TimeToLiveStatus | string | undefined;
|
|
202
|
+
}
|
|
203
|
+
export declare namespace TimeToLive {
|
|
204
|
+
|
|
205
|
+
const filterSensitiveLog: (obj: TimeToLive) => any;
|
|
206
|
+
}
|
|
207
|
+
export interface CreateTableRequest {
|
|
208
|
+
|
|
209
|
+
keyspaceName: string | undefined;
|
|
210
|
+
|
|
211
|
+
tableName: string | undefined;
|
|
212
|
+
|
|
213
|
+
schemaDefinition: SchemaDefinition | undefined;
|
|
214
|
+
|
|
215
|
+
comment?: Comment;
|
|
216
|
+
|
|
217
|
+
capacitySpecification?: CapacitySpecification;
|
|
218
|
+
|
|
219
|
+
encryptionSpecification?: EncryptionSpecification;
|
|
220
|
+
|
|
221
|
+
pointInTimeRecovery?: PointInTimeRecovery;
|
|
222
|
+
|
|
223
|
+
ttl?: TimeToLive;
|
|
224
|
+
|
|
225
|
+
defaultTimeToLive?: number;
|
|
226
|
+
|
|
227
|
+
tags?: Tag[];
|
|
228
|
+
}
|
|
229
|
+
export declare namespace CreateTableRequest {
|
|
230
|
+
|
|
231
|
+
const filterSensitiveLog: (obj: CreateTableRequest) => any;
|
|
232
|
+
}
|
|
233
|
+
export interface CreateTableResponse {
|
|
234
|
+
|
|
235
|
+
resourceArn: string | undefined;
|
|
236
|
+
}
|
|
237
|
+
export declare namespace CreateTableResponse {
|
|
238
|
+
|
|
239
|
+
const filterSensitiveLog: (obj: CreateTableResponse) => any;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
243
|
+
readonly name: "ResourceNotFoundException";
|
|
244
|
+
readonly $fault: "client";
|
|
245
|
+
|
|
246
|
+
resourceArn?: string;
|
|
247
|
+
|
|
248
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
249
|
+
}
|
|
250
|
+
export interface DeleteKeyspaceRequest {
|
|
251
|
+
|
|
252
|
+
keyspaceName: string | undefined;
|
|
253
|
+
}
|
|
254
|
+
export declare namespace DeleteKeyspaceRequest {
|
|
255
|
+
|
|
256
|
+
const filterSensitiveLog: (obj: DeleteKeyspaceRequest) => any;
|
|
257
|
+
}
|
|
258
|
+
export interface DeleteKeyspaceResponse {
|
|
259
|
+
}
|
|
260
|
+
export declare namespace DeleteKeyspaceResponse {
|
|
261
|
+
|
|
262
|
+
const filterSensitiveLog: (obj: DeleteKeyspaceResponse) => any;
|
|
263
|
+
}
|
|
264
|
+
export interface DeleteTableRequest {
|
|
265
|
+
|
|
266
|
+
keyspaceName: string | undefined;
|
|
267
|
+
|
|
268
|
+
tableName: string | undefined;
|
|
269
|
+
}
|
|
270
|
+
export declare namespace DeleteTableRequest {
|
|
271
|
+
|
|
272
|
+
const filterSensitiveLog: (obj: DeleteTableRequest) => any;
|
|
273
|
+
}
|
|
274
|
+
export interface DeleteTableResponse {
|
|
275
|
+
}
|
|
276
|
+
export declare namespace DeleteTableResponse {
|
|
277
|
+
|
|
278
|
+
const filterSensitiveLog: (obj: DeleteTableResponse) => any;
|
|
279
|
+
}
|
|
280
|
+
export interface GetKeyspaceRequest {
|
|
281
|
+
|
|
282
|
+
keyspaceName: string | undefined;
|
|
283
|
+
}
|
|
284
|
+
export declare namespace GetKeyspaceRequest {
|
|
285
|
+
|
|
286
|
+
const filterSensitiveLog: (obj: GetKeyspaceRequest) => any;
|
|
287
|
+
}
|
|
288
|
+
export interface GetKeyspaceResponse {
|
|
289
|
+
|
|
290
|
+
keyspaceName: string | undefined;
|
|
291
|
+
|
|
292
|
+
resourceArn: string | undefined;
|
|
293
|
+
}
|
|
294
|
+
export declare namespace GetKeyspaceResponse {
|
|
295
|
+
|
|
296
|
+
const filterSensitiveLog: (obj: GetKeyspaceResponse) => any;
|
|
297
|
+
}
|
|
298
|
+
export interface GetTableRequest {
|
|
299
|
+
|
|
300
|
+
keyspaceName: string | undefined;
|
|
301
|
+
|
|
302
|
+
tableName: string | undefined;
|
|
303
|
+
}
|
|
304
|
+
export declare namespace GetTableRequest {
|
|
305
|
+
|
|
306
|
+
const filterSensitiveLog: (obj: GetTableRequest) => any;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export interface PointInTimeRecoverySummary {
|
|
310
|
+
|
|
311
|
+
status: PointInTimeRecoveryStatus | string | undefined;
|
|
312
|
+
|
|
313
|
+
earliestRestorableTimestamp?: Date;
|
|
314
|
+
}
|
|
315
|
+
export declare namespace PointInTimeRecoverySummary {
|
|
316
|
+
|
|
317
|
+
const filterSensitiveLog: (obj: PointInTimeRecoverySummary) => any;
|
|
318
|
+
}
|
|
319
|
+
export declare enum TableStatus {
|
|
320
|
+
ACTIVE = "ACTIVE",
|
|
321
|
+
CREATING = "CREATING",
|
|
322
|
+
DELETED = "DELETED",
|
|
323
|
+
DELETING = "DELETING",
|
|
324
|
+
INACCESSIBLE_ENCRYPTION_CREDENTIALS = "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
|
|
325
|
+
RESTORING = "RESTORING",
|
|
326
|
+
UPDATING = "UPDATING"
|
|
327
|
+
}
|
|
328
|
+
export interface GetTableResponse {
|
|
329
|
+
|
|
330
|
+
keyspaceName: string | undefined;
|
|
331
|
+
|
|
332
|
+
tableName: string | undefined;
|
|
333
|
+
|
|
334
|
+
resourceArn: string | undefined;
|
|
335
|
+
|
|
336
|
+
creationTimestamp?: Date;
|
|
337
|
+
|
|
338
|
+
status?: TableStatus | string;
|
|
339
|
+
|
|
340
|
+
schemaDefinition?: SchemaDefinition;
|
|
341
|
+
|
|
342
|
+
capacitySpecification?: CapacitySpecificationSummary;
|
|
343
|
+
|
|
344
|
+
encryptionSpecification?: EncryptionSpecification;
|
|
345
|
+
|
|
346
|
+
pointInTimeRecovery?: PointInTimeRecoverySummary;
|
|
347
|
+
|
|
348
|
+
ttl?: TimeToLive;
|
|
349
|
+
|
|
350
|
+
defaultTimeToLive?: number;
|
|
351
|
+
|
|
352
|
+
comment?: Comment;
|
|
353
|
+
}
|
|
354
|
+
export declare namespace GetTableResponse {
|
|
355
|
+
|
|
356
|
+
const filterSensitiveLog: (obj: GetTableResponse) => any;
|
|
357
|
+
}
|
|
358
|
+
export interface ListKeyspacesRequest {
|
|
359
|
+
|
|
360
|
+
nextToken?: string;
|
|
361
|
+
|
|
362
|
+
maxResults?: number;
|
|
363
|
+
}
|
|
364
|
+
export declare namespace ListKeyspacesRequest {
|
|
365
|
+
|
|
366
|
+
const filterSensitiveLog: (obj: ListKeyspacesRequest) => any;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export interface KeyspaceSummary {
|
|
370
|
+
|
|
371
|
+
keyspaceName: string | undefined;
|
|
372
|
+
|
|
373
|
+
resourceArn: string | undefined;
|
|
374
|
+
}
|
|
375
|
+
export declare namespace KeyspaceSummary {
|
|
376
|
+
|
|
377
|
+
const filterSensitiveLog: (obj: KeyspaceSummary) => any;
|
|
378
|
+
}
|
|
379
|
+
export interface ListKeyspacesResponse {
|
|
380
|
+
|
|
381
|
+
nextToken?: string;
|
|
382
|
+
|
|
383
|
+
keyspaces: KeyspaceSummary[] | undefined;
|
|
384
|
+
}
|
|
385
|
+
export declare namespace ListKeyspacesResponse {
|
|
386
|
+
|
|
387
|
+
const filterSensitiveLog: (obj: ListKeyspacesResponse) => any;
|
|
388
|
+
}
|
|
389
|
+
export interface ListTablesRequest {
|
|
390
|
+
|
|
391
|
+
nextToken?: string;
|
|
392
|
+
|
|
393
|
+
maxResults?: number;
|
|
394
|
+
|
|
395
|
+
keyspaceName: string | undefined;
|
|
396
|
+
}
|
|
397
|
+
export declare namespace ListTablesRequest {
|
|
398
|
+
|
|
399
|
+
const filterSensitiveLog: (obj: ListTablesRequest) => any;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export interface TableSummary {
|
|
403
|
+
|
|
404
|
+
keyspaceName: string | undefined;
|
|
405
|
+
|
|
406
|
+
tableName: string | undefined;
|
|
407
|
+
|
|
408
|
+
resourceArn: string | undefined;
|
|
409
|
+
}
|
|
410
|
+
export declare namespace TableSummary {
|
|
411
|
+
|
|
412
|
+
const filterSensitiveLog: (obj: TableSummary) => any;
|
|
413
|
+
}
|
|
414
|
+
export interface ListTablesResponse {
|
|
415
|
+
|
|
416
|
+
nextToken?: string;
|
|
417
|
+
|
|
418
|
+
tables?: TableSummary[];
|
|
419
|
+
}
|
|
420
|
+
export declare namespace ListTablesResponse {
|
|
421
|
+
|
|
422
|
+
const filterSensitiveLog: (obj: ListTablesResponse) => any;
|
|
423
|
+
}
|
|
424
|
+
export interface ListTagsForResourceRequest {
|
|
425
|
+
|
|
426
|
+
resourceArn: string | undefined;
|
|
427
|
+
|
|
428
|
+
nextToken?: string;
|
|
429
|
+
|
|
430
|
+
maxResults?: number;
|
|
431
|
+
}
|
|
432
|
+
export declare namespace ListTagsForResourceRequest {
|
|
433
|
+
|
|
434
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
435
|
+
}
|
|
436
|
+
export interface ListTagsForResourceResponse {
|
|
437
|
+
|
|
438
|
+
nextToken?: string;
|
|
439
|
+
|
|
440
|
+
tags?: Tag[];
|
|
441
|
+
}
|
|
442
|
+
export declare namespace ListTagsForResourceResponse {
|
|
443
|
+
|
|
444
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
445
|
+
}
|
|
446
|
+
export interface RestoreTableRequest {
|
|
447
|
+
|
|
448
|
+
sourceKeyspaceName: string | undefined;
|
|
449
|
+
|
|
450
|
+
sourceTableName: string | undefined;
|
|
451
|
+
|
|
452
|
+
targetKeyspaceName: string | undefined;
|
|
453
|
+
|
|
454
|
+
targetTableName: string | undefined;
|
|
455
|
+
|
|
456
|
+
restoreTimestamp?: Date;
|
|
457
|
+
|
|
458
|
+
capacitySpecificationOverride?: CapacitySpecification;
|
|
459
|
+
|
|
460
|
+
encryptionSpecificationOverride?: EncryptionSpecification;
|
|
461
|
+
|
|
462
|
+
pointInTimeRecoveryOverride?: PointInTimeRecovery;
|
|
463
|
+
|
|
464
|
+
tagsOverride?: Tag[];
|
|
465
|
+
}
|
|
466
|
+
export declare namespace RestoreTableRequest {
|
|
467
|
+
|
|
468
|
+
const filterSensitiveLog: (obj: RestoreTableRequest) => any;
|
|
469
|
+
}
|
|
470
|
+
export interface RestoreTableResponse {
|
|
471
|
+
|
|
472
|
+
restoredTableARN: string | undefined;
|
|
473
|
+
}
|
|
474
|
+
export declare namespace RestoreTableResponse {
|
|
475
|
+
|
|
476
|
+
const filterSensitiveLog: (obj: RestoreTableResponse) => any;
|
|
477
|
+
}
|
|
478
|
+
export interface TagResourceRequest {
|
|
479
|
+
|
|
480
|
+
resourceArn: string | undefined;
|
|
481
|
+
|
|
482
|
+
tags: Tag[] | undefined;
|
|
483
|
+
}
|
|
484
|
+
export declare namespace TagResourceRequest {
|
|
485
|
+
|
|
486
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
487
|
+
}
|
|
488
|
+
export interface TagResourceResponse {
|
|
489
|
+
}
|
|
490
|
+
export declare namespace TagResourceResponse {
|
|
491
|
+
|
|
492
|
+
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
493
|
+
}
|
|
494
|
+
export interface UntagResourceRequest {
|
|
495
|
+
|
|
496
|
+
resourceArn: string | undefined;
|
|
497
|
+
|
|
498
|
+
tags: Tag[] | undefined;
|
|
499
|
+
}
|
|
500
|
+
export declare namespace UntagResourceRequest {
|
|
501
|
+
|
|
502
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
503
|
+
}
|
|
504
|
+
export interface UntagResourceResponse {
|
|
505
|
+
}
|
|
506
|
+
export declare namespace UntagResourceResponse {
|
|
507
|
+
|
|
508
|
+
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
509
|
+
}
|
|
510
|
+
export interface UpdateTableRequest {
|
|
511
|
+
|
|
512
|
+
keyspaceName: string | undefined;
|
|
513
|
+
|
|
514
|
+
tableName: string | undefined;
|
|
515
|
+
|
|
516
|
+
addColumns?: ColumnDefinition[];
|
|
517
|
+
|
|
518
|
+
capacitySpecification?: CapacitySpecification;
|
|
519
|
+
|
|
520
|
+
encryptionSpecification?: EncryptionSpecification;
|
|
521
|
+
|
|
522
|
+
pointInTimeRecovery?: PointInTimeRecovery;
|
|
523
|
+
|
|
524
|
+
ttl?: TimeToLive;
|
|
525
|
+
|
|
526
|
+
defaultTimeToLive?: number;
|
|
527
|
+
}
|
|
528
|
+
export declare namespace UpdateTableRequest {
|
|
529
|
+
|
|
530
|
+
const filterSensitiveLog: (obj: UpdateTableRequest) => any;
|
|
531
|
+
}
|
|
532
|
+
export interface UpdateTableResponse {
|
|
533
|
+
|
|
534
|
+
resourceArn: string | undefined;
|
|
535
|
+
}
|
|
536
|
+
export declare namespace UpdateTableResponse {
|
|
537
|
+
|
|
538
|
+
const filterSensitiveLog: (obj: UpdateTableResponse) => any;
|
|
539
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { Keyspaces } from "../Keyspaces";
|
|
3
|
+
import { KeyspacesClient } from "../KeyspacesClient";
|
|
4
|
+
export interface KeyspacesPaginationConfiguration extends PaginationConfiguration {
|
|
5
|
+
client: Keyspaces | KeyspacesClient;
|
|
6
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListKeyspacesCommandInput, ListKeyspacesCommandOutput } from "../commands/ListKeyspacesCommand";
|
|
3
|
+
import { KeyspacesPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListKeyspaces(config: KeyspacesPaginationConfiguration, input: ListKeyspacesCommandInput, ...additionalArguments: any): Paginator<ListKeyspacesCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
|
|
3
|
+
import { KeyspacesPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListTables(config: KeyspacesPaginationConfiguration, input: ListTablesCommandInput, ...additionalArguments: any): Paginator<ListTablesCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
3
|
+
import { KeyspacesPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListTagsForResource(config: KeyspacesPaginationConfiguration, input: ListTagsForResourceCommandInput, ...additionalArguments: any): Paginator<ListTagsForResourceCommandOutput>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { CreateKeyspaceCommandInput, CreateKeyspaceCommandOutput } from "../commands/CreateKeyspaceCommand";
|
|
4
|
+
import { CreateTableCommandInput, CreateTableCommandOutput } from "../commands/CreateTableCommand";
|
|
5
|
+
import { DeleteKeyspaceCommandInput, DeleteKeyspaceCommandOutput } from "../commands/DeleteKeyspaceCommand";
|
|
6
|
+
import { DeleteTableCommandInput, DeleteTableCommandOutput } from "../commands/DeleteTableCommand";
|
|
7
|
+
import { GetKeyspaceCommandInput, GetKeyspaceCommandOutput } from "../commands/GetKeyspaceCommand";
|
|
8
|
+
import { GetTableCommandInput, GetTableCommandOutput } from "../commands/GetTableCommand";
|
|
9
|
+
import { ListKeyspacesCommandInput, ListKeyspacesCommandOutput } from "../commands/ListKeyspacesCommand";
|
|
10
|
+
import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
|
|
11
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
12
|
+
import { RestoreTableCommandInput, RestoreTableCommandOutput } from "../commands/RestoreTableCommand";
|
|
13
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
14
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
15
|
+
import { UpdateTableCommandInput, UpdateTableCommandOutput } from "../commands/UpdateTableCommand";
|
|
16
|
+
export declare const serializeAws_json1_0CreateKeyspaceCommand: (input: CreateKeyspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
17
|
+
export declare const serializeAws_json1_0CreateTableCommand: (input: CreateTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
18
|
+
export declare const serializeAws_json1_0DeleteKeyspaceCommand: (input: DeleteKeyspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
|
+
export declare const serializeAws_json1_0DeleteTableCommand: (input: DeleteTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
20
|
+
export declare const serializeAws_json1_0GetKeyspaceCommand: (input: GetKeyspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
21
|
+
export declare const serializeAws_json1_0GetTableCommand: (input: GetTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
22
|
+
export declare const serializeAws_json1_0ListKeyspacesCommand: (input: ListKeyspacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
+
export declare const serializeAws_json1_0ListTablesCommand: (input: ListTablesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
|
+
export declare const serializeAws_json1_0ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
25
|
+
export declare const serializeAws_json1_0RestoreTableCommand: (input: RestoreTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
|
+
export declare const serializeAws_json1_0TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
|
+
export declare const serializeAws_json1_0UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
|
+
export declare const serializeAws_json1_0UpdateTableCommand: (input: UpdateTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
29
|
+
export declare const deserializeAws_json1_0CreateKeyspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateKeyspaceCommandOutput>;
|
|
30
|
+
export declare const deserializeAws_json1_0CreateTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTableCommandOutput>;
|
|
31
|
+
export declare const deserializeAws_json1_0DeleteKeyspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteKeyspaceCommandOutput>;
|
|
32
|
+
export declare const deserializeAws_json1_0DeleteTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTableCommandOutput>;
|
|
33
|
+
export declare const deserializeAws_json1_0GetKeyspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetKeyspaceCommandOutput>;
|
|
34
|
+
export declare const deserializeAws_json1_0GetTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTableCommandOutput>;
|
|
35
|
+
export declare const deserializeAws_json1_0ListKeyspacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListKeyspacesCommandOutput>;
|
|
36
|
+
export declare const deserializeAws_json1_0ListTablesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTablesCommandOutput>;
|
|
37
|
+
export declare const deserializeAws_json1_0ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
38
|
+
export declare const deserializeAws_json1_0RestoreTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RestoreTableCommandOutput>;
|
|
39
|
+
export declare const deserializeAws_json1_0TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
40
|
+
export declare const deserializeAws_json1_0UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
41
|
+
export declare const deserializeAws_json1_0UpdateTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTableCommandOutput>;
|