Module Values.CustomModelUnitsSource

A CustomModelUnit (CMU) is an abstract view of the hardware utilization that Amazon Bedrock needs to host a single copy of your custom model. A model copy represents a single instance of your imported model that is ready to serve inference requests. Amazon Bedrock determines the number of custom model units that a model copy needs when you import the custom model. You can use CustomModelUnits to estimate the cost of running your custom model. For more information, see Calculate the cost of running a custom model in the Amazon Bedrock user guide.

Sourcetype nonrec t = {
  1. customModelUnitsPerModelCopy : Integer.t option;
    (*

    The number of custom model units used to host a model copy.

    *)
  2. customModelUnitsVersion : CustomModelUnitsVersion.t option;
    (*

    The version of the custom model unit. Use to determine the billing rate for the custom model unit.

    *)
}
Sourceval make : ?customModelUnitsPerModelCopy:??? -> ?customModelUnitsVersion:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of CustomModelUnitsVersion.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