aws-sdk-memorydb 1.37.0 → 1.39.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 +30 -10
- data/lib/aws-sdk-memorydb/client_api.rb +7 -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/plugins/endpoints.rb +1 -82
- data/lib/aws-sdk-memorydb/types.rb +46 -7
- data/lib/aws-sdk-memorydb.rb +1 -1
- data/sig/client.rbs +3 -0
- data/sig/types.rbs +7 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '039b0ccfff1d9aa1b16908cc517dfe2c52a09f1c4440cb4ec623b67d5d63af63'
|
4
|
+
data.tar.gz: 819e5c782bf0b3406e61cb9b9610d3082aaa1fa071cba623f8af0cb73559728a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 245e8a37866e8fd31c0fbeccdcfea748080a1c12a053eac75cb235c7b3c593e6966926fb5a1c01aa8f8c8d1fbc8f42cc31e223daaa16050957492c1c8be794b2
|
7
|
+
data.tar.gz: 0ccad1b9ea567eeaad27e6e3c7c55678c7cb330087ece3b2ba10960b6c8a0da16bc421eb99b09ac059fa6809023ccf7d0a0fb1142b4b7ec714b14d61245ba155
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.39.0 (2024-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.38.0 (2024-10-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon MemoryDB SDK now supports all APIs for newly launched Valkey engine. Please refer to the updated Amazon MemoryDB public documentation for detailed information on API usage.
|
13
|
+
|
4
14
|
1.37.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.39.0
|
@@ -510,6 +510,7 @@ module Aws::MemoryDB
|
|
510
510
|
# resp.processed_clusters[0].cluster_endpoint.address #=> String
|
511
511
|
# resp.processed_clusters[0].cluster_endpoint.port #=> Integer
|
512
512
|
# resp.processed_clusters[0].node_type #=> String
|
513
|
+
# resp.processed_clusters[0].engine #=> String
|
513
514
|
# resp.processed_clusters[0].engine_version #=> String
|
514
515
|
# resp.processed_clusters[0].engine_patch_version #=> String
|
515
516
|
# resp.processed_clusters[0].parameter_group_name #=> String
|
@@ -601,6 +602,7 @@ module Aws::MemoryDB
|
|
601
602
|
# resp.snapshot.cluster_configuration.name #=> String
|
602
603
|
# resp.snapshot.cluster_configuration.description #=> String
|
603
604
|
# resp.snapshot.cluster_configuration.node_type #=> String
|
605
|
+
# resp.snapshot.cluster_configuration.engine #=> String
|
604
606
|
# resp.snapshot.cluster_configuration.engine_version #=> String
|
605
607
|
# resp.snapshot.cluster_configuration.maintenance_window #=> String
|
606
608
|
# resp.snapshot.cluster_configuration.topic_arn #=> String
|
@@ -788,8 +790,12 @@ module Aws::MemoryDB
|
|
788
790
|
# @option params [required, String] :acl_name
|
789
791
|
# The name of the Access Control List to associate with the cluster.
|
790
792
|
#
|
793
|
+
# @option params [String] :engine
|
794
|
+
# The name of the engine to be used for the nodes in this cluster. The
|
795
|
+
# value must be set to either Redis or Valkey.
|
796
|
+
#
|
791
797
|
# @option params [String] :engine_version
|
792
|
-
# The version number of the
|
798
|
+
# The version number of the engine to be used for the cluster.
|
793
799
|
#
|
794
800
|
# @option params [Boolean] :auto_minor_version_upgrade
|
795
801
|
# When set to true, the cluster will automatically receive minor engine
|
@@ -835,6 +841,7 @@ module Aws::MemoryDB
|
|
835
841
|
# ],
|
836
842
|
# snapshot_window: "String",
|
837
843
|
# acl_name: "ACLName", # required
|
844
|
+
# engine: "String",
|
838
845
|
# engine_version: "String",
|
839
846
|
# auto_minor_version_upgrade: false,
|
840
847
|
# data_tiering: false,
|
@@ -867,6 +874,7 @@ module Aws::MemoryDB
|
|
867
874
|
# resp.cluster.cluster_endpoint.address #=> String
|
868
875
|
# resp.cluster.cluster_endpoint.port #=> Integer
|
869
876
|
# resp.cluster.node_type #=> String
|
877
|
+
# resp.cluster.engine #=> String
|
870
878
|
# resp.cluster.engine_version #=> String
|
871
879
|
# resp.cluster.engine_patch_version #=> String
|
872
880
|
# resp.cluster.parameter_group_name #=> String
|
@@ -998,6 +1006,7 @@ module Aws::MemoryDB
|
|
998
1006
|
# resp.snapshot.cluster_configuration.name #=> String
|
999
1007
|
# resp.snapshot.cluster_configuration.description #=> String
|
1000
1008
|
# resp.snapshot.cluster_configuration.node_type #=> String
|
1009
|
+
# resp.snapshot.cluster_configuration.engine #=> String
|
1001
1010
|
# resp.snapshot.cluster_configuration.engine_version #=> String
|
1002
1011
|
# resp.snapshot.cluster_configuration.maintenance_window #=> String
|
1003
1012
|
# resp.snapshot.cluster_configuration.topic_arn #=> String
|
@@ -1201,12 +1210,6 @@ module Aws::MemoryDB
|
|
1201
1210
|
# Deletes a cluster. It also deletes all associated nodes and node
|
1202
1211
|
# endpoints
|
1203
1212
|
#
|
1204
|
-
# <note markdown="1"> `CreateSnapshot` permission is required to create a final snapshot.
|
1205
|
-
# Without this permission, the API call will fail with an `Access
|
1206
|
-
# Denied` exception.
|
1207
|
-
#
|
1208
|
-
# </note>
|
1209
|
-
#
|
1210
1213
|
# @option params [required, String] :cluster_name
|
1211
1214
|
# The name of the cluster to be deleted
|
1212
1215
|
#
|
@@ -1253,6 +1256,7 @@ module Aws::MemoryDB
|
|
1253
1256
|
# resp.cluster.cluster_endpoint.address #=> String
|
1254
1257
|
# resp.cluster.cluster_endpoint.port #=> Integer
|
1255
1258
|
# resp.cluster.node_type #=> String
|
1259
|
+
# resp.cluster.engine #=> String
|
1256
1260
|
# resp.cluster.engine_version #=> String
|
1257
1261
|
# resp.cluster.engine_patch_version #=> String
|
1258
1262
|
# resp.cluster.parameter_group_name #=> String
|
@@ -1342,6 +1346,7 @@ module Aws::MemoryDB
|
|
1342
1346
|
# resp.snapshot.cluster_configuration.name #=> String
|
1343
1347
|
# resp.snapshot.cluster_configuration.description #=> String
|
1344
1348
|
# resp.snapshot.cluster_configuration.node_type #=> String
|
1349
|
+
# resp.snapshot.cluster_configuration.engine #=> String
|
1345
1350
|
# resp.snapshot.cluster_configuration.engine_version #=> String
|
1346
1351
|
# resp.snapshot.cluster_configuration.maintenance_window #=> String
|
1347
1352
|
# resp.snapshot.cluster_configuration.topic_arn #=> String
|
@@ -1567,6 +1572,7 @@ module Aws::MemoryDB
|
|
1567
1572
|
# resp.clusters[0].cluster_endpoint.address #=> String
|
1568
1573
|
# resp.clusters[0].cluster_endpoint.port #=> Integer
|
1569
1574
|
# resp.clusters[0].node_type #=> String
|
1575
|
+
# resp.clusters[0].engine #=> String
|
1570
1576
|
# resp.clusters[0].engine_version #=> String
|
1571
1577
|
# resp.clusters[0].engine_patch_version #=> String
|
1572
1578
|
# resp.clusters[0].parameter_group_name #=> String
|
@@ -1596,10 +1602,13 @@ module Aws::MemoryDB
|
|
1596
1602
|
req.send_request(options)
|
1597
1603
|
end
|
1598
1604
|
|
1599
|
-
# Returns a list of the available
|
1605
|
+
# Returns a list of the available engine versions.
|
1606
|
+
#
|
1607
|
+
# @option params [String] :engine
|
1608
|
+
# The engine version to return. Valid values are either valkey or redis.
|
1600
1609
|
#
|
1601
1610
|
# @option params [String] :engine_version
|
1602
|
-
# The
|
1611
|
+
# The engine version.
|
1603
1612
|
#
|
1604
1613
|
# @option params [String] :parameter_group_family
|
1605
1614
|
# The name of a specific parameter group family to return details for.
|
@@ -1630,6 +1639,7 @@ module Aws::MemoryDB
|
|
1630
1639
|
# @example Request syntax with placeholder values
|
1631
1640
|
#
|
1632
1641
|
# resp = client.describe_engine_versions({
|
1642
|
+
# engine: "String",
|
1633
1643
|
# engine_version: "String",
|
1634
1644
|
# parameter_group_family: "String",
|
1635
1645
|
# max_results: 1,
|
@@ -1641,6 +1651,7 @@ module Aws::MemoryDB
|
|
1641
1651
|
#
|
1642
1652
|
# resp.next_token #=> String
|
1643
1653
|
# resp.engine_versions #=> Array
|
1654
|
+
# resp.engine_versions[0].engine #=> String
|
1644
1655
|
# resp.engine_versions[0].engine_version #=> String
|
1645
1656
|
# resp.engine_versions[0].engine_patch_version #=> String
|
1646
1657
|
# resp.engine_versions[0].parameter_group_family #=> String
|
@@ -2046,6 +2057,7 @@ module Aws::MemoryDB
|
|
2046
2057
|
# resp.service_updates[0].description #=> String
|
2047
2058
|
# resp.service_updates[0].status #=> String, one of "available", "in-progress", "complete", "scheduled"
|
2048
2059
|
# resp.service_updates[0].type #=> String, one of "security-update"
|
2060
|
+
# resp.service_updates[0].engine #=> String
|
2049
2061
|
# resp.service_updates[0].nodes_updated #=> String
|
2050
2062
|
# resp.service_updates[0].auto_update_start_date #=> Time
|
2051
2063
|
#
|
@@ -2123,6 +2135,7 @@ module Aws::MemoryDB
|
|
2123
2135
|
# resp.snapshots[0].cluster_configuration.name #=> String
|
2124
2136
|
# resp.snapshots[0].cluster_configuration.description #=> String
|
2125
2137
|
# resp.snapshots[0].cluster_configuration.node_type #=> String
|
2138
|
+
# resp.snapshots[0].cluster_configuration.engine #=> String
|
2126
2139
|
# resp.snapshots[0].cluster_configuration.engine_version #=> String
|
2127
2140
|
# resp.snapshots[0].cluster_configuration.maintenance_window #=> String
|
2128
2141
|
# resp.snapshots[0].cluster_configuration.topic_arn #=> String
|
@@ -2319,6 +2332,7 @@ module Aws::MemoryDB
|
|
2319
2332
|
# resp.cluster.cluster_endpoint.address #=> String
|
2320
2333
|
# resp.cluster.cluster_endpoint.port #=> Integer
|
2321
2334
|
# resp.cluster.node_type #=> String
|
2335
|
+
# resp.cluster.engine #=> String
|
2322
2336
|
# resp.cluster.engine_version #=> String
|
2323
2337
|
# resp.cluster.engine_patch_version #=> String
|
2324
2338
|
# resp.cluster.parameter_group_name #=> String
|
@@ -2730,6 +2744,10 @@ module Aws::MemoryDB
|
|
2730
2744
|
# @option params [String] :node_type
|
2731
2745
|
# A valid node type that you want to scale this cluster up or down to.
|
2732
2746
|
#
|
2747
|
+
# @option params [String] :engine
|
2748
|
+
# The name of the engine to be used for the nodes in this cluster. The
|
2749
|
+
# value must be set to either Redis or Valkey.
|
2750
|
+
#
|
2733
2751
|
# @option params [String] :engine_version
|
2734
2752
|
# The upgraded version of the engine to be run on the nodes. You can
|
2735
2753
|
# upgrade to a newer engine version, but you cannot downgrade to an
|
@@ -2763,6 +2781,7 @@ module Aws::MemoryDB
|
|
2763
2781
|
# snapshot_window: "String",
|
2764
2782
|
# snapshot_retention_limit: 1,
|
2765
2783
|
# node_type: "String",
|
2784
|
+
# engine: "String",
|
2766
2785
|
# engine_version: "String",
|
2767
2786
|
# replica_configuration: {
|
2768
2787
|
# replica_count: 1,
|
@@ -2800,6 +2819,7 @@ module Aws::MemoryDB
|
|
2800
2819
|
# resp.cluster.cluster_endpoint.address #=> String
|
2801
2820
|
# resp.cluster.cluster_endpoint.port #=> Integer
|
2802
2821
|
# resp.cluster.node_type #=> String
|
2822
|
+
# resp.cluster.engine #=> String
|
2803
2823
|
# resp.cluster.engine_version #=> String
|
2804
2824
|
# resp.cluster.engine_patch_version #=> String
|
2805
2825
|
# resp.cluster.parameter_group_name #=> String
|
@@ -2987,7 +3007,7 @@ module Aws::MemoryDB
|
|
2987
3007
|
tracer: tracer
|
2988
3008
|
)
|
2989
3009
|
context[:gem_name] = 'aws-sdk-memorydb'
|
2990
|
-
context[:gem_version] = '1.
|
3010
|
+
context[:gem_version] = '1.39.0'
|
2991
3011
|
Seahorse::Client::Request.new(handlers, context)
|
2992
3012
|
end
|
2993
3013
|
|
@@ -298,6 +298,7 @@ module Aws::MemoryDB
|
|
298
298
|
Cluster.add_member(:availability_mode, Shapes::ShapeRef.new(shape: AZStatus, location_name: "AvailabilityMode"))
|
299
299
|
Cluster.add_member(:cluster_endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "ClusterEndpoint"))
|
300
300
|
Cluster.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
|
301
|
+
Cluster.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
301
302
|
Cluster.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
302
303
|
Cluster.add_member(:engine_patch_version, Shapes::ShapeRef.new(shape: String, location_name: "EnginePatchVersion"))
|
303
304
|
Cluster.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "ParameterGroupName"))
|
@@ -322,6 +323,7 @@ module Aws::MemoryDB
|
|
322
323
|
ClusterConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
323
324
|
ClusterConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
324
325
|
ClusterConfiguration.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
|
326
|
+
ClusterConfiguration.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
325
327
|
ClusterConfiguration.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
326
328
|
ClusterConfiguration.add_member(:maintenance_window, Shapes::ShapeRef.new(shape: String, location_name: "MaintenanceWindow"))
|
327
329
|
ClusterConfiguration.add_member(:topic_arn, Shapes::ShapeRef.new(shape: String, location_name: "TopicArn"))
|
@@ -385,6 +387,7 @@ module Aws::MemoryDB
|
|
385
387
|
CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
386
388
|
CreateClusterRequest.add_member(:snapshot_window, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotWindow"))
|
387
389
|
CreateClusterRequest.add_member(:acl_name, Shapes::ShapeRef.new(shape: ACLName, required: true, location_name: "ACLName"))
|
390
|
+
CreateClusterRequest.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
388
391
|
CreateClusterRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
389
392
|
CreateClusterRequest.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "AutoMinorVersionUpgrade"))
|
390
393
|
CreateClusterRequest.add_member(:data_tiering, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DataTiering"))
|
@@ -487,6 +490,7 @@ module Aws::MemoryDB
|
|
487
490
|
DescribeClustersResponse.add_member(:clusters, Shapes::ShapeRef.new(shape: ClusterList, location_name: "Clusters"))
|
488
491
|
DescribeClustersResponse.struct_class = Types::DescribeClustersResponse
|
489
492
|
|
493
|
+
DescribeEngineVersionsRequest.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
490
494
|
DescribeEngineVersionsRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
491
495
|
DescribeEngineVersionsRequest.add_member(:parameter_group_family, Shapes::ShapeRef.new(shape: String, location_name: "ParameterGroupFamily"))
|
492
496
|
DescribeEngineVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxResults"))
|
@@ -602,6 +606,7 @@ module Aws::MemoryDB
|
|
602
606
|
Endpoint.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "Port"))
|
603
607
|
Endpoint.struct_class = Types::Endpoint
|
604
608
|
|
609
|
+
EngineVersionInfo.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
605
610
|
EngineVersionInfo.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
606
611
|
EngineVersionInfo.add_member(:engine_patch_version, Shapes::ShapeRef.new(shape: String, location_name: "EnginePatchVersion"))
|
607
612
|
EngineVersionInfo.add_member(:parameter_group_family, Shapes::ShapeRef.new(shape: String, location_name: "ParameterGroupFamily"))
|
@@ -812,6 +817,7 @@ module Aws::MemoryDB
|
|
812
817
|
ServiceUpdate.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
813
818
|
ServiceUpdate.add_member(:status, Shapes::ShapeRef.new(shape: ServiceUpdateStatus, location_name: "Status"))
|
814
819
|
ServiceUpdate.add_member(:type, Shapes::ShapeRef.new(shape: ServiceUpdateType, location_name: "Type"))
|
820
|
+
ServiceUpdate.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
815
821
|
ServiceUpdate.add_member(:nodes_updated, Shapes::ShapeRef.new(shape: String, location_name: "NodesUpdated"))
|
816
822
|
ServiceUpdate.add_member(:auto_update_start_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "AutoUpdateStartDate"))
|
817
823
|
ServiceUpdate.struct_class = Types::ServiceUpdate
|
@@ -957,6 +963,7 @@ module Aws::MemoryDB
|
|
957
963
|
UpdateClusterRequest.add_member(:snapshot_window, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotWindow"))
|
958
964
|
UpdateClusterRequest.add_member(:snapshot_retention_limit, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "SnapshotRetentionLimit"))
|
959
965
|
UpdateClusterRequest.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
|
966
|
+
UpdateClusterRequest.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
|
960
967
|
UpdateClusterRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
|
961
968
|
UpdateClusterRequest.add_member(:replica_configuration, Shapes::ShapeRef.new(shape: ReplicaConfigurationRequest, location_name: "ReplicaConfiguration"))
|
962
969
|
UpdateClusterRequest.add_member(:shard_configuration, Shapes::ShapeRef.new(shape: ShardConfigurationRequest, location_name: "ShardConfiguration"))
|
@@ -52,15 +52,18 @@ module Aws::MemoryDB
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|
@@ -12,423 +12,9 @@ module Aws::MemoryDB
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
-
class BatchUpdateCluster
|
16
|
-
def self.build(context)
|
17
|
-
Aws::MemoryDB::EndpointParameters.new(
|
18
|
-
region: context.config.region,
|
19
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
20
|
-
use_fips: context.config.use_fips_endpoint,
|
21
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
22
|
-
)
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
class CopySnapshot
|
27
|
-
def self.build(context)
|
28
|
-
Aws::MemoryDB::EndpointParameters.new(
|
29
|
-
region: context.config.region,
|
30
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
31
|
-
use_fips: context.config.use_fips_endpoint,
|
32
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
33
|
-
)
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
class CreateACL
|
38
|
-
def self.build(context)
|
39
|
-
Aws::MemoryDB::EndpointParameters.new(
|
40
|
-
region: context.config.region,
|
41
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
42
|
-
use_fips: context.config.use_fips_endpoint,
|
43
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
44
|
-
)
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
class CreateCluster
|
49
|
-
def self.build(context)
|
50
|
-
Aws::MemoryDB::EndpointParameters.new(
|
51
|
-
region: context.config.region,
|
52
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
53
|
-
use_fips: context.config.use_fips_endpoint,
|
54
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
55
|
-
)
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
class CreateParameterGroup
|
60
|
-
def self.build(context)
|
61
|
-
Aws::MemoryDB::EndpointParameters.new(
|
62
|
-
region: context.config.region,
|
63
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
-
use_fips: context.config.use_fips_endpoint,
|
65
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
66
|
-
)
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
class CreateSnapshot
|
71
|
-
def self.build(context)
|
72
|
-
Aws::MemoryDB::EndpointParameters.new(
|
73
|
-
region: context.config.region,
|
74
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
75
|
-
use_fips: context.config.use_fips_endpoint,
|
76
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
77
|
-
)
|
78
|
-
end
|
79
|
-
end
|
80
|
-
|
81
|
-
class CreateSubnetGroup
|
82
|
-
def self.build(context)
|
83
|
-
Aws::MemoryDB::EndpointParameters.new(
|
84
|
-
region: context.config.region,
|
85
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
86
|
-
use_fips: context.config.use_fips_endpoint,
|
87
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
88
|
-
)
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
class CreateUser
|
93
|
-
def self.build(context)
|
94
|
-
Aws::MemoryDB::EndpointParameters.new(
|
95
|
-
region: context.config.region,
|
96
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
97
|
-
use_fips: context.config.use_fips_endpoint,
|
98
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
99
|
-
)
|
100
|
-
end
|
101
|
-
end
|
102
|
-
|
103
|
-
class DeleteACL
|
104
|
-
def self.build(context)
|
105
|
-
Aws::MemoryDB::EndpointParameters.new(
|
106
|
-
region: context.config.region,
|
107
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
108
|
-
use_fips: context.config.use_fips_endpoint,
|
109
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
110
|
-
)
|
111
|
-
end
|
112
|
-
end
|
113
|
-
|
114
|
-
class DeleteCluster
|
115
|
-
def self.build(context)
|
116
|
-
Aws::MemoryDB::EndpointParameters.new(
|
117
|
-
region: context.config.region,
|
118
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
119
|
-
use_fips: context.config.use_fips_endpoint,
|
120
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
121
|
-
)
|
122
|
-
end
|
123
|
-
end
|
124
|
-
|
125
|
-
class DeleteParameterGroup
|
126
|
-
def self.build(context)
|
127
|
-
Aws::MemoryDB::EndpointParameters.new(
|
128
|
-
region: context.config.region,
|
129
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
130
|
-
use_fips: context.config.use_fips_endpoint,
|
131
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
132
|
-
)
|
133
|
-
end
|
134
|
-
end
|
135
|
-
|
136
|
-
class DeleteSnapshot
|
137
|
-
def self.build(context)
|
138
|
-
Aws::MemoryDB::EndpointParameters.new(
|
139
|
-
region: context.config.region,
|
140
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
141
|
-
use_fips: context.config.use_fips_endpoint,
|
142
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
143
|
-
)
|
144
|
-
end
|
145
|
-
end
|
146
|
-
|
147
|
-
class DeleteSubnetGroup
|
148
|
-
def self.build(context)
|
149
|
-
Aws::MemoryDB::EndpointParameters.new(
|
150
|
-
region: context.config.region,
|
151
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
152
|
-
use_fips: context.config.use_fips_endpoint,
|
153
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
154
|
-
)
|
155
|
-
end
|
156
|
-
end
|
157
|
-
|
158
|
-
class DeleteUser
|
159
|
-
def self.build(context)
|
160
|
-
Aws::MemoryDB::EndpointParameters.new(
|
161
|
-
region: context.config.region,
|
162
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
163
|
-
use_fips: context.config.use_fips_endpoint,
|
164
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
165
|
-
)
|
166
|
-
end
|
167
|
-
end
|
168
|
-
|
169
|
-
class DescribeACLs
|
170
|
-
def self.build(context)
|
171
|
-
Aws::MemoryDB::EndpointParameters.new(
|
172
|
-
region: context.config.region,
|
173
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
174
|
-
use_fips: context.config.use_fips_endpoint,
|
175
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
176
|
-
)
|
177
|
-
end
|
178
|
-
end
|
179
|
-
|
180
|
-
class DescribeClusters
|
181
|
-
def self.build(context)
|
182
|
-
Aws::MemoryDB::EndpointParameters.new(
|
183
|
-
region: context.config.region,
|
184
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
185
|
-
use_fips: context.config.use_fips_endpoint,
|
186
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
187
|
-
)
|
188
|
-
end
|
189
|
-
end
|
190
|
-
|
191
|
-
class DescribeEngineVersions
|
192
|
-
def self.build(context)
|
193
|
-
Aws::MemoryDB::EndpointParameters.new(
|
194
|
-
region: context.config.region,
|
195
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
196
|
-
use_fips: context.config.use_fips_endpoint,
|
197
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
198
|
-
)
|
199
|
-
end
|
200
|
-
end
|
201
|
-
|
202
|
-
class DescribeEvents
|
203
|
-
def self.build(context)
|
204
|
-
Aws::MemoryDB::EndpointParameters.new(
|
205
|
-
region: context.config.region,
|
206
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
207
|
-
use_fips: context.config.use_fips_endpoint,
|
208
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
209
|
-
)
|
210
|
-
end
|
211
|
-
end
|
212
|
-
|
213
|
-
class DescribeParameterGroups
|
214
|
-
def self.build(context)
|
215
|
-
Aws::MemoryDB::EndpointParameters.new(
|
216
|
-
region: context.config.region,
|
217
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
218
|
-
use_fips: context.config.use_fips_endpoint,
|
219
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
220
|
-
)
|
221
|
-
end
|
222
|
-
end
|
223
15
|
|
224
|
-
|
225
|
-
|
226
|
-
Aws::MemoryDB::EndpointParameters.new(
|
227
|
-
region: context.config.region,
|
228
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
229
|
-
use_fips: context.config.use_fips_endpoint,
|
230
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
231
|
-
)
|
232
|
-
end
|
16
|
+
def self.parameters_for_operation(context)
|
17
|
+
Aws::MemoryDB::EndpointParameters.create(context.config)
|
233
18
|
end
|
234
|
-
|
235
|
-
class DescribeReservedNodes
|
236
|
-
def self.build(context)
|
237
|
-
Aws::MemoryDB::EndpointParameters.new(
|
238
|
-
region: context.config.region,
|
239
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
240
|
-
use_fips: context.config.use_fips_endpoint,
|
241
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
242
|
-
)
|
243
|
-
end
|
244
|
-
end
|
245
|
-
|
246
|
-
class DescribeReservedNodesOfferings
|
247
|
-
def self.build(context)
|
248
|
-
Aws::MemoryDB::EndpointParameters.new(
|
249
|
-
region: context.config.region,
|
250
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
251
|
-
use_fips: context.config.use_fips_endpoint,
|
252
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
253
|
-
)
|
254
|
-
end
|
255
|
-
end
|
256
|
-
|
257
|
-
class DescribeServiceUpdates
|
258
|
-
def self.build(context)
|
259
|
-
Aws::MemoryDB::EndpointParameters.new(
|
260
|
-
region: context.config.region,
|
261
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
262
|
-
use_fips: context.config.use_fips_endpoint,
|
263
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
264
|
-
)
|
265
|
-
end
|
266
|
-
end
|
267
|
-
|
268
|
-
class DescribeSnapshots
|
269
|
-
def self.build(context)
|
270
|
-
Aws::MemoryDB::EndpointParameters.new(
|
271
|
-
region: context.config.region,
|
272
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
273
|
-
use_fips: context.config.use_fips_endpoint,
|
274
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
275
|
-
)
|
276
|
-
end
|
277
|
-
end
|
278
|
-
|
279
|
-
class DescribeSubnetGroups
|
280
|
-
def self.build(context)
|
281
|
-
Aws::MemoryDB::EndpointParameters.new(
|
282
|
-
region: context.config.region,
|
283
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
284
|
-
use_fips: context.config.use_fips_endpoint,
|
285
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
286
|
-
)
|
287
|
-
end
|
288
|
-
end
|
289
|
-
|
290
|
-
class DescribeUsers
|
291
|
-
def self.build(context)
|
292
|
-
Aws::MemoryDB::EndpointParameters.new(
|
293
|
-
region: context.config.region,
|
294
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
295
|
-
use_fips: context.config.use_fips_endpoint,
|
296
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
297
|
-
)
|
298
|
-
end
|
299
|
-
end
|
300
|
-
|
301
|
-
class FailoverShard
|
302
|
-
def self.build(context)
|
303
|
-
Aws::MemoryDB::EndpointParameters.new(
|
304
|
-
region: context.config.region,
|
305
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
306
|
-
use_fips: context.config.use_fips_endpoint,
|
307
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
308
|
-
)
|
309
|
-
end
|
310
|
-
end
|
311
|
-
|
312
|
-
class ListAllowedNodeTypeUpdates
|
313
|
-
def self.build(context)
|
314
|
-
Aws::MemoryDB::EndpointParameters.new(
|
315
|
-
region: context.config.region,
|
316
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
317
|
-
use_fips: context.config.use_fips_endpoint,
|
318
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
319
|
-
)
|
320
|
-
end
|
321
|
-
end
|
322
|
-
|
323
|
-
class ListTags
|
324
|
-
def self.build(context)
|
325
|
-
Aws::MemoryDB::EndpointParameters.new(
|
326
|
-
region: context.config.region,
|
327
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
328
|
-
use_fips: context.config.use_fips_endpoint,
|
329
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
330
|
-
)
|
331
|
-
end
|
332
|
-
end
|
333
|
-
|
334
|
-
class PurchaseReservedNodesOffering
|
335
|
-
def self.build(context)
|
336
|
-
Aws::MemoryDB::EndpointParameters.new(
|
337
|
-
region: context.config.region,
|
338
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
339
|
-
use_fips: context.config.use_fips_endpoint,
|
340
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
341
|
-
)
|
342
|
-
end
|
343
|
-
end
|
344
|
-
|
345
|
-
class ResetParameterGroup
|
346
|
-
def self.build(context)
|
347
|
-
Aws::MemoryDB::EndpointParameters.new(
|
348
|
-
region: context.config.region,
|
349
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
350
|
-
use_fips: context.config.use_fips_endpoint,
|
351
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
352
|
-
)
|
353
|
-
end
|
354
|
-
end
|
355
|
-
|
356
|
-
class TagResource
|
357
|
-
def self.build(context)
|
358
|
-
Aws::MemoryDB::EndpointParameters.new(
|
359
|
-
region: context.config.region,
|
360
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
361
|
-
use_fips: context.config.use_fips_endpoint,
|
362
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
363
|
-
)
|
364
|
-
end
|
365
|
-
end
|
366
|
-
|
367
|
-
class UntagResource
|
368
|
-
def self.build(context)
|
369
|
-
Aws::MemoryDB::EndpointParameters.new(
|
370
|
-
region: context.config.region,
|
371
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
372
|
-
use_fips: context.config.use_fips_endpoint,
|
373
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
374
|
-
)
|
375
|
-
end
|
376
|
-
end
|
377
|
-
|
378
|
-
class UpdateACL
|
379
|
-
def self.build(context)
|
380
|
-
Aws::MemoryDB::EndpointParameters.new(
|
381
|
-
region: context.config.region,
|
382
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
383
|
-
use_fips: context.config.use_fips_endpoint,
|
384
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
385
|
-
)
|
386
|
-
end
|
387
|
-
end
|
388
|
-
|
389
|
-
class UpdateCluster
|
390
|
-
def self.build(context)
|
391
|
-
Aws::MemoryDB::EndpointParameters.new(
|
392
|
-
region: context.config.region,
|
393
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
394
|
-
use_fips: context.config.use_fips_endpoint,
|
395
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
396
|
-
)
|
397
|
-
end
|
398
|
-
end
|
399
|
-
|
400
|
-
class UpdateParameterGroup
|
401
|
-
def self.build(context)
|
402
|
-
Aws::MemoryDB::EndpointParameters.new(
|
403
|
-
region: context.config.region,
|
404
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
405
|
-
use_fips: context.config.use_fips_endpoint,
|
406
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
407
|
-
)
|
408
|
-
end
|
409
|
-
end
|
410
|
-
|
411
|
-
class UpdateSubnetGroup
|
412
|
-
def self.build(context)
|
413
|
-
Aws::MemoryDB::EndpointParameters.new(
|
414
|
-
region: context.config.region,
|
415
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
416
|
-
use_fips: context.config.use_fips_endpoint,
|
417
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
418
|
-
)
|
419
|
-
end
|
420
|
-
end
|
421
|
-
|
422
|
-
class UpdateUser
|
423
|
-
def self.build(context)
|
424
|
-
Aws::MemoryDB::EndpointParameters.new(
|
425
|
-
region: context.config.region,
|
426
|
-
use_dual_stack: context.config.use_dualstack_endpoint,
|
427
|
-
use_fips: context.config.use_fips_endpoint,
|
428
|
-
endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
|
429
|
-
)
|
430
|
-
end
|
431
|
-
end
|
432
|
-
|
433
19
|
end
|
434
20
|
end
|
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
27
27
|
class Handler < Seahorse::Client::Handler
|
28
28
|
def call(context)
|
29
29
|
unless context[:discovered_endpoint]
|
30
|
-
params = parameters_for_operation(context)
|
30
|
+
params = Aws::MemoryDB::Endpoints.parameters_for_operation(context)
|
31
31
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
32
|
|
33
33
|
context.http_request.endpoint = endpoint.url
|
@@ -67,87 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
|
|
67
67
|
context.http_request.headers[key] = value
|
68
68
|
end
|
69
69
|
end
|
70
|
-
|
71
|
-
def parameters_for_operation(context)
|
72
|
-
case context.operation_name
|
73
|
-
when :batch_update_cluster
|
74
|
-
Aws::MemoryDB::Endpoints::BatchUpdateCluster.build(context)
|
75
|
-
when :copy_snapshot
|
76
|
-
Aws::MemoryDB::Endpoints::CopySnapshot.build(context)
|
77
|
-
when :create_acl
|
78
|
-
Aws::MemoryDB::Endpoints::CreateACL.build(context)
|
79
|
-
when :create_cluster
|
80
|
-
Aws::MemoryDB::Endpoints::CreateCluster.build(context)
|
81
|
-
when :create_parameter_group
|
82
|
-
Aws::MemoryDB::Endpoints::CreateParameterGroup.build(context)
|
83
|
-
when :create_snapshot
|
84
|
-
Aws::MemoryDB::Endpoints::CreateSnapshot.build(context)
|
85
|
-
when :create_subnet_group
|
86
|
-
Aws::MemoryDB::Endpoints::CreateSubnetGroup.build(context)
|
87
|
-
when :create_user
|
88
|
-
Aws::MemoryDB::Endpoints::CreateUser.build(context)
|
89
|
-
when :delete_acl
|
90
|
-
Aws::MemoryDB::Endpoints::DeleteACL.build(context)
|
91
|
-
when :delete_cluster
|
92
|
-
Aws::MemoryDB::Endpoints::DeleteCluster.build(context)
|
93
|
-
when :delete_parameter_group
|
94
|
-
Aws::MemoryDB::Endpoints::DeleteParameterGroup.build(context)
|
95
|
-
when :delete_snapshot
|
96
|
-
Aws::MemoryDB::Endpoints::DeleteSnapshot.build(context)
|
97
|
-
when :delete_subnet_group
|
98
|
-
Aws::MemoryDB::Endpoints::DeleteSubnetGroup.build(context)
|
99
|
-
when :delete_user
|
100
|
-
Aws::MemoryDB::Endpoints::DeleteUser.build(context)
|
101
|
-
when :describe_acls
|
102
|
-
Aws::MemoryDB::Endpoints::DescribeACLs.build(context)
|
103
|
-
when :describe_clusters
|
104
|
-
Aws::MemoryDB::Endpoints::DescribeClusters.build(context)
|
105
|
-
when :describe_engine_versions
|
106
|
-
Aws::MemoryDB::Endpoints::DescribeEngineVersions.build(context)
|
107
|
-
when :describe_events
|
108
|
-
Aws::MemoryDB::Endpoints::DescribeEvents.build(context)
|
109
|
-
when :describe_parameter_groups
|
110
|
-
Aws::MemoryDB::Endpoints::DescribeParameterGroups.build(context)
|
111
|
-
when :describe_parameters
|
112
|
-
Aws::MemoryDB::Endpoints::DescribeParameters.build(context)
|
113
|
-
when :describe_reserved_nodes
|
114
|
-
Aws::MemoryDB::Endpoints::DescribeReservedNodes.build(context)
|
115
|
-
when :describe_reserved_nodes_offerings
|
116
|
-
Aws::MemoryDB::Endpoints::DescribeReservedNodesOfferings.build(context)
|
117
|
-
when :describe_service_updates
|
118
|
-
Aws::MemoryDB::Endpoints::DescribeServiceUpdates.build(context)
|
119
|
-
when :describe_snapshots
|
120
|
-
Aws::MemoryDB::Endpoints::DescribeSnapshots.build(context)
|
121
|
-
when :describe_subnet_groups
|
122
|
-
Aws::MemoryDB::Endpoints::DescribeSubnetGroups.build(context)
|
123
|
-
when :describe_users
|
124
|
-
Aws::MemoryDB::Endpoints::DescribeUsers.build(context)
|
125
|
-
when :failover_shard
|
126
|
-
Aws::MemoryDB::Endpoints::FailoverShard.build(context)
|
127
|
-
when :list_allowed_node_type_updates
|
128
|
-
Aws::MemoryDB::Endpoints::ListAllowedNodeTypeUpdates.build(context)
|
129
|
-
when :list_tags
|
130
|
-
Aws::MemoryDB::Endpoints::ListTags.build(context)
|
131
|
-
when :purchase_reserved_nodes_offering
|
132
|
-
Aws::MemoryDB::Endpoints::PurchaseReservedNodesOffering.build(context)
|
133
|
-
when :reset_parameter_group
|
134
|
-
Aws::MemoryDB::Endpoints::ResetParameterGroup.build(context)
|
135
|
-
when :tag_resource
|
136
|
-
Aws::MemoryDB::Endpoints::TagResource.build(context)
|
137
|
-
when :untag_resource
|
138
|
-
Aws::MemoryDB::Endpoints::UntagResource.build(context)
|
139
|
-
when :update_acl
|
140
|
-
Aws::MemoryDB::Endpoints::UpdateACL.build(context)
|
141
|
-
when :update_cluster
|
142
|
-
Aws::MemoryDB::Endpoints::UpdateCluster.build(context)
|
143
|
-
when :update_parameter_group
|
144
|
-
Aws::MemoryDB::Endpoints::UpdateParameterGroup.build(context)
|
145
|
-
when :update_subnet_group
|
146
|
-
Aws::MemoryDB::Endpoints::UpdateSubnetGroup.build(context)
|
147
|
-
when :update_user
|
148
|
-
Aws::MemoryDB::Endpoints::UpdateUser.build(context)
|
149
|
-
end
|
150
|
-
end
|
151
70
|
end
|
152
71
|
|
153
72
|
def add_handlers(handlers, _config)
|
@@ -238,12 +238,16 @@ module Aws::MemoryDB
|
|
238
238
|
# The cluster's node type
|
239
239
|
# @return [String]
|
240
240
|
#
|
241
|
+
# @!attribute [rw] engine
|
242
|
+
# The Redis OSS or Valkey engine used by the cluster.
|
243
|
+
# @return [String]
|
244
|
+
#
|
241
245
|
# @!attribute [rw] engine_version
|
242
|
-
# The Redis
|
246
|
+
# The Redis engine version used by the cluster
|
243
247
|
# @return [String]
|
244
248
|
#
|
245
249
|
# @!attribute [rw] engine_patch_version
|
246
|
-
# The
|
250
|
+
# The engine patch version used by the cluster
|
247
251
|
# @return [String]
|
248
252
|
#
|
249
253
|
# @!attribute [rw] parameter_group_name
|
@@ -335,6 +339,7 @@ module Aws::MemoryDB
|
|
335
339
|
:availability_mode,
|
336
340
|
:cluster_endpoint,
|
337
341
|
:node_type,
|
342
|
+
:engine,
|
338
343
|
:engine_version,
|
339
344
|
:engine_patch_version,
|
340
345
|
:parameter_group_name,
|
@@ -374,8 +379,13 @@ module Aws::MemoryDB
|
|
374
379
|
# The node type used for the cluster
|
375
380
|
# @return [String]
|
376
381
|
#
|
382
|
+
# @!attribute [rw] engine
|
383
|
+
# The configuration for the Redis OSS or Valkey engine used by the
|
384
|
+
# cluster.
|
385
|
+
# @return [String]
|
386
|
+
#
|
377
387
|
# @!attribute [rw] engine_version
|
378
|
-
# The
|
388
|
+
# The engine version used by the cluster
|
379
389
|
# @return [String]
|
380
390
|
#
|
381
391
|
# @!attribute [rw] maintenance_window
|
@@ -425,6 +435,7 @@ module Aws::MemoryDB
|
|
425
435
|
:name,
|
426
436
|
:description,
|
427
437
|
:node_type,
|
438
|
+
:engine,
|
428
439
|
:engine_version,
|
429
440
|
:maintenance_window,
|
430
441
|
:topic_arn,
|
@@ -684,9 +695,13 @@ module Aws::MemoryDB
|
|
684
695
|
# The name of the Access Control List to associate with the cluster.
|
685
696
|
# @return [String]
|
686
697
|
#
|
698
|
+
# @!attribute [rw] engine
|
699
|
+
# The name of the engine to be used for the nodes in this cluster. The
|
700
|
+
# value must be set to either Redis or Valkey.
|
701
|
+
# @return [String]
|
702
|
+
#
|
687
703
|
# @!attribute [rw] engine_version
|
688
|
-
# The version number of the
|
689
|
-
# cluster.
|
704
|
+
# The version number of the engine to be used for the cluster.
|
690
705
|
# @return [String]
|
691
706
|
#
|
692
707
|
# @!attribute [rw] auto_minor_version_upgrade
|
@@ -726,6 +741,7 @@ module Aws::MemoryDB
|
|
726
741
|
:tags,
|
727
742
|
:snapshot_window,
|
728
743
|
:acl_name,
|
744
|
+
:engine,
|
729
745
|
:engine_version,
|
730
746
|
:auto_minor_version_upgrade,
|
731
747
|
:data_tiering)
|
@@ -1175,8 +1191,13 @@ module Aws::MemoryDB
|
|
1175
1191
|
include Aws::Structure
|
1176
1192
|
end
|
1177
1193
|
|
1194
|
+
# @!attribute [rw] engine
|
1195
|
+
# The engine version to return. Valid values are either valkey or
|
1196
|
+
# redis.
|
1197
|
+
# @return [String]
|
1198
|
+
#
|
1178
1199
|
# @!attribute [rw] engine_version
|
1179
|
-
# The
|
1200
|
+
# The engine version.
|
1180
1201
|
# @return [String]
|
1181
1202
|
#
|
1182
1203
|
# @!attribute [rw] parameter_group_family
|
@@ -1207,6 +1228,7 @@ module Aws::MemoryDB
|
|
1207
1228
|
# @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeEngineVersionsRequest AWS API Documentation
|
1208
1229
|
#
|
1209
1230
|
class DescribeEngineVersionsRequest < Struct.new(
|
1231
|
+
:engine,
|
1210
1232
|
:engine_version,
|
1211
1233
|
:parameter_group_family,
|
1212
1234
|
:max_results,
|
@@ -1847,7 +1869,11 @@ module Aws::MemoryDB
|
|
1847
1869
|
include Aws::Structure
|
1848
1870
|
end
|
1849
1871
|
|
1850
|
-
# Provides details of the
|
1872
|
+
# Provides details of the engine version.
|
1873
|
+
#
|
1874
|
+
# @!attribute [rw] engine
|
1875
|
+
# The version of the Redis OSS or Valkey engine used by the cluster.
|
1876
|
+
# @return [String]
|
1851
1877
|
#
|
1852
1878
|
# @!attribute [rw] engine_version
|
1853
1879
|
# The engine version
|
@@ -1865,6 +1891,7 @@ module Aws::MemoryDB
|
|
1865
1891
|
# @see http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/EngineVersionInfo AWS API Documentation
|
1866
1892
|
#
|
1867
1893
|
class EngineVersionInfo < Struct.new(
|
1894
|
+
:engine,
|
1868
1895
|
:engine_version,
|
1869
1896
|
:engine_patch_version,
|
1870
1897
|
:parameter_group_family)
|
@@ -2568,6 +2595,11 @@ module Aws::MemoryDB
|
|
2568
2595
|
# Reflects the nature of the service update
|
2569
2596
|
# @return [String]
|
2570
2597
|
#
|
2598
|
+
# @!attribute [rw] engine
|
2599
|
+
# The MemoryDB engine to which the update applies. The values are
|
2600
|
+
# either Redis or Valkey.
|
2601
|
+
# @return [String]
|
2602
|
+
#
|
2571
2603
|
# @!attribute [rw] nodes_updated
|
2572
2604
|
# A list of nodes updated by the service update
|
2573
2605
|
# @return [String]
|
@@ -2585,6 +2617,7 @@ module Aws::MemoryDB
|
|
2585
2617
|
:description,
|
2586
2618
|
:status,
|
2587
2619
|
:type,
|
2620
|
+
:engine,
|
2588
2621
|
:nodes_updated,
|
2589
2622
|
:auto_update_start_date)
|
2590
2623
|
SENSITIVE = []
|
@@ -3117,6 +3150,11 @@ module Aws::MemoryDB
|
|
3117
3150
|
# A valid node type that you want to scale this cluster up or down to.
|
3118
3151
|
# @return [String]
|
3119
3152
|
#
|
3153
|
+
# @!attribute [rw] engine
|
3154
|
+
# The name of the engine to be used for the nodes in this cluster. The
|
3155
|
+
# value must be set to either Redis or Valkey.
|
3156
|
+
# @return [String]
|
3157
|
+
#
|
3120
3158
|
# @!attribute [rw] engine_version
|
3121
3159
|
# The upgraded version of the engine to be run on the nodes. You can
|
3122
3160
|
# upgrade to a newer engine version, but you cannot downgrade to an
|
@@ -3150,6 +3188,7 @@ module Aws::MemoryDB
|
|
3150
3188
|
:snapshot_window,
|
3151
3189
|
:snapshot_retention_limit,
|
3152
3190
|
:node_type,
|
3191
|
+
:engine,
|
3153
3192
|
:engine_version,
|
3154
3193
|
:replica_configuration,
|
3155
3194
|
:shard_configuration,
|
data/lib/aws-sdk-memorydb.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -156,6 +156,7 @@ module Aws
|
|
156
156
|
],
|
157
157
|
?snapshot_window: ::String,
|
158
158
|
acl_name: ::String,
|
159
|
+
?engine: ::String,
|
159
160
|
?engine_version: ::String,
|
160
161
|
?auto_minor_version_upgrade: bool,
|
161
162
|
?data_tiering: bool
|
@@ -332,6 +333,7 @@ module Aws
|
|
332
333
|
end
|
333
334
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MemoryDB/Client.html#describe_engine_versions-instance_method
|
334
335
|
def describe_engine_versions: (
|
336
|
+
?engine: ::String,
|
335
337
|
?engine_version: ::String,
|
336
338
|
?parameter_group_family: ::String,
|
337
339
|
?max_results: ::Integer,
|
@@ -596,6 +598,7 @@ module Aws
|
|
596
598
|
?snapshot_window: ::String,
|
597
599
|
?snapshot_retention_limit: ::Integer,
|
598
600
|
?node_type: ::String,
|
601
|
+
?engine: ::String,
|
599
602
|
?engine_version: ::String,
|
600
603
|
?replica_configuration: {
|
601
604
|
replica_count: ::Integer?
|
data/sig/types.rbs
CHANGED
@@ -81,6 +81,7 @@ module Aws::MemoryDB
|
|
81
81
|
attr_accessor availability_mode: ("singleaz" | "multiaz")
|
82
82
|
attr_accessor cluster_endpoint: Types::Endpoint
|
83
83
|
attr_accessor node_type: ::String
|
84
|
+
attr_accessor engine: ::String
|
84
85
|
attr_accessor engine_version: ::String
|
85
86
|
attr_accessor engine_patch_version: ::String
|
86
87
|
attr_accessor parameter_group_name: ::String
|
@@ -108,6 +109,7 @@ module Aws::MemoryDB
|
|
108
109
|
attr_accessor name: ::String
|
109
110
|
attr_accessor description: ::String
|
110
111
|
attr_accessor node_type: ::String
|
112
|
+
attr_accessor engine: ::String
|
111
113
|
attr_accessor engine_version: ::String
|
112
114
|
attr_accessor maintenance_window: ::String
|
113
115
|
attr_accessor topic_arn: ::String
|
@@ -181,6 +183,7 @@ module Aws::MemoryDB
|
|
181
183
|
attr_accessor tags: ::Array[Types::Tag]
|
182
184
|
attr_accessor snapshot_window: ::String
|
183
185
|
attr_accessor acl_name: ::String
|
186
|
+
attr_accessor engine: ::String
|
184
187
|
attr_accessor engine_version: ::String
|
185
188
|
attr_accessor auto_minor_version_upgrade: bool
|
186
189
|
attr_accessor data_tiering: bool
|
@@ -336,6 +339,7 @@ module Aws::MemoryDB
|
|
336
339
|
end
|
337
340
|
|
338
341
|
class DescribeEngineVersionsRequest
|
342
|
+
attr_accessor engine: ::String
|
339
343
|
attr_accessor engine_version: ::String
|
340
344
|
attr_accessor parameter_group_family: ::String
|
341
345
|
attr_accessor max_results: ::Integer
|
@@ -494,6 +498,7 @@ module Aws::MemoryDB
|
|
494
498
|
end
|
495
499
|
|
496
500
|
class EngineVersionInfo
|
501
|
+
attr_accessor engine: ::String
|
497
502
|
attr_accessor engine_version: ::String
|
498
503
|
attr_accessor engine_patch_version: ::String
|
499
504
|
attr_accessor parameter_group_family: ::String
|
@@ -743,6 +748,7 @@ module Aws::MemoryDB
|
|
743
748
|
attr_accessor description: ::String
|
744
749
|
attr_accessor status: ("available" | "in-progress" | "complete" | "scheduled")
|
745
750
|
attr_accessor type: ("security-update")
|
751
|
+
attr_accessor engine: ::String
|
746
752
|
attr_accessor nodes_updated: ::String
|
747
753
|
attr_accessor auto_update_start_date: ::Time
|
748
754
|
SENSITIVE: []
|
@@ -918,6 +924,7 @@ module Aws::MemoryDB
|
|
918
924
|
attr_accessor snapshot_window: ::String
|
919
925
|
attr_accessor snapshot_retention_limit: ::Integer
|
920
926
|
attr_accessor node_type: ::String
|
927
|
+
attr_accessor engine: ::String
|
921
928
|
attr_accessor engine_version: ::String
|
922
929
|
attr_accessor replica_configuration: Types::ReplicaConfigurationRequest
|
923
930
|
attr_accessor shard_configuration: Types::ShardConfigurationRequest
|
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.39.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-10-18 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
|