Module Values.GetContentRequestSource

Retrieves content, including a pre-signed URL to download the content.

Sourcetype nonrec t = {
  1. contentId : UuidOrArn.t;
    (*

    The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.

    *)
  2. knowledgeBaseId : UuidOrArn.t;
    (*

    The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

    *)
}
Sourceval context_ : string
Sourceval make : contentId:UuidOrArn.t -> knowledgeBaseId:UuidOrArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of UuidOrArn.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