Module Values.CapacitySpecificationSource

Amazon Keyspaces has two read/write capacity modes for processing reads and writes on your tables: On-demand (default) Provisioned The read/write capacity mode that you choose controls how you are charged for read and write throughput and how table throughput capacity is managed. For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

Sourcetype nonrec t = {
  1. throughputMode : ThroughputMode.t;
    (*

    The read/write throughput capacity mode for a table. The options are: throughputMode:PAY_PER_REQUEST and throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input. The default is throughput_mode:PAY_PER_REQUEST. For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

    *)
  2. readCapacityUnits : CapacityUnits.t option;
    (*

    The throughput capacity specified for read operations defined in read capacity units (RCUs).

    *)
  3. writeCapacityUnits : CapacityUnits.t option;
    (*

    The throughput capacity specified for write operations defined in write capacity units (WCUs).

    *)
}
Sourceval context_ : string
Sourceval make : ?readCapacityUnits:??? -> ?writeCapacityUnits:??? -> throughputMode:ThroughputMode.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of CapacityUnits.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