aws-sdk-memorydb 1.39.0 → 1.40.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,6 +50,8 @@ module Aws::MemoryDB
50
50
  CreateACLResponse = Shapes::StructureShape.new(name: 'CreateACLResponse')
51
51
  CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
52
52
  CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
53
+ CreateMultiRegionClusterRequest = Shapes::StructureShape.new(name: 'CreateMultiRegionClusterRequest')
54
+ CreateMultiRegionClusterResponse = Shapes::StructureShape.new(name: 'CreateMultiRegionClusterResponse')
53
55
  CreateParameterGroupRequest = Shapes::StructureShape.new(name: 'CreateParameterGroupRequest')
54
56
  CreateParameterGroupResponse = Shapes::StructureShape.new(name: 'CreateParameterGroupResponse')
55
57
  CreateSnapshotRequest = Shapes::StructureShape.new(name: 'CreateSnapshotRequest')
@@ -64,6 +66,8 @@ module Aws::MemoryDB
64
66
  DeleteACLResponse = Shapes::StructureShape.new(name: 'DeleteACLResponse')
65
67
  DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
66
68
  DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
69
+ DeleteMultiRegionClusterRequest = Shapes::StructureShape.new(name: 'DeleteMultiRegionClusterRequest')
70
+ DeleteMultiRegionClusterResponse = Shapes::StructureShape.new(name: 'DeleteMultiRegionClusterResponse')
67
71
  DeleteParameterGroupRequest = Shapes::StructureShape.new(name: 'DeleteParameterGroupRequest')
68
72
  DeleteParameterGroupResponse = Shapes::StructureShape.new(name: 'DeleteParameterGroupResponse')
69
73
  DeleteSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteSnapshotRequest')
@@ -80,6 +84,8 @@ module Aws::MemoryDB
80
84
  DescribeEngineVersionsResponse = Shapes::StructureShape.new(name: 'DescribeEngineVersionsResponse')
81
85
  DescribeEventsRequest = Shapes::StructureShape.new(name: 'DescribeEventsRequest')
82
86
  DescribeEventsResponse = Shapes::StructureShape.new(name: 'DescribeEventsResponse')
87
+ DescribeMultiRegionClustersRequest = Shapes::StructureShape.new(name: 'DescribeMultiRegionClustersRequest')
88
+ DescribeMultiRegionClustersResponse = Shapes::StructureShape.new(name: 'DescribeMultiRegionClustersResponse')
83
89
  DescribeParameterGroupsRequest = Shapes::StructureShape.new(name: 'DescribeParameterGroupsRequest')
84
90
  DescribeParameterGroupsResponse = Shapes::StructureShape.new(name: 'DescribeParameterGroupsResponse')
85
91
  DescribeParametersRequest = Shapes::StructureShape.new(name: 'DescribeParametersRequest')
@@ -119,6 +125,7 @@ module Aws::MemoryDB
119
125
  InvalidClusterStateFault = Shapes::StructureShape.new(name: 'InvalidClusterStateFault')
120
126
  InvalidCredentialsException = Shapes::StructureShape.new(name: 'InvalidCredentialsException')
121
127
  InvalidKMSKeyFault = Shapes::StructureShape.new(name: 'InvalidKMSKeyFault')
128
+ InvalidMultiRegionClusterStateFault = Shapes::StructureShape.new(name: 'InvalidMultiRegionClusterStateFault')
122
129
  InvalidNodeStateFault = Shapes::StructureShape.new(name: 'InvalidNodeStateFault')
123
130
  InvalidParameterCombinationException = Shapes::StructureShape.new(name: 'InvalidParameterCombinationException')
124
131
  InvalidParameterGroupStateFault = Shapes::StructureShape.new(name: 'InvalidParameterGroupStateFault')
@@ -129,10 +136,17 @@ module Aws::MemoryDB
129
136
  InvalidVPCNetworkStateFault = Shapes::StructureShape.new(name: 'InvalidVPCNetworkStateFault')
130
137
  KeyList = Shapes::ListShape.new(name: 'KeyList')
131
138
  KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
