aws-sdk-keyspaces 1.5.0 → 1.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f8f54ada5fd8e987c6540979617ac46d44fab7f5ef323f4bfbfff1aa427bb17
4
- data.tar.gz: 5bffd044ff90b3c9816a61c6751f0d8a1e71be0b69a0369ad0d0ef8d8a887664
3
+ metadata.gz: 22871dfdeca7580bcda561b62b99443c29d1d840714643a6c154f973e834e8d1
4
+ data.tar.gz: 1bebbaf0271e9b0695cf87d22dc25426d123ce1f65a1edb65f36ac9c9ca5d5de
5
5
  SHA512:
6
- metadata.gz: 9f93da2dfda98c10076cc7af73a2d3980e3cd238084f3226106de4af08fc8a416f7e9d83d575ae73a0b878e1db307f9eb60d2fc31e235b5cde1ff8f00e6bd7de
7
- data.tar.gz: 65d650cfe86bb2625b02ae1ba356003df90d26d9631638ff41918350115e943fd3b955b0878c9c3222742e8f84fd34f7eebac97ace4807a77dd138ea5d5350db
6
+ metadata.gz: 975c714f13af29cb382eb231a7bfdc5ae0ff9a732725f3e7f8935ca7a8f6ab62ec3fa06a66f42656fe63b40aecd173184ec34c1c6aedd48d3c733e0495cbc234
7
+ data.tar.gz: cdebb053872dab81fa9d3cf39a8303419e08307bf40b5f894b4d2c6aba39bb99dd69101f2f0c3d3c60837e7926b160eedb3f7186554c351a23b08fb0c7199c95
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.7.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.6.0 (2023-03-14)
10
+ ------------------
11
+
12
+ * Feature - Adding support for client-side timestamps
13
+
4
14
  1.5.0 (2023-02-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.7.0
@@ -275,6 +275,11 @@ module Aws::Keyspaces
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -462,35 +467,35 @@ module Aws::Keyspaces
462
467
  #
463
468
  # For each column to be created:
464
469
  #
465
- # `name` - The name of the column.
470
+ # * `name` - The name of the column.
466
471
  #
467
- # `type` - An Amazon Keyspaces data type. For more information, see
468
- # [Data types][1] in the *Amazon Keyspaces Developer Guide*.
472
+ # * `type` - An Amazon Keyspaces data type. For more information, see
473
+ # [Data types][1] in the *Amazon Keyspaces Developer Guide*.
469
474
  #
470
475
  # The primary key of the table consists of the following columns:
471
476
  #
472
- # `partitionKeys` - The partition key can be a single column, or it
473
- # can be a compound value composed of two or more columns. The partition
474
- # key portion of the primary key is required and determines how Amazon
475
- # Keyspaces stores your data.
477
+ # * `partitionKeys` - The partition key can be a single column, or it
478
+ # can be a compound value composed of two or more columns. The
479
+ # partition key portion of the primary key is required and determines
480
+ # how Amazon Keyspaces stores your data.
476
481
  #
477
- # `name` - The name of each partition key column.
482
+ # * `name` - The name of each partition key column.
478
483
  #
479
- # `clusteringKeys` - The optional clustering column portion of your
480
- # primary key determines how the data is clustered and sorted within
481
- # each partition.
484
+ # * `clusteringKeys` - The optional clustering column portion of your
485
+ # primary key determines how the data is clustered and sorted within
486
+ # each partition.
482
487
  #
483
- # `name` - The name of the clustering column.
488
+ # * `name` - The name of the clustering column.
484
489
  #
485
- # `orderBy` - Sets the ascendant (`ASC`) or descendant (`DESC`) order
486
- # modifier.
490
+ # * `orderBy` - Sets the ascendant (`ASC`) or descendant (`DESC`) order
491
+ # modifier.
487
492
  #
488
- # To define a column as static use `staticColumns` - Static columns
489
- # store values that are shared by all rows in the same partition:
493
+ # To define a column as static use `staticColumns` - Static columns
494
+ # store values that are shared by all rows in the same partition:
490
495
  #
491
- # `name` - The name of the column.
496
+ # * `name` - The name of the column.
492
497
  #
493
- # `type` - An Amazon Keyspaces data type.
498
+ # * `type` - An Amazon Keyspaces data type.
494
499
  #
495
500
  #
496
501
  #
@@ -503,10 +508,10 @@ module Aws::Keyspaces
503
508
  # Specifies the read/write throughput capacity mode for the table. The
504
509
  # options are:
505
510
  #
506
- # `throughputMode:PAY_PER_REQUEST` and
511
+ # * `throughputMode:PAY_PER_REQUEST` and
507
512
  #
508
- # `throughputMode:PROVISIONED` - Provisioned capacity mode requires
509
- # `readCapacityUnits` and `writeCapacityUnits` as input.
513
+ # * `throughputMode:PROVISIONED` - Provisioned capacity mode requires
514
+ # `readCapacityUnits` and `writeCapacityUnits` as input.
510
515
  #
511
516
  # The default is `throughput_mode:PAY_PER_REQUEST`.
512
517
  #
@@ -521,12 +526,12 @@ module Aws::Keyspaces
521
526
  # Specifies how the encryption key for encryption at rest is managed for
522
527
  # the table. You can choose one of the following KMS key (KMS key):
523
528
  #
524
- # `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
529
+ # * `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
525
530
  #
526
- # `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your account
527
- # and is created, owned, and managed by you. This option requires the
528
- # `kms_key_identifier` of the KMS key in Amazon Resource Name (ARN)
529
- # format as input.
531
+ # * `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your account
532
+ # and is created, owned, and managed by you. This option requires the
533
+ # `kms_key_identifier` of the KMS key in Amazon Resource Name (ARN)
534
+ # format as input.
530
535
  #
531
536
  # The default is `type:AWS_OWNED_KMS_KEY`.
532
537
  #
@@ -541,11 +546,11 @@ module Aws::Keyspaces
541
546
  # Specifies if `pointInTimeRecovery` is enabled or disabled for the
542
547
  # table. The options are:
543
548
  #
544
- # `ENABLED`
549
+ # * `status=ENABLED`
545
550
  #
546
- # `DISABLED`
551
+ # * `status=DISABLED`
547
552
  #
548
- # If it's not specified, the default is `DISABLED`.
553
+ # If it's not specified, the default is `status=DISABLED`.
549
554
  #
550
555
  # For more information, see [Point-in-time recovery][1] in the *Amazon
551
556
  # Keyspaces Developer Guide*.
@@ -557,9 +562,9 @@ module Aws::Keyspaces
557
562
  # @option params [Types::TimeToLive] :ttl
558
563
  # Enables Time to Live custom settings for the table. The options are:
559
564
  #
560
- # `status:enabled`
565
+ # * `status:enabled`
561
566
  #
562
- # `status:disabled`
567
+ # * `status:disabled`
563
568
  #
564
569
  # The default is `status:disabled`. After `ttl` is enabled, you can't
565
570
  # disable it for the table.
@@ -591,6 +596,18 @@ module Aws::Keyspaces
591
596
  #
592
597
  # [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html
593
598
  #
599
+ # @option params [Types::ClientSideTimestamps] :client_side_timestamps
600
+ # Enables client-side timestamps for the table. By default, the setting
601
+ # is disabled. You can enable client-side timestamps with the following
602
+ # option:
603
+ #
604
+ # * `status: "enabled"`
605
+ #
606
+ # ^
607
+ #
608
+ # Once client-side timestamps are enabled for a table, this setting
609
+ # cannot be disabled.
610
+ #
594
611
  # @return [Types::CreateTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
595
612
  #
596
613
  # * {Types::CreateTableResponse#resource_arn #resource_arn} => String
@@ -649,6 +666,9 @@ module Aws::Keyspaces
649
666
  # value: "TagValue", # required
650
667
  # },
651
668
  # ],
669
+ # client_side_timestamps: {
670
+ # status: "ENABLED", # required, accepts ENABLED
671
+ # },
652
672
  # })
653
673
  #
654
674
  # @example Response structure
@@ -779,6 +799,7 @@ module Aws::Keyspaces
779
799
  # * {Types::GetTableResponse#ttl #ttl} => Types::TimeToLive
780
800
  # * {Types::GetTableResponse#default_time_to_live #default_time_to_live} => Integer
781
801
  # * {Types::GetTableResponse#comment #comment} => Types::Comment
802
+ # * {Types::GetTableResponse#client_side_timestamps #client_side_timestamps} => Types::ClientSideTimestamps
782
803
  #
783
804
  # @example Request syntax with placeholder values
784
805
  #
@@ -815,6 +836,7 @@ module Aws::Keyspaces
815
836
  # resp.ttl.status #=> String, one of "ENABLED"
816
837
  # resp.default_time_to_live #=> Integer
817
838
  # resp.comment.message #=> String
839
+ # resp.client_side_timestamps.status #=> String, one of "ENABLED"
818
840
  #
819
841
  # @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/GetTable AWS API Documentation
820
842
  #
@@ -985,13 +1007,13 @@ module Aws::Keyspaces
985
1007
  #
986
1008
  # You can also overwrite these settings during restore:
987
1009
  #
988
- # Read/write capacity mode
1010
+ # * Read/write capacity mode
989
1011
  #
990
- # Provisioned throughput capacity settings
1012
+ # * Provisioned throughput capacity settings
991
1013
  #
992
- # Point-in-time (PITR) settings
1014
+ # * Point-in-time (PITR) settings
993
1015
  #
994
- # Tags
1016
+ # * Tags
995
1017
  #
996
1018
  # For more information, see [PITR restore settings][2] in the *Amazon
997
1019
  # Keyspaces Developer Guide*.
@@ -999,12 +1021,12 @@ module Aws::Keyspaces
999
1021
  # Note that the following settings are not restored, and you must
1000
1022
  # configure them manually for the new table:
1001
1023
  #
1002
- # Automatic scaling policies (for tables that use provisioned capacity
1003
- # mode)
1024
+ # * Automatic scaling policies (for tables that use provisioned capacity
1025
+ # mode)
1004
1026
  #
1005
- # Identity and Access Management (IAM) policies
1027
+ # * Identity and Access Management (IAM) policies
1006
1028
  #
1007
- # Amazon CloudWatch metrics and alarms
1029
+ # * Amazon CloudWatch metrics and alarms
1008
1030
  #
1009
1031
  #
1010
1032
  #
@@ -1030,10 +1052,10 @@ module Aws::Keyspaces
1030
1052
  # Specifies the read/write throughput capacity mode for the target
1031
1053
  # table. The options are:
1032
1054
  #
1033
- # `throughputMode:PAY_PER_REQUEST`
1055
+ # * `throughputMode:PAY_PER_REQUEST`
1034
1056
  #
1035
- # `throughputMode:PROVISIONED` - Provisioned capacity mode requires
1036
- # `readCapacityUnits` and `writeCapacityUnits` as input.
1057
+ # * `throughputMode:PROVISIONED` - Provisioned capacity mode requires
1058
+ # `readCapacityUnits` and `writeCapacityUnits` as input.
1037
1059
  #
1038
1060
  # The default is `throughput_mode:PAY_PER_REQUEST`.
1039
1061
  #
@@ -1048,12 +1070,12 @@ module Aws::Keyspaces
1048
1070
  # Specifies the encryption settings for the target table. You can choose
1049
1071
  # one of the following KMS key (KMS key):
1050
1072
  #
1051
- # `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
1073
+ # * `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
1052
1074
  #
1053
- # `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your account
1054
- # and is created, owned, and managed by you. This option requires the
1055
- # `kms_key_identifier` of the KMS key in Amazon Resource Name (ARN)
1056
- # format as input.
1075
+ # * `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your account
1076
+ # and is created, owned, and managed by you. This option requires the
1077
+ # `kms_key_identifier` of the KMS key in Amazon Resource Name (ARN)
1078
+ # format as input.
1057
1079
  #
1058
1080
  # The default is `type:AWS_OWNED_KMS_KEY`.
1059
1081
  #
@@ -1068,11 +1090,11 @@ module Aws::Keyspaces
1068
1090
  # Specifies the `pointInTimeRecovery` settings for the target table. The
1069
1091
  # options are:
1070
1092
  #
1071
- # `ENABLED`
1093
+ # * `status=ENABLED`
1072
1094
  #
1073
- # `DISABLED`
1095
+ # * `status=DISABLED`
1074
1096
  #
1075
- # If it's not specified, the default is `DISABLED`.
1097
+ # If it's not specified, the default is `status=DISABLED`.
1076
1098
  #
1077
1099
  # For more information, see [Point-in-time recovery][1] in the *Amazon
1078
1100
  # Keyspaces Developer Guide*.
@@ -1228,10 +1250,10 @@ module Aws::Keyspaces
1228
1250
  # @option params [Array<Types::ColumnDefinition>] :add_columns
1229
1251
  # For each column to be added to the specified table:
1230
1252
  #
1231
- # `name` - The name of the column.
1253
+ # * `name` - The name of the column.
1232
1254
  #
1233
- # `type` - An Amazon Keyspaces data type. For more information, see
1234
- # [Data types][1] in the *Amazon Keyspaces Developer Guide*.
1255
+ # * `type` - An Amazon Keyspaces data type. For more information, see
1256
+ # [Data types][1] in the *Amazon Keyspaces Developer Guide*.
1235
1257
  #
1236
1258
  #
1237
1259
  #
@@ -1241,10 +1263,10 @@ module Aws::Keyspaces
1241
1263
  # Modifies the read/write throughput capacity mode for the table. The
1242
1264
  # options are:
1243
1265
  #
1244
- # `throughputMode:PAY_PER_REQUEST` and
1266
+ # * `throughputMode:PAY_PER_REQUEST` and
1245
1267
  #
1246
- # `throughputMode:PROVISIONED` - Provisioned capacity mode requires
1247
- # `readCapacityUnits` and `writeCapacityUnits` as input.
1268
+ # * `throughputMode:PROVISIONED` - Provisioned capacity mode requires
1269
+ # `readCapacityUnits` and `writeCapacityUnits` as input.
1248
1270
  #
1249
1271
  # The default is `throughput_mode:PAY_PER_REQUEST`.
1250
1272
  #
@@ -1259,12 +1281,12 @@ module Aws::Keyspaces
1259
1281
  # Modifies the encryption settings of the table. You can choose one of
1260
1282
  # the following KMS key (KMS key):
1261
1283
  #
1262
- # `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
1284
+ # * `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
1263
1285
  #
1264
- # `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your account
1265
- # and is created, owned, and managed by you. This option requires the
1266
- # `kms_key_identifier` of the KMS key in Amazon Resource Name (ARN)
1267
- # format as input.
1286
+ # * `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your account
1287
+ # and is created, owned, and managed by you. This option requires the
1288
+ # `kms_key_identifier` of the KMS key in Amazon Resource Name (ARN)
1289
+ # format as input.
1268
1290
  #
1269
1291
  # The default is `AWS_OWNED_KMS_KEY`.
1270
1292
  #
@@ -1279,11 +1301,11 @@ module Aws::Keyspaces
1279
1301
  # Modifies the `pointInTimeRecovery` settings of the table. The options
1280
1302
  # are:
1281
1303
  #
1282
- # `ENABLED`
1304
+ # * `status=ENABLED`
1283
1305
  #
1284
- # `DISABLED`
1306
+ # * `status=DISABLED`
1285
1307
  #
1286
- # If it's not specified, the default is `DISABLED`.
1308
+ # If it's not specified, the default is `status=DISABLED`.
1287
1309
  #
1288
1310
  # For more information, see [Point-in-time recovery][1] in the *Amazon
1289
1311
  # Keyspaces Developer Guide*.
@@ -1295,9 +1317,9 @@ module Aws::Keyspaces
1295
1317
  # @option params [Types::TimeToLive] :ttl
1296
1318
  # Modifies Time to Live custom settings for the table. The options are:
1297
1319
  #
1298
- # `status:enabled`
1320
+ # * `status:enabled`
1299
1321
  #
1300
- # `status:disabled`
1322
+ # * `status:disabled`
1301
1323
  #
1302
1324
  # The default is `status:disabled`. After `ttl` is enabled, you can't
1303
1325
  # disable it for the table.
@@ -1319,6 +1341,18 @@ module Aws::Keyspaces
1319
1341
  #
1320
1342
  # [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_default_ttl
1321
1343
  #
1344
+ # @option params [Types::ClientSideTimestamps] :client_side_timestamps
1345
+ # Enables client-side timestamps for the table. By default, the setting
1346
+ # is disabled. You can enable client-side timestamps with the following
1347
+ # option:
1348
+ #
1349
+ # * `status: "enabled"`
1350
+ #
1351
+ # ^
1352
+ #
1353
+ # Once client-side timestamps are enabled for a table, this setting
1354
+ # cannot be disabled.
1355
+ #
1322
1356
  # @return [Types::UpdateTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1323
1357
  #
1324
1358
  # * {Types::UpdateTableResponse#resource_arn #resource_arn} => String
@@ -1350,6 +1384,9 @@ module Aws::Keyspaces
1350
1384
  # status: "ENABLED", # required, accepts ENABLED
1351
1385
  # },
1352
1386
  # default_time_to_live: 1,
1387
+ # client_side_timestamps: {
1388
+ # status: "ENABLED", # required, accepts ENABLED
1389
+ # },
1353
1390
  # })
1354
1391
  #
1355
1392
  # @example Response structure
@@ -1378,7 +1415,7 @@ module Aws::Keyspaces
1378
1415
  params: params,
1379
1416
  config: config)
