Message
A message in a conversation, either from the user or the assistant.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when used or returned.
- assistantMessage
-
A message from the assistant.
Type: Array of AssistantMessageBlock objects
Required: No
- userMessage
-
A message from the user.
Type: Array of UserMessageBlock objects
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: