Values_1.DBClusterCapacityInfoSourceSet the capacity of an Aurora Serverless v1 DB cluster to a specific value. 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 ModifyCurrentDBClusterCapacity to set the capacity explicitly. 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. For more information about Aurora Serverless v1, see Using Amazon Aurora Serverless v1 in the Amazon Aurora User Guide. If you call ModifyCurrentDBClusterCapacity with the default TimeoutAction, connections that prevent Aurora Serverless v1 from finding a scaling point might be dropped. For more information about scaling points, see Autoscaling for Aurora Serverless v1 in the Amazon Aurora User Guide. This operation only applies to Aurora Serverless v1 DB clusters.
type modifyCurrentDBClusterCapacityResult = {dBClusterIdentifier : Values_0.String_.t option;A user-supplied DB cluster identifier. This identifier is the unique key that identifies a DB cluster.
*)pendingCapacity : Values_0.IntegerOptional.t option;A value that specifies the capacity that the DB cluster scales to next.
*)currentCapacity : Values_0.IntegerOptional.t option;The current capacity of the DB cluster.
*)secondsBeforeTimeout : Values_0.IntegerOptional.t option;The number of seconds before a call to ModifyCurrentDBClusterCapacity times out.
*)timeoutAction : Values_0.String_.t option;The timeout action of a call to ModifyCurrentDBClusterCapacity, either ForceApplyCapacityChange or RollbackCapacityChange.
*)}and t = {modifyCurrentDBClusterCapacityResult : modifyCurrentDBClusterCapacityResult;responseMetaData : responseMetaData;}type error = [ | `DBClusterNotFoundFault of Values_0.DBClusterNotFoundFault.t| `InvalidDBClusterCapacityFault of Values_0.InvalidDBClusterCapacityFault.t| `InvalidDBClusterStateFault of Values_0.InvalidDBClusterStateFault.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `DBClusterNotFoundFault of unit
| `InvalidDBClusterCapacityFault of unit
| `InvalidDBClusterStateFault of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `DBClusterNotFoundFault of unit
| `InvalidDBClusterCapacityFault of unit
| `InvalidDBClusterStateFault of unit
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Integer of Values_0.IntegerOptional.t
| `String of Values_0.String_.t ])
list ])
list ]