Message - Amazon IoT Events
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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-Z0-9][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

timestamp

The timestamp associated with the message.

Type: TimestampValue object

Required: No

See Also

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