Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Struct MessageDirection

sealed struct MessageDirection
Message direction.

Fields

Constants

INCOMING

MessageDirection = {"INCOMING"}
For all incoming messages.

OUTGOING

MessageDirection = {"OUTGOING"}
For all outgoing messages.

OUTGOING_DRAFT

MessageDirection = {"OUTGOING_DRAFT"}
For all outgoing draft messages.

OUTGOING_PENDING

MessageDirection = {"OUTGOING_PENDING"}
For all messages, including messages that attempted to send but failed.

UNKNOWN

MessageDirection = {"UNKNOWN"}
For messages with no specified direction.
Last modified on October 29, 2026