{-# 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.MediaTailor.Types.Channel
-- 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.MediaTailor.Types.Channel where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.MediaTailor.Types.ResponseOutputItem
import Amazonka.MediaTailor.Types.SlateSource
import qualified Amazonka.Prelude as Prelude

-- | The configuration parameters for a channel. For information about
-- MediaTailor channels, see
-- <https://docs.aws.amazon.com/mediatailor/latest/ug/channel-assembly-channels.html Working with channels>
-- in the /MediaTailor User Guide/.
--
-- /See:/ 'newChannel' smart constructor.
data Channel = Channel'
  { -- | The timestamp of when the channel was created.
    Channel -> Maybe POSIX
creationTime :: Prelude.Maybe Data.POSIX,
    -- | The slate used to fill gaps between programs in the schedule. You must
    -- configure filler slate if your channel uses the @LINEAR@ @PlaybackMode@.
    -- MediaTailor doesn\'t support filler slate for channels using the @LOOP@
    -- @PlaybackMode@.
    Channel -> Maybe SlateSource
fillerSlate :: Prelude.Maybe SlateSource,
    -- | The timestamp of when the channel was last modified.
    Channel -> Maybe POSIX
lastModifiedTime :: Prelude.Maybe Data.POSIX,
    -- | The tags to assign to the channel. Tags are key-value pairs that you can
    -- associate with Amazon resources to help with organization, access
    -- control, and cost tracking. For more information, see
    -- <https://docs.aws.amazon.com/mediatailor/latest/ug/tagging.html Tagging AWS Elemental MediaTailor Resources>.
    Channel -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
    -- | The ARN of the channel.
    Channel -> Text
arn :: Prelude.Text,
    -- | The name of the channel.
    Channel -> Text
channelName :: Prelude.Text,
    -- | Returns the state whether the channel is running or not.
    Channel -> Text
channelState :: Prelude.Text,
    -- | The channel\'s output properties.
    Channel -> [ResponseOutputItem]
outputs :: [ResponseOutputItem],
    -- | The type of playback mode for this channel.
    --
    -- @LINEAR@ - Programs play back-to-back only once.
    --
    -- @LOOP@ - Programs play back-to-back in an endless loop. When the last
    -- program in the schedule plays, playback loops back to the first program
    -- in the schedule.
    Channel -> Text
playbackMode :: Prelude.Text,
    -- | The tier for this channel. STANDARD tier channels can contain live
    -- programs.
    Channel -> Text
tier :: Prelude.Text
  }
  deriving (Channel -> Channel -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Channel -> Channel -> Bool
$c/= :: Channel -> Channel -> Bool
== :: Channel -> Channel -> Bool
$c== :: Channel -> Channel -> Bool
Prelude.Eq, ReadPrec [Channel]
ReadPrec Channel
Int -> ReadS Channel
ReadS [Channel]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Channel]
$creadListPrec :: ReadPrec [Channel]
readPrec :: ReadPrec Channel
$creadPrec :: ReadPrec Channel
readList :: ReadS [Channel]
$creadList :: ReadS [Channel]
readsPrec :: Int -> ReadS Channel
$creadsPrec :: Int -> ReadS Channel
Prelude.Read, Int -> Channel -> ShowS
[Channel] -> ShowS
Channel -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Channel] -> ShowS
$cshowList :: [Channel] -> ShowS
show :: Channel -> String
$cshow :: Channel -> String
showsPrec :: Int -> Channel -> ShowS
$cshowsPrec :: Int -> Channel -> ShowS
Prelude.Show, forall x. Rep Channel x -> Channel
forall x. Channel -> Rep Channel x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Channel x -> Channel
$cfrom :: forall x. Channel -> Rep Channel x
Prelude.Generic)

-- |
-- Create a value of 'Channel' 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:
--
-- 'creationTime', 'channel_creationTime' - The timestamp of when the channel was created.
--
-- 'fillerSlate', 'channel_fillerSlate' - The slate used to fill gaps between programs in the schedule. You must
-- configure filler slate if your channel uses the @LINEAR@ @PlaybackMode@.
-- MediaTailor doesn\'t support filler slate for channels using the @LOOP@
-- @PlaybackMode@.
--
-- 'lastModifiedTime', 'channel_lastModifiedTime' - The timestamp of when the channel was last modified.
--
-- 'tags', 'channel_tags' - The tags to assign to the channel. Tags are key-value pairs that you can
-- associate with Amazon resources to help with organization, access
-- control, and cost tracking. For more information, see
-- <https://docs.aws.amazon.com/mediatailor/latest/ug/tagging.html Tagging AWS Elemental MediaTailor Resources>.
--
-- 'arn', 'channel_arn' - The ARN of the channel.
--
-- 'channelName', 'channel_channelName' - The name of the channel.
--
-- 'channelState', 'channel_channelState' - Returns the state whether the channel is running or not.
--
-- 'outputs', 'channel_outputs' - The channel\'s output properties.
--
-- 'playbackMode', 'channel_playbackMode' - The type of playback mode for this channel.
--
-- @LINEAR@ - Programs play back-to-back only once.
--
-- @LOOP@ - Programs play back-to-back in an endless loop. When the last
-- program in the schedule plays, playback loops back to the first program
-- in the schedule.
--
-- 'tier', 'channel_tier' - The tier for this channel. STANDARD tier channels can contain live
-- programs.
newChannel ::
  -- | 'arn'
  Prelude.Text ->
  -- | 'channelName'
  Prelude.Text ->
  -- | 'channelState'
  Prelude.Text ->
  -- | 'playbackMode'
  Prelude.Text ->
  -- | 'tier'
  Prelude.Text ->
  Channel
newChannel :: Text -> Text -> Text -> Text -> Text -> Channel
newChannel
  Text
pArn_
  Text
pChannelName_
  Text
pChannelState_
  Text
pPlaybackMode_
  Text
pTier_ =
    Channel'
      { $sel:creationTime:Channel' :: Maybe POSIX
creationTime = forall a. Maybe a
Prelude.Nothing,
        $sel:fillerSlate:Channel' :: Maybe SlateSource
fillerSlate = forall a. Maybe a
Prelude.Nothing,
        $sel:lastModifiedTime:Channel' :: Maybe POSIX
lastModifiedTime = forall a. Maybe a
Prelude.Nothing,
        $sel:tags:Channel' :: Maybe (HashMap Text Text)
tags = forall a. Maybe a
Prelude.Nothing,
        $sel:arn:Channel' :: Text
arn = Text
pArn_,
        $sel:channelName:Channel' :: Text
channelName = Text
pChannelName_,
        $sel:channelState:Channel' :: Text
channelState = Text
pChannelState_,
        $sel:outputs:Channel' :: [ResponseOutputItem]
outputs = forall a. Monoid a => a
Prelude.mempty,
        $sel:playbackMode:Channel' :: Text
playbackMode = Text
pPlaybackMode_,
        $sel:tier:Channel' :: Text
tier = Text
pTier_
      }

-- | The timestamp of when the channel was created.
channel_creationTime :: Lens.Lens' Channel (Prelude.Maybe Prelude.UTCTime)
channel_creationTime :: Lens' Channel (Maybe UTCTime)
channel_creationTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Channel' {Maybe POSIX
creationTime :: Maybe POSIX
$sel:creationTime:Channel' :: Channel -> Maybe POSIX
creationTime} -> Maybe POSIX
creationTime) (\s :: Channel
s@Channel' {} Maybe POSIX
a -> Channel
s {$sel:creationTime:Channel' :: Maybe POSIX
creationTime = Maybe POSIX
a} :: Channel) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The slate used to fill gaps between programs in the schedule. You must
-- configure filler slate if your channel uses the @LINEAR@ @PlaybackMode@.
-- MediaTailor doesn\'t support filler slate for channels using the @LOOP@
-- @PlaybackMode@.
channel_fillerSlate :: Lens.Lens' Channel (Prelude.Maybe SlateSource)
channel_fillerSlate :: Lens' Channel (Maybe SlateSource)
channel_fillerSlate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Channel' {Maybe SlateSource
fillerSlate :: Maybe SlateSource
$sel:fillerSlate:Channel' :: Channel -> Maybe SlateSource
fillerSlate} -> Maybe SlateSource
fillerSlate) (\s :: Channel
s@Channel' {} Maybe SlateSource
a -> Channel
s {$sel:fillerSlate:Channel' :: Maybe SlateSource
fillerSlate = Maybe SlateSource
a} :: Channel)