139
+ ListAllowedMultiRegionClusterUpdatesRequest = Shapes::StructureShape.new(name: 'ListAllowedMultiRegionClusterUpdatesRequest')
140
+ ListAllowedMultiRegionClusterUpdatesResponse = Shapes::StructureShape.new(name: 'ListAllowedMultiRegionClusterUpdatesResponse')
132
141
  ListAllowedNodeTypeUpdatesRequest = Shapes::StructureShape.new(name: 'ListAllowedNodeTypeUpdatesRequest')
133
142
  ListAllowedNodeTypeUpdatesResponse = Shapes::StructureShape.new(name: 'ListAllowedNodeTypeUpdatesResponse')
134
143
  ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
135
144
  ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
145
+ MultiRegionCluster = Shapes::StructureShape.new(name: 'MultiRegionCluster')
146
+ MultiRegionClusterAlreadyExistsFault = Shapes::StructureShape.new(name: 'MultiRegionClusterAlreadyExistsFault')
147
+ MultiRegionClusterList = Shapes::ListShape.new(name: 'MultiRegionClusterList')
148
+ MultiRegionClusterNotFoundFault = Shapes::StructureShape.new(name: 'MultiRegionClusterNotFoundFault')
149
+ MultiRegionParameterGroupNotFoundFault = Shapes::StructureShape.new(name: 'MultiRegionParameterGroupNotFoundFault')
136
150
  NoOperationFault = Shapes::StructureShape.new(name: 'NoOperationFault')
137
151
  Node = Shapes::StructureShape.new(name: 'Node')
138
152
  NodeList = Shapes::ListShape.new(name: 'NodeList')
@@ -156,6 +170,8 @@ module Aws::MemoryDB
156
170
  PurchaseReservedNodesOfferingResponse = Shapes::StructureShape.new(name: 'PurchaseReservedNodesOfferingResponse')
157
171
  RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
158
172
  RecurringChargeList = Shapes::ListShape.new(name: 'RecurringChargeList')
173
+ RegionalCluster = Shapes::StructureShape.new(name: 'RegionalCluster')
174
+ RegionalClusterList = Shapes::ListShape.new(name: 'RegionalClusterList')
159
175
  ReplicaConfigurationRequest = Shapes::StructureShape.new(name: 'ReplicaConfigurationRequest')
160
176
  ReservedNode = Shapes::StructureShape.new(name: 'ReservedNode')
161
177
  ReservedNodeAlreadyExistsFault = Shapes::StructureShape.new(name: 'ReservedNodeAlreadyExistsFault')
@@ -225,8 +241,11 @@ module Aws::MemoryDB
225
241
  UpdateACLResponse = Shapes::StructureShape.new(name: 'UpdateACLResponse')
226
242
  UpdateClusterRequest = Shapes::StructureShape.new(name: 'UpdateClusterRequest')
227
243
  UpdateClusterResponse = Shapes::StructureShape.new(name: 'UpdateClusterResponse')
244
+ UpdateMultiRegionClusterRequest = Shapes::StructureShape.new(name: 'UpdateMultiRegionClusterRequest')
245
+ UpdateMultiRegionClusterResponse = Shapes::StructureShape.new(name: 'UpdateMultiRegionClusterResponse')
228
246
  UpdateParameterGroupRequest = Shapes::StructureShape.new(name: 'UpdateParameterGroupRequest')
229
247
  UpdateParameterGroupResponse = Shapes::StructureShape.new(name: 'UpdateParameterGroupResponse')
248
+ UpdateStrategy = Shapes::StringShape.new(name: 'UpdateStrategy')
230
249
  UpdateSubnetGroupRequest = Shapes::StructureShape.new(name: 'UpdateSubnetGroupRequest')
231
250
  UpdateSubnetGroupResponse = Shapes::StructureShape.new(name: 'UpdateSubnetGroupResponse')
232
251
  UpdateUserRequest = Shapes::StructureShape.new(name: 'UpdateUserRequest')
@@ -293,6 +312,7 @@ module Aws::MemoryDB
293
312
  Cluster.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
294
313
  Cluster.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
295
314
  Cluster.add_member(:pending_updates, Shapes::ShapeRef.new(shape: ClusterPendingUpdates, location_name: "PendingUpdates"))
