Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Channel = Channel' {
- creationTime :: Maybe POSIX
- fillerSlate :: Maybe SlateSource
- lastModifiedTime :: Maybe POSIX
- tags :: Maybe (HashMap Text Text)
- arn :: Text
- channelName :: Text
- channelState :: Text
- outputs :: [ResponseOutputItem]
- playbackMode :: Text
- tier :: Text
- newChannel :: Text -> Text -> Text -> Text -> Text -> Channel
- channel_creationTime :: Lens' Channel (Maybe UTCTime)
- channel_fillerSlate :: Lens' Channel (Maybe SlateSource)
- channel_lastModifiedTime :: Lens' Channel (Maybe UTCTime)
- channel_tags :: Lens' Channel (Maybe (HashMap Text Text))
- channel_arn :: Lens' Channel Text
- channel_channelName :: Lens' Channel Text
- channel_channelState :: Lens' Channel Text
- channel_outputs :: Lens' Channel [ResponseOutputItem]
- channel_playbackMode :: Lens' Channel Text
- channel_tier :: Lens' Channel Text
Documentation
The configuration parameters for a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
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:fillerSlate:Channel'
, 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
.
$sel:lastModifiedTime:Channel'
, channel_lastModifiedTime
- The timestamp of when the channel was last modified.
$sel:tags:Channel'
, 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
Tagging AWS Elemental MediaTailor Resources.
$sel:arn:Channel'
, channel_arn
- The ARN of the channel.
$sel:channelName:Channel'
, channel_channelName
- The name of the channel.
$sel:channelState:Channel'
, channel_channelState
- Returns the state whether the channel is running or not.
$sel:outputs:Channel'
, channel_outputs
- The channel's output properties.
$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.
$sel:tier:Channel'
, channel_tier
- The tier for this channel. STANDARD tier channels can contain live
programs.
channel_creationTime :: Lens' Channel (Maybe UTCTime) Source #
The timestamp of when the channel was created.
channel_fillerSlate :: Lens' Channel (Maybe SlateSource) Source #
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_lastModifiedTime :: Lens' Channel (Maybe UTCTime) Source #
The timestamp of when the channel was last modified.
channel_tags :: Lens' Channel (Maybe (HashMap Text Text)) Source #
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 Tagging AWS Elemental MediaTailor Resources.
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.