{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.SES.Types.IdentityNotificationAttributes
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.SES.Types.IdentityNotificationAttributes where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

-- | Represents the notification attributes of an identity, including whether
-- an identity has Amazon Simple Notification Service (Amazon SNS) topics
-- set for bounce, complaint, and\/or delivery notifications, and whether
-- feedback forwarding is enabled for bounce and complaint notifications.
--
-- /See:/ 'newIdentityNotificationAttributes' smart constructor.
data IdentityNotificationAttributes = IdentityNotificationAttributes'
  { -- | Describes whether Amazon SES includes the original email headers in
    -- Amazon SNS notifications of type @Bounce@. A value of @true@ specifies
    -- that Amazon SES will include headers in bounce notifications, and a
    -- value of @false@ specifies that Amazon SES will not include headers in
    -- bounce notifications.
    IdentityNotificationAttributes -> Maybe Bool
headersInBounceNotificationsEnabled :: Prelude.Maybe Prelude.Bool,
    -- | Describes whether Amazon SES includes the original email headers in
    -- Amazon SNS notifications of type @Complaint@. A value of @true@
    -- specifies that Amazon SES will include headers in complaint
    -- notifications, and a value of @false@ specifies that Amazon SES will not
    -- include headers in complaint notifications.
    IdentityNotificationAttributes -> Maybe Bool
headersInComplaintNotificationsEnabled :: Prelude.Maybe Prelude.Bool,
    -- | Describes whether Amazon SES includes the original email headers in
    -- Amazon SNS notifications of type @Delivery@. A value of @true@ specifies
    -- that Amazon SES will include headers in delivery notifications, and a
    -- value of @false@ specifies that Amazon SES will not include headers in
    -- delivery notifications.
    IdentityNotificationAttributes -> Maybe Bool
headersInDeliveryNotificationsEnabled :: Prelude.Maybe Prelude.Bool,
    -- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
    -- will publish bounce notifications.
    IdentityNotificationAttributes -> Text
bounceTopic :: Prelude.Text,
    -- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
    -- will publish complaint notifications.
    IdentityNotificationAttributes -> Text
complaintTopic :: Prelude.Text,
    -- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
    -- will publish delivery notifications.
    IdentityNotificationAttributes -> Text
deliveryTopic :: Prelude.Text,
    -- | Describes whether Amazon SES will forward bounce and complaint
    -- notifications as email. @true@ indicates that Amazon SES will forward
    -- bounce and complaint notifications as email, while @false@ indicates
    -- that bounce and complaint notifications will be published only to the
    -- specified bounce and complaint Amazon SNS topics.
    IdentityNotificationAttributes -> Bool
forwardingEnabled :: Prelude.Bool
  }
  deriving (IdentityNotificationAttributes
-> IdentityNotificationAttributes -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: IdentityNotificationAttributes
-> IdentityNotificationAttributes -> Bool
$c/= :: IdentityNotificationAttributes
-> IdentityNotificationAttributes -> Bool
== :: IdentityNotificationAttributes
-> IdentityNotificationAttributes -> Bool
$c== :: IdentityNotificationAttributes
-> IdentityNotificationAttributes -> Bool
Prelude.Eq, ReadPrec [IdentityNotificationAttributes]
ReadPrec IdentityNotificationAttributes
Int -> ReadS IdentityNotificationAttributes
ReadS [IdentityNotificationAttributes]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [IdentityNotificationAttributes]
$creadListPrec :: ReadPrec [IdentityNotificationAttributes]
readPrec :: ReadPrec IdentityNotificationAttributes
$creadPrec :: ReadPrec IdentityNotificationAttributes
readList :: ReadS [IdentityNotificationAttributes]
$creadList :: ReadS [IdentityNotificationAttributes]
readsPrec :: Int -> ReadS IdentityNotificationAttributes
$creadsPrec :: Int -> ReadS IdentityNotificationAttributes
Prelude.Read, Int -> IdentityNotificationAttributes -> ShowS
[IdentityNotificationAttributes] -> ShowS
IdentityNotificationAttributes -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [IdentityNotificationAttributes] -> ShowS
$cshowList :: [IdentityNotificationAttributes] -> ShowS
show :: IdentityNotificationAttributes -> String
$cshow :: IdentityNotificationAttributes -> String
showsPrec :: Int -> IdentityNotificationAttributes -> ShowS
$cshowsPrec :: Int -> IdentityNotificationAttributes -> ShowS
Prelude.Show, forall x.
Rep IdentityNotificationAttributes x
-> IdentityNotificationAttributes
forall x.
IdentityNotificationAttributes
-> Rep IdentityNotificationAttributes x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep IdentityNotificationAttributes x
-> IdentityNotificationAttributes
$cfrom :: forall x.
IdentityNotificationAttributes
-> Rep IdentityNotificationAttributes x
Prelude.Generic)

-- |
-- Create a value of 'IdentityNotificationAttributes' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'headersInBounceNotificationsEnabled', 'identityNotificationAttributes_headersInBounceNotificationsEnabled' - Describes whether Amazon SES includes the original email headers in
-- Amazon SNS notifications of type @Bounce@. A value of @true@ specifies
-- that Amazon SES will include headers in bounce notifications, and a
-- value of @false@ specifies that Amazon SES will not include headers in
-- bounce notifications.
--
-- 'headersInComplaintNotificationsEnabled', 'identityNotificationAttributes_headersInComplaintNotificationsEnabled' - Describes whether Amazon SES includes the original email headers in
-- Amazon SNS notifications of type @Complaint@. A value of @true@
-- specifies that Amazon SES will include headers in complaint
-- notifications, and a value of @false@ specifies that Amazon SES will not
-- include headers in complaint notifications.
--
-- 'headersInDeliveryNotificationsEnabled', 'identityNotificationAttributes_headersInDeliveryNotificationsEnabled' - Describes whether Amazon SES includes the original email headers in
-- Amazon SNS notifications of type @Delivery@. A value of @true@ specifies
-- that Amazon SES will include headers in delivery notifications, and a
-- value of @false@ specifies that Amazon SES will not include headers in
-- delivery notifications.
--
-- 'bounceTopic', 'identityNotificationAttributes_bounceTopic' - The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
-- will publish bounce notifications.
--
-- 'complaintTopic', 'identityNotificationAttributes_complaintTopic' - The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
-- will publish complaint notifications.
--
-- 'deliveryTopic', 'identityNotificationAttributes_deliveryTopic' - The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
-- will publish delivery notifications.
--
-- 'forwardingEnabled', 'identityNotificationAttributes_forwardingEnabled' - Describes whether Amazon SES will forward bounce and complaint
-- notifications as email. @true@ indicates that Amazon SES will forward
-- bounce and complaint notifications as email, while @false@ indicates
-- that bounce and complaint notifications will be published only to the
-- specified bounce and complaint Amazon SNS topics.
newIdentityNotificationAttributes ::
  -- | 'bounceTopic'
  Prelude.Text ->
  -- | 'complaintTopic'
  Prelude.Text ->
  -- | 'deliveryTopic'
  Prelude.Text ->
  -- | 'forwardingEnabled'
  Prelude.Bool ->
  IdentityNotificationAttributes
newIdentityNotificationAttributes :: Text -> Text -> Text -> Bool -> IdentityNotificationAttributes
newIdentityNotificationAttributes
  Text
pBounceTopic_
  Text
pComplaintTopic_
  Text
pDeliveryTopic_
  Bool
pForwardingEnabled_ =
    IdentityNotificationAttributes'
      { $sel:headersInBounceNotificationsEnabled:IdentityNotificationAttributes' :: Maybe Bool
headersInBounceNotificationsEnabled =
          forall a. Maybe a
Prelude.Nothing,
        $sel:headersInComplaintNotificationsEnabled:IdentityNotificationAttributes' :: Maybe Bool
headersInComplaintNotificationsEnabled =
          forall a. Maybe a
Prelude.Nothing,
        $sel:headersInDeliveryNotificationsEnabled:IdentityNotificationAttributes' :: Maybe Bool
headersInDeliveryNotificationsEnabled =
          forall a. Maybe a
Prelude.Nothing,
        $sel:bounceTopic:IdentityNotificationAttributes' :: Text
bounceTopic = Text
pBounceTopic_,
        $sel:complaintTopic:IdentityNotificationAttributes' :: Text
complaintTopic = Text
pComplaintTopic_,
        $sel:deliveryTopic:IdentityNotificationAttributes' :: Text
deliveryTopic = Text
pDeliveryTopic_,
        $sel:forwardingEnabled:IdentityNotificationAttributes' :: Bool
forwardingEnabled = Bool
pForwardingEnabled_
      }

-- | Describes whether Amazon SES includes the original email headers in
-- Amazon SNS notifications of type @Bounce@. A value of @true@ specifies
-- that Amazon SES will include headers in bounce notifications, and a
-- value of @false@ specifies that Amazon SES will not include headers in
-- bounce notifications.
identityNotificationAttributes_headersInBounceNotificationsEnabled :: Lens.Lens' IdentityNotificationAttributes (Prelude.Maybe Prelude.Bool)
identityNotificationAttributes_headersInBounceNotificationsEnabled :: Lens' IdentityNotificationAttributes (Maybe Bool)
identityNotificationAttributes_headersInBounceNotificationsEnabled = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\IdentityNotificationAttributes' {Maybe Bool
headersInBounceNotificationsEnabled :: Maybe Bool
$sel:headersInBounceNotificationsEnabled:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Maybe Bool
headersInBounceNotificationsEnabled} -> Maybe Bool
headersInBounceNotificationsEnabled) (\s :: IdentityNotificationAttributes
s@IdentityNotificationAttributes' {} Maybe Bool
a -> IdentityNotificationAttributes
s {$sel:headersInBounceNotificationsEnabled:IdentityNotificationAttributes' :: Maybe Bool
headersInBounceNotificationsEnabled = Maybe Bool
a} :: IdentityNotificationAttributes)