315
+ Cluster.add_member(:multi_region_cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "MultiRegionClusterName"))
296
316
  Cluster.add_member(:number_of_shards, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumberOfShards"))
297
317
  Cluster.add_member(:shards, Shapes::ShapeRef.new(shape: ShardList, location_name: "Shards"))
298
318
  Cluster.add_member(:availability_mode, Shapes::ShapeRef.new(shape: AZStatus, location_name: "AvailabilityMode"))
@@ -335,6 +355,8 @@ module Aws::MemoryDB
335
355
  ClusterConfiguration.add_member(:snapshot_window, Shapes::ShapeRef.new(shape: String, location_name: "SnapshotWindow"))
336
356
  ClusterConfiguration.add_member(:num_shards, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumShards"))
337
357
  ClusterConfiguration.add_member(:shards, Shapes::ShapeRef.new(shape: ShardDetails, location_name: "Shards"))
358
+ ClusterConfiguration.add_member(:multi_region_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "MultiRegionParameterGroupName"))
359
+ ClusterConfiguration.add_member(:multi_region_cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "MultiRegionClusterName"))
338
360
  ClusterConfiguration.struct_class = Types::ClusterConfiguration
339
361
 
340
362
  ClusterList.member = Shapes::ShapeRef.new(shape: Cluster)
@@ -370,6 +392,7 @@ module Aws::MemoryDB
370
392
 
371
393
  CreateClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterName"))
372
394
  CreateClusterRequest.add_member(:node_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "NodeType"))
395
+ CreateClusterRequest.add_member(:multi_region_cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "MultiRegionClusterName"))
373
396
  CreateClusterRequest.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "ParameterGroupName"))
374
397
  CreateClusterRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
375
398
  CreateClusterRequest.add_member(:num_shards, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumShards"))
@@ -396,6 +419,20 @@ module Aws::MemoryDB
396
419
  CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
397
420
  CreateClusterResponse.struct_class = Types::CreateClusterResponse
398
421
 
422
+ CreateMultiRegionClusterRequest.add_member(:multi_region_cluster_name_suffix, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MultiRegionClusterNameSuffix"))
423
+ CreateMultiRegionClusterRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
424
+ CreateMultiRegionClusterRequest.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
425
+ CreateMultiRegionClusterRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
426
+ CreateMultiRegionClusterRequest.add_member(:node_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "NodeType"))
427
+ CreateMultiRegionClusterRequest.add_member(:multi_region_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "MultiRegionParameterGroupName"))
428
+ CreateMultiRegionClusterRequest.add_member(:num_shards, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumShards"))
429
+ CreateMultiRegionClusterRequest.add_member(:tls_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "TLSEnabled"))
430
+ CreateMultiRegionClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
431
+ CreateMultiRegionClusterRequest.struct_class = Types::CreateMultiRegionClusterRequest
432
+
433
+ CreateMultiRegionClusterResponse.add_member(:multi_region_cluster, Shapes::ShapeRef.new(shape: MultiRegionCluster, location_name: "MultiRegionCluster"))
434
+ CreateMultiRegionClusterResponse.struct_class = Types::CreateMultiRegionClusterResponse
435
+
399
436
  CreateParameterGroupRequest.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
400
437
  CreateParameterGroupRequest.add_member(:family, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Family"))
401
438
  CreateParameterGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
@@ -441,12 +478,19 @@ module Aws::MemoryDB
441
478
  DeleteACLResponse.struct_class = Types::DeleteACLResponse
442
479
 
443
480
  DeleteClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterName"))
481
+ DeleteClusterRequest.add_member(:multi_region_cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "MultiRegionClusterName"))
444
482
  DeleteClusterRequest.add_member(:final_snapshot_name, Shapes::ShapeRef.new(shape: String, location_name: "FinalSnapshotName"))
445
483
  DeleteClusterRequest.struct_class = Types::DeleteClusterRequest
446
484
 
447
485
  DeleteClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
448
486
  DeleteClusterResponse.struct_class = Types::DeleteClusterResponse
449
487
 
