aws-sdk-keyspaces 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-keyspaces/client.rb +1 -1
- data/lib/aws-sdk-keyspaces/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-keyspaces/types.rb +0 -315
- data/lib/aws-sdk-keyspaces.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f410e85c963337d3f272ebdd0b02d0180dd1fdefdc3c4d3e5da14ee48b3d559b
|
4
|
+
data.tar.gz: 48f737a228910caead5132217653bcd662091e04ed7c4e82202d136cac523cb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fc0b10dd25dcdce5b490e1455d9189334820da2415188a0fd0d7a9b070d83d209a1d3971f5aa5921cd731813d927c73d0838989af9afafc3e5c01941ca9d231
|
7
|
+
data.tar.gz: e5aa4eaccc5eb75dae6d2327d34f558b2935ea1a732aee26dc071beb015c6a5e62e0c41d5bc3b8e66dadeb72d365d899fa145353165d4be85ff93e6c434a285c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.4.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
4
11
|
1.3.0 (2022-10-25)
|
5
12
|
------------------
|
6
13
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.4.0
|
@@ -1378,7 +1378,7 @@ module Aws::Keyspaces
|
|
1378
1378
|
params: params,
|
1379
1379
|
config: config)
|
1380
1380
|
context[:gem_name] = 'aws-sdk-keyspaces'
|
1381
|
-
context[:gem_version] = '1.
|
1381
|
+
context[:gem_version] = '1.4.0'
|
1382
1382
|
Seahorse::Client::Request.new(handlers, context)
|
1383
1383
|
end
|
1384
1384
|
|
@@ -9,103 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::Keyspaces
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(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: {})
|
26
|
+
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"
|
32
|
+
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
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cassandra-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cassandra.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://cassandra.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVG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IsInJ1bGVzIjpbeyJjb25kaXRpb25z
|
95
|
-
IjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMiLCJhcmd2IjpbdHJ1ZSx7ImZuIjoi
|
96
|
-
Z2V0QXR0ciIsImFyZ3YiOlt7InJlZiI6IlBhcnRpdGlvblJlc3VsdCJ9LCJz
|
97
|
-
dXBwb3J0c0R1YWxTdGFjayJdfV19XSwidHlwZSI6InRyZWUiLCJydWxlcyI6
|
98
|
-
W3siY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8v
|
99
|
-
Y2Fzc2FuZHJhLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNr
|
100
|
-
RG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5
|
101
|
-
cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJE
|
102
|
-
dWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBu
|
103
|
-
b3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29u
|
104
|
-
ZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vY2Fzc2Fu
|
105
|
-
ZHJhLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInBy
|
106
|
-
b3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9
|
107
|
-
XX1dfQ==
|
108
|
-
|
109
|
-
JSON
|
110
50
|
end
|
111
51
|
end
|
@@ -41,15 +41,6 @@ module Aws::Keyspaces
|
|
41
41
|
#
|
42
42
|
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html
|
43
43
|
#
|
44
|
-
# @note When making an API call, you may pass CapacitySpecification
|
45
|
-
# data as a hash:
|
46
|
-
#
|
47
|
-
# {
|
48
|
-
# throughput_mode: "PAY_PER_REQUEST", # required, accepts PAY_PER_REQUEST, PROVISIONED
|
49
|
-
# read_capacity_units: 1,
|
50
|
-
# write_capacity_units: 1,
|
51
|
-
# }
|
52
|
-
#
|
53
44
|
# @!attribute [rw] throughput_mode
|
54
45
|
# The read/write throughput capacity mode for a table. The options
|
55
46
|
# are:
|
@@ -150,14 +141,6 @@ module Aws::Keyspaces
|
|
150
141
|
# The optional clustering column portion of your primary key determines
|
151
142
|
# how the data is clustered and sorted within each partition.
|
152
143
|
#
|
153
|
-
# @note When making an API call, you may pass ClusteringKey
|
154
|
-
# data as a hash:
|
155
|
-
#
|
156
|
-
# {
|
157
|
-
# name: "GenericString", # required
|
158
|
-
# order_by: "ASC", # required, accepts ASC, DESC
|
159
|
-
# }
|
160
|
-
#
|
161
144
|
# @!attribute [rw] name
|
162
145
|
# The name(s) of the clustering column(s).
|
163
146
|
# @return [String]
|
@@ -177,14 +160,6 @@ module Aws::Keyspaces
|
|
177
160
|
|
178
161
|
# The names and data types of regular columns.
|
179
162
|
#
|
180
|
-
# @note When making an API call, you may pass ColumnDefinition
|
181
|
-
# data as a hash:
|
182
|
-
#
|
183
|
-
# {
|
184
|
-
# name: "GenericString", # required
|
185
|
-
# type: "GenericString", # required
|
186
|
-
# }
|
187
|
-
#
|
188
163
|
# @!attribute [rw] name
|
189
164
|
# The name of the column.
|
190
165
|
# @return [String]
|
@@ -209,13 +184,6 @@ module Aws::Keyspaces
|
|
209
184
|
|
210
185
|
# An optional comment that describes the table.
|
211
186
|
#
|
212
|
-
# @note When making an API call, you may pass Comment
|
213
|
-
# data as a hash:
|
214
|
-
#
|
215
|
-
# {
|
216
|
-
# message: "String", # required
|
217
|
-
# }
|
218
|
-
#
|
219
187
|
# @!attribute [rw] message
|
220
188
|
# An optional description of the table.
|
221
189
|
# @return [String]
|
@@ -244,19 +212,6 @@ module Aws::Keyspaces
|
|
244
212
|
include Aws::Structure
|
245
213
|
end
|
246
214
|
|
247
|
-
# @note When making an API call, you may pass CreateKeyspaceRequest
|
248
|
-
# data as a hash:
|
249
|
-
#
|
250
|
-
# {
|
251
|
-
# keyspace_name: "KeyspaceName", # required
|
252
|
-
# tags: [
|
253
|
-
# {
|
254
|
-
# key: "TagKey", # required
|
255
|
-
# value: "TagValue", # required
|
256
|
-
# },
|
257
|
-
# ],
|
258
|
-
# }
|
259
|
-
#
|
260
215
|
# @!attribute [rw] keyspace_name
|
261
216
|
# The name of the keyspace to be created.
|
262
217
|
# @return [String]
|
@@ -294,63 +249,6 @@ module Aws::Keyspaces
|
|
294
249
|
include Aws::Structure
|
295
250
|
end
|
296
251
|
|
297
|
-
# @note When making an API call, you may pass CreateTableRequest
|
298
|
-
# data as a hash:
|
299
|
-
#
|
300
|
-
# {
|
301
|
-
# keyspace_name: "KeyspaceName", # required
|
302
|
-
# table_name: "TableName", # required
|
303
|
-
# schema_definition: { # required
|
304
|
-
# all_columns: [ # required
|
305
|
-
# {
|
306
|
-
# name: "GenericString", # required
|
307
|
-
# type: "GenericString", # required
|
308
|
-
# },
|
309
|
-
# ],
|
310
|
-
# partition_keys: [ # required
|
311
|
-
# {
|
312
|
-
# name: "GenericString", # required
|
313
|
-
# },
|
314
|
-
# ],
|
315
|
-
# clustering_keys: [
|
316
|
-
# {
|
317
|
-
# name: "GenericString", # required
|
318
|
-
# order_by: "ASC", # required, accepts ASC, DESC
|
319
|
-
# },
|
320
|
-
# ],
|
321
|
-
# static_columns: [
|
322
|
-
# {
|
323
|
-
# name: "GenericString", # required
|
324
|
-
# },
|
325
|
-
# ],
|
326
|
-
# },
|
327
|
-
# comment: {
|
328
|
-
# message: "String", # required
|
329
|
-
# },
|
330
|
-
# capacity_specification: {
|
331
|
-
# throughput_mode: "PAY_PER_REQUEST", # required, accepts PAY_PER_REQUEST, PROVISIONED
|
332
|
-
# read_capacity_units: 1,
|
333
|
-
# write_capacity_units: 1,
|
334
|
-
# },
|
335
|
-
# encryption_specification: {
|
336
|
-
# type: "CUSTOMER_MANAGED_KMS_KEY", # required, accepts CUSTOMER_MANAGED_KMS_KEY, AWS_OWNED_KMS_KEY
|
337
|
-
# kms_key_identifier: "kmsKeyARN",
|
338
|
-
# },
|
339
|
-
# point_in_time_recovery: {
|
340
|
-
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
341
|
-
# },
|
342
|
-
# ttl: {
|
343
|
-
# status: "ENABLED", # required, accepts ENABLED
|
344
|
-
# },
|
345
|
-
# default_time_to_live: 1,
|
346
|
-
# tags: [
|
347
|
-
# {
|
348
|
-
# key: "TagKey", # required
|
349
|
-
# value: "TagValue", # required
|
350
|
-
# },
|
351
|
-
# ],
|
352
|
-
# }
|
353
|
-
#
|
354
252
|
# @!attribute [rw] keyspace_name
|
355
253
|
# The name of the keyspace that the table is going to be created in.
|
356
254
|
# @return [String]
|
@@ -532,13 +430,6 @@ module Aws::Keyspaces
|
|
532
430
|
include Aws::Structure
|
533
431
|
end
|
534
432
|
|
535
|
-
# @note When making an API call, you may pass DeleteKeyspaceRequest
|
536
|
-
# data as a hash:
|
537
|
-
#
|
538
|
-
# {
|
539
|
-
# keyspace_name: "KeyspaceName", # required
|
540
|
-
# }
|
541
|
-
#
|
542
433
|
# @!attribute [rw] keyspace_name
|
543
434
|
# The name of the keyspace to be deleted.
|
544
435
|
# @return [String]
|
@@ -555,14 +446,6 @@ module Aws::Keyspaces
|
|
555
446
|
#
|
556
447
|
class DeleteKeyspaceResponse < Aws::EmptyStructure; end
|
557
448
|
|
558
|
-
# @note When making an API call, you may pass DeleteTableRequest
|
559
|
-
# data as a hash:
|
560
|
-
#
|
561
|
-
# {
|
562
|
-
# keyspace_name: "KeyspaceName", # required
|
563
|
-
# table_name: "TableName", # required
|
564
|
-
# }
|
565
|
-
#
|
566
449
|
# @!attribute [rw] keyspace_name
|
567
450
|
# The name of the keyspace of the to be deleted table.
|
568
451
|
# @return [String]
|
@@ -606,14 +489,6 @@ module Aws::Keyspaces
|
|
606
489
|
#
|
607
490
|
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html
|
608
491
|
#
|
609
|
-
# @note When making an API call, you may pass EncryptionSpecification
|
610
|
-
# data as a hash:
|
611
|
-
#
|
612
|
-
# {
|
613
|
-
# type: "CUSTOMER_MANAGED_KMS_KEY", # required, accepts CUSTOMER_MANAGED_KMS_KEY, AWS_OWNED_KMS_KEY
|
614
|
-
# kms_key_identifier: "kmsKeyARN",
|
615
|
-
# }
|
616
|
-
#
|
617
492
|
# @!attribute [rw] type
|
618
493
|
# The encryption option specified for the table. You can choose one of
|
619
494
|
# the following KMS keys (KMS keys):
|
@@ -649,13 +524,6 @@ module Aws::Keyspaces
|
|
649
524
|
include Aws::Structure
|
650
525
|
end
|
651
526
|
|
652
|
-
# @note When making an API call, you may pass GetKeyspaceRequest
|
653
|
-
# data as a hash:
|
654
|
-
#
|
655
|
-
# {
|
656
|
-
# keyspace_name: "KeyspaceName", # required
|
657
|
-
# }
|
658
|
-
#
|
659
527
|
# @!attribute [rw] keyspace_name
|
660
528
|
# The name of the keyspace.
|
661
529
|
# @return [String]
|
@@ -685,14 +553,6 @@ module Aws::Keyspaces
|
|
685
553
|
include Aws::Structure
|
686
554
|
end
|
687
555
|
|
688
|
-
# @note When making an API call, you may pass GetTableRequest
|
689
|
-
# data as a hash:
|
690
|
-
#
|
691
|
-
# {
|
692
|
-
# keyspace_name: "KeyspaceName", # required
|
693
|
-
# table_name: "TableName", # required
|
694
|
-
# }
|
695
|
-
#
|
696
556
|
# @!attribute [rw] keyspace_name
|
697
557
|
# The name of the keyspace that the table is stored in.
|
698
558
|
# @return [String]
|
@@ -816,14 +676,6 @@ module Aws::Keyspaces
|
|
816
676
|
include Aws::Structure
|
817
677
|
end
|
818
678
|
|
819
|
-
# @note When making an API call, you may pass ListKeyspacesRequest
|
820
|
-
# data as a hash:
|
821
|
-
#
|
822
|
-
# {
|
823
|
-
# next_token: "NextToken",
|
824
|
-
# max_results: 1,
|
825
|
-
# }
|
826
|
-
#
|
827
679
|
# @!attribute [rw] next_token
|
828
680
|
# The pagination token. To resume pagination, provide the `NextToken`
|
829
681
|
# value as argument of a subsequent API invocation.
|
@@ -863,15 +715,6 @@ module Aws::Keyspaces
|
|
863
715
|
include Aws::Structure
|
864
716
|
end
|
865
717
|
|
866
|
-
# @note When making an API call, you may pass ListTablesRequest
|
867
|
-
# data as a hash:
|
868
|
-
#
|
869
|
-
# {
|
870
|
-
# next_token: "NextToken",
|
871
|
-
# max_results: 1,
|
872
|
-
# keyspace_name: "KeyspaceName", # required
|
873
|
-
# }
|
874
|
-
#
|
875
718
|
# @!attribute [rw] next_token
|
876
719
|
# The pagination token. To resume pagination, provide the `NextToken`
|
877
720
|
# value as an argument of a subsequent API invocation.
|
@@ -916,15 +759,6 @@ module Aws::Keyspaces
|
|
916
759
|
include Aws::Structure
|
917
760
|
end
|
918
761
|
|
919
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
920
|
-
# data as a hash:
|
921
|
-
#
|
922
|
-
# {
|
923
|
-
# resource_arn: "ARN", # required
|
924
|
-
# next_token: "NextToken",
|
925
|
-
# max_results: 1,
|
926
|
-
# }
|
927
|
-
#
|
928
762
|
# @!attribute [rw] resource_arn
|
929
763
|
# The Amazon Resource Name (ARN) of the Amazon Keyspaces resource.
|
930
764
|
# @return [String]
|
@@ -974,13 +808,6 @@ module Aws::Keyspaces
|
|
974
808
|
# be a single column, or it can be a compound value composed of two or
|
975
809
|
# more columns.
|
976
810
|
#
|
977
|
-
# @note When making an API call, you may pass PartitionKey
|
978
|
-
# data as a hash:
|
979
|
-
#
|
980
|
-
# {
|
981
|
-
# name: "GenericString", # required
|
982
|
-
# }
|
983
|
-
#
|
984
811
|
# @!attribute [rw] name
|
985
812
|
# The name(s) of the partition key column(s).
|
986
813
|
# @return [String]
|
@@ -1004,13 +831,6 @@ module Aws::Keyspaces
|
|
1004
831
|
#
|
1005
832
|
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html
|
1006
833
|
#
|
1007
|
-
# @note When making an API call, you may pass PointInTimeRecovery
|
1008
|
-
# data as a hash:
|
1009
|
-
#
|
1010
|
-
# {
|
1011
|
-
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
1012
|
-
# }
|
1013
|
-
#
|
1014
834
|
# @!attribute [rw] status
|
1015
835
|
# The options are:
|
1016
836
|
#
|
@@ -1069,35 +889,6 @@ module Aws::Keyspaces
|
|
1069
889
|
include Aws::Structure
|
1070
890
|
end
|
1071
891
|
|
1072
|
-
# @note When making an API call, you may pass RestoreTableRequest
|
1073
|
-
# data as a hash:
|
1074
|
-
#
|
1075
|
-
# {
|
1076
|
-
# source_keyspace_name: "KeyspaceName", # required
|
1077
|
-
# source_table_name: "TableName", # required
|
1078
|
-
# target_keyspace_name: "KeyspaceName", # required
|
1079
|
-
# target_table_name: "TableName", # required
|
1080
|
-
# restore_timestamp: Time.now,
|
1081
|
-
# capacity_specification_override: {
|
1082
|
-
# throughput_mode: "PAY_PER_REQUEST", # required, accepts PAY_PER_REQUEST, PROVISIONED
|
1083
|
-
# read_capacity_units: 1,
|
1084
|
-
# write_capacity_units: 1,
|
1085
|
-
# },
|
1086
|
-
# encryption_specification_override: {
|
1087
|
-
# type: "CUSTOMER_MANAGED_KMS_KEY", # required, accepts CUSTOMER_MANAGED_KMS_KEY, AWS_OWNED_KMS_KEY
|
1088
|
-
# kms_key_identifier: "kmsKeyARN",
|
1089
|
-
# },
|
1090
|
-
# point_in_time_recovery_override: {
|
1091
|
-
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
1092
|
-
# },
|
1093
|
-
# tags_override: [
|
1094
|
-
# {
|
1095
|
-
# key: "TagKey", # required
|
1096
|
-
# value: "TagValue", # required
|
1097
|
-
# },
|
1098
|
-
# ],
|
1099
|
-
# }
|
1100
|
-
#
|
1101
892
|
# @!attribute [rw] source_keyspace_name
|
1102
893
|
# The keyspace name of the source table.
|
1103
894
|
# @return [String]
|
@@ -1217,34 +1008,6 @@ module Aws::Keyspaces
|
|
1217
1008
|
|
1218
1009
|
# Describes the schema of the table.
|
1219
1010
|
#
|
1220
|
-
# @note When making an API call, you may pass SchemaDefinition
|
1221
|
-
# data as a hash:
|
1222
|
-
#
|
1223
|
-
# {
|
1224
|
-
# all_columns: [ # required
|
1225
|
-
# {
|
1226
|
-
# name: "GenericString", # required
|
1227
|
-
# type: "GenericString", # required
|
1228
|
-
# },
|
1229
|
-
# ],
|
1230
|
-
# partition_keys: [ # required
|
1231
|
-
# {
|
1232
|
-
# name: "GenericString", # required
|
1233
|
-
# },
|
1234
|
-
# ],
|
1235
|
-
# clustering_keys: [
|
1236
|
-
# {
|
1237
|
-
# name: "GenericString", # required
|
1238
|
-
# order_by: "ASC", # required, accepts ASC, DESC
|
1239
|
-
# },
|
1240
|
-
# ],
|
1241
|
-
# static_columns: [
|
1242
|
-
# {
|
1243
|
-
# name: "GenericString", # required
|
1244
|
-
# },
|
1245
|
-
# ],
|
1246
|
-
# }
|
1247
|
-
#
|
1248
1011
|
# @!attribute [rw] all_columns
|
1249
1012
|
# The regular columns of the table.
|
1250
1013
|
# @return [Array<Types::ColumnDefinition>]
|
@@ -1295,13 +1058,6 @@ module Aws::Keyspaces
|
|
1295
1058
|
# The static columns of the table. Static columns store values that are
|
1296
1059
|
# shared by all rows in the same partition.
|
1297
1060
|
#
|
1298
|
-
# @note When making an API call, you may pass StaticColumn
|
1299
|
-
# data as a hash:
|
1300
|
-
#
|
1301
|
-
# {
|
1302
|
-
# name: "GenericString", # required
|
1303
|
-
# }
|
1304
|
-
#
|
1305
1061
|
# @!attribute [rw] name
|
1306
1062
|
# The name of the static column.
|
1307
1063
|
# @return [String]
|
@@ -1357,14 +1113,6 @@ module Aws::Keyspaces
|
|
1357
1113
|
#
|
1358
1114
|
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html
|
1359
1115
|
#
|
1360
|
-
# @note When making an API call, you may pass Tag
|
1361
|
-
# data as a hash:
|
1362
|
-
#
|
1363
|
-
# {
|
1364
|
-
# key: "TagKey", # required
|
1365
|
-
# value: "TagValue", # required
|
1366
|
-
# }
|
1367
|
-
#
|
1368
1116
|
# @!attribute [rw] key
|
1369
1117
|
# The key of the tag. Tag keys are case sensitive. Each Amazon
|
1370
1118
|
# Keyspaces resource can only have up to one tag with the same key. If
|
@@ -1385,19 +1133,6 @@ module Aws::Keyspaces
|
|
1385
1133
|
include Aws::Structure
|
1386
1134
|
end
|
1387
1135
|
|
1388
|
-
# @note When making an API call, you may pass TagResourceRequest
|
1389
|
-
# data as a hash:
|
1390
|
-
#
|
1391
|
-
# {
|
1392
|
-
# resource_arn: "ARN", # required
|
1393
|
-
# tags: [ # required
|
1394
|
-
# {
|
1395
|
-
# key: "TagKey", # required
|
1396
|
-
# value: "TagValue", # required
|
1397
|
-
# },
|
1398
|
-
# ],
|
1399
|
-
# }
|
1400
|
-
#
|
1401
1136
|
# @!attribute [rw] resource_arn
|
1402
1137
|
# The Amazon Resource Name (ARN) of the Amazon Keyspaces resource to
|
1403
1138
|
# which to add tags.
|
@@ -1430,13 +1165,6 @@ module Aws::Keyspaces
|
|
1430
1165
|
#
|
1431
1166
|
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_enabling
|
1432
1167
|
#
|
1433
|
-
# @note When making an API call, you may pass TimeToLive
|
1434
|
-
# data as a hash:
|
1435
|
-
#
|
1436
|
-
# {
|
1437
|
-
# status: "ENABLED", # required, accepts ENABLED
|
1438
|
-
# }
|
1439
|
-
#
|
1440
1168
|
# @!attribute [rw] status
|
1441
1169
|
# Shows how to enable custom Time to Live (TTL) settings for the
|
1442
1170
|
# specified table.
|
@@ -1450,19 +1178,6 @@ module Aws::Keyspaces
|
|
1450
1178
|
include Aws::Structure
|
1451
1179
|
end
|
1452
1180
|
|
1453
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
1454
|
-
# data as a hash:
|
1455
|
-
#
|
1456
|
-
# {
|
1457
|
-
# resource_arn: "ARN", # required
|
1458
|
-
# tags: [ # required
|
1459
|
-
# {
|
1460
|
-
# key: "TagKey", # required
|
1461
|
-
# value: "TagValue", # required
|
1462
|
-
# },
|
1463
|
-
# ],
|
1464
|
-
# }
|
1465
|
-
#
|
1466
1181
|
# @!attribute [rw] resource_arn
|
1467
1182
|
# The Amazon Keyspaces resource that the tags will be removed from.
|
1468
1183
|
# This value is an Amazon Resource Name (ARN).
|
@@ -1486,36 +1201,6 @@ module Aws::Keyspaces
|
|
1486
1201
|
#
|
1487
1202
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
1488
1203
|
|
1489
|
-
# @note When making an API call, you may pass UpdateTableRequest
|
1490
|
-
# data as a hash:
|
1491
|
-
#
|
1492
|
-
# {
|
1493
|
-
# keyspace_name: "KeyspaceName", # required
|
1494
|
-
# table_name: "TableName", # required
|
1495
|
-
# add_columns: [
|
1496
|
-
# {
|
1497
|
-
# name: "GenericString", # required
|
1498
|
-
# type: "GenericString", # required
|
1499
|
-
# },
|
1500
|
-
# ],
|
1501
|
-
# capacity_specification: {
|
1502
|
-
# throughput_mode: "PAY_PER_REQUEST", # required, accepts PAY_PER_REQUEST, PROVISIONED
|
1503
|
-
# read_capacity_units: 1,
|
1504
|
-
# write_capacity_units: 1,
|
1505
|
-
# },
|
1506
|
-
# encryption_specification: {
|
1507
|
-
# type: "CUSTOMER_MANAGED_KMS_KEY", # required, accepts CUSTOMER_MANAGED_KMS_KEY, AWS_OWNED_KMS_KEY
|
1508
|
-
# kms_key_identifier: "kmsKeyARN",
|
1509
|
-
# },
|
1510
|
-
# point_in_time_recovery: {
|
1511
|
-
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
1512
|
-
# },
|
1513
|
-
# ttl: {
|
1514
|
-
# status: "ENABLED", # required, accepts ENABLED
|
1515
|
-
# },
|
1516
|
-
# default_time_to_live: 1,
|
1517
|
-
# }
|
1518
|
-
#
|
1519
1204
|
# @!attribute [rw] keyspace_name
|
1520
1205
|
# The name of the keyspace the specified table is stored in.
|
1521
1206
|
# @return [String]
|
data/lib/aws-sdk-keyspaces.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-keyspaces
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.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:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|