Module Values.UpdateModelRequestSource

Updates a Model.

Sourcetype nonrec t = {
  1. apiId : string;
    (*

    The API identifier.

    *)
  2. contentType : StringWithLengthBetween1And256.t option;
    (*

    The content-type for the model, for example, "application/json".

    *)
  3. description : StringWithLengthBetween0And1024.t option;
    (*

    The description of the model.

    *)
  4. modelId : string;
    (*

    The model ID.

    *)
  5. name : StringWithLengthBetween1And128.t option;
    (*

    The name of the model.

    *)
  6. schema : StringWithLengthBetween0And32K.t option;
    (*

    The schema for the model. For application/json models, this should be JSON schema draft 4 model.

    *)
}
Sourceval context_ : string
Sourceval make : ?contentType:??? -> ?description:??? -> ?name:??? -> ?schema:??? -> apiId:string -> modelId:string -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of string ]) 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