AWS IoT Events
API Reference

Message

Information about a message.

Contents

inputName

The name of the input into which the message payload is transformed.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: ^[a-zA-Z][a-zA-Z0-9_]*$

Required: Yes

messageId

The ID to assign to the message. Within each batch sent, each "messageId" must be unique.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9_-]+$

Required: Yes

payload

The payload of the message. This can be a JSON string or a Base-64-encoded string representing binary data (in which case you must decode it).

Type: Base64-encoded binary data object

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: