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 |
Updates an existing channel.
Synopsis
- data UpdateChannel = UpdateChannel' {
- channelName :: Text
- outputs :: [RequestOutputItem]
- newUpdateChannel :: Text -> UpdateChannel
- updateChannel_channelName :: Lens' UpdateChannel Text
- updateChannel_outputs :: Lens' UpdateChannel [RequestOutputItem]
- data UpdateChannelResponse = UpdateChannelResponse' {}
- newUpdateChannelResponse :: Int -> UpdateChannelResponse
- updateChannelResponse_creationTime :: Lens' UpdateChannelResponse (Maybe UTCTime)
- updateChannelResponse_arn :: Lens' UpdateChannelResponse (Maybe Text)
- updateChannelResponse_lastModifiedTime :: Lens' UpdateChannelResponse (Maybe UTCTime)
- updateChannelResponse_playbackMode :: Lens' UpdateChannelResponse (Maybe Text)
- updateChannelResponse_channelName :: Lens' UpdateChannelResponse (Maybe Text)
- updateChannelResponse_outputs :: Lens' UpdateChannelResponse (Maybe [ResponseOutputItem])
- updateChannelResponse_channelState :: Lens' UpdateChannelResponse (Maybe ChannelState)
- updateChannelResponse_fillerSlate :: Lens' UpdateChannelResponse (Maybe SlateSource)
- updateChannelResponse_tags :: Lens' UpdateChannelResponse (Maybe (HashMap Text Text))
- updateChannelResponse_httpStatus :: Lens' UpdateChannelResponse Int
Creating a Request
data UpdateChannel Source #
See: newUpdateChannel
smart constructor.
UpdateChannel' | |
|
Instances
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:
$sel:channelName:UpdateChannel'
, updateChannel_channelName
- The identifier for the channel you are working on.
$sel:outputs:UpdateChannel'
, updateChannel_outputs
- The channel's output properties.
Request Lenses
updateChannel_channelName :: Lens' UpdateChannel Text Source #
The identifier for the channel you are working on.
updateChannel_outputs :: Lens' UpdateChannel [RequestOutputItem] Source #
The channel's output properties.
Destructuring the Response
data UpdateChannelResponse Source #
See: newUpdateChannelResponse
smart constructor.
UpdateChannelResponse' | |
|
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:
$sel:creationTime:UpdateChannelResponse'
, updateChannelResponse_creationTime
- The timestamp of when the channel was created.
$sel:arn:UpdateChannelResponse'
, updateChannelResponse_arn
- The ARN of the channel.
$sel:lastModifiedTime:UpdateChannelResponse'
, updateChannelResponse_lastModifiedTime
- The timestamp of when the channel was last modified.
$sel:playbackMode:UpdateChannelResponse'
, updateChannelResponse_playbackMode
- The channel's playback mode.
$sel:channelName:UpdateChannel'
, updateChannelResponse_channelName
- The name of the channel.
$sel:outputs:UpdateChannel'
, updateChannelResponse_outputs
- The channel's output properties.
$sel:channelState:UpdateChannelResponse'
, updateChannelResponse_channelState
- Indicates whether the channel is in a running state or not.
$sel:fillerSlate:UpdateChannelResponse'
, updateChannelResponse_fillerSlate
- Contains information about the slate used to fill gaps between programs
in the schedule.
$sel:tags:UpdateChannelResponse'
, updateChannelResponse_tags
- The tags assigned to the channel.
$sel:httpStatus:UpdateChannelResponse'
, updateChannelResponse_httpStatus
- The response's http status code.
Response Lenses
updateChannelResponse_creationTime :: Lens' UpdateChannelResponse (Maybe UTCTime) Source #
The timestamp of when the channel was created.
updateChannelResponse_arn :: Lens' UpdateChannelResponse (Maybe Text) Source #
The ARN of the channel.
updateChannelResponse_lastModifiedTime :: Lens' UpdateChannelResponse (Maybe UTCTime) Source #
The timestamp of when the channel was last modified.
updateChannelResponse_playbackMode :: Lens' UpdateChannelResponse (Maybe Text) Source #
The channel's playback mode.
updateChannelResponse_channelName :: Lens' UpdateChannelResponse (Maybe Text) Source #
The name of the channel.
updateChannelResponse_outputs :: Lens' UpdateChannelResponse (Maybe [ResponseOutputItem]) Source #
The channel's output properties.
updateChannelResponse_channelState :: Lens' UpdateChannelResponse (Maybe ChannelState) Source #
Indicates whether the channel is in a running state or not.
updateChannelResponse_fillerSlate :: Lens' UpdateChannelResponse (Maybe SlateSource) Source #
Contains information about the slate used to fill gaps between programs in the schedule.
updateChannelResponse_tags :: Lens' UpdateChannelResponse (Maybe (HashMap Text Text)) Source #
The tags assigned to the channel.
updateChannelResponse_httpStatus :: Lens' UpdateChannelResponse Int Source #
The response's http status code.