-- | Describes whether Amazon SES includes the original email headers in
-- Amazon SNS notifications of type @Complaint@. A value of @true@
-- specifies that Amazon SES will include headers in complaint
-- notifications, and a value of @false@ specifies that Amazon SES will not
-- include headers in complaint notifications.
identityNotificationAttributes_headersInComplaintNotificationsEnabled :: Lens.Lens' IdentityNotificationAttributes (Prelude.Maybe Prelude.Bool)
identityNotificationAttributes_headersInComplaintNotificationsEnabled :: Lens' IdentityNotificationAttributes (Maybe Bool)
identityNotificationAttributes_headersInComplaintNotificationsEnabled = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\IdentityNotificationAttributes' {Maybe Bool
headersInComplaintNotificationsEnabled :: Maybe Bool
$sel:headersInComplaintNotificationsEnabled:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Maybe Bool
headersInComplaintNotificationsEnabled} -> Maybe Bool
headersInComplaintNotificationsEnabled) (\s :: IdentityNotificationAttributes
s@IdentityNotificationAttributes' {} Maybe Bool
a -> IdentityNotificationAttributes
s {$sel:headersInComplaintNotificationsEnabled:IdentityNotificationAttributes' :: Maybe Bool
headersInComplaintNotificationsEnabled = Maybe Bool
a} :: IdentityNotificationAttributes)

