Module Values.CommentSource

Returns information about a specific comment.

Sourcetype nonrec t = {
  1. commentId : CommentId.t option;
    (*

    The system-generated comment ID.

    *)
  2. content : Content.t option;
    (*

    The content of the comment.

    *)
  3. inReplyTo : CommentId.t option;
    (*

    The ID of the comment for which this comment is a reply, if any.

    *)
  4. creationDate : CreationDate.t option;
    (*

    The date and time the comment was created, in timestamp format.

    *)
  5. lastModifiedDate : LastModifiedDate.t option;
    (*

    The date and time the comment was most recently modified, in timestamp format.

    *)
  6. authorArn : Arn.t option;
    (*

    The Amazon Resource Name (ARN) of the person who posted the comment.

    *)
  7. deleted : IsCommentDeleted.t option;
    (*

    A Boolean value indicating whether the comment has been deleted.

    *)
  8. clientRequestToken : ClientRequestToken.t option;
    (*

    A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.

    *)
  9. callerReactions : CallerReactions.t option;
    (*

    The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.

    *)
  10. reactionCounts : ReactionCountsMap.t option;
    (*

    A string to integer map that represents the number of individual users who have responded to a comment with the specified reactions.

    *)
}
Sourceval make : ?commentId:??? -> ?content:??? -> ?inReplyTo:??? -> ?creationDate:??? -> ?lastModifiedDate:??? -> ?authorArn:??? -> ?deleted:??? -> ?clientRequestToken:??? -> ?callerReactions:??? -> ?reactionCounts:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of IsCommentDeleted.t | `List of [> `String of ReactionValue.t ] list | `Map of ([> `String of ReactionValue.t ] * [> `Integer of Count.t ]) list | `String of CommentId.t | `Timestamp of CreationDate.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