Skip to content

Commit 51a50a5

Browse files
author
AWS
committed
Amazon DocumentDB with MongoDB compatibility Update: This release adds Global Cluster Switchover capability which enables you to change your global cluster's primary AWS Region, the region that serves writes, while preserving the replication between all regions in the global cluster.
1 parent be4dadb commit 51a50a5

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon DocumentDB with MongoDB compatibility",
4+
"contributor": "",
5+
"description": "This release adds Global Cluster Switchover capability which enables you to change your global cluster's primary AWS Region, the region that serves writes, while preserving the replication between all regions in the global cluster."
6+
}

services/docdb/src/main/resources/codegen-resources/service-2.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,25 @@
982982
{"shape":"InvalidDBInstanceStateFault"}
983983
],
984984
"documentation":"<p>Stops the running cluster that is specified by <code>DBClusterIdentifier</code>. The cluster must be in the <i>available</i> state. For more information, see <a href=\"https://docs.aws.amazon.com/documentdb/latest/developerguide/db-cluster-stop-start.html\">Stopping and Starting an Amazon DocumentDB Cluster</a>.</p>"
985+
},
986+
"SwitchoverGlobalCluster":{
987+
"name":"SwitchoverGlobalCluster",
988+
"http":{
989+
"method":"POST",
990+
"requestUri":"/"
991+
},
992+
"input":{"shape":"SwitchoverGlobalClusterMessage"},
993+
"output":{
994+
"shape":"SwitchoverGlobalClusterResult",
995+
"resultWrapper":"SwitchoverGlobalClusterResult"
996+
},
997+
"errors":[
998+
{"shape":"GlobalClusterNotFoundFault"},
999+
{"shape":"InvalidGlobalClusterStateFault"},
1000+
{"shape":"DBClusterNotFoundFault"},
1001+
{"shape":"InvalidDBClusterStateFault"}
1002+
],
1003+
"documentation":"<p>Switches over the specified secondary Amazon DocumentDB cluster to be the new primary Amazon DocumentDB cluster in the global database cluster.</p>"
9851004
}
9861005
},
9871006
"shapes":{
@@ -4774,6 +4793,29 @@
47744793
},
47754794
"exception":true
47764795
},
4796+
"SwitchoverGlobalClusterMessage":{
4797+
"type":"structure",
4798+
"required":[
4799+
"GlobalClusterIdentifier",
4800+
"TargetDbClusterIdentifier"
4801+
],
4802+
"members":{
4803+
"GlobalClusterIdentifier":{
4804+
"shape":"GlobalClusterIdentifier",
4805+
"documentation":"<p>The identifier of the Amazon DocumentDB global database cluster to switch over. The identifier is the unique key assigned by the user when the cluster is created. In other words, it's the name of the global cluster. This parameter isn’t case-sensitive.</p> <p>Constraints:</p> <ul> <li> <p>Must match the identifier of an existing global cluster (Amazon DocumentDB global database).</p> </li> <li> <p>Minimum length of 1. Maximum length of 255.</p> </li> </ul> <p>Pattern: <code>[A-Za-z][0-9A-Za-z-:._]*</code> </p>"
4806+
},
4807+
"TargetDbClusterIdentifier":{
4808+
"shape":"String",
4809+
"documentation":"<p>The identifier of the secondary Amazon DocumentDB cluster to promote to the new primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that Amazon DocumentDB can locate the cluster in its Amazon Web Services region.</p> <p>Constraints:</p> <ul> <li> <p>Must match the identifier of an existing secondary cluster.</p> </li> <li> <p>Minimum length of 1. Maximum length of 255.</p> </li> </ul> <p>Pattern: <code>[A-Za-z][0-9A-Za-z-:._]*</code> </p>"
4810+
}
4811+
}
4812+
},
4813+
"SwitchoverGlobalClusterResult":{
4814+
"type":"structure",
4815+
"members":{
4816+
"GlobalCluster":{"shape":"GlobalCluster"}
4817+
}
4818+
},
47774819
"TStamp":{"type":"timestamp"},
47784820
"Tag":{
47794821
"type":"structure",

0 commit comments

Comments
 (0)