Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Channel = Channel' {
- creationTime :: Maybe POSIX
- lastModifiedTime :: Maybe POSIX
- fillerSlate :: Maybe SlateSource
- tags :: Maybe (HashMap Text Text)
- channelState :: Text
- channelName :: Text
- outputs :: [ResponseOutputItem]
- arn :: Text
- playbackMode :: Text
- newChannel :: Text -> Text -> Text -> Text -> Channel
- channel_creationTime :: Lens' Channel (Maybe UTCTime)
- channel_lastModifiedTime :: Lens' Channel (Maybe UTCTime)
- channel_fillerSlate :: Lens' Channel (Maybe SlateSource)
- channel_tags :: Lens' Channel (Maybe (HashMap Text Text))
- channel_channelState :: Lens' Channel Text
- channel_channelName :: Lens' Channel Text
- channel_outputs :: Lens' Channel [ResponseOutputItem]
- channel_arn :: Lens' Channel Text
- channel_playbackMode :: Lens' Channel Text
Documentation
The configuration parameters for a channel.
See: newChannel
smart constructor.
Channel' | |
|
Instances
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_outputs :: Lens' Channel [ResponseOutputItem] Source #
The channel's output properties.