Module Values.MessageSource

An Amazon SQS message.

Sourcetype nonrec t = {
  1. messageId : String_.t option;
    (*

    A unique identifier for the message. A MessageIdis considered unique across all Amazon Web Services accounts for an extended period of time.

    *)
  2. receiptHandle : String_.t option;
    (*

    An identifier associated with the act of receiving the message. A new receipt handle is returned every time you receive a message. When deleting a message, you provide the last received receipt handle to delete the message.

    *)
  3. mD5OfBody : String_.t option;
    (*

    An MD5 digest of the non-URL-encoded message body string.

    *)
  4. body : String_.t option;
    (*

    The message's contents (not URL-encoded).

    *)
  5. attributes : MessageSystemAttributeMap.t option;
    (*

    A map of the attributes requested in ReceiveMessage to their respective values. Supported attributes: ApproximateReceiveCount ApproximateFirstReceiveTimestamp MessageDeduplicationId MessageGroupId SenderId SentTimestamp SequenceNumber ApproximateFirstReceiveTimestamp and SentTimestamp are each returned as an integer representing the epoch time in milliseconds.

    *)
  6. mD5OfMessageAttributes : String_.t option;
    (*

    An MD5 digest of the non-URL-encoded message attribute string. You can use this attribute to verify that Amazon SQS received the message correctly. Amazon SQS URL-decodes the message before creating the MD5 digest. For information about MD5, see RFC1321.

    *)
  7. messageAttributes : MessageBodyAttributeMap.t option;
    (*

    Each message attribute consists of a Name, Type, and Value. For more information, see Amazon SQS message attributes in the Amazon SQS Developer Guide.

    *)
}
Sourceval make : ?messageId:??? -> ?receiptHandle:??? -> ?mD5OfBody:??? -> ?body:??? -> ?attributes:??? -> ?mD5OfMessageAttributes:??? -> ?messageAttributes:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `Enum of string | `String of String_.t ] * [> `String of String_.t | `Structure of (string * [> `Blob of Binary.t | `List of [> `Blob of Binary.t | `String of String_.t ] list | `String of String_.t ]) list ]) list | `String of String_.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