-- | Describes whether Amazon SES includes the original email headers in
-- Amazon SNS notifications of type @Delivery@. A value of @true@ specifies
-- that Amazon SES will include headers in delivery notifications, and a
-- value of @false@ specifies that Amazon SES will not include headers in
-- delivery notifications.
identityNotificationAttributes_headersInDeliveryNotificationsEnabled :: Lens.Lens' IdentityNotificationAttributes (Prelude.Maybe Prelude.Bool)
identityNotificationAttributes_headersInDeliveryNotificationsEnabled :: Lens' IdentityNotificationAttributes (Maybe Bool)
identityNotificationAttributes_headersInDeliveryNotificationsEnabled = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\IdentityNotificationAttributes' {Maybe Bool
headersInDeliveryNotificationsEnabled :: Maybe Bool
$sel:headersInDeliveryNotificationsEnabled:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Maybe Bool
headersInDeliveryNotificationsEnabled} -> Maybe Bool
headersInDeliveryNotificationsEnabled) (\s :: IdentityNotificationAttributes
s@IdentityNotificationAttributes' {} Maybe Bool
a -> IdentityNotificationAttributes
s {$sel:headersInDeliveryNotificationsEnabled:IdentityNotificationAttributes' :: Maybe Bool
headersInDeliveryNotificationsEnabled = Maybe Bool
a} :: IdentityNotificationAttributes)

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
-- will publish bounce notifications.
identityNotificationAttributes_bounceTopic :: Lens.Lens' IdentityNotificationAttributes Prelude.Text
identityNotificationAttributes_bounceTopic :: Lens' IdentityNotificationAttributes Text
identityNotificationAttributes_bounceTopic = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\IdentityNotificationAttributes' {Text
bounceTopic :: Text
$sel:bounceTopic:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Text
bounceTopic} -> Text
bounceTopic) (\s :: IdentityNotificationAttributes
s@IdentityNotificationAttributes' {} Text
a -> IdentityNotificationAttributes
s {$sel:bounceTopic:IdentityNotificationAttributes' :: Text
bounceTopic = Text
a} :: IdentityNotificationAttributes)

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
-- will publish complaint notifications.
identityNotificationAttributes_complaintTopic :: Lens.Lens' IdentityNotificationAttributes Prelude.Text
identityNotificationAttributes_complaintTopic :: Lens' IdentityNotificationAttributes Text
identityNotificationAttributes_complaintTopic = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\IdentityNotificationAttributes' {Text
complaintTopic :: Text
$sel:complaintTopic:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Text
complaintTopic} -> Text
complaintTopic) (\s :: IdentityNotificationAttributes
s@IdentityNotificationAttributes' {} Text
a -> IdentityNotificationAttributes
s {$sel:complaintTopic:IdentityNotificationAttributes' :: Text
complaintTopic = Text
a} :: IdentityNotificationAttributes)

