Module Values.ContentDataSource

Information about the content.

Sourcetype nonrec t = {
  1. contentArn : Arn.t option;
    (*

    The Amazon Resource Name (ARN) of the content.

    *)
  2. contentId : Uuid.t option;
    (*

    The identifier of the content.

    *)
  3. contentType : ContentType.t option;
    (*

    The media type of the content.

    *)
  4. knowledgeBaseArn : Arn.t option;
    (*

    The Amazon Resource Name (ARN) of the knowledge base.

    *)
  5. knowledgeBaseId : Uuid.t option;
    (*

    The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.

    *)
  6. linkOutUri : Uri_.t option;
    (*

    The URI of the content.

    *)
  7. metadata : ContentMetadata.t option;
    (*

    A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Wisdom, you can store an external version identifier as metadata to utilize for determining drift.

    *)
  8. name : Name.t option;
    (*

    The name of the content.

    *)
  9. revisionId : NonEmptyString.t option;
    (*

    The identifier of the content revision.

    *)
  10. status : ContentStatus.t option;
    (*

    The status of the content.

    *)
  11. tags : Tags.t option;
    (*

    The tags used to organize, track, or control access for this resource.

    *)
  12. title : ContentTitle.t option;
    (*

    The title of the content.

    *)
  13. url : Url.t option;
    (*

    The URL of the content.

    *)
  14. urlExpiry : SyntheticTimestamp_epoch_seconds.t option;
    (*

    The expiration time of the URL as an epoch timestamp.

    *)
}
Sourceval make : ?contentArn:??? -> ?contentId:??? -> ?contentType:??? -> ?knowledgeBaseArn:??? -> ?knowledgeBaseId:??? -> ?linkOutUri:??? -> ?metadata:??? -> ?name:??? -> ?revisionId:??? -> ?status:??? -> ?tags:??? -> ?title:??? -> ?url:??? -> ?urlExpiry:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of NonEmptyString.t ] * [> `String of NonEmptyString.t ]) list | `String of Arn.t | `Timestamp of SyntheticTimestamp_epoch_seconds.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