1380
1417
  context[:gem_name] = 'aws-sdk-keyspaces'
1381
- context[:gem_version] = '1.5.0'
1418
+ context[:gem_version] = '1.7.0'
1382
1419
  Seahorse::Client::Request.new(handlers, context)
1383
1420
  end
1384
1421
 
@@ -18,6 +18,8 @@ module Aws::Keyspaces
18
18
  CapacitySpecification = Shapes::StructureShape.new(name: 'CapacitySpecification')
19
19
  CapacitySpecificationSummary = Shapes::StructureShape.new(name: 'CapacitySpecificationSummary')
20
20
  CapacityUnits = Shapes::IntegerShape.new(name: 'CapacityUnits')
21
+ ClientSideTimestamps = Shapes::StructureShape.new(name: 'ClientSideTimestamps')
22
+ ClientSideTimestampsStatus = Shapes::StringShape.new(name: 'ClientSideTimestampsStatus')
21
23
  ClusteringKey = Shapes::StructureShape.new(name: 'ClusteringKey')
22
24
  ClusteringKeyList = Shapes::ListShape.new(name: 'ClusteringKeyList')
23
25
  ColumnDefinition = Shapes::StructureShape.new(name: 'ColumnDefinition')
@@ -101,6 +103,9 @@ module Aws::Keyspaces
101
103
  CapacitySpecificationSummary.add_member(:last_update_to_pay_per_request_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdateToPayPerRequestTimestamp"))
102
104
  CapacitySpecificationSummary.struct_class = Types::CapacitySpecificationSummary
103
105
 
106
+ ClientSideTimestamps.add_member(:status, Shapes::ShapeRef.new(shape: ClientSideTimestampsStatus, required: true, location_name: "status"))
107
+ ClientSideTimestamps.struct_class = Types::ClientSideTimestamps
108
+
104
109
  ClusteringKey.add_member(:name, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "name"))