-- | The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
-- will publish delivery notifications.
identityNotificationAttributes_deliveryTopic :: Lens.Lens' IdentityNotificationAttributes Prelude.Text
identityNotificationAttributes_deliveryTopic :: Lens' IdentityNotificationAttributes Text
identityNotificationAttributes_deliveryTopic = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\IdentityNotificationAttributes' {Text
deliveryTopic :: Text
$sel:deliveryTopic:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Text
deliveryTopic} -> Text
deliveryTopic) (\s :: IdentityNotificationAttributes
s@IdentityNotificationAttributes' {} Text
a -> IdentityNotificationAttributes
s {$sel:deliveryTopic:IdentityNotificationAttributes' :: Text
deliveryTopic = Text
a} :: IdentityNotificationAttributes)

-- | Describes whether Amazon SES will forward bounce and complaint
-- notifications as email. @true@ indicates that Amazon SES will forward
-- bounce and complaint notifications as email, while @false@ indicates
-- that bounce and complaint notifications will be published only to the
-- specified bounce and complaint Amazon SNS topics.
identityNotificationAttributes_forwardingEnabled :: Lens.Lens' IdentityNotificationAttributes Prelude.Bool
identityNotificationAttributes_forwardingEnabled :: Lens' IdentityNotificationAttributes Bool
identityNotificationAttributes_forwardingEnabled = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\IdentityNotificationAttributes' {Bool
forwardingEnabled :: Bool
$sel:forwardingEnabled:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Bool
forwardingEnabled} -> Bool
forwardingEnabled) (\s :: IdentityNotificationAttributes
s@IdentityNotificationAttributes' {} Bool
a -> IdentityNotificationAttributes
s {$sel:forwardingEnabled:IdentityNotificationAttributes' :: Bool
forwardingEnabled = Bool
a} :: IdentityNotificationAttributes)

