aws-sdk-keyspaces 1.1.0 → 1.2.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-keyspaces/client.rb +105 -41
- data/lib/aws-sdk-keyspaces/types.rb +128 -56
- data/lib/aws-sdk-keyspaces.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 726e40020e080b38f4dd4dfc286b1a62935a8177dd8f3c9f2a0784836ff6ec42
|
4
|
+
data.tar.gz: fb968d761b0ce28e567f11ac7a01886e4ab8e0fb9a285e7d1fab61fdde49f09f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4002cc12a86a86866b17e86d23f83be09fec213bdaaef67ba6b865e5b51c5556002dba37efbf73203d20104c0cc2fc30275f8c5584f812846ba701eaaf0ea00e
|
7
|
+
data.tar.gz: 48173dd10b7cce93ba24e8c02cffaba3ac227883708a5bdecdb359ffc7a49ae1bed716ced35e0035d2e23661fafda2751f802b47157dd11bf870a491e6123d13
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
@@ -445,13 +445,35 @@ module Aws::Keyspaces
|
|
445
445
|
#
|
446
446
|
# For each column to be created:
|
447
447
|
#
|
448
|
-
#
|
448
|
+
# • `name` - The name of the column.
|
449
449
|
#
|
450
|
-
#
|
451
|
-
#
|
452
|
-
# ^
|
450
|
+
# • `type` - An Amazon Keyspaces data type. For more information, see
|
451
|
+
# [Data types][1] in the *Amazon Keyspaces Developer Guide*.
|
453
452
|
#
|
454
|
-
#
|
453
|
+
# The primary key of the table consists of the following columns:
|
454
|
+
#
|
455
|
+
# • `partitionKeys` - The partition key can be a single column, or it
|
456
|
+
# can be a compound value composed of two or more columns. The partition
|
457
|
+
# key portion of the primary key is required and determines how Amazon
|
458
|
+
# Keyspaces stores your data.
|
459
|
+
#
|
460
|
+
# • `name` - The name of each partition key column.
|
461
|
+
#
|
462
|
+
# • `clusteringKeys` - The optional clustering column portion of your
|
463
|
+
# primary key determines how the data is clustered and sorted within
|
464
|
+
# each partition.
|
465
|
+
#
|
466
|
+
# • `name` - The name of the clustering column.
|
467
|
+
#
|
468
|
+
# • `orderBy` - Sets the ascendant (`ASC`) or descendant (`DESC`) order
|
469
|
+
# modifier.
|
470
|
+
#
|
471
|
+
# To define a column as static use `staticColumns` - Static columns
|
472
|
+
# store values that are shared by all rows in the same partition:
|
473
|
+
#
|
474
|
+
# • `name` - The name of the column.
|
475
|
+
#
|
476
|
+
# • `type` - An Amazon Keyspaces data type.
|
455
477
|
#
|
456
478
|
#
|
457
479
|
#
|
@@ -464,10 +486,10 @@ module Aws::Keyspaces
|
|
464
486
|
# Specifies the read/write throughput capacity mode for the table. The
|
465
487
|
# options are:
|
466
488
|
#
|
467
|
-
#
|
489
|
+
# • `throughputMode:PAY_PER_REQUEST` and
|
468
490
|
#
|
469
|
-
#
|
470
|
-
#
|
491
|
+
# • `throughputMode:PROVISIONED` - Provisioned capacity mode requires
|
492
|
+
# `readCapacityUnits` and `writeCapacityUnits` as input.
|
471
493
|
#
|
472
494
|
# The default is `throughput_mode:PAY_PER_REQUEST`.
|
473
495
|
#
|
@@ -482,15 +504,29 @@ module Aws::Keyspaces
|
|
482
504
|
# Specifies how the encryption key for encryption at rest is managed for
|
483
505
|
# the table. You can choose one of the following KMS key (KMS key):
|
484
506
|
#
|
485
|
-
#
|
507
|
+
# • `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
|
508
|
+
#
|
509
|
+
# • `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your account
|
510
|
+
# and is created, owned, and managed by you. This option requires the
|
511
|
+
# `kms_key_identifier` of the KMS key in Amazon Resource Name (ARN)
|
512
|
+
# format as input.
|
513
|
+
#
|
514
|
+
# The default is `type:AWS_OWNED_KMS_KEY`.
|
515
|
+
#
|
516
|
+
# For more information, see [Encryption at rest][1] in the *Amazon
|
517
|
+
# Keyspaces Developer Guide*.
|
518
|
+
#
|
519
|
+
#
|
520
|
+
#
|
521
|
+
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html
|
486
522
|
#
|
487
523
|
# @option params [Types::PointInTimeRecovery] :point_in_time_recovery
|
488
524
|
# Specifies if `pointInTimeRecovery` is enabled or disabled for the
|
489
525
|
# table. The options are:
|
490
526
|
#
|
491
|
-
#
|
527
|
+
# • `ENABLED`
|
492
528
|
#
|
493
|
-
#
|
529
|
+
# • `DISABLED`
|
494
530
|
#
|
495
531
|
# If it's not specified, the default is `DISABLED`.
|
496
532
|
#
|
@@ -504,9 +540,9 @@ module Aws::Keyspaces
|
|
504
540
|
# @option params [Types::TimeToLive] :ttl
|
505
541
|
# Enables Time to Live custom settings for the table. The options are:
|
506
542
|
#
|
507
|
-
#
|
543
|
+
# • `status:enabled`
|
508
544
|
#
|
509
|
-
#
|
545
|
+
# • `status:disabled`
|
510
546
|
#
|
511
547
|
# The default is `status:disabled`. After `ttl` is enabled, you can't
|
512
548
|
# disable it for the table.
|
@@ -932,26 +968,26 @@ module Aws::Keyspaces
|
|
932
968
|
#
|
933
969
|
# You can also overwrite these settings during restore:
|
934
970
|
#
|
935
|
-
#
|
971
|
+
# • Read/write capacity mode
|
936
972
|
#
|
937
|
-
#
|
973
|
+
# • Provisioned throughput capacity settings
|
938
974
|
#
|
939
|
-
#
|
975
|
+
# • Point-in-time (PITR) settings
|
940
976
|
#
|
941
|
-
#
|
977
|
+
# • Tags
|
942
978
|
#
|
943
979
|
# For more information, see [PITR restore settings][2] in the *Amazon
|
944
980
|
# Keyspaces Developer Guide*.
|
945
981
|
#
|
946
|
-
#
|
947
|
-
# manually for the new table
|
982
|
+
# Note that the following settings are not restored, and you must
|
983
|
+
# configure them manually for the new table:
|
948
984
|
#
|
949
|
-
#
|
950
|
-
#
|
985
|
+
# • Automatic scaling policies (for tables that use provisioned capacity
|
986
|
+
# mode)
|
951
987
|
#
|
952
|
-
#
|
988
|
+
# • Identity and Access Management (IAM) policies
|
953
989
|
#
|
954
|
-
#
|
990
|
+
# • Amazon CloudWatch metrics and alarms
|
955
991
|
#
|
956
992
|
#
|
957
993
|
#
|
@@ -977,10 +1013,10 @@ module Aws::Keyspaces
|
|
977
1013
|
# Specifies the read/write throughput capacity mode for the target
|
978
1014
|
# table. The options are:
|
979
1015
|
#
|
980
|
-
#
|
1016
|
+
# • `throughputMode:PAY_PER_REQUEST`
|
981
1017
|
#
|
982
|
-
#
|
983
|
-
#
|
1018
|
+
# • `throughputMode:PROVISIONED` - Provisioned capacity mode requires
|
1019
|
+
# `readCapacityUnits` and `writeCapacityUnits` as input.
|
984
1020
|
#
|
985
1021
|
# The default is `throughput_mode:PAY_PER_REQUEST`.
|
986
1022
|
#
|
@@ -995,15 +1031,29 @@ module Aws::Keyspaces
|
|
995
1031
|
# Specifies the encryption settings for the target table. You can choose
|
996
1032
|
# one of the following KMS key (KMS key):
|
997
1033
|
#
|
998
|
-
#
|
1034
|
+
# • `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
|
1035
|
+
#
|
1036
|
+
# • `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your account
|
1037
|
+
# and is created, owned, and managed by you. This option requires the
|
1038
|
+
# `kms_key_identifier` of the KMS key in Amazon Resource Name (ARN)
|
1039
|
+
# format as input.
|
1040
|
+
#
|
1041
|
+
# The default is `type:AWS_OWNED_KMS_KEY`.
|
1042
|
+
#
|
1043
|
+
# For more information, see [Encryption at rest][1] in the *Amazon
|
1044
|
+
# Keyspaces Developer Guide*.
|
1045
|
+
#
|
1046
|
+
#
|
1047
|
+
#
|
1048
|
+
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html
|
999
1049
|
#
|
1000
1050
|
# @option params [Types::PointInTimeRecovery] :point_in_time_recovery_override
|
1001
1051
|
# Specifies the `pointInTimeRecovery` settings for the target table. The
|
1002
1052
|
# options are:
|
1003
1053
|
#
|
1004
|
-
#
|
1054
|
+
# • `ENABLED`
|
1005
1055
|
#
|
1006
|
-
#
|
1056
|
+
# • `DISABLED`
|
1007
1057
|
#
|
1008
1058
|
# If it's not specified, the default is `DISABLED`.
|
1009
1059
|
#
|
@@ -1161,10 +1211,10 @@ module Aws::Keyspaces
|
|
1161
1211
|
# @option params [Array<Types::ColumnDefinition>] :add_columns
|
1162
1212
|
# For each column to be added to the specified table:
|
1163
1213
|
#
|
1164
|
-
#
|
1214
|
+
# • `name` - The name of the column.
|
1165
1215
|
#
|
1166
|
-
#
|
1167
|
-
#
|
1216
|
+
# • `type` - An Amazon Keyspaces data type. For more information, see
|
1217
|
+
# [Data types][1] in the *Amazon Keyspaces Developer Guide*.
|
1168
1218
|
#
|
1169
1219
|
#
|
1170
1220
|
#
|
@@ -1174,10 +1224,10 @@ module Aws::Keyspaces
|
|
1174
1224
|
# Modifies the read/write throughput capacity mode for the table. The
|
1175
1225
|
# options are:
|
1176
1226
|
#
|
1177
|
-
#
|
1227
|
+
# • `throughputMode:PAY_PER_REQUEST` and
|
1178
1228
|
#
|
1179
|
-
#
|
1180
|
-
#
|
1229
|
+
# • `throughputMode:PROVISIONED` - Provisioned capacity mode requires
|
1230
|
+
# `readCapacityUnits` and `writeCapacityUnits` as input.
|
1181
1231
|
#
|
1182
1232
|
# The default is `throughput_mode:PAY_PER_REQUEST`.
|
1183
1233
|
#
|
@@ -1192,15 +1242,29 @@ module Aws::Keyspaces
|
|
1192
1242
|
# Modifies the encryption settings of the table. You can choose one of
|
1193
1243
|
# the following KMS key (KMS key):
|
1194
1244
|
#
|
1195
|
-
#
|
1245
|
+
# • `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
|
1246
|
+
#
|
1247
|
+
# • `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your account
|
1248
|
+
# and is created, owned, and managed by you. This option requires the
|
1249
|
+
# `kms_key_identifier` of the KMS key in Amazon Resource Name (ARN)
|
1250
|
+
# format as input.
|
1251
|
+
#
|
1252
|
+
# The default is `AWS_OWNED_KMS_KEY`.
|
1253
|
+
#
|
1254
|
+
# For more information, see [Encryption at rest][1] in the *Amazon
|
1255
|
+
# Keyspaces Developer Guide*.
|
1256
|
+
#
|
1257
|
+
#
|
1258
|
+
#
|
1259
|
+
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html
|
1196
1260
|
#
|
1197
1261
|
# @option params [Types::PointInTimeRecovery] :point_in_time_recovery
|
1198
1262
|
# Modifies the `pointInTimeRecovery` settings of the table. The options
|
1199
1263
|
# are:
|
1200
1264
|
#
|
1201
|
-
#
|
1265
|
+
# • `ENABLED`
|
1202
1266
|
#
|
1203
|
-
#
|
1267
|
+
# • `DISABLED`
|
1204
1268
|
#
|
1205
1269
|
# If it's not specified, the default is `DISABLED`.
|
1206
1270
|
#
|
@@ -1214,9 +1278,9 @@ module Aws::Keyspaces
|
|
1214
1278
|
# @option params [Types::TimeToLive] :ttl
|
1215
1279
|
# Modifies Time to Live custom settings for the table. The options are:
|
1216
1280
|
#
|
1217
|
-
#
|
1281
|
+
# • `status:enabled`
|
1218
1282
|
#
|
1219
|
-
#
|
1283
|
+
# • `status:disabled`
|
1220
1284
|
#
|
1221
1285
|
# The default is `status:disabled`. After `ttl` is enabled, you can't
|
1222
1286
|
# disable it for the table.
|
@@ -1297,7 +1361,7 @@ module Aws::Keyspaces
|
|
1297
1361
|
params: params,
|
1298
1362
|
config: config)
|
1299
1363
|
context[:gem_name] = 'aws-sdk-keyspaces'
|
1300
|
-
context[:gem_version] = '1.
|
1364
|
+
context[:gem_version] = '1.2.0'
|
1301
1365
|
Seahorse::Client::Request.new(handlers, context)
|
1302
1366
|
end
|
1303
1367
|
|
@@ -26,12 +26,20 @@ module Aws::Keyspaces
|
|
26
26
|
# Amazon Keyspaces has two read/write capacity modes for processing
|
27
27
|
# reads and writes on your tables:
|
28
28
|
#
|
29
|
-
#
|
29
|
+
# • On-demand (default)
|
30
30
|
#
|
31
|
-
#
|
32
|
-
# ^
|
31
|
+
# • Provisioned
|
33
32
|
#
|
34
|
-
#
|
33
|
+
# The read/write capacity mode that you choose controls how you are
|
34
|
+
# charged for read and write throughput and how table throughput
|
35
|
+
# capacity is managed.
|
36
|
+
#
|
37
|
+
# For more information, see [Read/write capacity modes][1] in the
|
38
|
+
# *Amazon Keyspaces Developer Guide*.
|
39
|
+
#
|
40
|
+
#
|
41
|
+
#
|
42
|
+
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html
|
35
43
|
#
|
36
44
|
# @note When making an API call, you may pass CapacitySpecification
|
37
45
|
# data as a hash:
|
@@ -46,10 +54,10 @@ module Aws::Keyspaces
|
|
46
54
|
# The read/write throughput capacity mode for a table. The options
|
47
55
|
# are:
|
48
56
|
#
|
49
|
-
#
|
57
|
+
# • `throughputMode:PAY_PER_REQUEST` and
|
50
58
|
#
|
51
|
-
#
|
52
|
-
#
|
59
|
+
# • `throughputMode:PROVISIONED` - Provisioned capacity mode requires
|
60
|
+
# `readCapacityUnits` and `writeCapacityUnits` as input.
|
53
61
|
#
|
54
62
|
# The default is `throughput_mode:PAY_PER_REQUEST`.
|
55
63
|
#
|
@@ -83,9 +91,9 @@ module Aws::Keyspaces
|
|
83
91
|
|
84
92
|
# The read/write throughput capacity mode for a table. The options are:
|
85
93
|
#
|
86
|
-
#
|
94
|
+
# • `throughputMode:PAY_PER_REQUEST` and
|
87
95
|
#
|
88
|
-
#
|
96
|
+
# • `throughputMode:PROVISIONED`.
|
89
97
|
#
|
90
98
|
# For more information, see [Read/write capacity modes][1] in the
|
91
99
|
# *Amazon Keyspaces Developer Guide*.
|
@@ -98,10 +106,10 @@ module Aws::Keyspaces
|
|
98
106
|
# The read/write throughput capacity mode for a table. The options
|
99
107
|
# are:
|
100
108
|
#
|
101
|
-
#
|
109
|
+
# • `throughputMode:PAY_PER_REQUEST` and
|
102
110
|
#
|
103
|
-
#
|
104
|
-
#
|
111
|
+
# • `throughputMode:PROVISIONED` - Provisioned capacity mode requires
|
112
|
+
# `readCapacityUnits` and `writeCapacityUnits` as input.
|
105
113
|
#
|
106
114
|
# The default is `throughput_mode:PAY_PER_REQUEST`.
|
107
115
|
#
|
@@ -356,13 +364,35 @@ module Aws::Keyspaces
|
|
356
364
|
#
|
357
365
|
# For each column to be created:
|
358
366
|
#
|
359
|
-
#
|
367
|
+
# • `name` - The name of the column.
|
368
|
+
#
|
369
|
+
# • `type` - An Amazon Keyspaces data type. For more information, see
|
370
|
+
# [Data types][1] in the *Amazon Keyspaces Developer Guide*.
|
371
|
+
#
|
372
|
+
# The primary key of the table consists of the following columns:
|
373
|
+
#
|
374
|
+
# • `partitionKeys` - The partition key can be a single column, or it
|
375
|
+
# can be a compound value composed of two or more columns. The
|
376
|
+
# partition key portion of the primary key is required and determines
|
377
|
+
# how Amazon Keyspaces stores your data.
|
378
|
+
#
|
379
|
+
# • `name` - The name of each partition key column.
|
360
380
|
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
381
|
+
# • `clusteringKeys` - The optional clustering column portion of your
|
382
|
+
# primary key determines how the data is clustered and sorted within
|
383
|
+
# each partition.
|
364
384
|
#
|
365
|
-
#
|
385
|
+
# • `name` - The name of the clustering column.
|
386
|
+
#
|
387
|
+
# • `orderBy` - Sets the ascendant (`ASC`) or descendant (`DESC`)
|
388
|
+
# order modifier.
|
389
|
+
#
|
390
|
+
# To define a column as static use `staticColumns` - Static columns
|
391
|
+
# store values that are shared by all rows in the same partition:
|
392
|
+
#
|
393
|
+
# • `name` - The name of the column.
|
394
|
+
#
|
395
|
+
# • `type` - An Amazon Keyspaces data type.
|
366
396
|
#
|
367
397
|
#
|
368
398
|
#
|
@@ -377,10 +407,10 @@ module Aws::Keyspaces
|
|
377
407
|
# Specifies the read/write throughput capacity mode for the table. The
|
378
408
|
# options are:
|
379
409
|
#
|
380
|
-
#
|
410
|
+
# • `throughputMode:PAY_PER_REQUEST` and
|
381
411
|
#
|
382
|
-
#
|
383
|
-
#
|
412
|
+
# • `throughputMode:PROVISIONED` - Provisioned capacity mode requires
|
413
|
+
# `readCapacityUnits` and `writeCapacityUnits` as input.
|
384
414
|
#
|
385
415
|
# The default is `throughput_mode:PAY_PER_REQUEST`.
|
386
416
|
#
|
@@ -397,16 +427,30 @@ module Aws::Keyspaces
|
|
397
427
|
# for the table. You can choose one of the following KMS key (KMS
|
398
428
|
# key):
|
399
429
|
#
|
400
|
-
#
|
430
|
+
# • `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
|
431
|
+
#
|
432
|
+
# • `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your
|
433
|
+
# account and is created, owned, and managed by you. This option
|
434
|
+
# requires the `kms_key_identifier` of the KMS key in Amazon Resource
|
435
|
+
# Name (ARN) format as input.
|
436
|
+
#
|
437
|
+
# The default is `type:AWS_OWNED_KMS_KEY`.
|
438
|
+
#
|
439
|
+
# For more information, see [Encryption at rest][1] in the *Amazon
|
440
|
+
# Keyspaces Developer Guide*.
|
441
|
+
#
|
442
|
+
#
|
443
|
+
#
|
444
|
+
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html
|
401
445
|
# @return [Types::EncryptionSpecification]
|
402
446
|
#
|
403
447
|
# @!attribute [rw] point_in_time_recovery
|
404
448
|
# Specifies if `pointInTimeRecovery` is enabled or disabled for the
|
405
449
|
# table. The options are:
|
406
450
|
#
|
407
|
-
#
|
451
|
+
# • `ENABLED`
|
408
452
|
#
|
409
|
-
#
|
453
|
+
# • `DISABLED`
|
410
454
|
#
|
411
455
|
# If it's not specified, the default is `DISABLED`.
|
412
456
|
#
|
@@ -421,9 +465,9 @@ module Aws::Keyspaces
|
|
421
465
|
# @!attribute [rw] ttl
|
422
466
|
# Enables Time to Live custom settings for the table. The options are:
|
423
467
|
#
|
424
|
-
#
|
468
|
+
# • `status:enabled`
|
425
469
|
#
|
426
|
-
#
|
470
|
+
# • `status:disabled`
|
427
471
|
#
|
428
472
|
# The default is `status:disabled`. After `ttl` is enabled, you can't
|
429
473
|
# disable it for the table.
|
@@ -545,12 +589,12 @@ module Aws::Keyspaces
|
|
545
589
|
# and managing the encryption key. You can choose one of the following
|
546
590
|
# KMS keys (KMS keys):
|
547
591
|
#
|
548
|
-
#
|
549
|
-
#
|
592
|
+
# • Amazon Web Services owned key - This is the default encryption type.
|
593
|
+
# The key is owned by Amazon Keyspaces (no additional charge).
|
550
594
|
#
|
551
|
-
#
|
552
|
-
#
|
553
|
-
#
|
595
|
+
# • Customer managed key - This key is stored in your account and is
|
596
|
+
# created, owned, and managed by you. You have full control over the
|
597
|
+
# customer managed key (KMS charges apply).
|
554
598
|
#
|
555
599
|
# For more information about encryption at rest in Amazon Keyspaces, see
|
556
600
|
# [Encryption at rest][1] in the *Amazon Keyspaces Developer Guide*.
|
@@ -574,12 +618,12 @@ module Aws::Keyspaces
|
|
574
618
|
# The encryption option specified for the table. You can choose one of
|
575
619
|
# the following KMS keys (KMS keys):
|
576
620
|
#
|
577
|
-
#
|
621
|
+
# • `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
|
578
622
|
#
|
579
|
-
#
|
580
|
-
#
|
581
|
-
#
|
582
|
-
#
|
623
|
+
# • `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your
|
624
|
+
# account and is created, owned, and managed by you. This option
|
625
|
+
# requires the `kms_key_identifier` of the KMS key in Amazon Resource
|
626
|
+
# Name (ARN) format as input.
|
583
627
|
#
|
584
628
|
# The default is `type:AWS_OWNED_KMS_KEY`.
|
585
629
|
#
|
@@ -694,9 +738,9 @@ module Aws::Keyspaces
|
|
694
738
|
# The read/write throughput capacity mode for a table. The options
|
695
739
|
# are:
|
696
740
|
#
|
697
|
-
#
|
741
|
+
# • `throughputMode:PAY_PER_REQUEST`
|
698
742
|
#
|
699
|
-
#
|
743
|
+
# • `throughputMode:PROVISIONED`
|
700
744
|
# @return [Types::CapacitySpecificationSummary]
|
701
745
|
#
|
702
746
|
# @!attribute [rw] encryption_specification
|
@@ -970,9 +1014,9 @@ module Aws::Keyspaces
|
|
970
1014
|
# @!attribute [rw] status
|
971
1015
|
# The options are:
|
972
1016
|
#
|
973
|
-
#
|
1017
|
+
# • `ENABLED`
|
974
1018
|
#
|
975
|
-
#
|
1019
|
+
# • `DISABLED`
|
976
1020
|
# @return [String]
|
977
1021
|
#
|
978
1022
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/PointInTimeRecovery AWS API Documentation
|
@@ -1078,10 +1122,10 @@ module Aws::Keyspaces
|
|
1078
1122
|
# Specifies the read/write throughput capacity mode for the target
|
1079
1123
|
# table. The options are:
|
1080
1124
|
#
|
1081
|
-
#
|
1125
|
+
# • `throughputMode:PAY_PER_REQUEST`
|
1082
1126
|
#
|
1083
|
-
#
|
1084
|
-
#
|
1127
|
+
# • `throughputMode:PROVISIONED` - Provisioned capacity mode requires
|
1128
|
+
# `readCapacityUnits` and `writeCapacityUnits` as input.
|
1085
1129
|
#
|
1086
1130
|
# The default is `throughput_mode:PAY_PER_REQUEST`.
|
1087
1131
|
#
|
@@ -1097,16 +1141,30 @@ module Aws::Keyspaces
|
|
1097
1141
|
# Specifies the encryption settings for the target table. You can
|
1098
1142
|
# choose one of the following KMS key (KMS key):
|
1099
1143
|
#
|
1100
|
-
#
|
1144
|
+
# • `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
|
1145
|
+
#
|
1146
|
+
# • `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your
|
1147
|
+
# account and is created, owned, and managed by you. This option
|
1148
|
+
# requires the `kms_key_identifier` of the KMS key in Amazon Resource
|
1149
|
+
# Name (ARN) format as input.
|
1150
|
+
#
|
1151
|
+
# The default is `type:AWS_OWNED_KMS_KEY`.
|
1152
|
+
#
|
1153
|
+
# For more information, see [Encryption at rest][1] in the *Amazon
|
1154
|
+
# Keyspaces Developer Guide*.
|
1155
|
+
#
|
1156
|
+
#
|
1157
|
+
#
|
1158
|
+
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html
|
1101
1159
|
# @return [Types::EncryptionSpecification]
|
1102
1160
|
#
|
1103
1161
|
# @!attribute [rw] point_in_time_recovery_override
|
1104
1162
|
# Specifies the `pointInTimeRecovery` settings for the target table.
|
1105
1163
|
# The options are:
|
1106
1164
|
#
|
1107
|
-
#
|
1165
|
+
# • `ENABLED`
|
1108
1166
|
#
|
1109
|
-
#
|
1167
|
+
# • `DISABLED`
|
1110
1168
|
#
|
1111
1169
|
# If it's not specified, the default is `DISABLED`.
|
1112
1170
|
#
|
@@ -1469,10 +1527,10 @@ module Aws::Keyspaces
|
|
1469
1527
|
# @!attribute [rw] add_columns
|
1470
1528
|
# For each column to be added to the specified table:
|
1471
1529
|
#
|
1472
|
-
#
|
1530
|
+
# • `name` - The name of the column.
|
1473
1531
|
#
|
1474
|
-
#
|
1475
|
-
#
|
1532
|
+
# • `type` - An Amazon Keyspaces data type. For more information, see
|
1533
|
+
# [Data types][1] in the *Amazon Keyspaces Developer Guide*.
|
1476
1534
|
#
|
1477
1535
|
#
|
1478
1536
|
#
|
@@ -1483,10 +1541,10 @@ module Aws::Keyspaces
|
|
1483
1541
|
# Modifies the read/write throughput capacity mode for the table. The
|
1484
1542
|
# options are:
|
1485
1543
|
#
|
1486
|
-
#
|
1544
|
+
# • `throughputMode:PAY_PER_REQUEST` and
|
1487
1545
|
#
|
1488
|
-
#
|
1489
|
-
#
|
1546
|
+
# • `throughputMode:PROVISIONED` - Provisioned capacity mode requires
|
1547
|
+
# `readCapacityUnits` and `writeCapacityUnits` as input.
|
1490
1548
|
#
|
1491
1549
|
# The default is `throughput_mode:PAY_PER_REQUEST`.
|
1492
1550
|
#
|
@@ -1502,16 +1560,30 @@ module Aws::Keyspaces
|
|
1502
1560
|
# Modifies the encryption settings of the table. You can choose one of
|
1503
1561
|
# the following KMS key (KMS key):
|
1504
1562
|
#
|
1505
|
-
#
|
1563
|
+
# • `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
|
1564
|
+
#
|
1565
|
+
# • `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your
|
1566
|
+
# account and is created, owned, and managed by you. This option
|
1567
|
+
# requires the `kms_key_identifier` of the KMS key in Amazon Resource
|
1568
|
+
# Name (ARN) format as input.
|
1569
|
+
#
|
1570
|
+
# The default is `AWS_OWNED_KMS_KEY`.
|
1571
|
+
#
|
1572
|
+
# For more information, see [Encryption at rest][1] in the *Amazon
|
1573
|
+
# Keyspaces Developer Guide*.
|
1574
|
+
#
|
1575
|
+
#
|
1576
|
+
#
|
1577
|
+
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html
|
1506
1578
|
# @return [Types::EncryptionSpecification]
|
1507
1579
|
#
|
1508
1580
|
# @!attribute [rw] point_in_time_recovery
|
1509
1581
|
# Modifies the `pointInTimeRecovery` settings of the table. The
|
1510
1582
|
# options are:
|
1511
1583
|
#
|
1512
|
-
#
|
1584
|
+
# • `ENABLED`
|
1513
1585
|
#
|
1514
|
-
#
|
1586
|
+
# • `DISABLED`
|
1515
1587
|
#
|
1516
1588
|
# If it's not specified, the default is `DISABLED`.
|
1517
1589
|
#
|
@@ -1527,9 +1599,9 @@ module Aws::Keyspaces
|
|
1527
1599
|
# Modifies Time to Live custom settings for the table. The options
|
1528
1600
|
# are:
|
1529
1601
|
#
|
1530
|
-
#
|
1602
|
+
# • `status:enabled`
|
1531
1603
|
#
|
1532
|
-
#
|
1604
|
+
# • `status:disabled`
|
1533
1605
|
#
|
1534
1606
|
# The default is `status:disabled`. After `ttl` is enabled, you can't
|
1535
1607
|
# disable it for the table.
|
data/lib/aws-sdk-keyspaces.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-keyspaces
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|