

# MetadataEvent
<a name="API_MetadataEvent"></a>

A metadata event for a AI-generated text output message in a Amazon Q Business conversation, containing associated metadata generated.

## Contents
<a name="API_MetadataEvent_Contents"></a>

 ** conversationId **   <a name="qbusiness-Type-MetadataEvent-conversationId"></a>
The identifier of the conversation with which the generated metadata is associated.  
Type: String  
Length Constraints: Fixed length of 36.  
Pattern: `[a-zA-Z0-9][a-zA-Z0-9-]{35}`   
Required: No

 ** finalTextMessage **   <a name="qbusiness-Type-MetadataEvent-finalTextMessage"></a>
The final text output message generated by the system.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: No

 ** sourceAttributions **   <a name="qbusiness-Type-MetadataEvent-sourceAttributions"></a>
The source documents used to generate the conversation response.  
Type: Array of [SourceAttribution](API_SourceAttribution.md) objects  
Required: No

 ** systemMessageId **   <a name="qbusiness-Type-MetadataEvent-systemMessageId"></a>
The identifier of an Amazon Q Business AI generated message within the conversation.  
Type: String  
Length Constraints: Fixed length of 36.  
Pattern: `[a-zA-Z0-9][a-zA-Z0-9-]{35}`   
Required: No

 ** userMessageId **   <a name="qbusiness-Type-MetadataEvent-userMessageId"></a>
The identifier of an Amazon Q Business end user text input message within the conversation.  
Type: String  
Length Constraints: Fixed length of 36.  
Pattern: `[a-zA-Z0-9][a-zA-Z0-9-]{35}`   
Required: No

## See Also
<a name="API_MetadataEvent_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/qbusiness-2023-11-27/MetadataEvent) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/qbusiness-2023-11-27/MetadataEvent) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/qbusiness-2023-11-27/MetadataEvent) 