Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MessageAttributeValue

import type { MessageAttributeValue } from "https://aws-api.deno.dev/v0.3/services/sqs.ts?docs=full";

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 (256 KB or 262,144 bytes).

interface MessageAttributeValue {
BinaryListValues?: (Uint8Array | string)[] | null;
BinaryValue?: Uint8Array | string | null;
DataType: string;
StringListValues?: string[] | null;
StringValue?: string | null;
}

§Properties

§
BinaryListValues?: (Uint8Array | string)[] | null
[src]

Not implemented. Reserved for future use.

§
BinaryValue?: Uint8Array | string | null
[src]

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

§
DataType: string
[src]

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.

§
StringListValues?: string[] | null
[src]

Not implemented. Reserved for future use.

§
StringValue?: string | null
[src]

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