Skip to content

Commit 0862fe3

Browse files
CreateMultiRegionCluster and DeleteMultiRegionCluster APIs removed
1 parent cd47102 commit 0862fe3

31 files changed

+958
-2836
lines changed

docgenerator/AWSSDKDocSamples/DSQL.GeneratedSamples.extra.xml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,6 @@
1919
</example>
2020
</value>
2121
</doc>
22-
<doc>
23-
<members>
24-
<member name="M:Amazon.DSQL.IAmazonDSQL.CreateMultiRegionClusters(Amazon.DSQL.Model.CreateMultiRegionClustersRequest)" />
25-
<member name="M:Amazon.DSQL.AmazonDSQLClient.CreateMultiRegionClusters(Amazon.DSQL.Model.CreateMultiRegionClustersRequest)" />
26-
<member name="T:Amazon.DSQL.Model.CreateMultiRegionClustersRequest" />
27-
<member name="T:Amazon.DSQL.Model.CreateMultiRegionClustersResponse" />
28-
</members>
29-
<value>
30-
<example>
31-
<para>
32-
33-
</para>
34-
<code
35-
title="Create Multi Region Clusters"
36-
source=".\AWSSDKDocSamples\DSQL\DSQL.GeneratedSamples.cs"
37-
region="example-1" />
38-
</example>
39-
</value>
40-
</doc>
4122
<doc>
4223
<members>
4324
<member name="M:Amazon.DSQL.IAmazonDSQL.DeleteCluster(Amazon.DSQL.Model.DeleteClusterRequest)" />
@@ -57,25 +38,6 @@
5738
</example>
5839
</value>
5940
</doc>
60-
<doc>
61-
<members>
62-
<member name="M:Amazon.DSQL.IAmazonDSQL.DeleteMultiRegionClusters(Amazon.DSQL.Model.DeleteMultiRegionClustersRequest)" />
63-
<member name="M:Amazon.DSQL.AmazonDSQLClient.DeleteMultiRegionClusters(Amazon.DSQL.Model.DeleteMultiRegionClustersRequest)" />
64-
<member name="T:Amazon.DSQL.Model.DeleteMultiRegionClustersRequest" />
65-
<member name="T:Amazon.DSQL.Model.DeleteMultiRegionClustersResponse" />
66-
</members>
67-
<value>
68-
<example>
69-
<para>
70-
71-
</para>
72-
<code
73-
title="Delete Multi Region Clusters"
74-
source=".\AWSSDKDocSamples\DSQL\DSQL.GeneratedSamples.cs"
75-
region="example-1" />
76-
</example>
77-
</value>
78-
</doc>
7941
<doc>
8042
<members>
8143
<member name="M:Amazon.DSQL.IAmazonDSQL.GetCluster(Amazon.DSQL.Model.GetClusterRequest)" />

docgenerator/AWSSDKDocSamples/DSQL/DSQL.GeneratedSamples.cs

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,6 @@ public void DSQLCreateCluster()
2828
#endregion
2929
}
3030

31-
public void DSQLCreateMultiRegionClusters()
32-
{
33-
#region example-1
34-
35-
var client = new AmazonDSQLClient();
36-
var response = client.CreateMultiRegionClusters(new CreateMultiRegionClustersRequest
37-
{
38-
LinkedRegionList = new List<string> {
39-
"us-east-1",
40-
"us-east-2"
41-
},
42-
WitnessRegion = "us-west-2"
43-
});
44-
45-
List<string> linkedClusterArns = response.LinkedClusterArns;
46-
47-
#endregion
48-
}
49-
5031
public void DSQLDeleteCluster()
5132
{
5233
#region example-1
@@ -61,23 +42,6 @@ public void DSQLDeleteCluster()
6142
#endregion
6243
}
6344

