@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,1307 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { KeyspacesServiceException as __BaseException } from "./KeyspacesServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
5
|
+
*/
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
13
|
+
}
|
|
14
|
+
export declare enum ThroughputMode {
|
|
15
|
+
PAY_PER_REQUEST = "PAY_PER_REQUEST",
|
|
16
|
+
PROVISIONED = "PROVISIONED"
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* <p>Amazon Keyspaces has two read/write capacity modes for processing reads and writes on your tables: </p>
|
|
20
|
+
* <ul>
|
|
21
|
+
* <li>
|
|
22
|
+
* <p>
|
|
23
|
+
* On-demand (default)
|
|
24
|
+
* </p>
|
|
25
|
+
* </li>
|
|
26
|
+
* <li>
|
|
27
|
+
* <p>
|
|
28
|
+
* Provisioned
|
|
29
|
+
* </p>
|
|
30
|
+
* </li>
|
|
31
|
+
* </ul>
|
|
32
|
+
*
|
|
33
|
+
* <p> The read/write capacity mode that you choose controls how you are charged for read and
|
|
34
|
+
* write throughput and how table throughput capacity is managed. </p>
|
|
35
|
+
* <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
|
|
36
|
+
* Guide</i>.</p>
|
|
37
|
+
*/
|
|
38
|
+
export interface CapacitySpecification {
|
|
39
|
+
/**
|
|
40
|
+
* <p>The read/write throughput capacity mode for a table. The options are:</p>
|
|
41
|
+
* <ul>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>
|
|
44
|
+
* <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
45
|
+
* </li>
|
|
46
|
+
* <li>
|
|
47
|
+
* <p>
|
|
48
|
+
* <code>throughputMode:PROVISIONED</code>. The provisioned capacity mode requires
|
|
49
|
+
* <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as inputs. </p>
|
|
50
|
+
* </li>
|
|
51
|
+
* </ul>
|
|
52
|
+
* <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p>
|
|
53
|
+
* <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
|
+
* Guide</i>.</p>
|
|
55
|
+
*/
|
|
56
|
+
throughputMode: ThroughputMode | string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* <p>The throughput capacity specified for <code>read</code> operations defined in <code>read capacity units</code>
|
|
59
|
+
* <code>(RCUs)</code>.</p>
|
|
60
|
+
*/
|
|
61
|
+
readCapacityUnits?: number;
|
|
62
|
+
/**
|
|
63
|
+
* <p>The throughput capacity specified for <code>write</code> operations defined in <code>write capacity units</code>
|
|
64
|
+
* <code>(WCUs)</code>.</p>
|
|
65
|
+
*/
|
|
66
|
+
writeCapacityUnits?: number;
|
|
67
|
+
}
|
|
68
|
+
export declare namespace CapacitySpecification {
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
const filterSensitiveLog: (obj: CapacitySpecification) => any;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* <p>The read/write throughput capacity mode for a table. The options are:</p>
|
|
76
|
+
* <ul>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>
|
|
79
|
+
* <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
80
|
+
* </li>
|
|
81
|
+
* <li>
|
|
82
|
+
* <p>
|
|
83
|
+
* <code>throughputMode:PROVISIONED</code>. </p>
|
|
84
|
+
* </li>
|
|
85
|
+
* </ul>
|
|
86
|
+
* <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
|
|
87
|
+
* Guide</i>.</p>
|
|
88
|
+
*/
|
|
89
|
+
export interface CapacitySpecificationSummary {
|
|
90
|
+
/**
|
|
91
|
+
* <p>The read/write throughput capacity mode for a table. The options are:</p>
|
|
92
|
+
* <ul>
|
|
93
|
+
* <li>
|
|
94
|
+
* <p>
|
|
95
|
+
* <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
96
|
+
* </li>
|
|
97
|
+
* <li>
|
|
98
|
+
* <p>
|
|
99
|
+
* <code>throughputMode:PROVISIONED</code>. The provisioned capacity mode requires
|
|
100
|
+
* <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as inputs. </p>
|
|
101
|
+
* </li>
|
|
102
|
+
* </ul>
|
|
103
|
+
* <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p>
|
|
104
|
+
* <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
|
|
105
|
+
* Guide</i>.</p>
|
|
106
|
+
*/
|
|
107
|
+
throughputMode: ThroughputMode | string | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* <p>The throughput capacity specified for <code>read</code> operations defined in <code>read capacity units</code>
|
|
110
|
+
* <code>(RCUs)</code>.</p>
|
|
111
|
+
*/
|
|
112
|
+
readCapacityUnits?: number;
|
|
113
|
+
/**
|
|
114
|
+
* <p>The throughput capacity specified for <code>write</code> operations defined in <code>write capacity units</code>
|
|
115
|
+
* <code>(WCUs)</code>.</p>
|
|
116
|
+
*/
|
|
117
|
+
writeCapacityUnits?: number;
|
|
118
|
+
/**
|
|
119
|
+
* <p>The timestamp of the last operation that changed the provisioned throughput capacity of a table.</p>
|
|
120
|
+
*/
|
|
121
|
+
lastUpdateToPayPerRequestTimestamp?: Date;
|
|
122
|
+
}
|
|
123
|
+
export declare namespace CapacitySpecificationSummary {
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
const filterSensitiveLog: (obj: CapacitySpecificationSummary) => any;
|
|
128
|
+
}
|
|
129
|
+
export declare enum SortOrder {
|
|
130
|
+
ASC = "ASC",
|
|
131
|
+
DESC = "DESC"
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* <p>The optional clustering column portion of your primary key determines how the data is clustered and sorted within each partition.</p>
|
|
135
|
+
*/
|
|
136
|
+
export interface ClusteringKey {
|
|
137
|
+
/**
|
|
138
|
+
* <p>The name(s) of the clustering column(s).</p>
|
|
139
|
+
*/
|
|
140
|
+
name: string | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* <p>Sets the ascendant (<code>ASC</code>) or descendant (<code>DESC</code>) order modifier.</p>
|
|
143
|
+
*/
|
|
144
|
+
orderBy: SortOrder | string | undefined;
|
|
145
|
+
}
|
|
146
|
+
export declare namespace ClusteringKey {
|
|
147
|
+
/**
|
|
148
|
+
* @internal
|
|
149
|
+
*/
|
|
150
|
+
const filterSensitiveLog: (obj: ClusteringKey) => any;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* <p>The names and data types of regular columns.</p>
|
|
154
|
+
*/
|
|
155
|
+
export interface ColumnDefinition {
|
|
156
|
+
/**
|
|
157
|
+
* <p>The name of the column.</p>
|
|
158
|
+
*/
|
|
159
|
+
name: string | undefined;
|
|
160
|
+
/**
|
|
161
|
+
* <p>The data type of the column. For a list of available data types, 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
|
|
162
|
+
* Guide</i>.</p>
|
|
163
|
+
*/
|
|
164
|
+
type: string | undefined;
|
|
165
|
+
}
|
|
166
|
+
export declare namespace ColumnDefinition {
|
|
167
|
+
/**
|
|
168
|
+
* @internal
|
|
169
|
+
*/
|
|
170
|
+
const filterSensitiveLog: (obj: ColumnDefinition) => any;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* <p>An optional comment that describes the table.</p>
|
|
174
|
+
*/
|
|
175
|
+
export interface Comment {
|
|
176
|
+
/**
|
|
177
|
+
* <p>An optional description of the table.</p>
|
|
178
|
+
*/
|
|
179
|
+
message: string | undefined;
|
|
180
|
+
}
|
|
181
|
+
export declare namespace Comment {
|
|
182
|
+
/**
|
|
183
|
+
* @internal
|
|
184
|
+
*/
|
|
185
|
+
const filterSensitiveLog: (obj: Comment) => any;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* <p>Amazon Keyspaces could not complete the requested action. This error may occur if you try to
|
|
189
|
+
* perform an action and the same or a different action is already
|
|
190
|
+
* in progress, or if you try to create a resource that already exists. </p>
|
|
191
|
+
*/
|
|
192
|
+
export declare class ConflictException extends __BaseException {
|
|
193
|
+
readonly name: "ConflictException";
|
|
194
|
+
readonly $fault: "client";
|
|
195
|
+
/**
|
|
196
|
+
* @internal
|
|
197
|
+
*/
|
|
198
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* <p>Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a single Amazon Keyspaces resource. </p>
|
|
202
|
+
* <p>Amazon Web Services-assigned tag names and values are automatically assigned the <code>aws:</code> prefix, which the user cannot assign.
|
|
203
|
+
* Amazon Web Services-assigned tag names do not count towards the tag limit of 50. User-assigned tag names have the
|
|
204
|
+
* prefix <code>user:</code> in the Cost Allocation Report. You cannot backdate the application of a tag.</p>
|
|
205
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html">Adding tags and labels to Amazon Keyspaces resources</a> in the <i>Amazon Keyspaces Developer
|
|
206
|
+
* Guide</i>.</p>
|
|
207
|
+
*/
|
|
208
|
+
export interface Tag {
|
|
209
|
+
/**
|
|
210
|
+
* <p>The key of the tag. Tag keys are case sensitive. Each Amazon Keyspaces resource can only have up to one tag with the same key. If you try to add an
|
|
211
|
+
* existing tag (same key), the existing tag value will be updated to the new value.</p>
|
|
212
|
+
*/
|
|
213
|
+
key: string | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* <p>The value of the tag. Tag values are case-sensitive and can be null.</p>
|
|
216
|
+
*/
|
|
217
|
+
value: string | undefined;
|
|
218
|
+
}
|
|
219
|
+
export declare namespace Tag {
|
|
220
|
+
/**
|
|
221
|
+
* @internal
|
|
222
|
+
*/
|
|
223
|
+
const filterSensitiveLog: (obj: Tag) => any;
|
|
224
|
+
}
|
|
225
|
+
export interface CreateKeyspaceRequest {
|
|
226
|
+
/**
|
|
227
|
+
* <p>The name of the keyspace to be created.</p>
|
|
228
|
+
*/
|
|
229
|
+
keyspaceName: string | undefined;
|
|
230
|
+
/**
|
|
231
|
+
* <p>A list of key-value pair tags to be attached to the keyspace.</p>
|
|
232
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html">Adding tags and labels to Amazon Keyspaces resources</a> in the <i>Amazon Keyspaces Developer
|
|
233
|
+
* Guide</i>.</p>
|
|
234
|
+
*/
|
|
235
|
+
tags?: Tag[];
|
|
236
|
+
}
|
|
237
|
+
export declare namespace CreateKeyspaceRequest {
|
|
238
|
+
/**
|
|
239
|
+
* @internal
|
|
240
|
+
*/
|
|
241
|
+
const filterSensitiveLog: (obj: CreateKeyspaceRequest) => any;
|
|
242
|
+
}
|
|
243
|
+
export interface CreateKeyspaceResponse {
|
|
244
|
+
/**
|
|
245
|
+
* <p>The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).</p>
|
|
246
|
+
*/
|
|
247
|
+
resourceArn: string | undefined;
|
|
248
|
+
}
|
|
249
|
+
export declare namespace CreateKeyspaceResponse {
|
|
250
|
+
/**
|
|
251
|
+
* @internal
|
|
252
|
+
*/
|
|
253
|
+
const filterSensitiveLog: (obj: CreateKeyspaceResponse) => any;
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
|
|
257
|
+
*/
|
|
258
|
+
export declare class InternalServerException extends __BaseException {
|
|
259
|
+
readonly name: "InternalServerException";
|
|
260
|
+
readonly $fault: "server";
|
|
261
|
+
/**
|
|
262
|
+
* @internal
|
|
263
|
+
*/
|
|
264
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer
|
|
268
|
+
* Guide</i>.</p>
|
|
269
|
+
*/
|
|
270
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
271
|
+
readonly name: "ServiceQuotaExceededException";
|
|
272
|
+
readonly $fault: "client";
|
|
273
|
+
/**
|
|
274
|
+
* @internal
|
|
275
|
+
*/
|
|
276
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* <p>The operation failed due to an invalid or malformed request.</p>
|
|
280
|
+
*/
|
|
281
|
+
export declare class ValidationException extends __BaseException {
|
|
282
|
+
readonly name: "ValidationException";
|
|
283
|
+
readonly $fault: "client";
|
|
284
|
+
/**
|
|
285
|
+
* @internal
|
|
286
|
+
*/
|
|
287
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
288
|
+
}
|
|
289
|
+
export declare enum EncryptionType {
|
|
290
|
+
AWS_OWNED_KMS_KEY = "AWS_OWNED_KMS_KEY",
|
|
291
|
+
CUSTOMER_MANAGED_KMS_KEY = "CUSTOMER_MANAGED_KMS_KEY"
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* <p>
|
|
295
|
+
* Amazon Keyspaces encrypts and decrypts the table data at rest transparently and integrates with Key Management Service for storing and managing the encryption key.
|
|
296
|
+
* You can choose one of the following KMS keys (KMS keys):</p>
|
|
297
|
+
* <ul>
|
|
298
|
+
* <li>
|
|
299
|
+
* <p>
|
|
300
|
+
* Amazon Web Services owned key - This is the default encryption type. The key is owned by Amazon Keyspaces (no additional charge). </p>
|
|
301
|
+
* </li>
|
|
302
|
+
* <li>
|
|
303
|
+
* <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
|
|
304
|
+
* managed key (KMS charges apply).</p>
|
|
305
|
+
* </li>
|
|
306
|
+
* </ul>
|
|
307
|
+
* <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
|
|
308
|
+
* Guide</i>.</p>
|
|
309
|
+
* <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>
|
|
310
|
+
*/
|
|
311
|
+
export interface EncryptionSpecification {
|
|
312
|
+
/**
|
|
313
|
+
* <p>
|
|
314
|
+
* The encryption option specified for the table. You can choose one of the following KMS keys (KMS keys):</p>
|
|
315
|
+
* <ul>
|
|
316
|
+
* <li>
|
|
317
|
+
* <p>
|
|
318
|
+
* <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p>
|
|
319
|
+
* </li>
|
|
320
|
+
* <li>
|
|
321
|
+
* <p>
|
|
322
|
+
* <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you.
|
|
323
|
+
* This option
|
|
324
|
+
* requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input. </p>
|
|
325
|
+
* </li>
|
|
326
|
+
* </ul>
|
|
327
|
+
* <p>The default is <code>type:AWS_OWNED_KMS_KEY</code>. </p>
|
|
328
|
+
* <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
|
|
329
|
+
* Guide</i>.</p>
|
|
330
|
+
*/
|
|
331
|
+
type: EncryptionType | string | undefined;
|
|
332
|
+
/**
|
|
333
|
+
* <p>The Amazon Resource Name (ARN) of the customer managed KMS key, for example <code>kms_key_identifier:ARN</code>.
|
|
334
|
+
* </p>
|
|
335
|
+
*/
|
|
336
|
+
kmsKeyIdentifier?: string;
|
|
337
|
+
}
|
|
338
|
+
export declare namespace EncryptionSpecification {
|
|
339
|
+
/**
|
|
340
|
+
* @internal
|
|
341
|
+
*/
|
|
342
|
+
const filterSensitiveLog: (obj: EncryptionSpecification) => any;
|
|
343
|
+
}
|
|
344
|
+
export declare enum PointInTimeRecoveryStatus {
|
|
345
|
+
DISABLED = "DISABLED",
|
|
346
|
+
ENABLED = "ENABLED"
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* <p>Point-in-time recovery (PITR) helps protect your Amazon Keyspaces tables from accidental write or delete operations by providing you continuous backups of your table data.</p>
|
|
350
|
+
* <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
|
|
351
|
+
* Guide</i>.</p>
|
|
352
|
+
*/
|
|
353
|
+
export interface PointInTimeRecovery {
|
|
354
|
+
/**
|
|
355
|
+
* <p>The options are:</p>
|
|
356
|
+
* <ul>
|
|
357
|
+
* <li>
|
|
358
|
+
* <p>
|
|
359
|
+
* <code>ENABLED</code>
|
|
360
|
+
* </p>
|
|
361
|
+
* </li>
|
|
362
|
+
* <li>
|
|
363
|
+
* <p>
|
|
364
|
+
* <code>DISABLED</code>
|
|
365
|
+
* </p>
|
|
366
|
+
* </li>
|
|
367
|
+
* </ul>
|
|
368
|
+
*/
|
|
369
|
+
status: PointInTimeRecoveryStatus | string | undefined;
|
|
370
|
+
}
|
|
371
|
+
export declare namespace PointInTimeRecovery {
|
|
372
|
+
/**
|
|
373
|
+
* @internal
|
|
374
|
+
*/
|
|
375
|
+
const filterSensitiveLog: (obj: PointInTimeRecovery) => any;
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* <p>The partition key portion of the primary key is required
|
|
379
|
+
* and determines how Amazon Keyspaces stores the data.
|
|
380
|
+
* The partition key can be a single column, or it can be a compound value composed of two or more columns. </p>
|
|
381
|
+
*/
|
|
382
|
+
export interface PartitionKey {
|
|
383
|
+
/**
|
|
384
|
+
* <p>The name(s) of the partition key column(s).</p>
|
|
385
|
+
*/
|
|
386
|
+
name: string | undefined;
|
|
387
|
+
}
|
|
388
|
+
export declare namespace PartitionKey {
|
|
389
|
+
/**
|
|
390
|
+
* @internal
|
|
391
|
+
*/
|
|
392
|
+
const filterSensitiveLog: (obj: PartitionKey) => any;
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* <p>The static columns of the table. Static columns store values that are shared by all rows in the same partition.</p>
|
|
396
|
+
*/
|
|
397
|
+
export interface StaticColumn {
|
|
398
|
+
/**
|
|
399
|
+
* <p>The name of the static column.</p>
|
|
400
|
+
*/
|
|
401
|
+
name: string | undefined;
|
|
402
|
+
}
|
|
403
|
+
export declare namespace StaticColumn {
|
|
404
|
+
/**
|
|
405
|
+
* @internal
|
|
406
|
+
*/
|
|
407
|
+
const filterSensitiveLog: (obj: StaticColumn) => any;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* <p>Describes the schema of the table.</p>
|
|
411
|
+
*/
|
|
412
|
+
export interface SchemaDefinition {
|
|
413
|
+
/**
|
|
414
|
+
* <p>The regular columns of the table.</p>
|
|
415
|
+
*/
|
|
416
|
+
allColumns: ColumnDefinition[] | undefined;
|
|
417
|
+
/**
|
|
418
|
+
* <p>The columns that are part of the partition key of the table .</p>
|
|
419
|
+
*/
|
|
420
|
+
partitionKeys: PartitionKey[] | undefined;
|
|
421
|
+
/**
|
|
422
|
+
* <p>The columns that are part of the clustering key of the table.</p>
|
|
423
|
+
*/
|
|
424
|
+
clusteringKeys?: ClusteringKey[];
|
|
425
|
+
/**
|
|
426
|
+
* <p>The columns that have been defined as <code>STATIC</code>. Static columns store values that are shared by all rows in the same partition.</p>
|
|
427
|
+
*/
|
|
428
|
+
staticColumns?: StaticColumn[];
|
|
429
|
+
}
|
|
430
|
+
export declare namespace SchemaDefinition {
|
|
431
|
+
/**
|
|
432
|
+
* @internal
|
|
433
|
+
*/
|
|
434
|
+
const filterSensitiveLog: (obj: SchemaDefinition) => any;
|
|
435
|
+
}
|
|
436
|
+
export declare enum TimeToLiveStatus {
|
|
437
|
+
ENABLED = "ENABLED"
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* <p>Enable custom Time to Live (TTL) settings for rows and columns without setting a TTL default for the specified table.</p>
|
|
441
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_enabling">Enabling TTL on tables</a> in the <i>Amazon Keyspaces Developer
|
|
442
|
+
* Guide</i>.</p>
|
|
443
|
+
*/
|
|
444
|
+
export interface TimeToLive {
|
|
445
|
+
/**
|
|
446
|
+
* <p>Shows how to enable custom Time to Live (TTL) settings for the specified table.</p>
|
|
447
|
+
*/
|
|
448
|
+
status: TimeToLiveStatus | string | undefined;
|
|
449
|
+
}
|
|
450
|
+
export declare namespace TimeToLive {
|
|
451
|
+
/**
|
|
452
|
+
* @internal
|
|
453
|
+
*/
|
|
454
|
+
const filterSensitiveLog: (obj: TimeToLive) => any;
|
|
455
|
+
}
|
|
456
|
+
export interface CreateTableRequest {
|
|
457
|
+
/**
|
|
458
|
+
* <p>The name of the keyspace that the table is going to be created in.</p>
|
|
459
|
+
*/
|
|
460
|
+
keyspaceName: string | undefined;
|
|
461
|
+
/**
|
|
462
|
+
* <p>The name of the table.</p>
|
|
463
|
+
*/
|
|
464
|
+
tableName: string | undefined;
|
|
465
|
+
/**
|
|
466
|
+
* <p>The <code>schemaDefinition</code> consists of the
|
|
467
|
+
* following parameters.</p>
|
|
468
|
+
* <p>For each column to be created:</p>
|
|
469
|
+
* <ul>
|
|
470
|
+
* <li>
|
|
471
|
+
* <p>
|
|
472
|
+
* <i>
|
|
473
|
+
* <code>name</code>
|
|
474
|
+
* </i> - The name
|
|
475
|
+
* of the column.</p>
|
|
476
|
+
* </li>
|
|
477
|
+
* <li>
|
|
478
|
+
* <p>
|
|
479
|
+
* <code>
|
|
480
|
+
* <i>type</i>
|
|
481
|
+
* </code> - An Amazon Keyspaces
|
|
482
|
+
* 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
|
|
483
|
+
* Guide</i>.</p>
|
|
484
|
+
* </li>
|
|
485
|
+
* </ul>
|
|
486
|
+
*
|
|
487
|
+
* <p>The primary key of the table consists of the
|
|
488
|
+
* following columns:</p>
|
|
489
|
+
* <ul>
|
|
490
|
+
* <li>
|
|
491
|
+
* <p>
|
|
492
|
+
* <code>partitionKeys</code> - The partition key can be a single column, or it can be a
|
|
493
|
+
* compound value composed of two or more columns. The partition
|
|
494
|
+
* key portion of the primary key is required and determines how
|
|
495
|
+
* Amazon Keyspaces stores your data.</p>
|
|
496
|
+
* <ul>
|
|
497
|
+
* <li>
|
|
498
|
+
* <p>
|
|
499
|
+
* <i>
|
|
500
|
+
* <code>name</code>
|
|
501
|
+
* </i> - The name of each partition key column.</p>
|
|
502
|
+
* </li>
|
|
503
|
+
* </ul>
|
|
504
|
+
* </li>
|
|
505
|
+
* <li>
|
|
506
|
+
* <p>
|
|
507
|
+
* <code>clusteringKeys</code> - The optional clustering column portion of your primary key
|
|
508
|
+
* determines how the data is clustered and sorted within each
|
|
509
|
+
* partition.</p>
|
|
510
|
+
* <ul>
|
|
511
|
+
* <li>
|
|
512
|
+
* <p>
|
|
513
|
+
* <i>
|
|
514
|
+
* <code>name</code>
|
|
515
|
+
* </i> - The name of the clustering column. </p>
|
|
516
|
+
* </li>
|
|
517
|
+
* <li>
|
|
518
|
+
* <p>
|
|
519
|
+
* <i>
|
|
520
|
+
* <code>orderBy</code>
|
|
521
|
+
* </i> - Sets the
|
|
522
|
+
* ascendant (<code>ASC</code>) or descendant (<code>DESC</code>) order modifier.</p>
|
|
523
|
+
* </li>
|
|
524
|
+
* </ul>
|
|
525
|
+
* </li>
|
|
526
|
+
* </ul>
|
|
527
|
+
* <p>To define a column as static use <code>
|
|
528
|
+
* <i>staticColumns</i>
|
|
529
|
+
* </code> -
|
|
530
|
+
* Static columns store values that are shared by all rows in the same partition:</p>
|
|
531
|
+
* <ul>
|
|
532
|
+
* <li>
|
|
533
|
+
* <p>
|
|
534
|
+
* <i>
|
|
535
|
+
* <code>name</code>
|
|
536
|
+
* </i> - The name
|
|
537
|
+
* of the column.</p>
|
|
538
|
+
* </li>
|
|
539
|
+
* <li>
|
|
540
|
+
* <p>
|
|
541
|
+
* <code>
|
|
542
|
+
* <i>type</i>
|
|
543
|
+
* </code> - An Amazon Keyspaces
|
|
544
|
+
* data type.</p>
|
|
545
|
+
* </li>
|
|
546
|
+
* </ul>
|
|
547
|
+
*/
|
|
548
|
+
schemaDefinition: SchemaDefinition | undefined;
|
|
549
|
+
/**
|
|
550
|
+
* <p>This parameter allows to enter a description of the table.</p>
|
|
551
|
+
*/
|
|
552
|
+
comment?: Comment;
|
|
553
|
+
/**
|
|
554
|
+
* <p>Specifies the read/write throughput capacity mode for the table. The options are:</p>
|
|
555
|
+
* <ul>
|
|
556
|
+
* <li>
|
|
557
|
+
* <p>
|
|
558
|
+
* <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
559
|
+
* </li>
|
|
560
|
+
* <li>
|
|
561
|
+
* <p>
|
|
562
|
+
* <code>throughputMode:PROVISIONED</code>. The provisioned capacity mode requires
|
|
563
|
+
* <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as inputs. </p>
|
|
564
|
+
* </li>
|
|
565
|
+
* </ul>
|
|
566
|
+
* <p>The default is
|
|
567
|
+
* <code>throughput_mode:PAY_PER_REQUEST</code>.</p>
|
|
568
|
+
* <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
|
|
569
|
+
* Guide</i>.</p>
|
|
570
|
+
*/
|
|
571
|
+
capacitySpecification?: CapacitySpecification;
|
|
572
|
+
/**
|
|
573
|
+
* <p>Specifies how the encryption key for encryption at rest is managed for the table. You can choose one of the following KMS key (KMS key):</p>
|
|
574
|
+
*
|
|
575
|
+
* <ul>
|
|
576
|
+
* <li>
|
|
577
|
+
* <p>
|
|
578
|
+
* <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p>
|
|
579
|
+
* </li>
|
|
580
|
+
* <li>
|
|
581
|
+
* <p>
|
|
582
|
+
* <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you.
|
|
583
|
+
* This option
|
|
584
|
+
* requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input. </p>
|
|
585
|
+
* </li>
|
|
586
|
+
* </ul>
|
|
587
|
+
* <p>The default is <code>type:AWS_OWNED_KMS_KEY</code>. </p>
|
|
588
|
+
* <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
|
|
589
|
+
* Guide</i>.</p>
|
|
590
|
+
*/
|
|
591
|
+
encryptionSpecification?: EncryptionSpecification;
|
|
592
|
+
/**
|
|
593
|
+
* <p>
|
|
594
|
+
* Specifies if <code>pointInTimeRecovery</code> is enabled or disabled for the
|
|
595
|
+
* table. The options are:</p>
|
|
596
|
+
* <ul>
|
|
597
|
+
* <li>
|
|
598
|
+
* <p>
|
|
599
|
+
* <code>ENABLED</code>
|
|
600
|
+
* </p>
|
|
601
|
+
* </li>
|
|
602
|
+
* <li>
|
|
603
|
+
* <p>
|
|
604
|
+
* <code>DISABLED</code>
|
|
605
|
+
* </p>
|
|
606
|
+
* </li>
|
|
607
|
+
* </ul>
|
|
608
|
+
* <p>If it's not specified, the default is <code>DISABLED</code>.</p>
|
|
609
|
+
* <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
|
|
610
|
+
* Guide</i>.</p>
|
|
611
|
+
*/
|
|
612
|
+
pointInTimeRecovery?: PointInTimeRecovery;
|
|
613
|
+
/**
|
|
614
|
+
* <p>
|
|
615
|
+
* Enables Time to Live custom settings for the
|
|
616
|
+
* table. The options are:</p>
|
|
617
|
+
* <ul>
|
|
618
|
+
* <li>
|
|
619
|
+
* <p>
|
|
620
|
+
* <code>status:enabled</code>
|
|
621
|
+
* </p>
|
|
622
|
+
* </li>
|
|
623
|
+
* <li>
|
|
624
|
+
* <p>
|
|
625
|
+
* <code>status:disabled</code>
|
|
626
|
+
* </p>
|
|
627
|
+
* </li>
|
|
628
|
+
* </ul>
|
|
629
|
+
* <p>The default is <code>status:disabled</code>. After
|
|
630
|
+
* <code>ttl</code> is enabled, you can't disable it
|
|
631
|
+
* for the table.</p>
|
|
632
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL.html">Expiring data by using Amazon Keyspaces Time to Live (TTL)</a> in the <i>Amazon Keyspaces Developer
|
|
633
|
+
* Guide</i>.</p>
|
|
634
|
+
*/
|
|
635
|
+
ttl?: TimeToLive;
|
|
636
|
+
/**
|
|
637
|
+
* <p>The default Time to Live setting in seconds for the
|
|
638
|
+
* table.</p>
|
|
639
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_default_ttl">Setting the default TTL value for a table</a> in the <i>Amazon Keyspaces Developer
|
|
640
|
+
* Guide</i>.</p>
|
|
641
|
+
*/
|
|
642
|
+
defaultTimeToLive?: number;
|
|
643
|
+
/**
|
|
644
|
+
* <p>A list of key-value pair tags to be
|
|
645
|
+
* attached to the resource. </p>
|
|
646
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html">Adding tags and labels to Amazon Keyspaces resources</a> in the <i>Amazon Keyspaces Developer
|
|
647
|
+
* Guide</i>.</p>
|
|
648
|
+
*/
|
|
649
|
+
tags?: Tag[];
|
|
650
|
+
}
|
|
651
|
+
export declare namespace CreateTableRequest {
|
|
652
|
+
/**
|
|
653
|
+
* @internal
|
|
654
|
+
*/
|
|
655
|
+
const filterSensitiveLog: (obj: CreateTableRequest) => any;
|
|
656
|
+
}
|
|
657
|
+
export interface CreateTableResponse {
|
|
658
|
+
/**
|
|
659
|
+
* <p>The unique identifier of the table in the format of an Amazon Resource Name (ARN).</p>
|
|
660
|
+
*/
|
|
661
|
+
resourceArn: string | undefined;
|
|
662
|
+
}
|
|
663
|
+
export declare namespace CreateTableResponse {
|
|
664
|
+
/**
|
|
665
|
+
* @internal
|
|
666
|
+
*/
|
|
667
|
+
const filterSensitiveLog: (obj: CreateTableResponse) => any;
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* <p>The operation tried to access a keyspace or table that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
671
|
+
*/
|
|
672
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
673
|
+
readonly name: "ResourceNotFoundException";
|
|
674
|
+
readonly $fault: "client";
|
|
675
|
+
/**
|
|
676
|
+
* <p>The unique identifier in the format of Amazon Resource Name (ARN), for the resource not found.</p>
|
|
677
|
+
*/
|
|
678
|
+
resourceArn?: string;
|
|
679
|
+
/**
|
|
680
|
+
* @internal
|
|
681
|
+
*/
|
|
682
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
683
|
+
}
|
|
684
|
+
export interface DeleteKeyspaceRequest {
|
|
685
|
+
/**
|
|
686
|
+
* <p>The name of the keyspace to be deleted.</p>
|
|
687
|
+
*/
|
|
688
|
+
keyspaceName: string | undefined;
|
|
689
|
+
}
|
|
690
|
+
export declare namespace DeleteKeyspaceRequest {
|
|
691
|
+
/**
|
|
692
|
+
* @internal
|
|
693
|
+
*/
|
|
694
|
+
const filterSensitiveLog: (obj: DeleteKeyspaceRequest) => any;
|
|
695
|
+
}
|
|
696
|
+
export interface DeleteKeyspaceResponse {
|
|
697
|
+
}
|
|
698
|
+
export declare namespace DeleteKeyspaceResponse {
|
|
699
|
+
/**
|
|
700
|
+
* @internal
|
|
701
|
+
*/
|
|
702
|
+
const filterSensitiveLog: (obj: DeleteKeyspaceResponse) => any;
|
|
703
|
+
}
|
|
704
|
+
export interface DeleteTableRequest {
|
|
705
|
+
/**
|
|
706
|
+
* <p>The name of the keyspace of the to be deleted table.</p>
|
|
707
|
+
*/
|
|
708
|
+
keyspaceName: string | undefined;
|
|
709
|
+
/**
|
|
710
|
+
* <p>The name of the table to be deleted.</p>
|
|
711
|
+
*/
|
|
712
|
+
tableName: string | undefined;
|
|
713
|
+
}
|
|
714
|
+
export declare namespace DeleteTableRequest {
|
|
715
|
+
/**
|
|
716
|
+
* @internal
|
|
717
|
+
*/
|
|
718
|
+
const filterSensitiveLog: (obj: DeleteTableRequest) => any;
|
|
719
|
+
}
|
|
720
|
+
export interface DeleteTableResponse {
|
|
721
|
+
}
|
|
722
|
+
export declare namespace DeleteTableResponse {
|
|
723
|
+
/**
|
|
724
|
+
* @internal
|
|
725
|
+
*/
|
|
726
|
+
const filterSensitiveLog: (obj: DeleteTableResponse) => any;
|
|
727
|
+
}
|
|
728
|
+
export interface GetKeyspaceRequest {
|
|
729
|
+
/**
|
|
730
|
+
* <p>The name of the keyspace.</p>
|
|
731
|
+
*/
|
|
732
|
+
keyspaceName: string | undefined;
|
|
733
|
+
}
|
|
734
|
+
export declare namespace GetKeyspaceRequest {
|
|
735
|
+
/**
|
|
736
|
+
* @internal
|
|
737
|
+
*/
|
|
738
|
+
const filterSensitiveLog: (obj: GetKeyspaceRequest) => any;
|
|
739
|
+
}
|
|
740
|
+
export interface GetKeyspaceResponse {
|
|
741
|
+
/**
|
|
742
|
+
* <p>The name of the keyspace.</p>
|
|
743
|
+
*/
|
|
744
|
+
keyspaceName: string | undefined;
|
|
745
|
+
/**
|
|
746
|
+
* <p>The ARN of the keyspace.</p>
|
|
747
|
+
*/
|
|
748
|
+
resourceArn: string | undefined;
|
|
749
|
+
}
|
|
750
|
+
export declare namespace GetKeyspaceResponse {
|
|
751
|
+
/**
|
|
752
|
+
* @internal
|
|
753
|
+
*/
|
|
754
|
+
const filterSensitiveLog: (obj: GetKeyspaceResponse) => any;
|
|
755
|
+
}
|
|
756
|
+
export interface GetTableRequest {
|
|
757
|
+
/**
|
|
758
|
+
* <p>The name of the keyspace that the table is stored in.</p>
|
|
759
|
+
*/
|
|
760
|
+
keyspaceName: string | undefined;
|
|
761
|
+
/**
|
|
762
|
+
* <p>The name of the table.</p>
|
|
763
|
+
*/
|
|
764
|
+
tableName: string | undefined;
|
|
765
|
+
}
|
|
766
|
+
export declare namespace GetTableRequest {
|
|
767
|
+
/**
|
|
768
|
+
* @internal
|
|
769
|
+
*/
|
|
770
|
+
const filterSensitiveLog: (obj: GetTableRequest) => any;
|
|
771
|
+
}
|
|
772
|
+
/**
|
|
773
|
+
* <p>The point-in-time recovery status of the specified table.</p>
|
|
774
|
+
*/
|
|
775
|
+
export interface PointInTimeRecoverySummary {
|
|
776
|
+
/**
|
|
777
|
+
* <p>Shows if point-in-time recovery is enabled or disabled for the specified table.</p>
|
|
778
|
+
*/
|
|
779
|
+
status: PointInTimeRecoveryStatus | string | undefined;
|
|
780
|
+
/**
|
|
781
|
+
* <p>Specifies the earliest possible restore point of the table in ISO 8601 format.</p>
|
|
782
|
+
*/
|
|
783
|
+
earliestRestorableTimestamp?: Date;
|
|
784
|
+
}
|
|
785
|
+
export declare namespace PointInTimeRecoverySummary {
|
|
786
|
+
/**
|
|
787
|
+
* @internal
|
|
788
|
+
*/
|
|
789
|
+
const filterSensitiveLog: (obj: PointInTimeRecoverySummary) => any;
|
|
790
|
+
}
|
|
791
|
+
export declare enum TableStatus {
|
|
792
|
+
ACTIVE = "ACTIVE",
|
|
793
|
+
CREATING = "CREATING",
|
|
794
|
+
DELETED = "DELETED",
|
|
795
|
+
DELETING = "DELETING",
|
|
796
|
+
INACCESSIBLE_ENCRYPTION_CREDENTIALS = "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
|
|
797
|
+
RESTORING = "RESTORING",
|
|
798
|
+
UPDATING = "UPDATING"
|
|
799
|
+
}
|
|
800
|
+
export interface GetTableResponse {
|
|
801
|
+
/**
|
|
802
|
+
* <p>The name of the keyspace that the specified table is stored in.</p>
|
|
803
|
+
*/
|
|
804
|
+
keyspaceName: string | undefined;
|
|
805
|
+
/**
|
|
806
|
+
* <p>The name of the specified table.</p>
|
|
807
|
+
*/
|
|
808
|
+
tableName: string | undefined;
|
|
809
|
+
/**
|
|
810
|
+
* <p>The Amazon Resource Name (ARN) of the specified table.</p>
|
|
811
|
+
*/
|
|
812
|
+
resourceArn: string | undefined;
|
|
813
|
+
/**
|
|
814
|
+
* <p>The creation timestamp of the specified table.</p>
|
|
815
|
+
*/
|
|
816
|
+
creationTimestamp?: Date;
|
|
817
|
+
/**
|
|
818
|
+
* <p>The current status of the specified table.</p>
|
|
819
|
+
*/
|
|
820
|
+
status?: TableStatus | string;
|
|
821
|
+
/**
|
|
822
|
+
* <p>The schema definition of the specified table.</p>
|
|
823
|
+
*/
|
|
824
|
+
schemaDefinition?: SchemaDefinition;
|
|
825
|
+
/**
|
|
826
|
+
* <p>The read/write throughput capacity mode for a table. The options are:</p>
|
|
827
|
+
* <ul>
|
|
828
|
+
* <li>
|
|
829
|
+
* <p>
|
|
830
|
+
* <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
831
|
+
* </li>
|
|
832
|
+
* <li>
|
|
833
|
+
* <p>
|
|
834
|
+
* <code>throughputMode:PROVISIONED</code>. </p>
|
|
835
|
+
* </li>
|
|
836
|
+
* </ul>
|
|
837
|
+
*/
|
|
838
|
+
capacitySpecification?: CapacitySpecificationSummary;
|
|
839
|
+
/**
|
|
840
|
+
* <p>The encryption settings of the specified table.</p>
|
|
841
|
+
*/
|
|
842
|
+
encryptionSpecification?: EncryptionSpecification;
|
|
843
|
+
/**
|
|
844
|
+
* <p>The point-in-time recovery status of the specified table.</p>
|
|
845
|
+
*/
|
|
846
|
+
pointInTimeRecovery?: PointInTimeRecoverySummary;
|
|
847
|
+
/**
|
|
848
|
+
* <p>The custom Time to Live settings of the specified table.</p>
|
|
849
|
+
*/
|
|
850
|
+
ttl?: TimeToLive;
|
|
851
|
+
/**
|
|
852
|
+
* <p>The default Time to Live settings of the specified table.</p>
|
|
853
|
+
*/
|
|
854
|
+
defaultTimeToLive?: number;
|
|
855
|
+
/**
|
|
856
|
+
* <p>The the description of the specified table.</p>
|
|
857
|
+
*/
|
|
858
|
+
comment?: Comment;
|
|
859
|
+
}
|
|
860
|
+
export declare namespace GetTableResponse {
|
|
861
|
+
/**
|
|
862
|
+
* @internal
|
|
863
|
+
*/
|
|
864
|
+
const filterSensitiveLog: (obj: GetTableResponse) => any;
|
|
865
|
+
}
|
|
866
|
+
export interface ListKeyspacesRequest {
|
|
867
|
+
/**
|
|
868
|
+
* <p>The pagination token. To resume pagination, provide the <code>NextToken</code> value as argument of a subsequent API invocation.</p>
|
|
869
|
+
*/
|
|
870
|
+
nextToken?: string;
|
|
871
|
+
/**
|
|
872
|
+
* <p>The total number of keyspaces to return in the output. If the total number of keyspaces available
|
|
873
|
+
* is more than the value specified, a <code>NextToken</code> is provided in the output. To resume pagination,
|
|
874
|
+
* provide the <code>NextToken</code> value as an argument of a subsequent API invocation.</p>
|
|
875
|
+
*/
|
|
876
|
+
maxResults?: number;
|
|
877
|
+
}
|
|
878
|
+
export declare namespace ListKeyspacesRequest {
|
|
879
|
+
/**
|
|
880
|
+
* @internal
|
|
881
|
+
*/
|
|
882
|
+
const filterSensitiveLog: (obj: ListKeyspacesRequest) => any;
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* <p>Represents the properties of a keyspace.</p>
|
|
886
|
+
*/
|
|
887
|
+
export interface KeyspaceSummary {
|
|
888
|
+
/**
|
|
889
|
+
* <p>The name of the keyspace.</p>
|
|
890
|
+
*/
|
|
891
|
+
keyspaceName: string | undefined;
|
|
892
|
+
/**
|
|
893
|
+
* <p>The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).</p>
|
|
894
|
+
*/
|
|
895
|
+
resourceArn: string | undefined;
|
|
896
|
+
}
|
|
897
|
+
export declare namespace KeyspaceSummary {
|
|
898
|
+
/**
|
|
899
|
+
* @internal
|
|
900
|
+
*/
|
|
901
|
+
const filterSensitiveLog: (obj: KeyspaceSummary) => any;
|
|
902
|
+
}
|
|
903
|
+
export interface ListKeyspacesResponse {
|
|
904
|
+
/**
|
|
905
|
+
* <p>A token to specify where to start paginating. This is the <code>NextToken</code> from a previously truncated response.</p>
|
|
906
|
+
*/
|
|
907
|
+
nextToken?: string;
|
|
908
|
+
/**
|
|
909
|
+
* <p>A list of keyspaces.</p>
|
|
910
|
+
*/
|
|
911
|
+
keyspaces: KeyspaceSummary[] | undefined;
|
|
912
|
+
}
|
|
913
|
+
export declare namespace ListKeyspacesResponse {
|
|
914
|
+
/**
|
|
915
|
+
* @internal
|
|
916
|
+
*/
|
|
917
|
+
const filterSensitiveLog: (obj: ListKeyspacesResponse) => any;
|
|
918
|
+
}
|
|
919
|
+
export interface ListTablesRequest {
|
|
920
|
+
/**
|
|
921
|
+
* <p>The pagination token. To resume pagination, provide the <code>NextToken</code> value as an argument of a subsequent API invocation.</p>
|
|
922
|
+
*/
|
|
923
|
+
nextToken?: string;
|
|
924
|
+
/**
|
|
925
|
+
* <p>The total number of tables to return in the output. If the total number of tables available
|
|
926
|
+
* is more than the value specified, a <code>NextToken</code> is provided in the output. To resume pagination,
|
|
927
|
+
* provide the <code>NextToken</code> value as an argument of a subsequent API invocation.</p>
|
|
928
|
+
*/
|
|
929
|
+
maxResults?: number;
|
|
930
|
+
/**
|
|
931
|
+
* <p>The name of the keyspace.</p>
|
|
932
|
+
*/
|
|
933
|
+
keyspaceName: string | undefined;
|
|
934
|
+
}
|
|
935
|
+
export declare namespace ListTablesRequest {
|
|
936
|
+
/**
|
|
937
|
+
* @internal
|
|
938
|
+
*/
|
|
939
|
+
const filterSensitiveLog: (obj: ListTablesRequest) => any;
|
|
940
|
+
}
|
|
941
|
+
/**
|
|
942
|
+
* <p>Returns the name of the specified table, the keyspace it is stored in, and the unique identifier in the format of an Amazon Resource Name (ARN).</p>
|
|
943
|
+
*/
|
|
944
|
+
export interface TableSummary {
|
|
945
|
+
/**
|
|
946
|
+
* <p>The name of the keyspace that the table is stored in.</p>
|
|
947
|
+
*/
|
|
948
|
+
keyspaceName: string | undefined;
|
|
949
|
+
/**
|
|
950
|
+
* <p>The name of the table.</p>
|
|
951
|
+
*/
|
|
952
|
+
tableName: string | undefined;
|
|
953
|
+
/**
|
|
954
|
+
* <p>The unique identifier of the table in the format of an Amazon Resource Name (ARN).</p>
|
|
955
|
+
*/
|
|
956
|
+
resourceArn: string | undefined;
|
|
957
|
+
}
|
|
958
|
+
export declare namespace TableSummary {
|
|
959
|
+
/**
|
|
960
|
+
* @internal
|
|
961
|
+
*/
|
|
962
|
+
const filterSensitiveLog: (obj: TableSummary) => any;
|
|
963
|
+
}
|
|
964
|
+
export interface ListTablesResponse {
|
|
965
|
+
/**
|
|
966
|
+
* <p>A token to specify where to start paginating. This is the <code>NextToken</code> from a previously truncated response.</p>
|
|
967
|
+
*/
|
|
968
|
+
nextToken?: string;
|
|
969
|
+
/**
|
|
970
|
+
* <p>A list of tables.</p>
|
|
971
|
+
*/
|
|
972
|
+
tables?: TableSummary[];
|
|
973
|
+
}
|
|
974
|
+
export declare namespace ListTablesResponse {
|
|
975
|
+
/**
|
|
976
|
+
* @internal
|
|
977
|
+
*/
|
|
978
|
+
const filterSensitiveLog: (obj: ListTablesResponse) => any;
|
|
979
|
+
}
|
|
980
|
+
export interface ListTagsForResourceRequest {
|
|
981
|
+
/**
|
|
982
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Keyspaces resource.</p>
|
|
983
|
+
*/
|
|
984
|
+
resourceArn: string | undefined;
|
|
985
|
+
/**
|
|
986
|
+
* <p>The pagination token. To resume pagination, provide the <code>NextToken</code> value as argument of a subsequent API invocation.</p>
|
|
987
|
+
*/
|
|
988
|
+
nextToken?: string;
|
|
989
|
+
/**
|
|
990
|
+
* <p>The total number of tags to return in the output. If the total number of tags available
|
|
991
|
+
* is more than the value specified, a <code>NextToken</code> is provided in the output. To resume pagination,
|
|
992
|
+
* provide the <code>NextToken</code> value as an argument of a subsequent API invocation.</p>
|
|
993
|
+
*/
|
|
994
|
+
maxResults?: number;
|
|
995
|
+
}
|
|
996
|
+
export declare namespace ListTagsForResourceRequest {
|
|
997
|
+
/**
|
|
998
|
+
* @internal
|
|
999
|
+
*/
|
|
1000
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
1001
|
+
}
|
|
1002
|
+
export interface ListTagsForResourceResponse {
|
|
1003
|
+
/**
|
|
1004
|
+
* <p>A token to specify where to start paginating. This is the <code>NextToken</code> from a previously truncated response.</p>
|
|
1005
|
+
*/
|
|
1006
|
+
nextToken?: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* <p>A list of tags.</p>
|
|
1009
|
+
*/
|
|
1010
|
+
tags?: Tag[];
|
|
1011
|
+
}
|
|
1012
|
+
export declare namespace ListTagsForResourceResponse {
|
|
1013
|
+
/**
|
|
1014
|
+
* @internal
|
|
1015
|
+
*/
|
|
1016
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
1017
|
+
}
|
|
1018
|
+
export interface RestoreTableRequest {
|
|
1019
|
+
/**
|
|
1020
|
+
* <p>The keyspace name of the source table.</p>
|
|
1021
|
+
*/
|
|
1022
|
+
sourceKeyspaceName: string | undefined;
|
|
1023
|
+
/**
|
|
1024
|
+
* <p>The name of the source table.</p>
|
|
1025
|
+
*/
|
|
1026
|
+
sourceTableName: string | undefined;
|
|
1027
|
+
/**
|
|
1028
|
+
* <p>The name of the target keyspace.</p>
|
|
1029
|
+
*/
|
|
1030
|
+
targetKeyspaceName: string | undefined;
|
|
1031
|
+
/**
|
|
1032
|
+
* <p>The name of the target table.</p>
|
|
1033
|
+
*/
|
|
1034
|
+
targetTableName: string | undefined;
|
|
1035
|
+
/**
|
|
1036
|
+
* <p>The restore timestamp in ISO 8601 format.</p>
|
|
1037
|
+
*/
|
|
1038
|
+
restoreTimestamp?: Date;
|
|
1039
|
+
/**
|
|
1040
|
+
* <p>Specifies the read/write throughput capacity mode for the target table. The options are:</p>
|
|
1041
|
+
* <ul>
|
|
1042
|
+
* <li>
|
|
1043
|
+
* <p>
|
|
1044
|
+
* <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
1045
|
+
* </li>
|
|
1046
|
+
* <li>
|
|
1047
|
+
* <p>
|
|
1048
|
+
* <code>throughputMode:PROVISIONED</code>. The provisioned capacity mode requires
|
|
1049
|
+
* <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as inputs. </p>
|
|
1050
|
+
* </li>
|
|
1051
|
+
* </ul>
|
|
1052
|
+
* <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p>
|
|
1053
|
+
* <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
|
|
1054
|
+
* Guide</i>.</p>
|
|
1055
|
+
*/
|
|
1056
|
+
capacitySpecificationOverride?: CapacitySpecification;
|
|
1057
|
+
/**
|
|
1058
|
+
* <p>
|
|
1059
|
+
* Specifies the encryption settings for the target table. You can choose one of the following KMS key (KMS key):</p>
|
|
1060
|
+
*
|
|
1061
|
+
* <ul>
|
|
1062
|
+
* <li>
|
|
1063
|
+
* <p>
|
|
1064
|
+
* <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p>
|
|
1065
|
+
* </li>
|
|
1066
|
+
* <li>
|
|
1067
|
+
* <p>
|
|
1068
|
+
* <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you.
|
|
1069
|
+
* This option
|
|
1070
|
+
* requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input. </p>
|
|
1071
|
+
* </li>
|
|
1072
|
+
* </ul>
|
|
1073
|
+
* <p>The default is <code>type:AWS_OWNED_KMS_KEY</code>. </p>
|
|
1074
|
+
* <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
|
|
1075
|
+
* Guide</i>.</p>
|
|
1076
|
+
*/
|
|
1077
|
+
encryptionSpecificationOverride?: EncryptionSpecification;
|
|
1078
|
+
/**
|
|
1079
|
+
* <p>
|
|
1080
|
+
* Specifies the <code>pointInTimeRecovery</code> settings for the target
|
|
1081
|
+
* table. The options are:</p>
|
|
1082
|
+
* <ul>
|
|
1083
|
+
* <li>
|
|
1084
|
+
* <p>
|
|
1085
|
+
* <code>ENABLED</code>
|
|
1086
|
+
* </p>
|
|
1087
|
+
* </li>
|
|
1088
|
+
* <li>
|
|
1089
|
+
* <p>
|
|
1090
|
+
* <code>DISABLED</code>
|
|
1091
|
+
* </p>
|
|
1092
|
+
* </li>
|
|
1093
|
+
* </ul>
|
|
1094
|
+
* <p>If it's not specified, the default is <code>DISABLED</code>.</p>
|
|
1095
|
+
* <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
|
|
1096
|
+
* Guide</i>.</p>
|
|
1097
|
+
*/
|
|
1098
|
+
pointInTimeRecoveryOverride?: PointInTimeRecovery;
|
|
1099
|
+
/**
|
|
1100
|
+
* <p>A list of key-value pair tags to be
|
|
1101
|
+
* attached to the restored table. </p>
|
|
1102
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html">Adding tags and labels to Amazon Keyspaces resources</a> in the <i>Amazon Keyspaces Developer
|
|
1103
|
+
* Guide</i>.</p>
|
|
1104
|
+
*/
|
|
1105
|
+
tagsOverride?: Tag[];
|
|
1106
|
+
}
|
|
1107
|
+
export declare namespace RestoreTableRequest {
|
|
1108
|
+
/**
|
|
1109
|
+
* @internal
|
|
1110
|
+
*/
|
|
1111
|
+
const filterSensitiveLog: (obj: RestoreTableRequest) => any;
|
|
1112
|
+
}
|
|
1113
|
+
export interface RestoreTableResponse {
|
|
1114
|
+
/**
|
|
1115
|
+
* <p>The Amazon Resource Name (ARN) of the restored table.</p>
|
|
1116
|
+
*/
|
|
1117
|
+
restoredTableARN: string | undefined;
|
|
1118
|
+
}
|
|
1119
|
+
export declare namespace RestoreTableResponse {
|
|
1120
|
+
/**
|
|
1121
|
+
* @internal
|
|
1122
|
+
*/
|
|
1123
|
+
const filterSensitiveLog: (obj: RestoreTableResponse) => any;
|
|
1124
|
+
}
|
|
1125
|
+
export interface TagResourceRequest {
|
|
1126
|
+
/**
|
|
1127
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Keyspaces resource to which to add tags.</p>
|
|
1128
|
+
*/
|
|
1129
|
+
resourceArn: string | undefined;
|
|
1130
|
+
/**
|
|
1131
|
+
* <p>The tags to be assigned to the Amazon Keyspaces resource.</p>
|
|
1132
|
+
*/
|
|
1133
|
+
tags: Tag[] | undefined;
|
|
1134
|
+
}
|
|
1135
|
+
export declare namespace TagResourceRequest {
|
|
1136
|
+
/**
|
|
1137
|
+
* @internal
|
|
1138
|
+
*/
|
|
1139
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
1140
|
+
}
|
|
1141
|
+
export interface TagResourceResponse {
|
|
1142
|
+
}
|
|
1143
|
+
export declare namespace TagResourceResponse {
|
|
1144
|
+
/**
|
|
1145
|
+
* @internal
|
|
1146
|
+
*/
|
|
1147
|
+
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
1148
|
+
}
|
|
1149
|
+
export interface UntagResourceRequest {
|
|
1150
|
+
/**
|
|
1151
|
+
* <p>The Amazon Keyspaces resource that the tags will be removed from. This value is an Amazon Resource Name (ARN).</p>
|
|
1152
|
+
*/
|
|
1153
|
+
resourceArn: string | undefined;
|
|
1154
|
+
/**
|
|
1155
|
+
* <p>A list of existing tags to be removed from the Amazon Keyspaces resource.</p>
|
|
1156
|
+
*/
|
|
1157
|
+
tags: Tag[] | undefined;
|
|
1158
|
+
}
|
|
1159
|
+
export declare namespace UntagResourceRequest {
|
|
1160
|
+
/**
|
|
1161
|
+
* @internal
|
|
1162
|
+
*/
|
|
1163
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
1164
|
+
}
|
|
1165
|
+
export interface UntagResourceResponse {
|
|
1166
|
+
}
|
|
1167
|
+
export declare namespace UntagResourceResponse {
|
|
1168
|
+
/**
|
|
1169
|
+
* @internal
|
|
1170
|
+
*/
|
|
1171
|
+
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
1172
|
+
}
|
|
1173
|
+
export interface UpdateTableRequest {
|
|
1174
|
+
/**
|
|
1175
|
+
* <p>The name of the keyspace the specified table is stored in.</p>
|
|
1176
|
+
*/
|
|
1177
|
+
keyspaceName: string | undefined;
|
|
1178
|
+
/**
|
|
1179
|
+
* <p>The name of the table.</p>
|
|
1180
|
+
*/
|
|
1181
|
+
tableName: string | undefined;
|
|
1182
|
+
/**
|
|
1183
|
+
* <p>For each column to be added to the specified table:</p>
|
|
1184
|
+
* <ul>
|
|
1185
|
+
* <li>
|
|
1186
|
+
* <p>
|
|
1187
|
+
* <i>
|
|
1188
|
+
* <code>name</code>
|
|
1189
|
+
* </i> - The name
|
|
1190
|
+
* of the column.</p>
|
|
1191
|
+
* </li>
|
|
1192
|
+
* <li>
|
|
1193
|
+
* <p>
|
|
1194
|
+
* <code>
|
|
1195
|
+
* <i>type</i>
|
|
1196
|
+
* </code> - An Amazon Keyspaces
|
|
1197
|
+
* 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
|
|
1198
|
+
* Guide</i>.</p>
|
|
1199
|
+
* </li>
|
|
1200
|
+
* </ul>
|
|
1201
|
+
*/
|
|
1202
|
+
addColumns?: ColumnDefinition[];
|
|
1203
|
+
/**
|
|
1204
|
+
* <p>Modifies the read/write throughput capacity mode for the table. The options are:</p>
|
|
1205
|
+
* <ul>
|
|
1206
|
+
* <li>
|
|
1207
|
+
* <p>
|
|
1208
|
+
* <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
1209
|
+
* </li>
|
|
1210
|
+
* <li>
|
|
1211
|
+
* <p>
|
|
1212
|
+
* <code>throughputMode:PROVISIONED</code>. The provisioned capacity mode requires
|
|
1213
|
+
* <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as inputs. </p>
|
|
1214
|
+
* </li>
|
|
1215
|
+
* </ul>
|
|
1216
|
+
* <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p>
|
|
1217
|
+
* <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
|
|
1218
|
+
* Guide</i>.</p>
|
|
1219
|
+
*/
|
|
1220
|
+
capacitySpecification?: CapacitySpecification;
|
|
1221
|
+
/**
|
|
1222
|
+
* <p>
|
|
1223
|
+
* Modifies the encryption settings of the table. You can choose one of the following KMS key (KMS key):</p>
|
|
1224
|
+
*
|
|
1225
|
+
* <ul>
|
|
1226
|
+
* <li>
|
|
1227
|
+
* <p>
|
|
1228
|
+
* <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p>
|
|
1229
|
+
* </li>
|
|
1230
|
+
* <li>
|
|
1231
|
+
* <p>
|
|
1232
|
+
* <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you.
|
|
1233
|
+
* This option
|
|
1234
|
+
* requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input. </p>
|
|
1235
|
+
* </li>
|
|
1236
|
+
* </ul>
|
|
1237
|
+
* <p>The default is <code>AWS_OWNED_KMS_KEY</code>. </p>
|
|
1238
|
+
* <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
|
|
1239
|
+
* Guide</i>.</p>
|
|
1240
|
+
*/
|
|
1241
|
+
encryptionSpecification?: EncryptionSpecification;
|
|
1242
|
+
/**
|
|
1243
|
+
* <p>
|
|
1244
|
+
* Modifies the <code>pointInTimeRecovery</code> settings of the table. The options are:</p>
|
|
1245
|
+
* <ul>
|
|
1246
|
+
* <li>
|
|
1247
|
+
* <p>
|
|
1248
|
+
* <code>ENABLED</code>
|
|
1249
|
+
* </p>
|
|
1250
|
+
* </li>
|
|
1251
|
+
* <li>
|
|
1252
|
+
* <p>
|
|
1253
|
+
* <code>DISABLED</code>
|
|
1254
|
+
* </p>
|
|
1255
|
+
* </li>
|
|
1256
|
+
* </ul>
|
|
1257
|
+
* <p>If it's not specified, the default is <code>DISABLED</code>.</p>
|
|
1258
|
+
* <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
|
|
1259
|
+
* Guide</i>.</p>
|
|
1260
|
+
*/
|
|
1261
|
+
pointInTimeRecovery?: PointInTimeRecovery;
|
|
1262
|
+
/**
|
|
1263
|
+
* <p>Modifies Time to Live custom settings for the table. The options are:</p>
|
|
1264
|
+
* <ul>
|
|
1265
|
+
* <li>
|
|
1266
|
+
* <p>
|
|
1267
|
+
* <code>status:enabled</code>
|
|
1268
|
+
* </p>
|
|
1269
|
+
* </li>
|
|
1270
|
+
* <li>
|
|
1271
|
+
* <p>
|
|
1272
|
+
* <code>status:disabled</code>
|
|
1273
|
+
* </p>
|
|
1274
|
+
* </li>
|
|
1275
|
+
* </ul>
|
|
1276
|
+
* <p>The default is <code>status:disabled</code>. After
|
|
1277
|
+
* <code>ttl</code> is enabled, you can't disable it
|
|
1278
|
+
* for the table.</p>
|
|
1279
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL.html">Expiring data by using Amazon Keyspaces Time to Live (TTL)</a> in the <i>Amazon Keyspaces Developer
|
|
1280
|
+
* Guide</i>.</p>
|
|
1281
|
+
*/
|
|
1282
|
+
ttl?: TimeToLive;
|
|
1283
|
+
/**
|
|
1284
|
+
* <p>The default Time to Live setting in seconds for the table.</p>
|
|
1285
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_default_ttl">Setting the default TTL value for a table</a> in the <i>Amazon Keyspaces Developer
|
|
1286
|
+
* Guide</i>.</p>
|
|
1287
|
+
*/
|
|
1288
|
+
defaultTimeToLive?: number;
|
|
1289
|
+
}
|
|
1290
|
+
export declare namespace UpdateTableRequest {
|
|
1291
|
+
/**
|
|
1292
|
+
* @internal
|
|
1293
|
+
*/
|
|
1294
|
+
const filterSensitiveLog: (obj: UpdateTableRequest) => any;
|
|
1295
|
+
}
|
|
1296
|
+
export interface UpdateTableResponse {
|
|
1297
|
+
/**
|
|
1298
|
+
* <p>The Amazon Resource Name (ARN) of the modified table.</p>
|
|
1299
|
+
*/
|
|
1300
|
+
resourceArn: string | undefined;
|
|
1301
|
+
}
|
|
1302
|
+
export declare namespace UpdateTableResponse {
|
|
1303
|
+
/**
|
|
1304
|
+
* @internal
|
|
1305
|
+
*/
|
|
1306
|
+
const filterSensitiveLog: (obj: UpdateTableResponse) => any;
|
|
1307
|
+
}
|