aws-sdk-keyspaces 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-keyspaces/client.rb +26 -2
- data/lib/aws-sdk-keyspaces/client_api.rb +15 -0
- data/lib/aws-sdk-keyspaces/types.rb +70 -4
- 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: c0e90af81af40d9cbfc4a245f829740ea0643355f16974c436a92e3217f56f9c
|
4
|
+
data.tar.gz: 8d5ff1bf2d5a033b1640eab7ee263e774fc6abd0f91351e4e160e02eb234503a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e45acf04d73e3bf12cd99a74f6d34583e1feaaf30e49cd9d01940edc06cbf6415e263ba392ea9fab1ce9d02844437d89ddcd2522475cce8add2636ebfbdae2d
|
7
|
+
data.tar.gz: 4a0cfe2fdb1e89bf83bec43c713970d0e112978679a08339b8546f36f98daeb85d6268417e82ab5bad04ca3486526e73e681778ceeadbaa7f6fae9a08e4a68e3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.8.0 (2023-06-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for MRR GA launch, and includes multiregion support in create-keyspace, get-keyspace, and list-keyspace.
|
8
|
+
|
4
9
|
1.7.0 (2023-05-31)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.8.0
|
@@ -411,6 +411,18 @@ module Aws::Keyspaces
|
|
411
411
|
#
|
412
412
|
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html
|
413
413
|
#
|
414
|
+
# @option params [Types::ReplicationSpecification] :replication_specification
|
415
|
+
# The replication specification of the keyspace includes:
|
416
|
+
#
|
417
|
+
# * `replicationStrategy` - the required value is `SINGLE_REGION` or
|
418
|
+
# `MULTI_REGION`.
|
419
|
+
#
|
420
|
+
# * `regionList` - if the `replicationStrategy` is `MULTI_REGION`, the
|
421
|
+
# `regionList` requires the current Region and at least one additional
|
422
|
+
# Amazon Web Services Region where the keyspace is going to be
|
423
|
+
# replicated in. The maximum number of supported replication Regions
|
424
|
+
# including the current Region is six.
|
425
|
+
#
|
414
426
|
# @return [Types::CreateKeyspaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
415
427
|
#
|
416
428
|
# * {Types::CreateKeyspaceResponse#resource_arn #resource_arn} => String
|
@@ -425,6 +437,10 @@ module Aws::Keyspaces
|
|
425
437
|
# value: "TagValue", # required
|
426
438
|
# },
|
427
439
|
# ],
|
440
|
+
# replication_specification: {
|
441
|
+
# replication_strategy: "SINGLE_REGION", # required, accepts SINGLE_REGION, MULTI_REGION
|
442
|
+
# region_list: ["region"],
|
443
|
+
# },
|
428
444
|
# })
|
429
445
|
#
|
430
446
|
# @example Response structure
|
@@ -750,6 +766,8 @@ module Aws::Keyspaces
|
|
750
766
|
#
|
751
767
|
# * {Types::GetKeyspaceResponse#keyspace_name #keyspace_name} => String
|
752
768
|
# * {Types::GetKeyspaceResponse#resource_arn #resource_arn} => String
|
769
|
+
# * {Types::GetKeyspaceResponse#replication_strategy #replication_strategy} => String
|
770
|
+
# * {Types::GetKeyspaceResponse#replication_regions #replication_regions} => Array<String>
|
753
771
|
#
|
754
772
|
# @example Request syntax with placeholder values
|
755
773
|
#
|
@@ -761,6 +779,9 @@ module Aws::Keyspaces
|
|
761
779
|
#
|
762
780
|
# resp.keyspace_name #=> String
|
763
781
|
# resp.resource_arn #=> String
|
782
|
+
# resp.replication_strategy #=> String, one of "SINGLE_REGION", "MULTI_REGION"
|
783
|
+
# resp.replication_regions #=> Array
|
784
|
+
# resp.replication_regions[0] #=> String
|
764
785
|
#
|
765
786
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/GetKeyspace AWS API Documentation
|
766
787
|
#
|
@@ -879,6 +900,9 @@ module Aws::Keyspaces
|
|
879
900
|
# resp.keyspaces #=> Array
|
880
901
|
# resp.keyspaces[0].keyspace_name #=> String
|
881
902
|
# resp.keyspaces[0].resource_arn #=> String
|
903
|
+
# resp.keyspaces[0].replication_strategy #=> String, one of "SINGLE_REGION", "MULTI_REGION"
|
904
|
+
# resp.keyspaces[0].replication_regions #=> Array
|
905
|
+
# resp.keyspaces[0].replication_regions[0] #=> String
|
882
906
|
#
|
883
907
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/ListKeyspaces AWS API Documentation
|
884
908
|
#
|
@@ -1171,7 +1195,7 @@ module Aws::Keyspaces
|
|
1171
1195
|
#
|
1172
1196
|
#
|
1173
1197
|
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html
|
1174
|
-
# [2]: https://docs.aws.amazon.com/keyspaces/latest/devguide/security_iam_id-based-policy-examples-tags
|
1198
|
+
# [2]: https://docs.aws.amazon.com/keyspaces/latest/devguide/security_iam_id-based-policy-examples.html#security_iam_id-based-policy-examples-tags
|
1175
1199
|
#
|
1176
1200
|
# @option params [required, String] :resource_arn
|
1177
1201
|
# The Amazon Resource Name (ARN) of the Amazon Keyspaces resource to
|
@@ -1415,7 +1439,7 @@ module Aws::Keyspaces
|
|
1415
1439
|
params: params,
|
1416
1440
|
config: config)
|
1417
1441
|
context[:gem_name] = 'aws-sdk-keyspaces'
|
1418
|
-
context[:gem_version] = '1.
|
1442
|
+
context[:gem_version] = '1.8.0'
|
1419
1443
|
Seahorse::Client::Request.new(handlers, context)
|
1420
1444
|
end
|
1421
1445
|
|
@@ -59,6 +59,8 @@ module Aws::Keyspaces
|
|
59
59
|
PointInTimeRecovery = Shapes::StructureShape.new(name: 'PointInTimeRecovery')
|
60
60
|
PointInTimeRecoveryStatus = Shapes::StringShape.new(name: 'PointInTimeRecoveryStatus')
|
61
61
|
PointInTimeRecoverySummary = Shapes::StructureShape.new(name: 'PointInTimeRecoverySummary')
|
62
|
+
RegionList = Shapes::ListShape.new(name: 'RegionList')
|
63
|
+
ReplicationSpecification = Shapes::StructureShape.new(name: 'ReplicationSpecification')
|
62
64
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
63
65
|
RestoreTableRequest = Shapes::StructureShape.new(name: 'RestoreTableRequest')
|
64
66
|
RestoreTableResponse = Shapes::StructureShape.new(name: 'RestoreTableResponse')
|
@@ -88,6 +90,8 @@ module Aws::Keyspaces
|
|
88
90
|
UpdateTableResponse = Shapes::StructureShape.new(name: 'UpdateTableResponse')
|
89
91
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
90
92
|
kmsKeyARN = Shapes::StringShape.new(name: 'kmsKeyARN')
|
93
|
+
region = Shapes::StringShape.new(name: 'region')
|
94
|
+
rs = Shapes::StringShape.new(name: 'rs')
|
91
95
|
|
92
96
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
93
97
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
@@ -126,6 +130,7 @@ module Aws::Keyspaces
|
|
126
130
|
|
127
131
|
CreateKeyspaceRequest.add_member(:keyspace_name, Shapes::ShapeRef.new(shape: KeyspaceName, required: true, location_name: "keyspaceName"))
|
128
132
|
CreateKeyspaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
133
|
+
CreateKeyspaceRequest.add_member(:replication_specification, Shapes::ShapeRef.new(shape: ReplicationSpecification, location_name: "replicationSpecification"))
|
129
134
|
CreateKeyspaceRequest.struct_class = Types::CreateKeyspaceRequest
|
130
135
|
|
131
136
|
CreateKeyspaceResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "resourceArn"))
|
@@ -167,6 +172,8 @@ module Aws::Keyspaces
|
|
167
172
|
|
168
173
|
GetKeyspaceResponse.add_member(:keyspace_name, Shapes::ShapeRef.new(shape: KeyspaceName, required: true, location_name: "keyspaceName"))
|
169
174
|
GetKeyspaceResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "resourceArn"))
|
175
|
+
GetKeyspaceResponse.add_member(:replication_strategy, Shapes::ShapeRef.new(shape: rs, required: true, location_name: "replicationStrategy"))
|
176
|
+
GetKeyspaceResponse.add_member(:replication_regions, Shapes::ShapeRef.new(shape: RegionList, location_name: "replicationRegions"))
|
170
177
|
GetKeyspaceResponse.struct_class = Types::GetKeyspaceResponse
|
171
178
|
|
172
179
|
GetTableRequest.add_member(:keyspace_name, Shapes::ShapeRef.new(shape: KeyspaceName, required: true, location_name: "keyspaceName"))
|
@@ -193,6 +200,8 @@ module Aws::Keyspaces
|
|
193
200
|
|
194
201
|
KeyspaceSummary.add_member(:keyspace_name, Shapes::ShapeRef.new(shape: KeyspaceName, required: true, location_name: "keyspaceName"))
|
195
202
|
KeyspaceSummary.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "resourceArn"))
|
203
|
+
KeyspaceSummary.add_member(:replication_strategy, Shapes::ShapeRef.new(shape: rs, required: true, location_name: "replicationStrategy"))
|
204
|
+
KeyspaceSummary.add_member(:replication_regions, Shapes::ShapeRef.new(shape: RegionList, location_name: "replicationRegions"))
|
196
205
|
KeyspaceSummary.struct_class = Types::KeyspaceSummary
|
197
206
|
|
198
207
|
KeyspaceSummaryList.member = Shapes::ShapeRef.new(shape: KeyspaceSummary)
|
@@ -235,6 +244,12 @@ module Aws::Keyspaces
|
|
235
244
|
PointInTimeRecoverySummary.add_member(:earliest_restorable_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "earliestRestorableTimestamp"))
|
236
245
|
PointInTimeRecoverySummary.struct_class = Types::PointInTimeRecoverySummary
|
237
246
|
|
247
|
+
RegionList.member = Shapes::ShapeRef.new(shape: region)
|
248
|
+
|
249
|
+
ReplicationSpecification.add_member(:replication_strategy, Shapes::ShapeRef.new(shape: rs, required: true, location_name: "replicationStrategy"))
|
250
|
+
ReplicationSpecification.add_member(:region_list, Shapes::ShapeRef.new(shape: RegionList, location_name: "regionList"))
|
251
|
+
ReplicationSpecification.struct_class = Types::ReplicationSpecification
|
252
|
+
|
238
253
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
239
254
|
ResourceNotFoundException.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "resourceArn"))
|
240
255
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
@@ -249,11 +249,25 @@ module Aws::Keyspaces
|
|
249
249
|
# [1]: https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html
|
250
250
|
# @return [Array<Types::Tag>]
|
251
251
|
#
|
252
|
+
# @!attribute [rw] replication_specification
|
253
|
+
# The replication specification of the keyspace includes:
|
254
|
+
#
|
255
|
+
# * `replicationStrategy` - the required value is `SINGLE_REGION` or
|
256
|
+
# `MULTI_REGION`.
|
257
|
+
#
|
258
|
+
# * `regionList` - if the `replicationStrategy` is `MULTI_REGION`, the
|
259
|
+
# `regionList` requires the current Region and at least one
|
260
|
+
# additional Amazon Web Services Region where the keyspace is going
|
261
|
+
# to be replicated in. The maximum number of supported replication
|
262
|
+
# Regions including the current Region is six.
|
263
|
+
# @return [Types::ReplicationSpecification]
|
264
|
+
#
|
252
265
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/CreateKeyspaceRequest AWS API Documentation
|
253
266
|
#
|
254
267
|
class CreateKeyspaceRequest < Struct.new(
|
255
268
|
:keyspace_name,
|
256
|
-
:tags
|
269
|
+
:tags,
|
270
|
+
:replication_specification)
|
257
271
|
SENSITIVE = []
|
258
272
|
include Aws::Structure
|
259
273
|
end
|
@@ -577,14 +591,26 @@ module Aws::Keyspaces
|
|
577
591
|
# @return [String]
|
578
592
|
#
|
579
593
|
# @!attribute [rw] resource_arn
|
580
|
-
#
|
594
|
+
# Returns the ARN of the keyspace.
|
595
|
+
# @return [String]
|
596
|
+
#
|
597
|
+
# @!attribute [rw] replication_strategy
|
598
|
+
# Returns the replication strategy of the keyspace. The options are
|
599
|
+
# `SINGLE_REGION` or `MULTI_REGION`.
|
581
600
|
# @return [String]
|
582
601
|
#
|
602
|
+
# @!attribute [rw] replication_regions
|
603
|
+
# If the `replicationStrategy` of the keyspace is `MULTI_REGION`, a
|
604
|
+
# list of replication Regions is returned.
|
605
|
+
# @return [Array<String>]
|
606
|
+
#
|
583
607
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/GetKeyspaceResponse AWS API Documentation
|
584
608
|
#
|
585
609
|
class GetKeyspaceResponse < Struct.new(
|
586
610
|
:keyspace_name,
|
587
|
-
:resource_arn
|
611
|
+
:resource_arn,
|
612
|
+
:replication_strategy,
|
613
|
+
:replication_regions)
|
588
614
|
SENSITIVE = []
|
589
615
|
include Aws::Structure
|
590
616
|
end
|
@@ -708,11 +734,24 @@ module Aws::Keyspaces
|
|
708
734
|
# Resource Name (ARN).
|
709
735
|
# @return [String]
|
710
736
|
#
|
737
|
+
# @!attribute [rw] replication_strategy
|
738
|
+
# This property specifies if a keyspace is a single Region keyspace or
|
739
|
+
# a multi-Region keyspace. The available values are `SINGLE_REGION` or
|
740
|
+
# `MULTI_REGION`.
|
741
|
+
# @return [String]
|
742
|
+
#
|
743
|
+
# @!attribute [rw] replication_regions
|
744
|
+
# If the `replicationStrategy` of the keyspace is `MULTI_REGION`, a
|
745
|
+
# list of replication Regions is returned.
|
746
|
+
# @return [Array<String>]
|
747
|
+
#
|
711
748
|
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/KeyspaceSummary AWS API Documentation
|
712
749
|
#
|
713
750
|
class KeyspaceSummary < Struct.new(
|
714
751
|
:keyspace_name,
|
715
|
-
:resource_arn
|
752
|
+
:resource_arn,
|
753
|
+
:replication_strategy,
|
754
|
+
:replication_regions)
|
716
755
|
SENSITIVE = []
|
717
756
|
include Aws::Structure
|
718
757
|
end
|
@@ -909,6 +948,33 @@ module Aws::Keyspaces
|
|
909
948
|
include Aws::Structure
|
910
949
|
end
|
911
950
|
|
951
|
+
# The replication specification of the keyspace includes:
|
952
|
+
#
|
953
|
+
# * `regionList` - up to six Amazon Web Services Regions where the
|
954
|
+
# keyspace is replicated in.
|
955
|
+
#
|
956
|
+
# * `replicationStrategy` - the required value is `SINGLE_REGION` or
|
957
|
+
# `MULTI_REGION`.
|
958
|
+
#
|
959
|
+
# @!attribute [rw] replication_strategy
|
960
|
+
# The `replicationStrategy` of a keyspace, the required value is
|
961
|
+
# `SINGLE_REGION` or `MULTI_REGION`.
|
962
|
+
# @return [String]
|
963
|
+
#
|
964
|
+
# @!attribute [rw] region_list
|
965
|
+
# The `regionList` can contain up to six Amazon Web Services Regions
|
966
|
+
# where the keyspace is replicated in.
|
967
|
+
# @return [Array<String>]
|
968
|
+
#
|
969
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/ReplicationSpecification AWS API Documentation
|
970
|
+
#
|
971
|
+
class ReplicationSpecification < Struct.new(
|
972
|
+
:replication_strategy,
|
973
|
+
:region_list)
|
974
|
+
SENSITIVE = []
|
975
|
+
include Aws::Structure
|
976
|
+
end
|
977
|
+
|
912
978
|
# The operation tried to access a keyspace or table that doesn't exist.
|
913
979
|
# The resource might not be specified correctly, or its status might not
|
914
980
|
# be `ACTIVE`.
|
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.8.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-05
|
11
|
+
date: 2023-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|