aws-sdk-memorydb 1.38.0 → 1.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-memorydb/client.rb +347 -39
- data/lib/aws-sdk-memorydb/client_api.rb +181 -0
- data/lib/aws-sdk-memorydb/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-memorydb/endpoints.rb +2 -416
- data/lib/aws-sdk-memorydb/errors.rb +44 -0
- data/lib/aws-sdk-memorydb/plugins/endpoints.rb +1 -82
- data/lib/aws-sdk-memorydb/types.rb +410 -51
- data/lib/aws-sdk-memorydb.rb +1 -1
- data/sig/client.rbs +78 -0
- data/sig/errors.rbs +8 -0
- data/sig/types.rbs +109 -0
- metadata +4 -4
data/lib/aws-sdk-memorydb.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -134,6 +134,7 @@ module Aws
|
|
134
134
|
def create_cluster: (
|
135
135
|
cluster_name: ::String,
|
136
136
|
node_type: ::String,
|
137
|
+
?multi_region_cluster_name: ::String,
|
137
138
|
?parameter_group_name: ::String,
|
138
139
|
?description: ::String,
|
139
140
|
?num_shards: ::Integer,
|
@@ -163,6 +164,29 @@ module Aws
|
|
163
164
|
) -> _CreateClusterResponseSuccess
|
164
165
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
|
165
166
|
|
167
|
+
interface _CreateMultiRegionClusterResponseSuccess
|
168
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMultiRegionClusterResponse]
|
169
|
+
def multi_region_cluster: () -> Types::MultiRegionCluster
|
170
|
+
end
|
171
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#create_multi_region_cluster-instance_method
|
172
|
+
def create_multi_region_cluster: (
|
173
|
+
multi_region_cluster_name_suffix: ::String,
|
174
|
+
?description: ::String,
|
175
|
+
?engine: ::String,
|
176
|
+
?engine_version: ::String,
|
177
|
+
node_type: ::String,
|
178
|
+
?multi_region_parameter_group_name: ::String,
|
179
|
+
?num_shards: ::Integer,
|
180
|
+
?tls_enabled: bool,
|
181
|
+
?tags: Array[
|
182
|
+
{
|
183
|
+
key: ::String?,
|
184
|
+
value: ::String?
|
185
|
+
},
|
186
|
+
]
|
187
|
+
) -> _CreateMultiRegionClusterResponseSuccess
|
188
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMultiRegionClusterResponseSuccess
|
189
|
+
|
166
190
|
interface _CreateParameterGroupResponseSuccess
|
167
191
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateParameterGroupResponse]
|
168
192
|
def parameter_group: () -> Types::ParameterGroup
|
@@ -255,10 +279,21 @@ module Aws
|
|
255
279
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#delete_cluster-instance_method
|
256
280
|
def delete_cluster: (
|
257
281
|
cluster_name: ::String,
|
282
|
+
?multi_region_cluster_name: ::String,
|
258
283
|
?final_snapshot_name: ::String
|
259
284
|
) -> _DeleteClusterResponseSuccess
|
260
285
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteClusterResponseSuccess
|
261
286
|
|
287
|
+
interface _DeleteMultiRegionClusterResponseSuccess
|
288
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMultiRegionClusterResponse]
|
289
|
+
def multi_region_cluster: () -> Types::MultiRegionCluster
|
290
|
+
end
|
291
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#delete_multi_region_cluster-instance_method
|
292
|
+
def delete_multi_region_cluster: (
|
293
|
+
multi_region_cluster_name: ::String
|
294
|
+
) -> _DeleteMultiRegionClusterResponseSuccess
|
295
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMultiRegionClusterResponseSuccess
|
296
|
+
|
262
297
|
interface _DeleteParameterGroupResponseSuccess
|
263
298
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteParameterGroupResponse]
|
264
299
|
def parameter_group: () -> Types::ParameterGroup
|
@@ -359,6 +394,20 @@ module Aws
|
|
359
394
|
) -> _DescribeEventsResponseSuccess
|
360
395
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeEventsResponseSuccess
|
361
396
|
|
397
|
+
interface _DescribeMultiRegionClustersResponseSuccess
|
398
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMultiRegionClustersResponse]
|
399
|
+
def next_token: () -> ::String
|
400
|
+
def multi_region_clusters: () -> ::Array[Types::MultiRegionCluster]
|
401
|
+
end
|
402
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#describe_multi_region_clusters-instance_method
|
403
|
+
def describe_multi_region_clusters: (
|
404
|
+
?multi_region_cluster_name: ::String,
|
405
|
+
?max_results: ::Integer,
|
406
|
+
?next_token: ::String,
|
407
|
+
?show_cluster_details: bool
|
408
|
+
) -> _DescribeMultiRegionClustersResponseSuccess
|
409
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeMultiRegionClustersResponseSuccess
|
410
|
+
|
362
411
|
interface _DescribeParameterGroupsResponseSuccess
|
363
412
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeParameterGroupsResponse]
|
364
413
|
def next_token: () -> ::String
|
@@ -492,6 +541,17 @@ module Aws
|
|
492
541
|
) -> _FailoverShardResponseSuccess
|
493
542
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _FailoverShardResponseSuccess
|
494
543
|
|
544
|
+
interface _ListAllowedMultiRegionClusterUpdatesResponseSuccess
|
545
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAllowedMultiRegionClusterUpdatesResponse]
|
546
|
+
def scale_up_node_types: () -> ::Array[::String]
|
547
|
+
def scale_down_node_types: () -> ::Array[::String]
|
548
|
+
end
|
549
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#list_allowed_multi_region_cluster_updates-instance_method
|
550
|
+
def list_allowed_multi_region_cluster_updates: (
|
551
|
+
multi_region_cluster_name: ::String
|
552
|
+
) -> _ListAllowedMultiRegionClusterUpdatesResponseSuccess
|
553
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAllowedMultiRegionClusterUpdatesResponseSuccess
|
554
|
+
|
495
555
|
interface _ListAllowedNodeTypeUpdatesResponseSuccess
|
496
556
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListAllowedNodeTypeUpdatesResponse]
|
497
557
|
def scale_up_node_types: () -> ::Array[::String]
|
@@ -610,6 +670,24 @@ module Aws
|
|
610
670
|
) -> _UpdateClusterResponseSuccess
|
611
671
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateClusterResponseSuccess
|
612
672
|
|
673
|
+
interface _UpdateMultiRegionClusterResponseSuccess
|
674
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMultiRegionClusterResponse]
|
675
|
+
def multi_region_cluster: () -> Types::MultiRegionCluster
|
676
|
+
end
|
677
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#update_multi_region_cluster-instance_method
|
678
|
+
def update_multi_region_cluster: (
|
679
|
+
multi_region_cluster_name: ::String,
|
680
|
+
?node_type: ::String,
|
681
|
+
?description: ::String,
|
682
|
+
?engine_version: ::String,
|
683
|
+
?shard_configuration: {
|
684
|
+
shard_count: ::Integer?
|
685
|
+
},
|
686
|
+
?multi_region_parameter_group_name: ::String,
|
687
|
+
?update_strategy: ("coordinated" | "uncoordinated")
|
688
|
+
) -> _UpdateMultiRegionClusterResponseSuccess
|
689
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMultiRegionClusterResponseSuccess
|
690
|
+
|
613
691
|
interface _UpdateParameterGroupResponseSuccess
|
614
692
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateParameterGroupResponse]
|
615
693
|
def parameter_group: () -> Types::ParameterGroup
|
data/sig/errors.rbs
CHANGED
@@ -41,6 +41,8 @@ module Aws
|
|
41
41
|
end
|
42
42
|
class InvalidKMSKeyFault < ::Aws::Errors::ServiceError
|
43
43
|
end
|
44
|
+
class InvalidMultiRegionClusterStateFault < ::Aws::Errors::ServiceError
|
45
|
+
end
|
44
46
|
class InvalidNodeStateFault < ::Aws::Errors::ServiceError
|
45
47
|
end
|
46
48
|
class InvalidParameterCombinationException < ::Aws::Errors::ServiceError
|
@@ -59,6 +61,12 @@ module Aws
|
|
59
61
|
end
|
60
62
|
class InvalidVPCNetworkStateFault < ::Aws::Errors::ServiceError
|
61
63
|
end
|
64
|
+
class MultiRegionClusterAlreadyExistsFault < ::Aws::Errors::ServiceError
|
65
|
+
end
|
66
|
+
class MultiRegionClusterNotFoundFault < ::Aws::Errors::ServiceError
|
67
|
+
end
|
68
|
+
class MultiRegionParameterGroupNotFoundFault < ::Aws::Errors::ServiceError
|
69
|
+
end
|
62
70
|
class NoOperationFault < ::Aws::Errors::ServiceError
|
63
71
|
end
|
64
72
|
class NodeQuotaForClusterExceededFault < ::Aws::Errors::ServiceError
|
data/sig/types.rbs
CHANGED
@@ -76,6 +76,7 @@ module Aws::MemoryDB
|
|
76
76
|
attr_accessor description: ::String
|
77
77
|
attr_accessor status: ::String
|
78
78
|
attr_accessor pending_updates: Types::ClusterPendingUpdates
|
79
|
+
attr_accessor multi_region_cluster_name: ::String
|
79
80
|
attr_accessor number_of_shards: ::Integer
|
80
81
|
attr_accessor shards: ::Array[Types::Shard]
|
81
82
|
attr_accessor availability_mode: ("singleaz" | "multiaz")
|
@@ -121,6 +122,8 @@ module Aws::MemoryDB
|
|
121
122
|
attr_accessor snapshot_window: ::String
|
122
123
|
attr_accessor num_shards: ::Integer
|
123
124
|
attr_accessor shards: ::Array[Types::ShardDetail]
|
125
|
+
attr_accessor multi_region_parameter_group_name: ::String
|
126
|
+
attr_accessor multi_region_cluster_name: ::String
|
124
127
|
SENSITIVE: []
|
125
128
|
end
|
126
129
|
|
@@ -166,6 +169,7 @@ module Aws::MemoryDB
|
|
166
169
|
class CreateClusterRequest
|
167
170
|
attr_accessor cluster_name: ::String
|
168
171
|
attr_accessor node_type: ::String
|
172
|
+
attr_accessor multi_region_cluster_name: ::String
|
169
173
|
attr_accessor parameter_group_name: ::String
|
170
174
|
attr_accessor description: ::String
|
171
175
|
attr_accessor num_shards: ::Integer
|
@@ -195,6 +199,24 @@ module Aws::MemoryDB
|
|
195
199
|
SENSITIVE: []
|
196
200
|
end
|
197
201
|
|
202
|
+
class CreateMultiRegionClusterRequest
|
203
|
+
attr_accessor multi_region_cluster_name_suffix: ::String
|
204
|
+
attr_accessor description: ::String
|
205
|
+
attr_accessor engine: ::String
|
206
|
+
attr_accessor engine_version: ::String
|
207
|
+
attr_accessor node_type: ::String
|
208
|
+
attr_accessor multi_region_parameter_group_name: ::String
|
209
|
+
attr_accessor num_shards: ::Integer
|
210
|
+
attr_accessor tls_enabled: bool
|
211
|
+
attr_accessor tags: ::Array[Types::Tag]
|
212
|
+
SENSITIVE: []
|
213
|
+
end
|
214
|
+
|
215
|
+
class CreateMultiRegionClusterResponse
|
216
|
+
attr_accessor multi_region_cluster: Types::MultiRegionCluster
|
217
|
+
SENSITIVE: []
|
218
|
+
end
|
219
|
+
|
198
220
|
class CreateParameterGroupRequest
|
199
221
|
attr_accessor parameter_group_name: ::String
|
200
222
|
attr_accessor family: ::String
|
@@ -262,6 +284,7 @@ module Aws::MemoryDB
|
|
262
284
|
|
263
285
|
class DeleteClusterRequest
|
264
286
|
attr_accessor cluster_name: ::String
|
287
|
+
attr_accessor multi_region_cluster_name: ::String
|
265
288
|
attr_accessor final_snapshot_name: ::String
|
266
289
|
SENSITIVE: []
|
267
290
|
end
|
@@ -271,6 +294,16 @@ module Aws::MemoryDB
|
|
271
294
|
SENSITIVE: []
|
272
295
|
end
|
273
296
|
|
297
|
+
class DeleteMultiRegionClusterRequest
|
298
|
+
attr_accessor multi_region_cluster_name: ::String
|
299
|
+
SENSITIVE: []
|
300
|
+
end
|
301
|
+
|
302
|
+
class DeleteMultiRegionClusterResponse
|
303
|
+
attr_accessor multi_region_cluster: Types::MultiRegionCluster
|
304
|
+
SENSITIVE: []
|
305
|
+
end
|
306
|
+
|
274
307
|
class DeleteParameterGroupRequest
|
275
308
|
attr_accessor parameter_group_name: ::String
|
276
309
|
SENSITIVE: []
|
@@ -371,6 +404,20 @@ module Aws::MemoryDB
|
|
371
404
|
SENSITIVE: []
|
372
405
|
end
|
373
406
|
|
407
|
+
class DescribeMultiRegionClustersRequest
|
408
|
+
attr_accessor multi_region_cluster_name: ::String
|
409
|
+
attr_accessor max_results: ::Integer
|
410
|
+
attr_accessor next_token: ::String
|
411
|
+
attr_accessor show_cluster_details: bool
|
412
|
+
SENSITIVE: []
|
413
|
+
end
|
414
|
+
|
415
|
+
class DescribeMultiRegionClustersResponse
|
416
|
+
attr_accessor next_token: ::String
|
417
|
+
attr_accessor multi_region_clusters: ::Array[Types::MultiRegionCluster]
|
418
|
+
SENSITIVE: []
|
419
|
+
end
|
420
|
+
|
374
421
|
class DescribeParameterGroupsRequest
|
375
422
|
attr_accessor parameter_group_name: ::String
|
376
423
|
attr_accessor max_results: ::Integer
|
@@ -548,6 +595,9 @@ module Aws::MemoryDB
|
|
548
595
|
class InvalidKMSKeyFault < Aws::EmptyStructure
|
549
596
|
end
|
550
597
|
|
598
|
+
class InvalidMultiRegionClusterStateFault < Aws::EmptyStructure
|
599
|
+
end
|
600
|
+
|
551
601
|
class InvalidNodeStateFault < Aws::EmptyStructure
|
552
602
|
end
|
553
603
|
|
@@ -576,6 +626,17 @@ module Aws::MemoryDB
|
|
576
626
|
class InvalidVPCNetworkStateFault < Aws::EmptyStructure
|
577
627
|
end
|
578
628
|
|
629
|
+
class ListAllowedMultiRegionClusterUpdatesRequest
|
630
|
+
attr_accessor multi_region_cluster_name: ::String
|
631
|
+
SENSITIVE: []
|
632
|
+
end
|
633
|
+
|
634
|
+
class ListAllowedMultiRegionClusterUpdatesResponse
|
635
|
+
attr_accessor scale_up_node_types: ::Array[::String]
|
636
|
+
attr_accessor scale_down_node_types: ::Array[::String]
|
637
|
+
SENSITIVE: []
|
638
|
+
end
|
639
|
+
|
579
640
|
class ListAllowedNodeTypeUpdatesRequest
|
580
641
|
attr_accessor cluster_name: ::String
|
581
642
|
SENSITIVE: []
|
@@ -597,6 +658,30 @@ module Aws::MemoryDB
|
|
597
658
|
SENSITIVE: []
|
598
659
|
end
|
599
660
|
|
661
|
+
class MultiRegionCluster
|
662
|
+
attr_accessor multi_region_cluster_name: ::String
|
663
|
+
attr_accessor description: ::String
|
664
|
+
attr_accessor status: ::String
|
665
|
+
attr_accessor node_type: ::String
|
666
|
+
attr_accessor engine: ::String
|
667
|
+
attr_accessor engine_version: ::String
|
668
|
+
attr_accessor number_of_shards: ::Integer
|
669
|
+
attr_accessor clusters: ::Array[Types::RegionalCluster]
|
670
|
+
attr_accessor multi_region_parameter_group_name: ::String
|
671
|
+
attr_accessor tls_enabled: bool
|
672
|
+
attr_accessor arn: ::String
|
673
|
+
SENSITIVE: []
|
674
|
+
end
|
675
|
+
|
676
|
+
class MultiRegionClusterAlreadyExistsFault < Aws::EmptyStructure
|
677
|
+
end
|
678
|
+
|
679
|
+
class MultiRegionClusterNotFoundFault < Aws::EmptyStructure
|
680
|
+
end
|
681
|
+
|
682
|
+
class MultiRegionParameterGroupNotFoundFault < Aws::EmptyStructure
|
683
|
+
end
|
684
|
+
|
600
685
|
class NoOperationFault < Aws::EmptyStructure
|
601
686
|
end
|
602
687
|
|
@@ -673,6 +758,14 @@ module Aws::MemoryDB
|
|
673
758
|
SENSITIVE: []
|
674
759
|
end
|
675
760
|
|
761
|
+
class RegionalCluster
|
762
|
+
attr_accessor cluster_name: ::String
|
763
|
+
attr_accessor region: ::String
|
764
|
+
attr_accessor status: ::String
|
765
|
+
attr_accessor arn: ::String
|
766
|
+
SENSITIVE: []
|
767
|
+
end
|
768
|
+
|
676
769
|
class ReplicaConfigurationRequest
|
677
770
|
attr_accessor replica_count: ::Integer
|
678
771
|
SENSITIVE: []
|
@@ -937,6 +1030,22 @@ module Aws::MemoryDB
|
|
937
1030
|
SENSITIVE: []
|
938
1031
|
end
|
939
1032
|
|
1033
|
+
class UpdateMultiRegionClusterRequest
|
1034
|
+
attr_accessor multi_region_cluster_name: ::String
|
1035
|
+
attr_accessor node_type: ::String
|
1036
|
+
attr_accessor description: ::String
|
1037
|
+
attr_accessor engine_version: ::String
|
1038
|
+
attr_accessor shard_configuration: Types::ShardConfigurationRequest
|
1039
|
+
attr_accessor multi_region_parameter_group_name: ::String
|
1040
|
+
attr_accessor update_strategy: ("coordinated" | "uncoordinated")
|
1041
|
+
SENSITIVE: []
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
class UpdateMultiRegionClusterResponse
|
1045
|
+
attr_accessor multi_region_cluster: Types::MultiRegionCluster
|
1046
|
+
SENSITIVE: []
|
1047
|
+
end
|
1048
|
+
|
940
1049
|
class UpdateParameterGroupRequest
|
941
1050
|
attr_accessor parameter_group_name: ::String
|
942
1051
|
attr_accessor parameter_name_values: ::Array[Types::ParameterNameValue]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-memorydb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.40.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: 2024-
|
11
|
+
date: 2024-12-02 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.
|
22
|
+
version: 3.210.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.
|
32
|
+
version: 3.210.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|