105
110
  ClusteringKey.add_member(:order_by, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "orderBy"))
106
111
  ClusteringKey.struct_class = Types::ClusteringKey
@@ -136,6 +141,7 @@ module Aws::Keyspaces
136
141
  CreateTableRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: TimeToLive, location_name: "ttl"))
137
142
  CreateTableRequest.add_member(:default_time_to_live, Shapes::ShapeRef.new(shape: DefaultTimeToLive, location_name: "defaultTimeToLive"))
138
143
  CreateTableRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
144
+ CreateTableRequest.add_member(:client_side_timestamps, Shapes::ShapeRef.new(shape: ClientSideTimestamps, location_name: "clientSideTimestamps"))
139
145
  CreateTableRequest.struct_class = Types::CreateTableRequest
140
146
 
141
147
  CreateTableResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "resourceArn"))
@@ -179,6 +185,7 @@ module Aws::Keyspaces
179
185
  GetTableResponse.add_member(:ttl, Shapes::ShapeRef.new(shape: TimeToLive, location_name: "ttl"))
180
186
  GetTableResponse.add_member(:default_time_to_live, Shapes::ShapeRef.new(shape: DefaultTimeToLive, location_name: "defaultTimeToLive"))
181
187
  GetTableResponse.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
188
+ GetTableResponse.add_member(:client_side_timestamps, Shapes::ShapeRef.new(shape: ClientSideTimestamps, location_name: "clientSideTimestamps"))
182
189
  GetTableResponse.struct_class = Types::GetTableResponse
