Skip to content

GetMedia

Source: src/AWS/QBusiness/GetMedia.ts

Runtime binding for the GetMedia operation (IAM action qbusiness:GetMedia), scoped to one Application.

Fetches the media object (e.g. an extracted image) associated with a chat message. Provide the implementation with Effect.provide(AWS.QBusiness.GetMediaHttp).

const getMedia = yield* AWS.QBusiness.GetMedia(app);
const media = yield* getMedia({ conversationId, messageId, mediaId });