-- | The timestamp of when the channel was last modified.
channel_lastModifiedTime :: Lens.Lens' Channel (Prelude.Maybe Prelude.UTCTime)
channel_lastModifiedTime :: Lens' Channel (Maybe UTCTime)
channel_lastModifiedTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Channel' {Maybe POSIX
lastModifiedTime :: Maybe POSIX
$sel:lastModifiedTime:Channel' :: Channel -> Maybe POSIX
lastModifiedTime} -> Maybe POSIX
lastModifiedTime) (\s :: Channel
s@Channel' {} Maybe POSIX
a -> Channel
s {$sel:lastModifiedTime:Channel' :: Maybe POSIX
lastModifiedTime = Maybe POSIX
a} :: Channel) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The tags to assign to the channel. Tags are key-value pairs that you can
-- associate with Amazon resources to help with organization, access
-- control, and cost tracking. For more information, see
-- <https://docs.aws.amazon.com/mediatailor/latest/ug/tagging.html Tagging AWS Elemental MediaTailor Resources>.
channel_tags :: Lens.Lens' Channel (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
channel_tags :: Lens' Channel (Maybe (HashMap Text Text))
channel_tags = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Channel' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:Channel' :: Channel -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: Channel
s@Channel' {} Maybe (HashMap Text Text)
a -> Channel
s {$sel:tags:Channel' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: Channel) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The ARN of the channel.
channel_arn :: Lens.Lens' Channel Prelude.Text
channel_arn :: Lens' Channel Text
channel_arn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Channel' {Text
arn :: Text
$sel:arn:Channel' :: Channel -> Text
arn} -> Text
arn) (\s :: Channel
s@Channel' {} Text
a -> Channel
s {$sel:arn:Channel' :: Text
arn = Text
a} :: Channel)

-- | The name of the channel.
channel_channelName :: Lens.Lens' Channel Prelude.Text
channel_channelName :: Lens' Channel Text
channel_channelName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Channel' {Text
channelName :: Text
$sel:channelName:Channel' :: Channel -> Text
channelName} -> Text
channelName) (\s :: Channel
s@Channel' {} Text
a -> Channel
s {$sel:channelName:Channel' :: Text
channelName = Text
a} :: Channel)

-- | Returns the state whether the channel is running or not.
channel_channelState :: Lens.Lens' Channel Prelude.Text
channel_channelState :: Lens' Channel Text
channel_channelState = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Channel' {Text
channelState :: Text
$sel:channelState:Channel' :: Channel -> Text
channelState} -> Text
channelState) (\s :: Channel
s@Channel' {} Text
a -> Channel
s {$sel:channelState:Channel' :: Text
channelState = Text
a} :: Channel)

-- | The channel\'s output properties.
channel_outputs :: Lens.Lens' Channel [ResponseOutputItem]
channel_outputs :: Lens' Channel [ResponseOutputItem]
channel_outputs = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Channel' {[ResponseOutputItem]
outputs :: [ResponseOutputItem]
$sel:outputs:Channel' :: Channel -> [ResponseOutputItem]
outputs} -> [ResponseOutputItem]
outputs) (\s :: Channel
s@Channel' {} [ResponseOutputItem]
a -> Channel
s {$sel:outputs:Channel' :: [ResponseOutputItem]
outputs = [ResponseOutputItem]
a} :: Channel) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The type of playback mode for this channel.
--
-- @LINEAR@ - Programs play back-to-back only once.
--
-- @LOOP@ - Programs play back-to-back in an endless loop. When the last
-- program in the schedule plays, playback loops back to the first program
-- in the schedule.
channel_playbackMode :: Lens.Lens' Channel Prelude.Text
channel_playbackMode :: Lens' Channel Text
channel_playbackMode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Channel' {Text
playbackMode :: Text
$sel:playbackMode:Channel' :: Channel -> Text
playbackMode} -> Text
playbackMode) (\s :: Channel
s@Channel' {} Text
a -> Channel
s {$sel:playbackMode:Channel' :: Text
playbackMode = Text
a} :: Channel)

