aws-sdk-keyspaces 1.5.0 → 1.6.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: c3638d8f7de2007ebcde8dde7cde32be09de0ff8eea53768ce169bb77fea3839
4
+ data.tar.gz: 910e697ad4668a1ea50d2b323fd43cbbd0dc4380958520c3938026de807e5c29
5
5
  SHA512:
6
- metadata.gz: 9f93da2dfda98c10076cc7af73a2d3980e3cd238084f3226106de4af08fc8a416f7e9d83d575ae73a0b878e1db307f9eb60d2fc31e235b5cde1ff8f00e6bd7de
7
- data.tar.gz: 65d650cfe86bb2625b02ae1ba356003df90d26d9631638ff41918350115e943fd3b955b0878c9c3222742e8f84fd34f7eebac97ace4807a77dd138ea5d5350db
6
+ metadata.gz: a781cf6b2bfa730e259ca5f7d49ad8dba46aeb6c4b387009eac6723a64ce40b5948b896499bc3dbd5b53257338d6822f41440893e5956713604b39ef74eb231c
7
+ data.tar.gz: afc0d8fa87c85ea8aa3a5030167c08a1db267c4d5c280d3c0e94b7ac36f220f6f9933f3ec137c6d01065c57ce3797bd6734e6a71ed30e6122a56d178344b55f6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.6.0 (2023-03-14)
5
+ ------------------
6
+
7
+ * Feature - Adding support for client-side timestamps
8
+
4
9
  1.5.0 (2023-02-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.6.0
@@ -462,35 +462,35 @@ module Aws::Keyspaces
462
462
  #
463
463
  # For each column to be created:
464
464
  #
465
- # `name` - The name of the column.
465
+ # * `name` - The name of the column.
466
466
  #
467
- # `type` - An Amazon Keyspaces data type. For more information, see
468
- # [Data types][1] in the *Amazon Keyspaces Developer Guide*.
467
+ # * `type` - An Amazon Keyspaces data type. For more information, see
468
+ # [Data types][1] in the *Amazon Keyspaces Developer Guide*.
469
469
  #
470
470
  # The primary key of the table consists of the following columns:
471
471
  #
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.
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
474
+ # partition key portion of the primary key is required and determines
475
+ # how Amazon Keyspaces stores your data.
476
476
  #
477
- # `name` - The name of each partition key column.
477
+ # * `name` - The name of each partition key column.
478
478
  #
479
- # `clusteringKeys` - The optional clustering column portion of your
480
- # primary key determines how the data is clustered and sorted within
481
- # each partition.
479
+ # * `clusteringKeys` - The optional clustering column portion of your
480
+ # primary key determines how the data is clustered and sorted within
481
+ # each partition.
482
482
  #
483
- # `name` - The name of the clustering column.
483
+ # * `name` - The name of the clustering column.
484
484
  #
485
- # `orderBy` - Sets the ascendant (`ASC`) or descendant (`DESC`) order
486
- # modifier.
485
+ # * `orderBy` - Sets the ascendant (`ASC`) or descendant (`DESC`) order
486
+ # modifier.
487
487
  #
488
- # To define a column as static use `staticColumns` - Static columns
489
- # store values that are shared by all rows in the same partition:
488
+ # To define a column as static use `staticColumns` - Static columns
489
+ # store values that are shared by all rows in the same partition:
490
490
  #
491
- # `name` - The name of the column.
491
+ # * `name` - The name of the column.
492
492
  #
493
- # `type` - An Amazon Keyspaces data type.
493
+ # * `type` - An Amazon Keyspaces data type.
494
494
  #
495
495
  #
496
496
  #
@@ -503,10 +503,10 @@ module Aws::Keyspaces
503
503
  # Specifies the read/write throughput capacity mode for the table. The
504
504
  # options are:
505
505
  #
506
- # `throughputMode:PAY_PER_REQUEST` and
506
+ # * `throughputMode:PAY_PER_REQUEST` and
507
507
  #
508
- # `throughputMode:PROVISIONED` - Provisioned capacity mode requires
509
- # `readCapacityUnits` and `writeCapacityUnits` as input.
508
+ # * `throughputMode:PROVISIONED` - Provisioned capacity mode requires
509
+ # `readCapacityUnits` and `writeCapacityUnits` as input.
510
510
  #
511
511
  # The default is `throughput_mode:PAY_PER_REQUEST`.
512
512
  #
@@ -521,12 +521,12 @@ module Aws::Keyspaces
521
521
  # Specifies how the encryption key for encryption at rest is managed for
522
522
  # the table. You can choose one of the following KMS key (KMS key):
523
523
  #
524
- # `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
524
+ # * `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
525
525
  #
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.
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.
530
530
  #
531
531
  # The default is `type:AWS_OWNED_KMS_KEY`.
532
532
  #
@@ -541,11 +541,11 @@ module Aws::Keyspaces
541
541
  # Specifies if `pointInTimeRecovery` is enabled or disabled for the
542
542
  # table. The options are:
543
543
  #
544
- # `ENABLED`
544
+ # * `status=ENABLED`
545
545
  #
546
- # `DISABLED`
546
+ # * `status=DISABLED`
547
547
  #
548
- # If it's not specified, the default is `DISABLED`.
548
+ # If it's not specified, the default is `status=DISABLED`.
549
549
  #
550
550
  # For more information, see [Point-in-time recovery][1] in the *Amazon
551
551
  # Keyspaces Developer Guide*.
@@ -557,9 +557,9 @@ module Aws::Keyspaces
557
557
  # @option params [Types::TimeToLive] :ttl
558
558
  # Enables Time to Live custom settings for the table. The options are:
559
559
  #
560
- # `status:enabled`
560
+ # * `status:enabled`
561
561
  #
562
- # `status:disabled`
562
+ # * `status:disabled`
563
563
  #
564
564
  # The default is `status:disabled`. After `ttl` is enabled, you can't
565
565
  # disable it for the table.
@@ -591,6 +591,18 @@ module Aws::Keyspaces
591
591
  #
592
592
  # [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html
593
593
  #
594
+ # @option params [Types::ClientSideTimestamps] :client_side_timestamps
595
+ # Enables client-side timestamps for the table. By default, the setting
596
+ # is disabled. You can enable client-side timestamps with the following
597
+ # option:
598
+ #
599
+ # * `status: "enabled"`
600
+ #
601
+ # ^
602
+ #
603
+ # Once client-side timestamps are enabled for a table, this setting
604
+ # cannot be disabled.
605
+ #
594
606
  # @return [Types::CreateTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
595
607
  #
596
608
  # * {Types::CreateTableResponse#resource_arn #resource_arn} => String
@@ -649,6 +661,9 @@ module Aws::Keyspaces
649
661
  # value: "TagValue", # required
650
662
  # },
651
663
  # ],
664
+ # client_side_timestamps: {
665
+ # status: "ENABLED", # required, accepts ENABLED
666
+ # },
652
667
  # })
653
668
  #
654
669
  # @example Response structure
@@ -779,6 +794,7 @@ module Aws::Keyspaces
779
794
  # * {Types::GetTableResponse#ttl #ttl} => Types::TimeToLive
780
795
  # * {Types::GetTableResponse#default_time_to_live #default_time_to_live} => Integer
781
796
  # * {Types::GetTableResponse#comment #comment} => Types::Comment
797
+ # * {Types::GetTableResponse#client_side_timestamps #client_side_timestamps} => Types::ClientSideTimestamps
782
798
  #
783
799
  # @example Request syntax with placeholder values
784
800
  #
@@ -815,6 +831,7 @@ module Aws::Keyspaces
815
831
  # resp.ttl.status #=> String, one of "ENABLED"
816
832
  # resp.default_time_to_live #=> Integer
817
833
  # resp.comment.message #=> String
834
+ # resp.client_side_timestamps.status #=> String, one of "ENABLED"
818
835
  #
819
836
  # @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/GetTable AWS API Documentation
820
837
  #
@@ -985,13 +1002,13 @@ module Aws::Keyspaces
985
1002
  #
986
1003
  # You can also overwrite these settings during restore:
987
1004
  #
988
- # Read/write capacity mode
1005
+ # * Read/write capacity mode
989
1006
  #
990
- # Provisioned throughput capacity settings
1007
+ # * Provisioned throughput capacity settings
991
1008
  #
992
- # Point-in-time (PITR) settings
1009
+ # * Point-in-time (PITR) settings
993
1010
  #
994
- # Tags
1011
+ # * Tags
995
1012
  #
996
1013
  # For more information, see [PITR restore settings][2] in the *Amazon
997
1014
  # Keyspaces Developer Guide*.
@@ -999,12 +1016,12 @@ module Aws::Keyspaces
999
1016
  # Note that the following settings are not restored, and you must
1000
1017
  # configure them manually for the new table:
1001
1018
  #
1002
- # Automatic scaling policies (for tables that use provisioned capacity
1003
- # mode)
1019
+ # * Automatic scaling policies (for tables that use provisioned capacity
1020
+ # mode)
1004
1021
  #
1005
- # Identity and Access Management (IAM) policies
1022
+ # * Identity and Access Management (IAM) policies
1006
1023
  #
1007
- # Amazon CloudWatch metrics and alarms
1024
+ # * Amazon CloudWatch metrics and alarms
1008
1025
  #
1009
1026
  #
1010
1027
  #
@@ -1030,10 +1047,10 @@ module Aws::Keyspaces
1030
1047
  # Specifies the read/write throughput capacity mode for the target
1031
1048
  # table. The options are:
1032
1049
  #
1033
- # `throughputMode:PAY_PER_REQUEST`
1050
+ # * `throughputMode:PAY_PER_REQUEST`
1034
1051
  #
1035
- # `throughputMode:PROVISIONED` - Provisioned capacity mode requires
1036
- # `readCapacityUnits` and `writeCapacityUnits` as input.
1052
+ # * `throughputMode:PROVISIONED` - Provisioned capacity mode requires
1053
+ # `readCapacityUnits` and `writeCapacityUnits` as input.
1037
1054
  #
1038
1055
  # The default is `throughput_mode:PAY_PER_REQUEST`.
1039
1056
  #
@@ -1048,12 +1065,12 @@ module Aws::Keyspaces
1048
1065
  # Specifies the encryption settings for the target table. You can choose
1049
1066
  # one of the following KMS key (KMS key):
1050
1067
  #
1051
- # `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
1068
+ # * `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
1052
1069
  #
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.
1070
+ # * `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your account
1071
+ # and is created, owned, and managed by you. This option requires the
1072
+ # `kms_key_identifier` of the KMS key in Amazon Resource Name (ARN)
1073
+ # format as input.
1057
1074
  #
1058
1075
  # The default is `type:AWS_OWNED_KMS_KEY`.
1059
1076
  #
@@ -1068,11 +1085,11 @@ module Aws::Keyspaces
1068
1085
  # Specifies the `pointInTimeRecovery` settings for the target table. The
1069
1086
  # options are:
1070
1087
  #
1071
- # `ENABLED`
1088
+ # * `status=ENABLED`
1072
1089
  #
1073
- # `DISABLED`
1090
+ # * `status=DISABLED`
1074
1091
  #
1075
- # If it's not specified, the default is `DISABLED`.
1092
+ # If it's not specified, the default is `status=DISABLED`.
1076
1093
  #
1077
1094
  # For more information, see [Point-in-time recovery][1] in the *Amazon
1078
1095
  # Keyspaces Developer Guide*.
@@ -1228,10 +1245,10 @@ module Aws::Keyspaces
1228
1245
  # @option params [Array<Types::ColumnDefinition>] :add_columns
1229
1246
  # For each column to be added to the specified table:
1230
1247
  #
1231
- # `name` - The name of the column.
1248
+ # * `name` - The name of the column.
1232
1249
  #
1233
- # `type` - An Amazon Keyspaces data type. For more information, see
1234
- # [Data types][1] in the *Amazon Keyspaces Developer Guide*.
1250
+ # * `type` - An Amazon Keyspaces data type. For more information, see
1251
+ # [Data types][1] in the *Amazon Keyspaces Developer Guide*.
1235
1252
  #
1236
1253
  #
1237
1254
  #
@@ -1241,10 +1258,10 @@ module Aws::Keyspaces
1241
1258
  # Modifies the read/write throughput capacity mode for the table. The
1242
1259
  # options are:
1243
1260
  #
1244
- # `throughputMode:PAY_PER_REQUEST` and
1261
+ # * `throughputMode:PAY_PER_REQUEST` and
1245
1262
  #
1246
- # `throughputMode:PROVISIONED` - Provisioned capacity mode requires
1247
- # `readCapacityUnits` and `writeCapacityUnits` as input.
1263
+ # * `throughputMode:PROVISIONED` - Provisioned capacity mode requires
1264
+ # `readCapacityUnits` and `writeCapacityUnits` as input.
1248
1265
  #
1249
1266
  # The default is `throughput_mode:PAY_PER_REQUEST`.
1250
1267
  #
@@ -1259,12 +1276,12 @@ module Aws::Keyspaces
1259
1276
  # Modifies the encryption settings of the table. You can choose one of
1260
1277
  # the following KMS key (KMS key):
1261
1278
  #
1262
- # `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
1279
+ # * `type:AWS_OWNED_KMS_KEY` - This key is owned by Amazon Keyspaces.
1263
1280
  #
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.
1281
+ # * `type:CUSTOMER_MANAGED_KMS_KEY` - This key is stored in your account
1282
+ # and is created, owned, and managed by you. This option requires the
1283
+ # `kms_key_identifier` of the KMS key in Amazon Resource Name (ARN)
1284
+ # format as input.
1268
1285
  #
1269
1286
  # The default is `AWS_OWNED_KMS_KEY`.
1270
1287
  #
@@ -1279,11 +1296,11 @@ module Aws::Keyspaces
1279
1296
  # Modifies the `pointInTimeRecovery` settings of the table. The options
1280
1297
  # are:
1281
1298
  #
1282
- # `ENABLED`
1299
+ # * `status=ENABLED`
1283
1300
  #
1284
- # `DISABLED`
1301
+ # * `status=DISABLED`
1285
1302
  #
1286
- # If it's not specified, the default is `DISABLED`.
1303
+ # If it's not specified, the default is `status=DISABLED`.
1287
1304
  #
1288
1305
  # For more information, see [Point-in-time recovery][1] in the *Amazon
1289
1306
  # Keyspaces Developer Guide*.
@@ -1295,9 +1312,9 @@ module Aws::Keyspaces
1295
1312
  # @option params [Types::TimeToLive] :ttl
1296
1313
  # Modifies Time to Live custom settings for the table. The options are:
1297
1314
  #
1298
- # `status:enabled`
1315
+ # * `status:enabled`
1299
1316
  #
1300
- # `status:disabled`
1317
+ # * `status:disabled`
1301
1318
  #
1302
1319
  # The default is `status:disabled`. After `ttl` is enabled, you can't
1303
1320
  # disable it for the table.
@@ -1319,6 +1336,18 @@ module Aws::Keyspaces
1319
1336
  #
1320
1337
  # [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_default_ttl
1321
1338
  #
1339
+ # @option params [Types::ClientSideTimestamps] :client_side_timestamps
1340
+ # Enables client-side timestamps for the table. By default, the setting
1341
+ # is disabled. You can enable client-side timestamps with the following
1342
+ # option:
1343
+ #
1344
+ # * `status: "enabled"`
1345
+ #
1346
+ # ^
1347
+ #
1348
+ # Once client-side timestamps are enabled for a table, this setting
1349
+ # cannot be disabled.
1350
+ #
1322
1351
  # @return [Types::UpdateTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1323
1352
  #
1324
1353
  # * {Types::UpdateTableResponse#resource_arn #resource_arn} => String
@@ -1350,6 +1379,9 @@ module Aws::Keyspaces
1350
1379
  # status: "ENABLED", # required, accepts ENABLED
1351
1380
  # },
1352
1381
  # default_time_to_live: 1,
1382
+ # client_side_timestamps: {
1383
+ # status: "ENABLED", # required, accepts ENABLED
1384
+ # },
1353
1385
  # })
1354
1386
  #
1355
1387
  # @example Response structure
@@ -1378,7 +1410,7 @@ module Aws::Keyspaces
1378
1410
  params: params,
1379
1411
  config: config)
1380
1412
  context[:gem_name] = 'aws-sdk-keyspaces'
1381
- context[:gem_version] = '1.5.0'
1413
+ context[:gem_version] = '1.6.0'
1382
1414
  Seahorse::Client::Request.new(handlers, context)
1383
1415
  end
1384
1416
 
@@ -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.6.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.6.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-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core