488
+ DeleteMultiRegionClusterRequest.add_member(:multi_region_cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MultiRegionClusterName"))
489
+ DeleteMultiRegionClusterRequest.struct_class = Types::DeleteMultiRegionClusterRequest
490
+
491
+ DeleteMultiRegionClusterResponse.add_member(:multi_region_cluster, Shapes::ShapeRef.new(shape: MultiRegionCluster, location_name: "MultiRegionCluster"))
492
+ DeleteMultiRegionClusterResponse.struct_class = Types::DeleteMultiRegionClusterResponse
493
+
450
494
  DeleteParameterGroupRequest.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
451
495
  DeleteParameterGroupRequest.struct_class = Types::DeleteParameterGroupRequest
452
496
 
@@ -515,6 +559,16 @@ module Aws::MemoryDB
515
559
  DescribeEventsResponse.add_member(:events, Shapes::ShapeRef.new(shape: EventList, location_name: "Events"))
516
560
  DescribeEventsResponse.struct_class = Types::DescribeEventsResponse
517
561
 
562
+ DescribeMultiRegionClustersRequest.add_member(:multi_region_cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "MultiRegionClusterName"))
563
+ DescribeMultiRegionClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxResults"))
564
+ DescribeMultiRegionClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
565
+ DescribeMultiRegionClustersRequest.add_member(:show_cluster_details, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ShowClusterDetails"))
566
+ DescribeMultiRegionClustersRequest.struct_class = Types::DescribeMultiRegionClustersRequest
567
+
568
+ DescribeMultiRegionClustersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
569
+ DescribeMultiRegionClustersResponse.add_member(:multi_region_clusters, Shapes::ShapeRef.new(shape: MultiRegionClusterList, location_name: "MultiRegionClusters"))
570
+ DescribeMultiRegionClustersResponse.struct_class = Types::DescribeMultiRegionClustersResponse
571
+
518
572
  DescribeParameterGroupsRequest.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "ParameterGroupName"))
519
573
  DescribeParameterGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxResults"))
520
574
  DescribeParameterGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
@@ -649,6 +703,8 @@ module Aws::MemoryDB
649
703
 
650
704
  InvalidKMSKeyFault.struct_class = Types::InvalidKMSKeyFault
651
705
 
706
+ InvalidMultiRegionClusterStateFault.struct_class = Types::InvalidMultiRegionClusterStateFault
707
+
652
708
  InvalidNodeStateFault.struct_class = Types::InvalidNodeStateFault
653
709
 
654
710
  InvalidParameterCombinationException.add_member(:message, Shapes::ShapeRef.new(shape: AwsQueryErrorMessage, location_name: "message"))
@@ -669,6 +725,13 @@ module Aws::MemoryDB
669
725
 
670
726
  KeyList.member = Shapes::ShapeRef.new(shape: String)
671
727
 
