DeleteGlobalCluster - Amazon DocumentDB


Deletes a global cluster. The primary and secondary clusters must already be detached or deleted before attempting to delete a global cluster.


This action only applies to Amazon DocumentDB clusters.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.


The cluster identifier of the global cluster being deleted.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: [A-Za-z][0-9A-Za-z-:._]*

Required: Yes

Response Elements

The following element is returned by the service.


A data type representing an Amazon DocumentDB global cluster.

Type: GlobalCluster object


For information about the errors that are common to all actions, see Common Errors.


The GlobalClusterIdentifier doesn't refer to an existing global cluster.

HTTP Status Code: 404


The requested operation can't be performed while the cluster is in this state.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: