Module Values.MessageAttributeValueSource

The user-specified message attribute value. For string data types, the Value attribute has the same restrictions on the content as the message body. For more information, see SendMessage. Name, type, value and the message body must not be empty or null. All parts of the message attribute, including Name, Type, and Value, are part of the message size restriction (1 MiB or 1,048,576 bytes).

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

    Strings are Unicode with UTF-8 binary encoding. For a list of code values, see ASCII Printable Characters.

    *)
  2. binaryValue : Binary.t option;
    (*

    Binary type attributes can store any binary data, such as compressed data, encrypted data, or images.

    *)
  3. stringListValues : StringList.t option;
    (*

    Not implemented. Reserved for future use.

    *)
  4. binaryListValues : BinaryList.t option;
    (*

    Not implemented. Reserved for future use.

    *)
  5. dataType : String_.t;
    (*

    Amazon SQS supports the following logical data types: String, Number, and Binary. For the Number data type, you must use StringValue. You can also append custom labels. For more information, see Amazon SQS Message Attributes in the Amazon SQS Developer Guide.

    *)
}
Sourceval context_ : string
Sourceval make : ?stringValue:??? -> ?binaryValue:??? -> ?stringListValues:??? -> ?binaryListValues:??? -> dataType:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of Binary.t | `List of [> `Blob of Binary.t | `String of String_.t ] 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