Module Values.ProvisionedThroughputSource

Represents the provisioned throughput settings for the specified global secondary index. You must use ProvisionedThroughput or OnDemandThroughput based on your table’s capacity mode. For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

Sourcetype nonrec t = {
  1. readCapacityUnits : PositiveLongObject.t;
    (*

    The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide. If read/write capacity mode is PAY_PER_REQUEST the value is set to 0.

    *)
  2. writeCapacityUnits : PositiveLongObject.t;
    (*

    The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide. If read/write capacity mode is PAY_PER_REQUEST the value is set to 0.

    *)
}
Sourceval context_ : string
Sourceval make : readCapacityUnits:PositiveLongObject.t -> writeCapacityUnits:PositiveLongObject.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of PositiveLongObject.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t