| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ChimeSDKMessaging.Types.PushNotificationPreferences
Description
Synopsis
- data PushNotificationPreferences = PushNotificationPreferences' {}
- newPushNotificationPreferences :: AllowNotifications -> PushNotificationPreferences
- pushNotificationPreferences_filterRule :: Lens' PushNotificationPreferences (Maybe Text)
- pushNotificationPreferences_allowNotifications :: Lens' PushNotificationPreferences AllowNotifications
Documentation
data PushNotificationPreferences Source #
The channel membership preferences for push notification.
See: newPushNotificationPreferences smart constructor.
Constructors
| PushNotificationPreferences' | |
Fields
| |
Instances
newPushNotificationPreferences Source #
Arguments
| :: AllowNotifications | |
| -> PushNotificationPreferences |
Create a value of PushNotificationPreferences with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:filterRule:PushNotificationPreferences', pushNotificationPreferences_filterRule - The simple JSON object used to send a subset of a push notification to
the requested member.
$sel:allowNotifications:PushNotificationPreferences', pushNotificationPreferences_allowNotifications - Enum value that indicates which push notifications to send to the
requested member of a channel. ALL sends all push notifications,
NONE sends no push notifications, FILTERED sends only filtered push
notifications.
pushNotificationPreferences_filterRule :: Lens' PushNotificationPreferences (Maybe Text) Source #
The simple JSON object used to send a subset of a push notification to the requested member.
pushNotificationPreferences_allowNotifications :: Lens' PushNotificationPreferences AllowNotifications Source #
Enum value that indicates which push notifications to send to the
requested member of a channel. ALL sends all push notifications,
NONE sends no push notifications, FILTERED sends only filtered push
notifications.