Values.GetMediaRequestSourceReturns the image bytes corresponding to a media object. If you have implemented your own application with the Chat and ChatSync APIs, and have enabled content extraction from visual data in Amazon Q Business, you use the GetMedia API operation to download the images so you can show them in your UI with responses. For more information, see Extracting semantic meaning from images and visuals.
type nonrec t = {applicationId : ApplicationId.t;The identifier of the Amazon Q Business which contains the media object.
*)conversationId : ConversationId.t;The identifier of the Amazon Q Business conversation.
*)messageId : MessageId.t;The identifier of the Amazon Q Business message.
*)mediaId : MediaId.t;The identifier of the media object. You can find this in the sourceAttributions returned by the Chat, ChatSync, and ListMessages API responses.
*)}val make :
applicationId:ApplicationId.t ->
conversationId:ConversationId.t ->
messageId:MessageId.t ->
mediaId:MediaId.t ->
unit ->
t