@aws-sdk/client-keyspaces 3.54.1 → 3.55.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/README.md +3 -7
- package/dist-cjs/KeyspacesClient.js +13 -13
- package/dist-cjs/commands/CreateKeyspaceCommand.js +3 -3
- package/dist-cjs/commands/CreateTableCommand.js +3 -3
- package/dist-cjs/commands/DeleteKeyspaceCommand.js +3 -3
- package/dist-cjs/commands/DeleteTableCommand.js +3 -3
- package/dist-cjs/commands/GetKeyspaceCommand.js +3 -3
- package/dist-cjs/commands/GetTableCommand.js +3 -3
- package/dist-cjs/commands/ListKeyspacesCommand.js +3 -3
- package/dist-cjs/commands/ListTablesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/RestoreTableCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateTableCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_0.js +64 -64
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Keyspaces.js +13 -13
- package/dist-es/pagination/ListKeyspacesPaginator.js +4 -4
- package/dist-es/pagination/ListTablesPaginator.js +4 -4
- package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
- package/dist-types/Keyspaces.d.ts +27 -47
- package/dist-types/KeyspacesClient.d.ts +4 -8
- package/dist-types/commands/CreateKeyspaceCommand.d.ts +2 -2
- package/dist-types/commands/CreateTableCommand.d.ts +2 -2
- package/dist-types/commands/DeleteTableCommand.d.ts +1 -2
- package/dist-types/commands/RestoreTableCommand.d.ts +18 -33
- package/dist-types/models/models_0.d.ts +91 -318
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -17,38 +17,19 @@ export declare enum ThroughputMode {
|
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* <p>Amazon Keyspaces has two read/write capacity modes for processing reads and writes on your tables: </p>
|
|
20
|
-
* <
|
|
21
|
-
*
|
|
22
|
-
* <p>
|
|
23
|
-
* On-demand (default)
|
|
24
|
-
* </p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>
|
|
28
|
-
* Provisioned
|
|
29
|
-
* </p>
|
|
30
|
-
* </li>
|
|
31
|
-
* </ul>
|
|
32
|
-
*
|
|
20
|
+
* <p>• On-demand (default)</p>
|
|
21
|
+
* <p>• Provisioned</p>
|
|
33
22
|
* <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
|
|
23
|
+
* write throughput and how table throughput capacity is managed.</p>
|
|
35
24
|
* <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
25
|
* Guide</i>.</p>
|
|
37
26
|
*/
|
|
38
27
|
export interface CapacitySpecification {
|
|
39
28
|
/**
|
|
40
29
|
* <p>The read/write throughput capacity mode for a table. The options are:</p>
|
|
41
|
-
* <
|
|
42
|
-
*
|
|
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>
|
|
30
|
+
* <p>• <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
31
|
+
* <p>• <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires
|
|
32
|
+
* <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input.</p>
|
|
52
33
|
* <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p>
|
|
53
34
|
* <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
35
|
* Guide</i>.</p>
|
|
@@ -73,33 +54,17 @@ export declare namespace CapacitySpecification {
|
|
|
73
54
|
}
|
|
74
55
|
/**
|
|
75
56
|
* <p>The read/write throughput capacity mode for a table. The options are:</p>
|
|
76
|
-
* <
|
|
77
|
-
*
|
|
78
|
-
*
|
|
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
|
|
57
|
+
* <p>• <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
58
|
+
* <p>• <code>throughputMode:PROVISIONED</code>.</p>
|
|
59
|
+
* <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
60
|
* Guide</i>.</p>
|
|
88
61
|
*/
|
|
89
62
|
export interface CapacitySpecificationSummary {
|
|
90
63
|
/**
|
|
91
64
|
* <p>The read/write throughput capacity mode for a table. The options are:</p>
|
|
92
|
-
* <
|
|
93
|
-
*
|
|
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>
|
|
65
|
+
* <p>• <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
66
|
+
* <p>• <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires
|
|
67
|
+
* <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input. </p>
|
|
103
68
|
* <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p>
|
|
104
69
|
* <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
70
|
* Guide</i>.</p>
|
|
@@ -198,7 +163,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
198
163
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
199
164
|
}
|
|
200
165
|
/**
|
|
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
|
|
166
|
+
* <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
167
|
* <p>Amazon Web Services-assigned tag names and values are automatically assigned the <code>aws:</code> prefix, which the user cannot assign.
|
|
203
168
|
* Amazon Web Services-assigned tag names do not count towards the tag limit of 50. User-assigned tag names have the
|
|
204
169
|
* prefix <code>user:</code> in the Cost Allocation Report. You cannot backdate the application of a tag.</p>
|
|
@@ -291,47 +256,29 @@ export declare enum EncryptionType {
|
|
|
291
256
|
CUSTOMER_MANAGED_KMS_KEY = "CUSTOMER_MANAGED_KMS_KEY"
|
|
292
257
|
}
|
|
293
258
|
/**
|
|
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.
|
|
259
|
+
* <p>Amazon Keyspaces encrypts and decrypts the table data at rest transparently and integrates with Key Management Service for storing and managing the encryption key.
|
|
296
260
|
* You can choose one of the following KMS keys (KMS keys):</p>
|
|
297
|
-
* <
|
|
298
|
-
*
|
|
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
|
|
261
|
+
* <p>• Amazon Web Services owned key - This is the default encryption type. The key is owned by Amazon Keyspaces (no additional charge). </p>
|
|
262
|
+
* <p>• Customer managed key - This key is stored in your account and is created, owned, and managed by you. You have full control over the customer
|
|
304
263
|
* managed key (KMS charges apply).</p>
|
|
305
|
-
* </li>
|
|
306
|
-
* </ul>
|
|
307
264
|
* <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
265
|
* Guide</i>.</p>
|
|
309
266
|
* <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
267
|
*/
|
|
311
268
|
export interface EncryptionSpecification {
|
|
312
269
|
/**
|
|
313
|
-
* <p>
|
|
314
|
-
*
|
|
315
|
-
* <
|
|
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.
|
|
270
|
+
* <p>The encryption option specified for the table. You can choose one of the following KMS keys (KMS keys):</p>
|
|
271
|
+
* <p>• <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p>
|
|
272
|
+
* <p>• <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you.
|
|
323
273
|
* This option
|
|
324
274
|
* 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
275
|
* <p>The default is <code>type:AWS_OWNED_KMS_KEY</code>. </p>
|
|
328
276
|
* <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
277
|
* Guide</i>.</p>
|
|
330
278
|
*/
|
|
331
279
|
type: EncryptionType | string | undefined;
|
|
332
280
|
/**
|
|
333
|
-
* <p>The Amazon Resource Name (ARN) of the customer managed KMS key, for example <code>kms_key_identifier:ARN</code
|
|
334
|
-
* </p>
|
|
281
|
+
* <p>The Amazon Resource Name (ARN) of the customer managed KMS key, for example <code>kms_key_identifier:ARN</code>.</p>
|
|
335
282
|
*/
|
|
336
283
|
kmsKeyIdentifier?: string;
|
|
337
284
|
}
|
|
@@ -353,18 +300,10 @@ export declare enum PointInTimeRecoveryStatus {
|
|
|
353
300
|
export interface PointInTimeRecovery {
|
|
354
301
|
/**
|
|
355
302
|
* <p>The options are:</p>
|
|
356
|
-
* <
|
|
357
|
-
*
|
|
358
|
-
*
|
|
359
|
-
*
|
|
360
|
-
* </p>
|
|
361
|
-
* </li>
|
|
362
|
-
* <li>
|
|
363
|
-
* <p>
|
|
364
|
-
* <code>DISABLED</code>
|
|
365
|
-
* </p>
|
|
366
|
-
* </li>
|
|
367
|
-
* </ul>
|
|
303
|
+
* <p>• <code>ENABLED</code>
|
|
304
|
+
* </p>
|
|
305
|
+
* <p>• <code>DISABLED</code>
|
|
306
|
+
* </p>
|
|
368
307
|
*/
|
|
369
308
|
status: PointInTimeRecoveryStatus | string | undefined;
|
|
370
309
|
}
|
|
@@ -377,7 +316,7 @@ export declare namespace PointInTimeRecovery {
|
|
|
377
316
|
/**
|
|
378
317
|
* <p>The partition key portion of the primary key is required
|
|
379
318
|
* 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
|
|
319
|
+
* The partition key can be a single column, or it can be a compound value composed of two or more columns.</p>
|
|
381
320
|
*/
|
|
382
321
|
export interface PartitionKey {
|
|
383
322
|
/**
|
|
@@ -466,84 +405,30 @@ export interface CreateTableRequest {
|
|
|
466
405
|
* <p>The <code>schemaDefinition</code> consists of the
|
|
467
406
|
* following parameters.</p>
|
|
468
407
|
* <p>For each column to be created:</p>
|
|
469
|
-
*
|
|
470
|
-
* <li>
|
|
471
|
-
* <p>
|
|
472
|
-
* <i>
|
|
473
|
-
* <code>name</code>
|
|
474
|
-
* </i> - The name
|
|
408
|
+
* <p>• <code>name</code> - The name
|
|
475
409
|
* of the column.</p>
|
|
476
|
-
*
|
|
477
|
-
* <li>
|
|
478
|
-
* <p>
|
|
479
|
-
* <code>
|
|
480
|
-
* <i>type</i>
|
|
481
|
-
* </code> - An Amazon Keyspaces
|
|
410
|
+
* <p>• <code>type</code> - An Amazon Keyspaces
|
|
482
411
|
* 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
412
|
* Guide</i>.</p>
|
|
484
|
-
* </li>
|
|
485
|
-
* </ul>
|
|
486
|
-
*
|
|
487
413
|
* <p>The primary key of the table consists of the
|
|
488
414
|
* following columns:</p>
|
|
489
|
-
*
|
|
490
|
-
* <li>
|
|
491
|
-
* <p>
|
|
492
|
-
* <code>partitionKeys</code> - The partition key can be a single column, or it can be a
|
|
415
|
+
* <p>• <code>partitionKeys</code> - The partition key can be a single column, or it can be a
|
|
493
416
|
* compound value composed of two or more columns. The partition
|
|
494
417
|
* key portion of the primary key is required and determines how
|
|
495
418
|
* Amazon Keyspaces stores your data.</p>
|
|
496
|
-
*
|
|
497
|
-
*
|
|
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
|
|
419
|
+
* <p>• <code>name</code> - The name of each partition key column.</p>
|
|
420
|
+
* <p>• <code>clusteringKeys</code> - The optional clustering column portion of your primary key
|
|
508
421
|
* determines how the data is clustered and sorted within each
|
|
509
422
|
* partition.</p>
|
|
510
|
-
*
|
|
511
|
-
*
|
|
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
|
|
423
|
+
* <p>• <code>name</code> - The name of the clustering column. </p>
|
|
424
|
+
* <p>• <code>orderBy</code> - Sets the
|
|
522
425
|
* ascendant (<code>ASC</code>) or descendant (<code>DESC</code>) order modifier.</p>
|
|
523
|
-
*
|
|
524
|
-
* </ul>
|
|
525
|
-
* </li>
|
|
526
|
-
* </ul>
|
|
527
|
-
* <p>To define a column as static use <code>
|
|
528
|
-
* <i>staticColumns</i>
|
|
529
|
-
* </code> -
|
|
426
|
+
* <p>To define a column as static use <code>staticColumns</code> -
|
|
530
427
|
* Static columns store values that are shared by all rows in the same partition:</p>
|
|
531
|
-
* <
|
|
532
|
-
* <li>
|
|
533
|
-
* <p>
|
|
534
|
-
* <i>
|
|
535
|
-
* <code>name</code>
|
|
536
|
-
* </i> - The name
|
|
428
|
+
* <p>• <code>name</code> - The name
|
|
537
429
|
* of the column.</p>
|
|
538
|
-
*
|
|
539
|
-
* <li>
|
|
540
|
-
* <p>
|
|
541
|
-
* <code>
|
|
542
|
-
* <i>type</i>
|
|
543
|
-
* </code> - An Amazon Keyspaces
|
|
430
|
+
* <p>• <code>type</code> - An Amazon Keyspaces
|
|
544
431
|
* data type.</p>
|
|
545
|
-
* </li>
|
|
546
|
-
* </ul>
|
|
547
432
|
*/
|
|
548
433
|
schemaDefinition: SchemaDefinition | undefined;
|
|
549
434
|
/**
|
|
@@ -552,17 +437,9 @@ export interface CreateTableRequest {
|
|
|
552
437
|
comment?: Comment;
|
|
553
438
|
/**
|
|
554
439
|
* <p>Specifies the read/write throughput capacity mode for the table. The options are:</p>
|
|
555
|
-
* <
|
|
556
|
-
*
|
|
557
|
-
*
|
|
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>
|
|
440
|
+
* <p>• <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
441
|
+
* <p>• <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires
|
|
442
|
+
* <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input.</p>
|
|
566
443
|
* <p>The default is
|
|
567
444
|
* <code>throughput_mode:PAY_PER_REQUEST</code>.</p>
|
|
568
445
|
* <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
|
|
@@ -570,63 +447,38 @@ export interface CreateTableRequest {
|
|
|
570
447
|
*/
|
|
571
448
|
capacitySpecification?: CapacitySpecification;
|
|
572
449
|
/**
|
|
573
|
-
* <p>Specifies how the encryption key for encryption at rest is managed for the table.
|
|
574
|
-
*
|
|
575
|
-
* <
|
|
576
|
-
*
|
|
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.
|
|
450
|
+
* <p>Specifies how the encryption key for encryption at rest is managed for the table.
|
|
451
|
+
* You can choose one of the following KMS key (KMS key):</p>
|
|
452
|
+
* <p>• <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p>
|
|
453
|
+
* <p>• <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you.
|
|
583
454
|
* This option
|
|
584
|
-
* requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input
|
|
585
|
-
* </li>
|
|
586
|
-
* </ul>
|
|
455
|
+
* requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input.</p>
|
|
587
456
|
* <p>The default is <code>type:AWS_OWNED_KMS_KEY</code>. </p>
|
|
588
457
|
* <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
458
|
* Guide</i>.</p>
|
|
590
459
|
*/
|
|
591
460
|
encryptionSpecification?: EncryptionSpecification;
|
|
592
461
|
/**
|
|
593
|
-
* <p>
|
|
594
|
-
* Specifies if <code>pointInTimeRecovery</code> is enabled or disabled for the
|
|
462
|
+
* <p>Specifies if <code>pointInTimeRecovery</code> is enabled or disabled for the
|
|
595
463
|
* table. The options are:</p>
|
|
596
|
-
* <
|
|
597
|
-
*
|
|
598
|
-
*
|
|
599
|
-
*
|
|
600
|
-
*
|
|
601
|
-
*
|
|
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>
|
|
464
|
+
* <p>• <code>ENABLED</code>
|
|
465
|
+
* </p>
|
|
466
|
+
* <p>• <code>DISABLED</code>
|
|
467
|
+
* </p>
|
|
468
|
+
* <p>If it's not specified, the
|
|
469
|
+
* default is <code>DISABLED</code>.</p>
|
|
609
470
|
* <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
471
|
* Guide</i>.</p>
|
|
611
472
|
*/
|
|
612
473
|
pointInTimeRecovery?: PointInTimeRecovery;
|
|
613
474
|
/**
|
|
614
|
-
* <p>
|
|
615
|
-
* Enables Time to Live custom settings for the
|
|
475
|
+
* <p>Enables Time to Live custom settings for the
|
|
616
476
|
* table. The options are:</p>
|
|
617
|
-
* <
|
|
618
|
-
*
|
|
619
|
-
*
|
|
620
|
-
*
|
|
621
|
-
*
|
|
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
|
|
477
|
+
* <p>• <code>status:enabled</code>
|
|
478
|
+
* </p>
|
|
479
|
+
* <p>• <code>status:disabled</code>
|
|
480
|
+
* </p>
|
|
481
|
+
* <p>The default is <code>status:disabled</code>. After
|
|
630
482
|
* <code>ttl</code> is enabled, you can't disable it
|
|
631
483
|
* for the table.</p>
|
|
632
484
|
* <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
|
|
@@ -824,16 +676,10 @@ export interface GetTableResponse {
|
|
|
824
676
|
schemaDefinition?: SchemaDefinition;
|
|
825
677
|
/**
|
|
826
678
|
* <p>The read/write throughput capacity mode for a table. The options are:</p>
|
|
827
|
-
* <
|
|
828
|
-
*
|
|
829
|
-
*
|
|
830
|
-
*
|
|
831
|
-
* </li>
|
|
832
|
-
* <li>
|
|
833
|
-
* <p>
|
|
834
|
-
* <code>throughputMode:PROVISIONED</code>. </p>
|
|
835
|
-
* </li>
|
|
836
|
-
* </ul>
|
|
679
|
+
* <p>• <code>throughputMode:PAY_PER_REQUEST</code>
|
|
680
|
+
* </p>
|
|
681
|
+
* <p>• <code>throughputMode:PROVISIONED</code>
|
|
682
|
+
* </p>
|
|
837
683
|
*/
|
|
838
684
|
capacitySpecification?: CapacitySpecificationSummary;
|
|
839
685
|
/**
|
|
@@ -1038,59 +884,33 @@ export interface RestoreTableRequest {
|
|
|
1038
884
|
restoreTimestamp?: Date;
|
|
1039
885
|
/**
|
|
1040
886
|
* <p>Specifies the read/write throughput capacity mode for the target table. The options are:</p>
|
|
1041
|
-
* <
|
|
1042
|
-
*
|
|
1043
|
-
*
|
|
1044
|
-
*
|
|
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>
|
|
887
|
+
* <p>• <code>throughputMode:PAY_PER_REQUEST</code>
|
|
888
|
+
* </p>
|
|
889
|
+
* <p>• <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires
|
|
890
|
+
* <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input.</p>
|
|
1052
891
|
* <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p>
|
|
1053
892
|
* <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
893
|
* Guide</i>.</p>
|
|
1055
894
|
*/
|
|
1056
895
|
capacitySpecificationOverride?: CapacitySpecification;
|
|
1057
896
|
/**
|
|
1058
|
-
* <p>
|
|
1059
|
-
*
|
|
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.
|
|
897
|
+
* <p>Specifies the encryption settings for the target table. You can choose one of the following KMS key (KMS key):</p>
|
|
898
|
+
* <p>• <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p>
|
|
899
|
+
* <p>• <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you.
|
|
1069
900
|
* This option
|
|
1070
901
|
* requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input. </p>
|
|
1071
|
-
*
|
|
1072
|
-
* </ul>
|
|
1073
|
-
* <p>The default is <code>type:AWS_OWNED_KMS_KEY</code>. </p>
|
|
902
|
+
* <p>The default is <code>type:AWS_OWNED_KMS_KEY</code>.</p>
|
|
1074
903
|
* <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
904
|
* Guide</i>.</p>
|
|
1076
905
|
*/
|
|
1077
906
|
encryptionSpecificationOverride?: EncryptionSpecification;
|
|
1078
907
|
/**
|
|
1079
|
-
* <p>
|
|
1080
|
-
* Specifies the <code>pointInTimeRecovery</code> settings for the target
|
|
908
|
+
* <p>Specifies the <code>pointInTimeRecovery</code> settings for the target
|
|
1081
909
|
* table. The options are:</p>
|
|
1082
|
-
* <
|
|
1083
|
-
*
|
|
1084
|
-
*
|
|
1085
|
-
*
|
|
1086
|
-
* </p>
|
|
1087
|
-
* </li>
|
|
1088
|
-
* <li>
|
|
1089
|
-
* <p>
|
|
1090
|
-
* <code>DISABLED</code>
|
|
1091
|
-
* </p>
|
|
1092
|
-
* </li>
|
|
1093
|
-
* </ul>
|
|
910
|
+
* <p>• <code>ENABLED</code>
|
|
911
|
+
* </p>
|
|
912
|
+
* <p>• <code>DISABLED</code>
|
|
913
|
+
* </p>
|
|
1094
914
|
* <p>If it's not specified, the default is <code>DISABLED</code>.</p>
|
|
1095
915
|
* <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
916
|
* Guide</i>.</p>
|
|
@@ -1181,79 +1001,40 @@ export interface UpdateTableRequest {
|
|
|
1181
1001
|
tableName: string | undefined;
|
|
1182
1002
|
/**
|
|
1183
1003
|
* <p>For each column to be added to the specified table:</p>
|
|
1184
|
-
* <
|
|
1185
|
-
* <li>
|
|
1186
|
-
* <p>
|
|
1187
|
-
* <i>
|
|
1188
|
-
* <code>name</code>
|
|
1189
|
-
* </i> - The name
|
|
1004
|
+
* <p>• <code>name</code> - The name
|
|
1190
1005
|
* of the column.</p>
|
|
1191
|
-
*
|
|
1192
|
-
* <li>
|
|
1193
|
-
* <p>
|
|
1194
|
-
* <code>
|
|
1195
|
-
* <i>type</i>
|
|
1196
|
-
* </code> - An Amazon Keyspaces
|
|
1006
|
+
* <p>• <code>type</code> - An Amazon Keyspaces
|
|
1197
1007
|
* 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
1008
|
* Guide</i>.</p>
|
|
1199
|
-
* </li>
|
|
1200
|
-
* </ul>
|
|
1201
1009
|
*/
|
|
1202
1010
|
addColumns?: ColumnDefinition[];
|
|
1203
1011
|
/**
|
|
1204
1012
|
* <p>Modifies the read/write throughput capacity mode for the table. The options are:</p>
|
|
1205
|
-
* <
|
|
1206
|
-
*
|
|
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>
|
|
1013
|
+
* <p>• <code>throughputMode:PAY_PER_REQUEST</code> and </p>
|
|
1014
|
+
* <p>• <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires
|
|
1015
|
+
* <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input.</p>
|
|
1216
1016
|
* <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p>
|
|
1217
1017
|
* <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
1018
|
* Guide</i>.</p>
|
|
1219
1019
|
*/
|
|
1220
1020
|
capacitySpecification?: CapacitySpecification;
|
|
1221
1021
|
/**
|
|
1222
|
-
* <p>
|
|
1223
|
-
*
|
|
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.
|
|
1022
|
+
* <p>Modifies the encryption settings of the table. You can choose one of the following KMS key (KMS key):</p>
|
|
1023
|
+
* <p>• <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p>
|
|
1024
|
+
* <p>• <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you.
|
|
1233
1025
|
* This option
|
|
1234
1026
|
* requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input. </p>
|
|
1235
|
-
*
|
|
1236
|
-
* </ul>
|
|
1237
|
-
* <p>The default is <code>AWS_OWNED_KMS_KEY</code>. </p>
|
|
1027
|
+
* <p>The default is <code>AWS_OWNED_KMS_KEY</code>.</p>
|
|
1238
1028
|
* <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
1029
|
* Guide</i>.</p>
|
|
1240
1030
|
*/
|
|
1241
1031
|
encryptionSpecification?: EncryptionSpecification;
|
|
1242
1032
|
/**
|
|
1243
|
-
* <p>
|
|
1244
|
-
*
|
|
1245
|
-
*
|
|
1246
|
-
*
|
|
1247
|
-
*
|
|
1248
|
-
* <code>ENABLED</code>
|
|
1249
|
-
* </p>
|
|
1250
|
-
* </li>
|
|
1251
|
-
* <li>
|
|
1252
|
-
* <p>
|
|
1253
|
-
* <code>DISABLED</code>
|
|
1254
|
-
* </p>
|
|
1255
|
-
* </li>
|
|
1256
|
-
* </ul>
|
|
1033
|
+
* <p>Modifies the <code>pointInTimeRecovery</code> settings of the table. The options are:</p>
|
|
1034
|
+
* <p>• <code>ENABLED</code>
|
|
1035
|
+
* </p>
|
|
1036
|
+
* <p>• <code>DISABLED</code>
|
|
1037
|
+
* </p>
|
|
1257
1038
|
* <p>If it's not specified, the default is <code>DISABLED</code>.</p>
|
|
1258
1039
|
* <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
1040
|
* Guide</i>.</p>
|
|
@@ -1261,18 +1042,10 @@ export interface UpdateTableRequest {
|
|
|
1261
1042
|
pointInTimeRecovery?: PointInTimeRecovery;
|
|
1262
1043
|
/**
|
|
1263
1044
|
* <p>Modifies Time to Live custom settings for the table. The options are:</p>
|
|
1264
|
-
* <
|
|
1265
|
-
*
|
|
1266
|
-
*
|
|
1267
|
-
*
|
|
1268
|
-
* </p>
|
|
1269
|
-
* </li>
|
|
1270
|
-
* <li>
|
|
1271
|
-
* <p>
|
|
1272
|
-
* <code>status:disabled</code>
|
|
1273
|
-
* </p>
|
|
1274
|
-
* </li>
|
|
1275
|
-
* </ul>
|
|
1045
|
+
* <p>• <code>status:enabled</code>
|
|
1046
|
+
* </p>
|
|
1047
|
+
* <p>• <code>status:disabled</code>
|
|
1048
|
+
* </p>
|
|
1276
1049
|
* <p>The default is <code>status:disabled</code>. After
|
|
1277
1050
|
* <code>ttl</code> is enabled, you can't disable it
|
|
1278
1051
|
* for the table.</p>
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: KeyspacesClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: KeyspacesClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|