| 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 |
Amazonka.MediaTailor.UpdateChannel
Description
Updates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
Synopsis
- data UpdateChannel = UpdateChannel' {}
- newUpdateChannel :: Text -> UpdateChannel
- updateChannel_fillerSlate :: Lens' UpdateChannel (Maybe SlateSource)
- updateChannel_channelName :: Lens' UpdateChannel Text
- updateChannel_outputs :: Lens' UpdateChannel [RequestOutputItem]
- data UpdateChannelResponse = UpdateChannelResponse' {
- arn :: Maybe Text
- channelName :: Maybe Text
- channelState :: Maybe ChannelState
- creationTime :: Maybe POSIX
- fillerSlate :: Maybe SlateSource
- lastModifiedTime :: Maybe POSIX
- outputs :: Maybe [ResponseOutputItem]
- playbackMode :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- tier :: Maybe Text
- httpStatus :: Int
- newUpdateChannelResponse :: Int -> UpdateChannelResponse
- updateChannelResponse_arn :: Lens' UpdateChannelResponse (Maybe Text)
- updateChannelResponse_channelName :: Lens' UpdateChannelResponse (Maybe Text)
- updateChannelResponse_channelState :: Lens' UpdateChannelResponse (Maybe ChannelState)
- updateChannelResponse_creationTime :: Lens' UpdateChannelResponse (Maybe UTCTime)
- updateChannelResponse_fillerSlate :: Lens' UpdateChannelResponse (Maybe SlateSource)
- updateChannelResponse_lastModifiedTime :: Lens' UpdateChannelResponse (Maybe UTCTime)
- updateChannelResponse_outputs :: Lens' UpdateChannelResponse (Maybe [ResponseOutputItem])
- updateChannelResponse_playbackMode :: Lens' UpdateChannelResponse (Maybe Text)
- updateChannelResponse_tags :: Lens' UpdateChannelResponse (Maybe (HashMap Text Text))
- updateChannelResponse_tier :: Lens' UpdateChannelResponse (Maybe Text)
- updateChannelResponse_httpStatus :: Lens' UpdateChannelResponse Int
Creating a Request
data UpdateChannel Source #
See: newUpdateChannel smart constructor.
Constructors
| UpdateChannel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateChannel |
Create a value of UpdateChannel 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:
UpdateChannel, updateChannel_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.
UpdateChannel, updateChannel_channelName - The name of the channel.
UpdateChannel, updateChannel_outputs - The channel's output properties.
Request Lenses
updateChannel_fillerSlate :: Lens' UpdateChannel (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.
updateChannel_channelName :: Lens' UpdateChannel Text Source #
The name of the channel.
updateChannel_outputs :: Lens' UpdateChannel [RequestOutputItem] Source #
The channel's output properties.
Destructuring the Response
data UpdateChannelResponse Source #
See: newUpdateChannelResponse smart constructor.
Constructors
| UpdateChannelResponse' | |
Fields
| |
Instances
newUpdateChannelResponse Source #
Create a value of UpdateChannelResponse 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:
UpdateChannelResponse, updateChannelResponse_arn - The Amazon Resource Name (ARN) associated with the channel.
UpdateChannel, updateChannelResponse_channelName - The name of the channel.
UpdateChannelResponse, updateChannelResponse_channelState - Returns the state whether the channel is running or not.
UpdateChannelResponse, updateChannelResponse_creationTime - The timestamp of when the channel was created.
UpdateChannel, updateChannelResponse_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.
UpdateChannelResponse, updateChannelResponse_lastModifiedTime - The timestamp that indicates when the channel was last modified.
UpdateChannel, updateChannelResponse_outputs - The channel's output properties.
UpdateChannelResponse, updateChannelResponse_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.
UpdateChannelResponse, updateChannelResponse_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.
UpdateChannelResponse, updateChannelResponse_tier - The tier associated with this Channel.
$sel:httpStatus:UpdateChannelResponse', updateChannelResponse_httpStatus - The response's http status code.
Response Lenses
updateChannelResponse_arn :: Lens' UpdateChannelResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) associated with the channel.
updateChannelResponse_channelName :: Lens' UpdateChannelResponse (Maybe Text) Source #
The name of the channel.
updateChannelResponse_channelState :: Lens' UpdateChannelResponse (Maybe ChannelState) Source #
Returns the state whether the channel is running or not.
updateChannelResponse_creationTime :: Lens' UpdateChannelResponse (Maybe UTCTime) Source #
The timestamp of when the channel was created.
updateChannelResponse_fillerSlate :: Lens' UpdateChannelResponse (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.
updateChannelResponse_lastModifiedTime :: Lens' UpdateChannelResponse (Maybe UTCTime) Source #
The timestamp that indicates when the channel was last modified.
updateChannelResponse_outputs :: Lens' UpdateChannelResponse (Maybe [ResponseOutputItem]) Source #
The channel's output properties.
updateChannelResponse_playbackMode :: Lens' UpdateChannelResponse (Maybe 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.
updateChannelResponse_tags :: Lens' UpdateChannelResponse (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.
updateChannelResponse_tier :: Lens' UpdateChannelResponse (Maybe Text) Source #
The tier associated with this Channel.
updateChannelResponse_httpStatus :: Lens' UpdateChannelResponse Int Source #
The response's http status code.