amazonka-chime-sdk-messaging-2.0: Amazon Chime SDK Messaging SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ChimeSDKMessaging.Types.PushNotificationPreferences

Description

 
Synopsis

Documentation

data PushNotificationPreferences Source #

The channel membership preferences for push notification.

See: newPushNotificationPreferences smart constructor.

Constructors

PushNotificationPreferences' 

Fields

  • filterRule :: Maybe (Sensitive Text)

    The simple JSON object used to send a subset of a push notification to the requested member.

  • allowNotifications :: 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.

Instances

Instances details
FromJSON PushNotificationPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.PushNotificationPreferences

ToJSON PushNotificationPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.PushNotificationPreferences

Generic PushNotificationPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.PushNotificationPreferences

Associated Types

type Rep PushNotificationPreferences :: Type -> Type #

Show PushNotificationPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.PushNotificationPreferences

NFData PushNotificationPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.PushNotificationPreferences

Eq PushNotificationPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.PushNotificationPreferences

Hashable PushNotificationPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.PushNotificationPreferences

type Rep PushNotificationPreferences Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.Types.PushNotificationPreferences

type Rep PushNotificationPreferences = D1 ('MetaData "PushNotificationPreferences" "Amazonka.ChimeSDKMessaging.Types.PushNotificationPreferences" "amazonka-chime-sdk-messaging-2.0-BxY1AbjLoDB4AQUv82PCQZ" 'False) (C1 ('MetaCons "PushNotificationPreferences'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filterRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "allowNotifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AllowNotifications)))

newPushNotificationPreferences Source #

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.