Module Values.AttachmentSource

An attachment in an Amazon Q Business conversation.

Sourcetype nonrec t = {
  1. attachmentId : AttachmentId.t option;
    (*

    The identifier of the Amazon Q Business attachment.

    *)
  2. conversationId : ConversationId.t option;
    (*

    The identifier of the Amazon Q Business conversation the attachment is associated with.

    *)
  3. name : AttachmentName.t option;
    (*

    Filename of the Amazon Q Business attachment.

    *)
  4. copyFrom : CopyFromSource.t option;
    (*

    A CopyFromSource containing a reference to the original source of the Amazon Q Business attachment.

    *)
  5. fileType : String_.t option;
    (*

    Filetype of the Amazon Q Business attachment.

    *)
  6. fileSize : Integer.t option;
    (*

    Size in bytes of the Amazon Q Business attachment.

    *)
  7. md5chksum : String_.t option;
    (*

    MD5 checksum of the Amazon Q Business attachment contents.

    *)
  8. createdAt : Timestamp.t option;
    (*

    The Unix timestamp when the Amazon Q Business attachment was created.

    *)
  9. status : AttachmentStatus.t option;
    (*

    AttachmentStatus of the Amazon Q Business attachment.

    *)
  10. error : ErrorDetail.t option;
    (*

    ErrorDetail providing information about a Amazon Q Business attachment error.

    *)
}
Sourceval make : ?attachmentId:??? -> ?conversationId:??? -> ?name:??? -> ?copyFrom:??? -> ?fileType:??? -> ?fileSize:??? -> ?md5chksum:??? -> ?createdAt:??? -> ?status:??? -> ?error:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Integer.t | `String of AttachmentId.t | `Structure of (string * [> `Enum of string | `String of ErrorMessage.t | `Structure of (string * [> `String of ConversationId.t ]) list ]) list | `Timestamp of Timestamp.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