64-
public void DSQLDeleteMultiRegionClusters()
65-
{
66-
#region example-1
67-
68-
var client = new AmazonDSQLClient();
69-
var response = client.DeleteMultiRegionClusters(new DeleteMultiRegionClustersRequest
70-
{
71-
LinkedClusterArns = new List<string> {
72-
"arn:aws:dsql:us-east-1:111122223333:cluster/abcdefghijklmnopqrstu12345",
73-
"arn:aws:dsql:us-east-2:111122223333:cluster/klmnopqrstuvwxyzabcde54321"
74-
}
75-
});
76-
77-
78-
#endregion
79-
}
80-
8145
public void DSQLGetCluster()
8246
{
8347
#region example-1

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

Lines changed: 4 additions & 149 deletions
Original file line numberDiff line numberDiff line change
@@ -31,27 +31,6 @@
3131
{"shape":"ConflictException"}
3232
]
3333
},
34-
"CreateMultiRegionClusters":{
35-
"name":"CreateMultiRegionClusters",
36-
"http":{
37-
"method":"POST",
38-
"requestUri":"/multi-region-clusters",
39-
"responseCode":200
40-
},
41-
"input":{"shape":"CreateMultiRegionClustersInput"},
42-
"output":{"shape":"CreateMultiRegionClustersOutput"},
43-
"errors":[
44-
{"shape":"ServiceQuotaExceededException"},
45-
{"shape":"ThrottlingException"},
46-
{"shape":"AccessDeniedException"},
47-
{"shape":"ValidationException"},
48-
{"shape":"InternalServerException"},
49-
{"shape":"ConflictException"}
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"
54-
},
5534
"DeleteCluster":{
5635
"name":"DeleteCluster",
5736
"http":{
@@ -71,27 +50,6 @@
7150
],
7251
"idempotent":true
7352
},
74-
"DeleteMultiRegionClusters":{
75-
"name":"DeleteMultiRegionClusters",
76-
"http":{
77-
"method":"DELETE",
78-
"requestUri":"/multi-region-clusters",
79-
"responseCode":200
80-
},
81-
"input":{"shape":"DeleteMultiRegionClustersInput"},
82-
"errors":[
83-
{"shape":"ThrottlingException"},
84-
{"shape":"AccessDeniedException"},
85-
{"shape":"ValidationException"},
86-
{"shape":"InternalServerException"},
87-
{"shape":"ResourceNotFoundException"},
88-
{"shape":"ConflictException"}
89-
],
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",
93-
"idempotent":true
94-
},
9553
"GetCluster":{
9654
"name":"GetCluster",
9755
"http":{
@@ -256,14 +214,6 @@
256214
"type":"list",
257215
"member":{"shape":"ClusterSummary"}
258216
},
259-
"ClusterPropertyMap":{
260-
"type":"map",
261-
"key":{"shape":"Region"},
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"
266-
},
267217
"ClusterStatus":{
268218
"type":"string",
269219
"enum":[
@@ -334,29 +284,6 @@
334284
"deletionProtectionEnabled":{"shape":"DeletionProtectionEnabled"}
335285
}
336286
},
337-
"CreateMultiRegionClustersInput":{
338-
"type":"structure",
339-
"required":[
340-
"linkedRegionList",
341-
"witnessRegion"
342-
],
343-
"members":{
344-
"linkedRegionList":{"shape":"RegionList"},
345-
"clusterProperties":{"shape":"ClusterPropertyMap"},
346-
"witnessRegion":{"shape":"Region"},
347-
"clientToken":{
348-
"shape":"ClientToken",
349-
"idempotencyToken":true
350-
}
351-
}
352-
},
353-
"CreateMultiRegionClustersOutput":{
354-
"type":"structure",
355-
"required":["linkedClusterArns"],
356-
"members":{
357-
"linkedClusterArns":{"shape":"ClusterArnList"}
358-
}
359-
},
360287
"DeleteClusterInput":{
361288
"type":"structure",
362289
"required":["identifier"],
@@ -380,37 +307,13 @@
380307
"identifier",
381308
"arn",
382309
"status",
383-
"creationTime",
384-
"deletionProtectionEnabled"
310+
"creationTime"
385311
],
386312
"members":{
387313
"identifier":{"shape":"ClusterId"},
388314
"arn":{"shape":"ClusterArn"},
389315
"status":{"shape":"ClusterStatus"},
390-
"creationTime":{"shape":"ClusterCreationTime"},
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-
}
397-
}
398-
},
399-
"DeleteMultiRegionClustersInput":{
400-
"type":"structure",
401-
"required":["linkedClusterArns"],
402-
"members":{
403-
"linkedClusterArns":{
404-
"shape":"ClusterArnList",
405-
"location":"querystring",
406-
"locationName":"linked-cluster-arns"
407-
},
408-
"clientToken":{
409-
"shape":"ClientToken",
410-
"idempotencyToken":true,
411-
"location":"querystring",
412-
"locationName":"client-token"
413-
}
316+
"creationTime":{"shape":"ClusterCreationTime"}
414317
}
415318
},
416319
"DeletionProtectionEnabled":{
@@ -442,18 +345,6 @@
442345
"arn":{"shape":"ClusterArn"},
443346
"status":{"shape":"ClusterStatus"},
444347
"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-
},
457348
"deletionProtectionEnabled":{"shape":"DeletionProtectionEnabled"},
458349
"multiRegionProperties":{"shape":"MultiRegionProperties"},
459350
"tags":{"shape":"TagMap"}
@@ -497,16 +388,6 @@
497388
"fault":true,
498389
"retryable":{"throttling":false}
499390
},
500-
"LinkedClusterProperties":{
501-
"type":"structure",
502-
"members":{
503-
"deletionProtectionEnabled":{"shape":"DeletionProtectionEnabled"},
504-
"tags":{"shape":"TagMap"}
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"
509-
},
510391
"ListClustersInput":{
511392
"type":"structure",
512393
"members":{
@@ -566,13 +447,6 @@
566447
"max":50,
567448
"min":0
568449
},
569-
"RegionList":{
570-
"type":"list",
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"
575-
},
576450
"ResourceNotFoundException":{
577451
"type":"structure",
578452
"required":[
@@ -722,32 +596,13 @@
722596
"identifier",
723597
"arn",
724598
"status",
725-
"creationTime",
726-
"deletionProtectionEnabled"
599+
"creationTime"
727600
],
728601
"members":{
729602
"identifier":{"shape":"ClusterId"},
730603
"arn":{"shape":"ClusterArn"},
731604
"status":{"shape":"ClusterStatus"},
732-
"creationTime":{"shape":"ClusterCreationTime"},
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-
}
605+
"creationTime":{"shape":"ClusterCreationTime"}
751606
}
752607
},
753608
"ValidationException":{

0 commit comments

Comments
 (0)