AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Stops the running cluster that is specified by DBClusterIdentifier
. The cluster
must be in the available state. For more information, see Stopping
and Starting an Amazon DocumentDB Cluster.
For .NET Core this operation is only available in asynchronous form. Please refer to StopDBClusterAsync.
Namespace: Amazon.DocDB
Assembly: AWSSDK.DocDB.dll
Version: 3.x.y.z
public abstract StopDBClusterResponse StopDBCluster( StopDBClusterRequest request )
Container for the necessary parameters to execute the StopDBCluster service method.
Exception | Condition |
---|---|
DBClusterNotFoundException | DBClusterIdentifier doesn't refer to an existing cluster. |
InvalidDBClusterStateException | The cluster isn't in a valid state. |
InvalidDBInstanceStateException | The specified instance isn't in the available state. |
.NET Framework:
Supported in: 4.5 and newer, 3.5