libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaTailor.Types.Channel

Description

 
Synopsis

Documentation

data Channel Source #

The configuration parameters for a channel.

See: newChannel smart constructor.

Constructors

Channel' 

Fields

  • creationTime :: Maybe POSIX

    The timestamp of when the channel was created.

  • lastModifiedTime :: Maybe POSIX

    The timestamp of when the channel was last modified.

  • fillerSlate :: Maybe SlateSource

    Contains information about the slate used to fill gaps between programs in the schedule. You must configure FillerSlate if your channel uses an LINEAR PlaybackMode.

  • tags :: Maybe (HashMap Text Text)

    The tags to assign to the channel.

  • channelState :: Text

    Returns the state whether the channel is running or not.

  • channelName :: Text

    The name of the channel.

  • outputs :: [ResponseOutputItem]

    The channel's output properties.

  • arn :: Text

    The ARN of the channel.

  • playbackMode :: Text

    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.

Instances

Instances details
Eq Channel Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Channel

Methods

(==) :: Channel -> Channel -> Bool #

(/=) :: Channel -> Channel -> Bool #

Read Channel Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Channel

Show Channel Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Channel

Generic Channel Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Channel

Associated Types

type Rep Channel :: Type -> Type #

Methods

from :: Channel -> Rep Channel x #

to :: Rep Channel x -> Channel #

NFData Channel Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Channel

Methods

rnf :: Channel -> () #

Hashable Channel Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Channel

Methods

hashWithSalt :: Int -> Channel -> Int #

hash :: Channel -> Int #

FromJSON Channel Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Channel

type Rep Channel Source # 
Instance details

Defined in Amazonka.MediaTailor.Types.Channel

newChannel Source #

Create a value of Channel 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:creationTime:Channel', channel_creationTime - The timestamp of when the channel was created.

$sel:lastModifiedTime:Channel', channel_lastModifiedTime - The timestamp of when the channel was last modified.

$sel:fillerSlate:Channel', channel_fillerSlate - Contains information about the slate used to fill gaps between programs in the schedule. You must configure FillerSlate if your channel uses an LINEAR PlaybackMode.

$sel:tags:Channel', channel_tags - The tags to assign to the channel.

$sel:channelState:Channel', channel_channelState - Returns the state whether the channel is running or not.

$sel:channelName:Channel', channel_channelName - The name of the channel.

$sel:outputs:Channel', channel_outputs - The channel's output properties.

$sel:arn:Channel', channel_arn - The ARN of the channel.

$sel:playbackMode:Channel', 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.

channel_creationTime :: Lens' Channel (Maybe UTCTime) Source #

The timestamp of when the channel was created.

channel_lastModifiedTime :: Lens' Channel (Maybe UTCTime) Source #

The timestamp of when the channel was last modified.

channel_fillerSlate :: Lens' Channel (Maybe SlateSource) Source #

Contains information about the slate used to fill gaps between programs in the schedule. You must configure FillerSlate if your channel uses an LINEAR PlaybackMode.

channel_tags :: Lens' Channel (Maybe (HashMap Text Text)) Source #

The tags to assign to the channel.

channel_channelState :: Lens' Channel Text Source #

Returns the state whether the channel is running or not.

channel_channelName :: Lens' Channel Text Source #

The name of the channel.

channel_outputs :: Lens' Channel [ResponseOutputItem] Source #

The channel's output properties.

channel_arn :: Lens' Channel Text Source #

The ARN of the channel.

channel_playbackMode :: Lens' Channel Text Source #

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.