183
190
 
184
191
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -296,6 +303,7 @@ module Aws::Keyspaces
296
303
  UpdateTableRequest.add_member(:point_in_time_recovery, Shapes::ShapeRef.new(shape: PointInTimeRecovery, location_name: "pointInTimeRecovery"))
297
304
  UpdateTableRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: TimeToLive, location_name: "ttl"))
298
305
  UpdateTableRequest.add_member(:default_time_to_live, Shapes::ShapeRef.new(shape: DefaultTimeToLive, location_name: "defaultTimeToLive"))
306
+ UpdateTableRequest.add_member(:client_side_timestamps, Shapes::ShapeRef.new(shape: ClientSideTimestamps, location_name: "clientSideTimestamps"))
299
307
  UpdateTableRequest.struct_class = Types::UpdateTableRequest
300
308
 
301
309
  UpdateTableResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "resourceArn"))
@@ -50,9 +50,6 @@ module Aws::Keyspaces
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,39 +14,42 @@ module Aws::Keyspaces
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
26
20
  end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://cassandra-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
32
23
  end
33
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
- return Aws::Endpoints::Endpoint.new(url: "https://cassandra.#{region}.amazonaws.com", headers: {}, properties: {})
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://cassandra-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
37
31
  end
38
- return Aws::Endpoints::Endpoint.new(url: "https://cassandra-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
39
33
  end
40
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
41
- end
42
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
43
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
44
- return Aws::Endpoints::Endpoint.new(url: "https://cassandra.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
37
+ return Aws::Endpoints::Endpoint.new(url: "https://cassandra.#{region}.amazonaws.com", headers: {}, properties: {})
38
+ end
39
+ return Aws::Endpoints::Endpoint.new(url: "https://cassandra-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
+ end
41
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
42
+ end
43
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
44
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
45
+ return Aws::Endpoints::Endpoint.new(url: "https://cassandra.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
46
+ end
47
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
48
  end
46
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
49
+ return Aws::Endpoints::Endpoint.new(url: "https://cassandra.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
50
  end
48
- return Aws::Endpoints::Endpoint.new(url: "https://cassandra.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
49
51
  end
52
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
53
  raise ArgumentError, 'No endpoint could be resolved'
51
54
 
52
55
  end
@@ -26,9 +26,9 @@ 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
- # On-demand (default)
29
+ # * On-demand (default)
30
30
  #
31
- # Provisioned
31
+ # * Provisioned
32
32
  #
33
33
  # The read/write capacity mode that you choose controls how you are
34
34
  # charged for read and write throughput and how table throughput
@@ -45,10 +45,10 @@ module Aws::Keyspaces
45
45
  # The read/write throughput capacity mode for a table. The options
46
46
  # are:
47
47
  #
48
- # `throughputMode:PAY_PER_REQUEST` and
48
+ # * `throughputMode:PAY_PER_REQUEST` and
49
49
  #
50
- # `throughputMode:PROVISIONED` - Provisioned capacity mode requires
51
- # `readCapacityUnits` and `writeCapacityUnits` as input.
50
+ # * `throughputMode:PROVISIONED` - Provisioned capacity mode requires
51
+ # `readCapacityUnits` and `writeCapacityUnits` as input.
52
52
  #
53
53
  # The default is `throughput_mode:PAY_PER_REQUEST`.
54
54
  #
@@ -82,9 +82,9 @@ module Aws::Keyspaces
82
82
 
83
83
  # The read/write throughput capacity mode for a table. The options are:
84
84
  #
85
- # `throughputMode:PAY_PER_REQUEST` and
85
+ # * `throughputMode:PAY_PER_REQUEST` and
86
86
  #
87
- # `throughputMode:PROVISIONED`.
87
+ # * `throughputMode:PROVISIONED`.
88
88
  #
89
89
  # For more information, see [Read/write capacity modes][1] in the
90
90
  # *Amazon Keyspaces Developer Guide*.
@@ -97,10 +97,10 @@ module Aws::Keyspaces
97
97
  # The read/write throughput capacity mode for a table. The options
98
98
  # are:
99
99
  #
100
- # `throughputMode:PAY_PER_REQUEST` and
100
+ # * `throughputMode:PAY_PER_REQUEST` and
101
101
  #
102
- # `throughputMode:PROVISIONED` - Provisioned capacity mode requires
103
- # `readCapacityUnits` and `writeCapacityUnits` as input.
102
+ # * `throughputMode:PROVISIONED` - Provisioned capacity mode requires
103
+ # `readCapacityUnits` and `writeCapacityUnits` as input.
104
104
  #
105
105
  # The default is `throughput_mode:PAY_PER_REQUEST`.
106
106
  #
@@ -138,6 +138,28 @@ module Aws::Keyspaces
138
138
  include Aws::Structure
139
139
  end
140
140
 
141
+ # The client-side timestamp setting of the table.
142
+ #
143
+ # For more information, see [How it works: Amazon Keyspaces client-side
144
+ # timestamps][1] in the *Amazon Keyspaces Developer Guide*.
145
+ #
146
+ #
147
+ #
148
+ # [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/client-side-timestamps-how-it-works.html
149
+ #
150
+ # @!attribute [rw] status
151
+ # Shows how to enable client-side timestamps settings for the
152
+ # specified table.
153
+ # @return [String]
154
+ #
155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/ClientSideTimestamps AWS API Documentation
156
+ #
157
+ class ClientSideTimestamps < Struct.new(
158
+ :status)
159
+ SENSITIVE = []
160
+ include Aws::Structure
161
+ end
162
+
141
163
  # The optional clustering column portion of your primary key determines
142
164
  # how the data is clustered and sorted within each partition.
143
165
  #
@@ -262,35 +284,35 @@ module Aws::Keyspaces
262
284
  #
263
285
  # For each column to be created:
264
286
  #
265
- # `name` - The name of the column.
287
+ # * `name` - The name of the column.
266
288
  #
267
- # `type` - An Amazon Keyspaces data type. For more information, see
268
- # [Data types][1] in the *Amazon Keyspaces Developer Guide*.
289
+ # * `type` - An Amazon Keyspaces data type. For more information, see
290
+ # [Data types][1] in the *Amazon Keyspaces Developer Guide*.
269
291
  #
270
292
  # The primary key of the table consists of the following columns:
271
293
  #
272
- # `partitionKeys` - The partition key can be a single column, or it
273
- # can be a compound value composed of two or more columns. The
274
- # partition key portion of the primary key is required and determines
275
- # how Amazon Keyspaces stores your data.
294
+ # * `partitionKeys` - The partition key can be a single column, or it
295
+ # can be a compound value composed of two or more columns. The
296
+ # partition key portion of the primary key is required and
297
+ # determines how Amazon Keyspaces stores your data.
276
298
  #
277
- # `name` - The name of each partition key column.
299
+ # * `name` - The name of each partition key column.
278
300
  #
279
- # `clusteringKeys` - The optional clustering column portion of your
280
- # primary key determines how the data is clustered and sorted within
281
- # each partition.
301
+ # * `clusteringKeys` - The optional clustering column portion of your
302
+ # primary key determines how the data is clustered and sorted within
303
+ # each partition.
282
304
  #
283
- # `name` - The name of the clustering column.
305
+ # * `name` - The name of the clustering column.
284
306
  #
285
- # `orderBy` - Sets the ascendant (`ASC`) or descendant (`DESC`)
286
- # order modifier.
307
+ # * `orderBy` - Sets the ascendant (`ASC`) or descendant (`DESC`)
308
+ # order modifier.
287
309
  #
288
- # To define a column as static use `staticColumns` - Static columns
289
- # store values that are shared by all rows in the same partition:
310
+ # To define a column as static use `staticColumns` - Static columns
311
+ # store values that are shared by all rows in the same partition:
290
312
  #
291
- # `name` - The name of the column.
313
+ # * `name` - The name of the column.
292
314
  #
293
- # `type` - An Amazon Keyspaces data type.
315
+ # * `type` - An Amazon Keyspaces data type.
294
316
  #
295
317
  #
296
318
  #
@@ -305,10 +327,10 @@ module Aws::Keyspaces
305
327
  # Specifies the read/write throughput capacity mode for the table. The
306
328
  # options are:
307
329
  #
308
- # `throughputMode:PAY_PER_REQUEST` and
330
+ # * `throughputMode:PAY_PER_REQUEST` and
309
331
  #
310
- # `throughputMode:PROVISIONED` - Provisioned capacity mode requires
311
- # `readCapacityUnits` and `writeCapacityUnits` as input.
332
+ # * `throughputMode:PROVISIONED` - Provisioned capacity mode requires
333
+ # `readCapacityUnits` and `writeCapacityUnits` as input.
312
334
  #
313
335
  # The default is `throughput_mode:PAY_PER_REQUEST`.
314
336
  #
@@ -325,12 +347,12 @@ module Aws::Keyspaces
325
347
  # for the table. You can choose one of the following KMS key (KMS
326
348
  # key):
327
349
  #
328
- # `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
350
+ # * `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
329
351
  #
330
- # `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your
331
- # account and is created, owned, and managed by you. This option
332
- # requires the `kms_key_identifier` of the KMS key in Amazon Resource
333
- # Name (ARN) format as input.
352
+ # * `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your
353
+ # account and is created, owned, and managed by you. This option
354
+ # requires the `kms_key_identifier` of the KMS key in Amazon
355
+ # Resource Name (ARN) format as input.
334
356
  #
335
357
  # The default is `type:AWS_OWNED_KMS_KEY`.
336
358
  #
@@ -346,11 +368,11 @@ module Aws::Keyspaces
346
368
  # Specifies if `pointInTimeRecovery` is enabled or disabled for the
347
369
  # table. The options are:
348
370
  #
349
- # `ENABLED`
371
+ # * `status=ENABLED`
350
372
  #
351
- # `DISABLED`
373
+ # * `status=DISABLED`
352
374
  #
353
- # If it's not specified, the default is `DISABLED`.
375
+ # If it's not specified, the default is `status=DISABLED`.
354
376
  #
355
377
  # For more information, see [Point-in-time recovery][1] in the *Amazon
356
378
  # Keyspaces Developer Guide*.
@@ -363,9 +385,9 @@ module Aws::Keyspaces
363
385
  # @!attribute [rw] ttl
364
386
  # Enables Time to Live custom settings for the table. The options are:
365
387
  #
366
- # `status:enabled`
388
+ # * `status:enabled`
367
389
  #
368
- # `status:disabled`
390
+ # * `status:disabled`
369
391
  #
370
392
  # The default is `status:disabled`. After `ttl` is enabled, you can't
371
393
  # disable it for the table.
@@ -400,6 +422,19 @@ module Aws::Keyspaces
400
422
  # [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html
401
423
  # @return [Array<Types::Tag>]
402
424
  #
425
+ # @!attribute [rw] client_side_timestamps
426
+ # Enables client-side timestamps for the table. By default, the
427
+ # setting is disabled. You can enable client-side timestamps with the
428
+ # following option:
429
+ #
430
+ # * `status: "enabled"`
431
+ #
432
+ # ^
433
+ #
434
+ # Once client-side timestamps are enabled for a table, this setting
435
+ # cannot be disabled.
436
+ # @return [Types::ClientSideTimestamps]
437
+ #
403
438
  # @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/CreateTableRequest AWS API Documentation
404
439
  #
405
440
  class CreateTableRequest < Struct.new(
@@ -412,7 +447,8 @@ module Aws::Keyspaces
412
447
  :point_in_time_recovery,
413
448
  :ttl,
414
449
  :default_time_to_live,
415
- :tags)
450
+ :tags,
451
+ :client_side_timestamps)
416
452
  SENSITIVE = []
417
453
  include Aws::Structure
418
454
  end
@@ -472,12 +508,12 @@ module Aws::Keyspaces
472
508
  # and managing the encryption key. You can choose one of the following
473
509
  # KMS keys (KMS keys):
474
510
  #
475
- # Amazon Web Services owned key - This is the default encryption type.
476
- # The key is owned by Amazon Keyspaces (no additional charge).
511
+ # * Amazon Web Services owned key - This is the default encryption type.
512
+ # The key is owned by Amazon Keyspaces (no additional charge).
477
513
  #
478
- # Customer managed key - This key is stored in your account and is
479
- # created, owned, and managed by you. You have full control over the
480
- # customer managed key (KMS charges apply).
514
+ # * Customer managed key - This key is stored in your account and is
515
+ # created, owned, and managed by you. You have full control over the
516
+ # customer managed key (KMS charges apply).
481
517
  #
482
518
  # For more information about encryption at rest in Amazon Keyspaces, see
483
519
  # [Encryption at rest][1] in the *Amazon Keyspaces Developer Guide*.
@@ -493,12 +529,12 @@ module Aws::Keyspaces
493
529
  # The encryption option specified for the table. You can choose one of
494
530
  # the following KMS keys (KMS keys):
495
531
  #
496
- # `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
532
+ # * `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
497
533
  #
498
- # `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your
499
- # account and is created, owned, and managed by you. This option
500
- # requires the `kms_key_identifier` of the KMS key in Amazon Resource
501
- # Name (ARN) format as input.
534
+ # * `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your
535
+ # account and is created, owned, and managed by you. This option
536
+ # requires the `kms_key_identifier` of the KMS key in Amazon
537
+ # Resource Name (ARN) format as input.
502
538
  #
503
539
  # The default is `type:AWS_OWNED_KMS_KEY`.
504
540
  #
@@ -598,9 +634,9 @@ module Aws::Keyspaces
598
634
  # The read/write throughput capacity mode for a table. The options
599
635
  # are:
600
636
  #
601
- # `throughputMode:PAY_PER_REQUEST`
637
+ # * `throughputMode:PAY_PER_REQUEST`
602
638
  #
603
- # `throughputMode:PROVISIONED`
639
+ # * `throughputMode:PROVISIONED`
604
640
  # @return [Types::CapacitySpecificationSummary]
605
641
  #
606
642
  # @!attribute [rw] encryption_specification
@@ -616,13 +652,17 @@ module Aws::Keyspaces
616
652
  # @return [Types::TimeToLive]
617
653
  #
618
654
  # @!attribute [rw] default_time_to_live
619
- # The default Time to Live settings of the specified table.
655
+ # The default Time to Live settings in seconds of the specified table.
620
656
  # @return [Integer]
621
657
  #
622
658
  # @!attribute [rw] comment
623
659
  # The the description of the specified table.
624
660
  # @return [Types::Comment]
625
661
  #
662
+ # @!attribute [rw] client_side_timestamps
663
+ # The client-side timestamps setting of the table.
664
+ # @return [Types::ClientSideTimestamps]
665
+ #
626
666
  # @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/GetTableResponse AWS API Documentation
627
667
  #
628
668
  class GetTableResponse < Struct.new(
@@ -637,7 +677,8 @@ module Aws::Keyspaces
637
677
  :point_in_time_recovery,
638
678
  :ttl,
639
679
  :default_time_to_live,
640
- :comment)
680
+ :comment,
681
+ :client_side_timestamps)
641
682
  SENSITIVE = []
642
683
  include Aws::Structure
643
684
  end
@@ -834,9 +875,9 @@ module Aws::Keyspaces
834
875
  # @!attribute [rw] status
835
876
  # The options are:
836
877
  #
837
- # `ENABLED`
878
+ # * `status=ENABLED`
838
879
  #
839
- # `DISABLED`
880
+ # * `status=DISABLED`
840
881
  # @return [String]
841
882
  #
842
883
  # @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/PointInTimeRecovery AWS API Documentation
@@ -913,10 +954,10 @@ module Aws::Keyspaces
913
954
  # Specifies the read/write throughput capacity mode for the target
914
955
  # table. The options are:
915
956
  #
916
- # `throughputMode:PAY_PER_REQUEST`
957
+ # * `throughputMode:PAY_PER_REQUEST`
917
958
  #
918
- # `throughputMode:PROVISIONED` - Provisioned capacity mode requires
919
- # `readCapacityUnits` and `writeCapacityUnits` as input.
959
+ # * `throughputMode:PROVISIONED` - Provisioned capacity mode requires
960
+ # `readCapacityUnits` and `writeCapacityUnits` as input.
920
961
  #
921
962
  # The default is `throughput_mode:PAY_PER_REQUEST`.
922
963
  #
@@ -932,12 +973,12 @@ module Aws::Keyspaces
932
973
  # Specifies the encryption settings for the target table. You can
933
974
  # choose one of the following KMS key (KMS key):
934
975
  #
935
- # `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
976
+ # * `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
936
977
  #
937
- # `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your
938
- # account and is created, owned, and managed by you. This option
939
- # requires the `kms_key_identifier` of the KMS key in Amazon Resource
940
- # Name (ARN) format as input.
978
+ # * `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your
979
+ # account and is created, owned, and managed by you. This option
980
+ # requires the `kms_key_identifier` of the KMS key in Amazon
981
+ # Resource Name (ARN) format as input.
941
982
  #
942
983
  # The default is `type:AWS_OWNED_KMS_KEY`.
943
984
  #
@@ -953,11 +994,11 @@ module Aws::Keyspaces
953
994
  # Specifies the `pointInTimeRecovery` settings for the target table.
954
995
  # The options are:
955
996
  #
956
- # `ENABLED`
997
+ # * `status=ENABLED`
957
998
  #
958
- # `DISABLED`
999
+ # * `status=DISABLED`
959
1000
  #
960
- # If it's not specified, the default is `DISABLED`.
1001
+ # If it's not specified, the default is `status=DISABLED`.
961
1002
  #
962
1003
  # For more information, see [Point-in-time recovery][1] in the *Amazon
963
1004
  # Keyspaces Developer Guide*.
@@ -1212,10 +1253,10 @@ module Aws::Keyspaces
1212
1253
  # @!attribute [rw] add_columns
1213
1254
  # For each column to be added to the specified table:
1214
1255
  #
1215
- # `name` - The name of the column.
1256
+ # * `name` - The name of the column.
1216
1257
  #
1217
- # `type` - An Amazon Keyspaces data type. For more information, see
1218
- # [Data types][1] in the *Amazon Keyspaces Developer Guide*.
1258
+ # * `type` - An Amazon Keyspaces data type. For more information, see
1259
+ # [Data types][1] in the *Amazon Keyspaces Developer Guide*.
1219
1260
  #
1220
1261
  #
1221
1262
  #
@@ -1226,10 +1267,10 @@ module Aws::Keyspaces
1226
1267
  # Modifies the read/write throughput capacity mode for the table. The
1227
1268
  # options are:
1228
1269
  #
1229
- # `throughputMode:PAY_PER_REQUEST` and
1270
+ # * `throughputMode:PAY_PER_REQUEST` and
1230
1271
  #
1231
- # `throughputMode:PROVISIONED` - Provisioned capacity mode requires
1232
- # `readCapacityUnits` and `writeCapacityUnits` as input.
1272
+ # * `throughputMode:PROVISIONED` - Provisioned capacity mode requires
1273
+ # `readCapacityUnits` and `writeCapacityUnits` as input.
1233
1274
  #
1234
1275
  # The default is `throughput_mode:PAY_PER_REQUEST`.
1235
1276
  #
@@ -1245,12 +1286,12 @@ module Aws::Keyspaces
1245
1286
  # Modifies the encryption settings of the table. You can choose one of
1246
1287
  # the following KMS key (KMS key):
1247
1288
  #
1248
- # `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
1289
+ # * `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
1249
1290
  #
1250
- # `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your
1251
- # account and is created, owned, and managed by you. This option
1252
- # requires the `kms_key_identifier` of the KMS key in Amazon Resource
1253
- # Name (ARN) format as input.
1291
+ # * `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your
1292
+ # account and is created, owned, and managed by you. This option
1293
+ # requires the `kms_key_identifier` of the KMS key in Amazon
1294
+ # Resource Name (ARN) format as input.
1254
1295
  #
1255
1296
  # The default is `AWS_OWNED_KMS_KEY`.
1256
1297
  #
@@ -1266,11 +1307,11 @@ module Aws::Keyspaces
1266
1307
  # Modifies the `pointInTimeRecovery` settings of the table. The
1267
1308
  # options are:
1268
1309
  #
1269
- # `ENABLED`
1310
+ # * `status=ENABLED`
1270
1311
  #
1271
- # `DISABLED`
1312
+ # * `status=DISABLED`
1272
1313
  #
1273
- # If it's not specified, the default is `DISABLED`.
1314
+ # If it's not specified, the default is `status=DISABLED`.
1274
1315
  #
1275
1316
  # For more information, see [Point-in-time recovery][1] in the *Amazon
1276
1317
  # Keyspaces Developer Guide*.
@@ -1284,9 +1325,9 @@ module Aws::Keyspaces
1284
1325
  # Modifies Time to Live custom settings for the table. The options
1285
1326
  # are:
1286
1327
  #
1287
- # `status:enabled`
1328
+ # * `status:enabled`
1288
1329
  #
1289
- # `status:disabled`
1330
+ # * `status:disabled`
1290
1331
  #
1291
1332
  # The default is `status:disabled`. After `ttl` is enabled, you can't
1292
1333
  # disable it for the table.
@@ -1310,6 +1351,19 @@ module Aws::Keyspaces
1310
1351
  # [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_default_ttl
1311
1352
  # @return [Integer]
1312
1353
  #
1354
+ # @!attribute [rw] client_side_timestamps
1355
+ # Enables client-side timestamps for the table. By default, the
1356
+ # setting is disabled. You can enable client-side timestamps with the
1357
+ # following option:
1358
+ #
1359
+ # * `status: "enabled"`
1360
+ #
1361
+ # ^
1362
+ #
1363
+ # Once client-side timestamps are enabled for a table, this setting
1364
+ # cannot be disabled.
1365
+ # @return [Types::ClientSideTimestamps]
1366
+ #
1313
1367
  # @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/UpdateTableRequest AWS API Documentation
1314
1368
  #
1315
1369
  class UpdateTableRequest < Struct.new(
@@ -1320,7 +1374,8 @@ module Aws::Keyspaces
1320
1374
  :encryption_specification,
1321
1375
  :point_in_time_recovery,
1322
1376
  :ttl,
1323
- :default_time_to_live)
1377
+ :default_time_to_live,
1378
+ :client_side_timestamps)
1324
1379
  SENSITIVE = []
1325
1380
  include Aws::Structure
1326
1381
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-keyspaces/customizations'
53
53
  # @!group service
54
54
  module Aws::Keyspaces
55
55
 
56
- GEM_VERSION = '1.5.0'
56
+ GEM_VERSION = '1.7.0'
57
57
 
58
58
  end
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.5.0
4
+ version: 1.7.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: 2023-02-02 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.165.0
22
+ version: 3.174.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement