Skip to content

Commit da16c23

Browse files
CreateMultiRegionClusters and DeleteMultiRegionClusters APIs marked as deprecated. Introduced new multi-Region clusters creation experience through multiRegionProperties parameter in CreateCluster API.
1 parent 17ec1cb commit da16c23

33 files changed

+1851
-193
lines changed

docgenerator/AWSSDKDocSamples/DSQL/DSQL.GeneratedSamples.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ public void DSQLDeleteMultiRegionClusters()
6969
var response = client.DeleteMultiRegionClusters(new DeleteMultiRegionClustersRequest
7070
{
7171
LinkedClusterArns = new List<string> {
72-
"arn:aws:dsql:us-east-1:111122223333:cluster/abcdefghijklmnopqrst12345",
73-
"arn:aws:dsql:us-east-2:111122223333:cluster/klmnopqrstuvwxyzabcd54321"
72+
"arn:aws:dsql:us-east-1:111122223333:cluster/abcdefghijklmnopqrstu12345",
73+
"arn:aws:dsql:us-east-2:111122223333:cluster/klmnopqrstuvwxyzabcde54321"
7474
}
7575
});
7676

generator/ServiceModels/dsql/dsql-2018-05-10.api.json

Lines changed: 81 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"errors":[
2626
{"shape":"ServiceQuotaExceededException"},
2727
{"shape":"ThrottlingException"},
28-
{"shape":"AccessDeniedException"},
2928
{"shape":"ValidationException"},
29+
{"shape":"AccessDeniedException"},
3030
{"shape":"InternalServerException"},
3131
{"shape":"ConflictException"}
3232
]
@@ -47,7 +47,10 @@
4747
{"shape":"ValidationException"},
4848
{"shape":"InternalServerException"},
4949
{"shape":"ConflictException"}
50-
]
50+
],
51+
"deprecated":true,
52+
"deprecatedMessage":"The CreateMultiRegionClusters API is deprecated. Use the CreateCluster API with multi-Region properties to create a multi-Region cluster.",
53+
"deprecatedSince":"5/13/2025"
5154
},
5255
"DeleteCluster":{
5356
"name":"DeleteCluster",
@@ -84,6 +87,9 @@
8487
{"shape":"ResourceNotFoundException"},
8588
{"shape":"ConflictException"}
8689
],
90+
"deprecated":true,
91+
"deprecatedMessage":"The DeleteMultiRegionClusters API is deprecated. To delete a multi-Region cluster, use the DeleteCluster API instead.",
92+
"deprecatedSince":"5/13/2025",
8793
"idempotent":true
8894
},
8995
"GetCluster":{
@@ -200,8 +206,8 @@
200206
"output":{"shape":"UpdateClusterOutput"},
201207
"errors":[
202208
{"shape":"ThrottlingException"},
203-
{"shape":"AccessDeniedException"},
204209
{"shape":"ValidationException"},
210+
{"shape":"AccessDeniedException"},
205211
{"shape":"InternalServerException"},
206212
{"shape":"ResourceNotFoundException"},
207213
{"shape":"ConflictException"}
@@ -233,7 +239,10 @@
233239
"min":1,
234240
"pattern":"[!-~]+"
235241
},
236-
"ClusterArn":{"type":"string"},
242+
"ClusterArn":{
243+
"type":"string",
244+
"pattern":"arn:aws(-[^:]+)?:dsql:[a-z0-9-]{1,20}:[0-9]{12}:cluster/[a-z0-9]{26}"
245+
},
237246
"ClusterArnList":{
238247
"type":"list",
239248
"member":{"shape":"ClusterArn"}
@@ -250,17 +259,24 @@
250259
"ClusterPropertyMap":{
251260
"type":"map",
252261
"key":{"shape":"Region"},
253-
"value":{"shape":"LinkedClusterProperties"}
262+
"value":{"shape":"LinkedClusterProperties"},
263+
"deprecated":true,
264+
"deprecatedMessage":"The CreateMultiRegionClusters API is deprecated. To create a multi-Region cluster, use the CreateCluster API with multi-Region properties instead.",
265+
"deprecatedSince":"5/13/2025"
254266
},
255267
"ClusterStatus":{
256268
"type":"string",
257269
"enum":[
258270
"CREATING",
259271
"ACTIVE",
272+
"IDLE",
273+
"INACTIVE",
260274
"UPDATING",
261275
"DELETING",
262276
"DELETED",
263-
"FAILED"
277+
"FAILED",
278+
"PENDING_SETUP",
279+
"PENDING_DELETE"
264280
]
265281
},
266282
"ClusterSummary":{
@@ -296,7 +312,8 @@
296312
"clientToken":{
297313
"shape":"ClientToken",
298314
"idempotencyToken":true
299-
}
315+
},
316+
"multiRegionProperties":{"shape":"MultiRegionProperties"}
300317
}
301318
},
302319
"CreateClusterOutput":{
@@ -313,6 +330,7 @@
313330
"arn":{"shape":"ClusterArn"},
314331
"status":{"shape":"ClusterStatus"},
315332
"creationTime":{"shape":"ClusterCreationTime"},
333+
"multiRegionProperties":{"shape":"MultiRegionProperties"},
316334
"deletionProtectionEnabled":{"shape":"DeletionProtectionEnabled"}
317335
}
318336
},
@@ -370,7 +388,12 @@
370388
"arn":{"shape":"ClusterArn"},
371389
"status":{"shape":"ClusterStatus"},
372390
"creationTime":{"shape":"ClusterCreationTime"},
373-
"deletionProtectionEnabled":{"shape":"DeletionProtectionEnabled"}
391+
"deletionProtectionEnabled":{
392+
"shape":"DeletionProtectionEnabled",
393+
"deprecated":true,
394+
"deprecatedMessage":"The deletionProtectionEnabled field is deprecated in the DeleteCluster API. To check deletion protection status, use the GetCluster API instead.",
395+
"deprecatedSince":"5/13/2025"
396+
}
374397
}
375398
},
376399
"DeleteMultiRegionClustersInput":{
@@ -419,9 +442,21 @@
419442
"arn":{"shape":"ClusterArn"},
420443
"status":{"shape":"ClusterStatus"},
421444
"creationTime":{"shape":"ClusterCreationTime"},
445+
"witnessRegion":{
446+
"shape":"Region",
447+
"deprecated":true,
448+
"deprecatedMessage":"The witnessRegion field is deprecated. To see the witnessRegion, use multiRegionProperties.witnessRegion instead.",
449+
"deprecatedSince":"5/13/2025"
450+
},
451+
"linkedClusterArns":{
452+
"shape":"ClusterArnList",
453+
"deprecated":true,
454+
"deprecatedMessage":"The linkedClusterArns field is deprecated. To see the peered cluster Arns, use multiRegionProperties.cluster instead.",
455+
"deprecatedSince":"5/13/2025"
456+
},
422457
"deletionProtectionEnabled":{"shape":"DeletionProtectionEnabled"},
423-
"witnessRegion":{"shape":"Region"},
424-
"linkedClusterArns":{"shape":"ClusterArnList"}
458+
"multiRegionProperties":{"shape":"MultiRegionProperties"},
459+
"tags":{"shape":"TagMap"}
425460
}
426461
},
427462
"GetVpcEndpointServiceNameInput":{
@@ -467,7 +502,10 @@
467502
"members":{
468503
"deletionProtectionEnabled":{"shape":"DeletionProtectionEnabled"},
469504
"tags":{"shape":"TagMap"}
470-
}
505+
},
506+
"deprecated":true,
507+
"deprecatedMessage":"The CreateMultiRegionClusters API is deprecated. To create a multi-Region cluster, use the CreateCluster API with multi-Region properties instead.",
508+
"deprecatedSince":"5/13/2025"
471509
},
472510
"ListClustersInput":{
473511
"type":"structure",
@@ -515,15 +553,25 @@
515553
"max":100,
516554
"min":1
517555
},
556+
"MultiRegionProperties":{
557+
"type":"structure",
558+
"members":{
559+
"witnessRegion":{"shape":"Region"},
560+
"clusters":{"shape":"ClusterArnList"}
561+
}
562+
},
518563
"NextToken":{"type":"string"},
519564
"Region":{
520565
"type":"string",
521-
"max":20,
566+
"max":50,
522567
"min":0
523568
},
524569
"RegionList":{
525570
"type":"list",
526-
"member":{"shape":"Region"}
571+
"member":{"shape":"Region"},
572+
"deprecated":true,
573+
"deprecatedMessage":"The CreateMultiRegionClusters API is deprecated. Use the CreateCluster API with multi-Region properties to create a multi-Region cluster.",
574+
"deprecatedSince":"5/13/2025"
527575
},
528576
"ResourceNotFoundException":{
529577
"type":"structure",
@@ -664,7 +712,8 @@
664712
"clientToken":{
665713
"shape":"ClientToken",
666714
"idempotencyToken":true
667-
}
715+
},
716+
"multiRegionProperties":{"shape":"MultiRegionProperties"}
668717
}
669718
},
670719
"UpdateClusterOutput":{
@@ -681,9 +730,24 @@
681730
"arn":{"shape":"ClusterArn"},
682731
"status":{"shape":"ClusterStatus"},
683732
"creationTime":{"shape":"ClusterCreationTime"},
684-
"deletionProtectionEnabled":{"shape":"DeletionProtectionEnabled"},
685-
"witnessRegion":{"shape":"Region"},
686-
"linkedClusterArns":{"shape":"ClusterArnList"}
733+
"witnessRegion":{
734+
"shape":"Region",
735+
"deprecated":true,
736+
"deprecatedMessage":"The witnessRegion field is deprecated in the UpdateCluster API. To check witnessRegion, use the GetCluster API instead.",
737+
"deprecatedSince":"5/13/2025"
738+
},
739+
"linkedClusterArns":{
740+
"shape":"ClusterArnList",
741+
"deprecated":true,
742+
"deprecatedMessage":"The linkedClusterArns field is deprecated in the UpdateCluster API. To check peer cluster, use the GetCluster API instead.",
743+
"deprecatedSince":"5/13/2025"
744+
},
745+
"deletionProtectionEnabled":{
746+
"shape":"DeletionProtectionEnabled",
747+
"deprecated":true,
748+
"deprecatedMessage":"The deletionProtectionEnabled field is deprecated in the UpdateCluster API. To check deletion protection status, use the GetCluster API instead.",
749+
"deprecatedSince":"5/13/2025"
750+
}
687751
}
688752
},
689753
"ValidationException":{

0 commit comments

Comments
 (0)