instance Data.FromXML IdentityNotificationAttributes where
  parseXML :: [Node] -> Either String IdentityNotificationAttributes
parseXML [Node]
x =
    Maybe Bool
-> Maybe Bool
-> Maybe Bool
-> Text
-> Text
-> Text
-> Bool
-> IdentityNotificationAttributes
IdentityNotificationAttributes'
      forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"HeadersInBounceNotificationsEnabled")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"HeadersInComplaintNotificationsEnabled")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"HeadersInDeliveryNotificationsEnabled")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String a
Data..@ Text
"BounceTopic")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String a
Data..@ Text
"ComplaintTopic")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String a
Data..@ Text
"DeliveryTopic")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String a
Data..@ Text
"ForwardingEnabled")

instance
  Prelude.Hashable
    IdentityNotificationAttributes
  where
  hashWithSalt :: Int -> IdentityNotificationAttributes -> Int
hashWithSalt
    Int
_salt
    IdentityNotificationAttributes' {Bool
Maybe Bool
Text
forwardingEnabled :: Bool
deliveryTopic :: Text
complaintTopic :: Text
bounceTopic :: Text
headersInDeliveryNotificationsEnabled :: Maybe Bool
headersInComplaintNotificationsEnabled :: Maybe Bool
headersInBounceNotificationsEnabled :: Maybe Bool
$sel:forwardingEnabled:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Bool
$sel:deliveryTopic:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Text
$sel:complaintTopic:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Text
$sel:bounceTopic:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Text
$sel:headersInDeliveryNotificationsEnabled:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Maybe Bool
$sel:headersInComplaintNotificationsEnabled:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Maybe Bool
$sel:headersInBounceNotificationsEnabled:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Maybe Bool
..} =
      Int
_salt
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
headersInBounceNotificationsEnabled
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
headersInComplaintNotificationsEnabled
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
headersInDeliveryNotificationsEnabled
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
bounceTopic
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
complaintTopic
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
deliveryTopic
        forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Bool
forwardingEnabled

instance
  Prelude.NFData
    IdentityNotificationAttributes
  where
  rnf :: IdentityNotificationAttributes -> ()
rnf IdentityNotificationAttributes' {Bool
Maybe Bool
Text
forwardingEnabled :: Bool
deliveryTopic :: Text
complaintTopic :: Text
bounceTopic :: Text
headersInDeliveryNotificationsEnabled :: Maybe Bool
headersInComplaintNotificationsEnabled :: Maybe Bool
headersInBounceNotificationsEnabled :: Maybe Bool
$sel:forwardingEnabled:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Bool
$sel:deliveryTopic:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Text
$sel:complaintTopic:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Text
$sel:bounceTopic:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Text
$sel:headersInDeliveryNotificationsEnabled:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Maybe Bool
$sel:headersInComplaintNotificationsEnabled:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Maybe Bool
$sel:headersInBounceNotificationsEnabled:IdentityNotificationAttributes' :: IdentityNotificationAttributes -> Maybe Bool
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
headersInBounceNotificationsEnabled
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
headersInComplaintNotificationsEnabled
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
headersInDeliveryNotificationsEnabled
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
bounceTopic
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
complaintTopic
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
deliveryTopic
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Bool
forwardingEnabled