Module Values.UpdateStreamModeInputSource

Updates the capacity mode of the data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data stream. If you'd still like to proactively scale your on-demand data stream’s capacity, you can unlock the warm throughput feature for on-demand data streams by enabling MinimumThroughputBillingCommitment for your account. Once your account has MinimumThroughputBillingCommitment enabled, you can specify the warm throughput in MiB per second that your stream can support in writes.

Sourcetype nonrec t = {
  1. streamARN : StreamARN.t;
    (*

    Specifies the ARN of the data stream whose capacity mode you want to update.

    *)
  2. streamId : StreamId.t option;
    (*

    Not Implemented. Reserved for future use.

    *)
  3. streamModeDetails : StreamModeDetails.t;
    (*

    Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.

    *)
  4. warmThroughputMiBps : NaturalIntegerObject.t option;
    (*

    The target warm throughput in MB/s that the stream should be scaled to handle. This represents the throughput capacity that will be immediately available for write operations. This field is only valid when the stream mode is being updated to on-demand.

    *)
}
Sourceval context_ : string
Sourceval make : ?streamId:??? -> ?warmThroughputMiBps:??? -> streamARN:StreamARN.t -> streamModeDetails:StreamModeDetails.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of NaturalIntegerObject.t | `String of StreamARN.t | `Structure of (string * [> `Enum of string ]) list ]) 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