-- | The tier for this channel. STANDARD tier channels can contain live
-- programs.
channel_tier :: Lens.Lens' Channel Prelude.Text
channel_tier :: Lens' Channel Text
channel_tier = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Channel' {Text
tier :: Text
$sel:tier:Channel' :: Channel -> Text
tier} -> Text
tier) (\s :: Channel
s@Channel' {} Text
a -> Channel
s {$sel:tier:Channel' :: Text
tier = Text
a} :: Channel)

instance Data.FromJSON Channel where
  parseJSON :: Value -> Parser Channel
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"Channel"
      ( \Object
x ->
          Maybe POSIX
-> Maybe SlateSource
-> Maybe POSIX
-> Maybe (HashMap Text Text)
-> Text
-> Text
-> Text
-> [ResponseOutputItem]
-> Text
-> Text
-> Channel
Channel'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"CreationTime")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"FillerSlate")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"LastModifiedTime")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"tags" forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"Arn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"ChannelName")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"ChannelState")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Outputs" forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"PlaybackMode")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"Tier")
      )

instance Prelude.Hashable Channel where
  hashWithSalt :: Int -> Channel -> Int
hashWithSalt Int
_salt Channel' {[ResponseOutputItem]
Maybe (HashMap Text Text)
Maybe POSIX
Maybe SlateSource
Text
tier :: Text
playbackMode :: Text
outputs :: [ResponseOutputItem]
channelState :: Text
channelName :: Text
arn :: Text
tags :: Maybe (HashMap Text Text)
lastModifiedTime :: Maybe POSIX
fillerSlate :: Maybe SlateSource
creationTime :: Maybe POSIX
$sel:tier:Channel' :: Channel -> Text
$sel:playbackMode:Channel' :: Channel -> Text
$sel:outputs:Channel' :: Channel -> [ResponseOutputItem]
$sel:channelState:Channel' :: Channel -> Text
$sel:channelName:Channel' :: Channel -> Text
$sel:arn:Channel' :: Channel -> Text
$sel:tags:Channel' :: Channel -> Maybe (HashMap Text Text)
$sel:lastModifiedTime:Channel' :: Channel -> Maybe POSIX
$sel:fillerSlate:Channel' :: Channel -> Maybe SlateSource
$sel:creationTime:Channel' :: Channel -> Maybe POSIX
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
creationTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe SlateSource
fillerSlate
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
lastModifiedTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (HashMap Text Text)
tags
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
arn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
channelName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
channelState
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` [ResponseOutputItem]
outputs
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
playbackMode
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
tier

instance Prelude.NFData Channel where
  rnf :: Channel -> ()
rnf Channel' {[ResponseOutputItem]
Maybe (HashMap Text Text)
Maybe POSIX
Maybe SlateSource
Text
tier :: Text
playbackMode :: Text
outputs :: [ResponseOutputItem]
channelState :: Text
channelName :: Text
arn :: Text
tags :: Maybe (HashMap Text Text)
lastModifiedTime :: Maybe POSIX
fillerSlate :: Maybe SlateSource
creationTime :: Maybe POSIX
$sel:tier:Channel' :: Channel -> Text
$sel:playbackMode:Channel' :: Channel -> Text
$sel:outputs:Channel' :: Channel -> [ResponseOutputItem]
$sel:channelState:Channel' :: Channel -> Text
$sel:channelName:Channel' :: Channel -> Text
$sel:arn:Channel' :: Channel -> Text
$sel:tags:Channel' :: Channel -> Maybe (HashMap Text Text)
$sel:lastModifiedTime:Channel' :: Channel -> Maybe POSIX
$sel:fillerSlate:Channel' :: Channel -> Maybe SlateSource
$sel:creationTime:Channel' :: Channel -> Maybe POSIX
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
creationTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe SlateSource
fillerSlate
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
lastModifiedTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (HashMap Text Text)
tags
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
arn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
channelName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
channelState
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf [ResponseOutputItem]
outputs
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
playbackMode
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
tier