728
+ ListAllowedMultiRegionClusterUpdatesRequest.add_member(:multi_region_cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MultiRegionClusterName"))
729
+ ListAllowedMultiRegionClusterUpdatesRequest.struct_class = Types::ListAllowedMultiRegionClusterUpdatesRequest
730
+
731
+ ListAllowedMultiRegionClusterUpdatesResponse.add_member(:scale_up_node_types, Shapes::ShapeRef.new(shape: NodeTypeList, location_name: "ScaleUpNodeTypes"))
732
+ ListAllowedMultiRegionClusterUpdatesResponse.add_member(:scale_down_node_types, Shapes::ShapeRef.new(shape: NodeTypeList, location_name: "ScaleDownNodeTypes"))
733
+ ListAllowedMultiRegionClusterUpdatesResponse.struct_class = Types::ListAllowedMultiRegionClusterUpdatesResponse
734
+
672
735
  ListAllowedNodeTypeUpdatesRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClusterName"))
673
736
  ListAllowedNodeTypeUpdatesRequest.struct_class = Types::ListAllowedNodeTypeUpdatesRequest
674
737
 
@@ -682,6 +745,27 @@ module Aws::MemoryDB
682
745
  ListTagsResponse.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
683
746
  ListTagsResponse.struct_class = Types::ListTagsResponse
684
747
 
748
+ MultiRegionCluster.add_member(:multi_region_cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "MultiRegionClusterName"))
749
+ MultiRegionCluster.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
750
+ MultiRegionCluster.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
751
+ MultiRegionCluster.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
752
+ MultiRegionCluster.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
753
+ MultiRegionCluster.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
754
+ MultiRegionCluster.add_member(:number_of_shards, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "NumberOfShards"))
755
+ MultiRegionCluster.add_member(:clusters, Shapes::ShapeRef.new(shape: RegionalClusterList, location_name: "Clusters"))
756
+ MultiRegionCluster.add_member(:multi_region_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "MultiRegionParameterGroupName"))
757
+ MultiRegionCluster.add_member(:tls_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "TLSEnabled"))
758
+ MultiRegionCluster.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
759
+ MultiRegionCluster.struct_class = Types::MultiRegionCluster
760
+
761
+ MultiRegionClusterAlreadyExistsFault.struct_class = Types::MultiRegionClusterAlreadyExistsFault
762
+
763
+ MultiRegionClusterList.member = Shapes::ShapeRef.new(shape: MultiRegionCluster)
764
+
765
+ MultiRegionClusterNotFoundFault.struct_class = Types::MultiRegionClusterNotFoundFault
766
+
767
+ MultiRegionParameterGroupNotFoundFault.struct_class = Types::MultiRegionParameterGroupNotFoundFault
768
+
685
769
  NoOperationFault.struct_class = Types::NoOperationFault
686
770
 
687
771
  Node.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
@@ -754,6 +838,14 @@ module Aws::MemoryDB
754
838
 
755
839
  RecurringChargeList.member = Shapes::ShapeRef.new(shape: RecurringCharge)
756
840
 
841
+ RegionalCluster.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "ClusterName"))
842
+ RegionalCluster.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "Region"))
843
+ RegionalCluster.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
844
+ RegionalCluster.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "ARN"))
845
+ RegionalCluster.struct_class = Types::RegionalCluster
846
+
847
+ RegionalClusterList.member = Shapes::ShapeRef.new(shape: RegionalCluster)
848
+
757
849
  ReplicaConfigurationRequest.add_member(:replica_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ReplicaCount"))
758
850
  ReplicaConfigurationRequest.struct_class = Types::ReplicaConfigurationRequest
759
851
 
@@ -973,6 +1065,18 @@ module Aws::MemoryDB
973
1065
  UpdateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
974
1066
  UpdateClusterResponse.struct_class = Types::UpdateClusterResponse
975
1067
 
1068
+ UpdateMultiRegionClusterRequest.add_member(:multi_region_cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MultiRegionClusterName"))
1069
+ UpdateMultiRegionClusterRequest.add_member(:node_type, Shapes::ShapeRef.new(shape: String, location_name: "NodeType"))
1070
+ UpdateMultiRegionClusterRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
1071
+ UpdateMultiRegionClusterRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
1072
+ UpdateMultiRegionClusterRequest.add_member(:shard_configuration, Shapes::ShapeRef.new(shape: ShardConfigurationRequest, location_name: "ShardConfiguration"))
1073
+ UpdateMultiRegionClusterRequest.add_member(:multi_region_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "MultiRegionParameterGroupName"))
1074
+ UpdateMultiRegionClusterRequest.add_member(:update_strategy, Shapes::ShapeRef.new(shape: UpdateStrategy, location_name: "UpdateStrategy"))
1075
+ UpdateMultiRegionClusterRequest.struct_class = Types::UpdateMultiRegionClusterRequest
1076
+
1077
+ UpdateMultiRegionClusterResponse.add_member(:multi_region_cluster, Shapes::ShapeRef.new(shape: MultiRegionCluster, location_name: "MultiRegionCluster"))
1078
+ UpdateMultiRegionClusterResponse.struct_class = Types::UpdateMultiRegionClusterResponse
1079
+
976
1080
  UpdateParameterGroupRequest.add_member(:parameter_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ParameterGroupName"))
977
1081
  UpdateParameterGroupRequest.add_member(:parameter_name_values, Shapes::ShapeRef.new(shape: ParameterNameValueList, required: true, location_name: "ParameterNameValues"))
978
1082
  UpdateParameterGroupRequest.struct_class = Types::UpdateParameterGroupRequest
@@ -1102,6 +1206,22 @@ module Aws::MemoryDB
1102
1206
  o.errors << Shapes::ShapeRef.new(shape: TagQuotaPerResourceExceeded)
1103
1207
  o.errors << Shapes::ShapeRef.new(shape: ACLNotFoundFault)
1104
1208
  o.errors << Shapes::ShapeRef.new(shape: InvalidACLStateFault)
1209
+ o.errors << Shapes::ShapeRef.new(shape: MultiRegionClusterNotFoundFault)
1210
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMultiRegionClusterStateFault)
1211
+ end)
1212
+
1213
+ api.add_operation(:create_multi_region_cluster, Seahorse::Model::Operation.new.tap do |o|
1214
+ o.name = "CreateMultiRegionCluster"
1215
+ o.http_method = "POST"
1216
+ o.http_request_uri = "/"
1217
+ o.input = Shapes::ShapeRef.new(shape: CreateMultiRegionClusterRequest)
1218
+ o.output = Shapes::ShapeRef.new(shape: CreateMultiRegionClusterResponse)
1219
+ o.errors << Shapes::ShapeRef.new(shape: MultiRegionClusterAlreadyExistsFault)
1220
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
1221
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1222
+ o.errors << Shapes::ShapeRef.new(shape: MultiRegionParameterGroupNotFoundFault)
1223
+ o.errors << Shapes::ShapeRef.new(shape: ClusterQuotaForCustomerExceededFault)
1224
+ o.errors << Shapes::ShapeRef.new(shape: TagQuotaPerResourceExceeded)
1105
1225
  end)
1106
1226
 
1107
1227
  api.add_operation(:create_parameter_group, Seahorse::Model::Operation.new.tap do |o|
@@ -1189,6 +1309,17 @@ module Aws::MemoryDB
1189
1309
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
1190
1310
  end)
1191
1311
 
1312
+ api.add_operation(:delete_multi_region_cluster, Seahorse::Model::Operation.new.tap do |o|
1313
+ o.name = "DeleteMultiRegionCluster"
1314
+ o.http_method = "POST"
1315
+ o.http_request_uri = "/"
1316
+ o.input = Shapes::ShapeRef.new(shape: DeleteMultiRegionClusterRequest)
1317
+ o.output = Shapes::ShapeRef.new(shape: DeleteMultiRegionClusterResponse)
1318
+ o.errors << Shapes::ShapeRef.new(shape: MultiRegionClusterNotFoundFault)
1319
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMultiRegionClusterStateFault)
1320
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1321
+ end)
1322
+
1192
1323
  api.add_operation(:delete_parameter_group, Seahorse::Model::Operation.new.tap do |o|
1193
1324
  o.name = "DeleteParameterGroup"
1194
1325
  o.http_method = "POST"
@@ -1305,6 +1436,24 @@ module Aws::MemoryDB
1305
1436
  )
1306
1437
  end)
1307
1438
 
1439
+ api.add_operation(:describe_multi_region_clusters, Seahorse::Model::Operation.new.tap do |o|
1440
+ o.name = "DescribeMultiRegionClusters"
1441
+ o.http_method = "POST"
1442
+ o.http_request_uri = "/"
1443
+ o.input = Shapes::ShapeRef.new(shape: DescribeMultiRegionClustersRequest)
1444
+ o.output = Shapes::ShapeRef.new(shape: DescribeMultiRegionClustersResponse)
1445
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundFault)
1446
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
1447
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1448
+ o.errors << Shapes::ShapeRef.new(shape: MultiRegionClusterNotFoundFault)
1449
+ o[:pager] = Aws::Pager.new(
1450
+ limit_key: "max_results",
1451
+ tokens: {
1452
+ "next_token" => "next_token"
1453
+ }
1454
+ )
1455
+ end)
1456
+
1308
1457
  api.add_operation(:describe_parameter_groups, Seahorse::Model::Operation.new.tap do |o|
1309
1458
  o.name = "DescribeParameterGroups"
1310
1459
  o.http_method = "POST"
@@ -1459,6 +1608,17 @@ module Aws::MemoryDB
1459
1608
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
1460
1609
  end)
1461
1610
 
1611
+ api.add_operation(:list_allowed_multi_region_cluster_updates, Seahorse::Model::Operation.new.tap do |o|
1612
+ o.name = "ListAllowedMultiRegionClusterUpdates"
1613
+ o.http_method = "POST"
1614
+ o.http_request_uri = "/"
1615
+ o.input = Shapes::ShapeRef.new(shape: ListAllowedMultiRegionClusterUpdatesRequest)
1616
+ o.output = Shapes::ShapeRef.new(shape: ListAllowedMultiRegionClusterUpdatesResponse)
1617
+ o.errors << Shapes::ShapeRef.new(shape: MultiRegionClusterNotFoundFault)
1618
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
1619
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1620
+ end)
1621
+
1462
1622
  api.add_operation(:list_allowed_node_type_updates, Seahorse::Model::Operation.new.tap do |o|
1463
1623
  o.name = "ListAllowedNodeTypeUpdates"
1464
1624
  o.http_method = "POST"
@@ -1486,6 +1646,8 @@ module Aws::MemoryDB
1486
1646
  o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
1487
1647
  o.errors << Shapes::ShapeRef.new(shape: UserNotFoundFault)
1488
1648
  o.errors << Shapes::ShapeRef.new(shape: ACLNotFoundFault)
1649
+ o.errors << Shapes::ShapeRef.new(shape: MultiRegionClusterNotFoundFault)
1650
+ o.errors << Shapes::ShapeRef.new(shape: MultiRegionParameterGroupNotFoundFault)
1489
1651
  end)
1490
1652
 
1491
1653
  api.add_operation(:purchase_reserved_nodes_offering, Seahorse::Model::Operation.new.tap do |o|
@@ -1529,9 +1691,12 @@ module Aws::MemoryDB
1529
1691
  o.errors << Shapes::ShapeRef.new(shape: SnapshotNotFoundFault)
1530
1692
  o.errors << Shapes::ShapeRef.new(shape: UserNotFoundFault)
1531
1693
  o.errors << Shapes::ShapeRef.new(shape: ACLNotFoundFault)
1694
+ o.errors << Shapes::ShapeRef.new(shape: MultiRegionClusterNotFoundFault)
1695
+ o.errors << Shapes::ShapeRef.new(shape: MultiRegionParameterGroupNotFoundFault)
1532
1696
  o.errors << Shapes::ShapeRef.new(shape: TagQuotaPerResourceExceeded)
1533
1697
  o.errors << Shapes::ShapeRef.new(shape: InvalidARNFault)
1534
1698
  o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
1699
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1535
1700
  end)
1536
1701
 
1537
1702
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -1550,6 +1715,9 @@ module Aws::MemoryDB
1550
1715
  o.errors << Shapes::ShapeRef.new(shape: ServiceLinkedRoleNotFoundFault)
1551
1716
  o.errors << Shapes::ShapeRef.new(shape: UserNotFoundFault)
1552
1717
  o.errors << Shapes::ShapeRef.new(shape: ACLNotFoundFault)
1718
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1719
+ o.errors << Shapes::ShapeRef.new(shape: MultiRegionClusterNotFoundFault)
1720
+ o.errors << Shapes::ShapeRef.new(shape: MultiRegionParameterGroupNotFoundFault)
1553
1721
  end)
1554
1722
 
1555
1723
  api.add_operation(:update_acl, Seahorse::Model::Operation.new.tap do |o|
@@ -1591,6 +1759,19 @@ module Aws::MemoryDB
1591
1759
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
1592
1760
  end)
1593
1761
 
