Skip to content

GetManagedNotificationEvent

Source: src/AWS/Notifications/GetManagedNotificationEvent.ts

Runtime binding for notifications:GetManagedNotificationEvent.

Fetch one AWS-managed notification event (AWS Health security, operations, billing and issue notifications) by its ARN. Provide the implementation with Effect.provide(AWS.Notifications.GetManagedNotificationEventHttp).

// init — account-level binding takes no resource
const getManagedNotificationEvent =
yield* AWS.Notifications.GetManagedNotificationEvent();
// runtime
const event = yield* getManagedNotificationEvent({ arn: eventArn });
const headline = event.content.messageComponents.headline;