@Override
    public ModifyCurrentDBClusterCapacityResult modifyCurrentDBClusterCapacity(ModifyCurrentDBClusterCapacityRequest request) {
        request = beforeClientExecution(request);
        return executeModifyCurrentDBClusterCapacity(request);
    }
<p>
Set the capacity of an Aurora Serverless v1 DB cluster to a specific value.
</p>
<p>
Aurora Serverless v1 scales seamlessly based on the workload on the DB cluster. In some cases, the capacity might
not scale fast enough to meet a sudden change in workload, such as a large number of new transactions. Call
<code>ModifyCurrentDBClusterCapacity</code> to set the capacity explicitly.
</p>
<p>
After this call sets the DB cluster capacity, Aurora Serverless v1 can automatically scale the DB cluster based
on the cooldown period for scaling up and the cooldown period for scaling down.
</p>
<p>
For more information about Aurora Serverless v1, see <a
href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html">Using Amazon Aurora
Serverless v1</a> in the <i>Amazon Aurora User Guide</i>.
</p>
<important>
<p>
If you call <code>ModifyCurrentDBClusterCapacity</code> with the default <code>TimeoutAction</code>, connections
that prevent Aurora Serverless v1 from finding a scaling point might be dropped. For more information about
scaling points, see <a href=
"https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html#aurora-serverless.how-it-works.auto-scaling"
> Autoscaling for Aurora Serverless v1</a> in the <i>Amazon Aurora User Guide</i>.
</p>
</important> <note>
<p>
This operation only applies to Aurora Serverless v1 DB clusters.
</p>
</note>

@param modifyCurrentDBClusterCapacityRequest
@return Result of the ModifyCurrentDBClusterCapacity operation returned by the service.
@throws DBClusterNotFoundException
        <code>DBClusterIdentifier</code> doesn't refer to an existing DB cluster.
@throws InvalidDBClusterStateException
        The requested operation can't be performed while the cluster is in this state.
@throws InvalidDBClusterCapacityException
        <code>Capacity</code> isn't a valid Aurora Serverless DB cluster capacity. Valid capacity values are
        <code>2</code>, <code>4</code>, <code>8</code>, <code>16</code>, <code>32</code>, <code>64</code>,
        <code>128</code>, and <code>256</code>.
@sample AmazonRDS.ModifyCurrentDBClusterCapacity
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyCurrentDBClusterCapacity"
     target="_top">AWS API Documentation</a>
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/AmazonRDSClient.java