Module Values.CreateFoundationModelAgreementRequestSource

Request a model access agreement for the specified model.

Sourcetype nonrec t = {
  1. offerToken : OfferToken.t;
    (*

    An offer token encapsulates the information for an offer.

    *)
  2. modelId : BedrockModelId.t;
    (*

    Model Id of the model for the access request.

    *)
}
Sourceval context_ : string
Sourceval make : offerToken:OfferToken.t -> modelId:BedrockModelId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of OfferToken.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