1762
+ api.add_operation(:update_multi_region_cluster, Seahorse::Model::Operation.new.tap do |o|
1763
+ o.name = "UpdateMultiRegionCluster"
1764
+ o.http_method = "POST"
1765
+ o.http_request_uri = "/"
1766
+ o.input = Shapes::ShapeRef.new(shape: UpdateMultiRegionClusterRequest)
1767
+ o.output = Shapes::ShapeRef.new(shape: UpdateMultiRegionClusterResponse)
1768
+ o.errors << Shapes::ShapeRef.new(shape: MultiRegionClusterNotFoundFault)
1769
+ o.errors << Shapes::ShapeRef.new(shape: MultiRegionParameterGroupNotFoundFault)
1770
+ o.errors << Shapes::ShapeRef.new(shape: InvalidMultiRegionClusterStateFault)
1771
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterCombinationException)
1772
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1773
+ end)
1774
+
1594
1775
  api.add_operation(:update_parameter_group, Seahorse::Model::Operation.new.tap do |o|
1595
1776
  o.name = "UpdateParameterGroup"
1596
1777
  o.http_method = "POST"
@@ -42,6 +42,7 @@ module Aws::MemoryDB
42
42
  # * {InvalidClusterStateFault}
43
43
  # * {InvalidCredentialsException}
44
44
  # * {InvalidKMSKeyFault}
45
+ # * {InvalidMultiRegionClusterStateFault}
45
46
  # * {InvalidNodeStateFault}
46
47
  # * {InvalidParameterCombinationException}
47
48
  # * {InvalidParameterGroupStateFault}
@@ -50,6 +51,9 @@ module Aws::MemoryDB
50
51
  # * {InvalidSubnet}
51
52
  # * {InvalidUserStateFault}
52
53
  # * {InvalidVPCNetworkStateFault}
54
+ # * {MultiRegionClusterAlreadyExistsFault}
55
+ # * {MultiRegionClusterNotFoundFault}
56
+ # * {MultiRegionParameterGroupNotFoundFault}
53
57
  # * {NoOperationFault}
54
58
  # * {NodeQuotaForClusterExceededFault}
55
59
  # * {NodeQuotaForCustomerExceededFault}
@@ -237,6 +241,16 @@ module Aws::MemoryDB
237
241
  end
238
242
  end
239
243
 
244
+ class InvalidMultiRegionClusterStateFault < ServiceError
245
+
246
+ # @param [Seahorse::Client::RequestContext] context
247
+ # @param [String] message
248
+ # @param [Aws::MemoryDB::Types::InvalidMultiRegionClusterStateFault] data
249
+ def initialize(context, message, data = Aws::EmptyStructure.new)
250
+ super(context, message, data)
251
+ end
252
+ end
253
+
240
254
  class InvalidNodeStateFault < ServiceError
241
255
 
242
256
  # @param [Seahorse::Client::RequestContext] context
@@ -327,6 +341,36 @@ module Aws::MemoryDB
327
341
  end
328
342
  end
329
343
 
344
+ class MultiRegionClusterAlreadyExistsFault < ServiceError
345
+
346
+ # @param [Seahorse::Client::RequestContext] context
347
+ # @param [String] message
348
+ # @param [Aws::MemoryDB::Types::MultiRegionClusterAlreadyExistsFault] data
349
+ def initialize(context, message, data = Aws::EmptyStructure.new)
350
+ super(context, message, data)
351
+ end
352
+ end
353
+
354
+ class MultiRegionClusterNotFoundFault < ServiceError
355
+
356
+ # @param [Seahorse::Client::RequestContext] context
357
+ # @param [String] message
358
+ # @param [Aws::MemoryDB::Types::MultiRegionClusterNotFoundFault] data
359
+ def initialize(context, message, data = Aws::EmptyStructure.new)
360
+ super(context, message, data)
361
+ end
362
+ end
363
+
364
+ class MultiRegionParameterGroupNotFoundFault < ServiceError
365
+
366
+ # @param [Seahorse::Client::RequestContext] context
367
+ # @param [String] message
368
+ # @param [Aws::MemoryDB::Types::MultiRegionParameterGroupNotFoundFault] data
369
+ def initialize(context, message, data = Aws::EmptyStructure.new)
370
+ super(context, message, data)
371
+ end
372
+ end
373
+
330
374
  class NoOperationFault < ServiceError
331
375
 
332
376
  # @param [Seahorse::Client::RequestContext] context