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 a channel's configuration. This does not affect an ongoing stream of this channel. You must stop and restart the stream for the changes to take effect.
Synopsis
- data UpdateChannel = UpdateChannel' {}
- newUpdateChannel :: Text -> UpdateChannel
- updateChannel_authorized :: Lens' UpdateChannel (Maybe Bool)
- updateChannel_latencyMode :: Lens' UpdateChannel (Maybe ChannelLatencyMode)
- updateChannel_name :: Lens' UpdateChannel (Maybe Text)
- updateChannel_recordingConfigurationArn :: Lens' UpdateChannel (Maybe Text)
- updateChannel_type :: Lens' UpdateChannel (Maybe ChannelType)
- updateChannel_arn :: Lens' UpdateChannel Text
- data UpdateChannelResponse = UpdateChannelResponse' {
- channel :: Maybe Channel
- httpStatus :: Int
- newUpdateChannelResponse :: Int -> UpdateChannelResponse
- updateChannelResponse_channel :: Lens' UpdateChannelResponse (Maybe Channel)
- 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:authorized:UpdateChannel'
, updateChannel_authorized
- Whether the channel is private (enabled for playback authorization).
$sel:latencyMode:UpdateChannel'
, updateChannel_latencyMode
- Channel latency mode. Use NORMAL
to broadcast and deliver live video
up to Full HD. Use LOW
for near-real-time interaction with viewers.
(Note: In the Amazon IVS console, LOW
and NORMAL
correspond to
Ultra-low and Standard, respectively.)
$sel:name:UpdateChannel'
, updateChannel_name
- Channel name.
$sel:recordingConfigurationArn:UpdateChannel'
, updateChannel_recordingConfigurationArn
- Recording-configuration ARN. If this is set to an empty string,
recording is disabled. A value other than an empty string indicates that
recording is enabled
$sel:type':UpdateChannel'
, updateChannel_type
- Channel type, which determines the allowable resolution and bitrate. /If
you exceed the allowable resolution or bitrate, the stream probably will
disconnect immediately/. Valid values:
STANDARD
: Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions. Resolution can be up to 1080p and bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio is passed through.BASIC
: Amazon IVS delivers the original input to viewers. The viewer’s video-quality choice is limited to the original input. Resolution can be up to 480p and bitrate can be up to 1.5 Mbps.
$sel:arn:UpdateChannel'
, updateChannel_arn
- ARN of the channel to be updated.
Request Lenses
updateChannel_authorized :: Lens' UpdateChannel (Maybe Bool) Source #
Whether the channel is private (enabled for playback authorization).
updateChannel_latencyMode :: Lens' UpdateChannel (Maybe ChannelLatencyMode) Source #
Channel latency mode. Use NORMAL
to broadcast and deliver live video
up to Full HD. Use LOW
for near-real-time interaction with viewers.
(Note: In the Amazon IVS console, LOW
and NORMAL
correspond to
Ultra-low and Standard, respectively.)
updateChannel_name :: Lens' UpdateChannel (Maybe Text) Source #
Channel name.
updateChannel_recordingConfigurationArn :: Lens' UpdateChannel (Maybe Text) Source #
Recording-configuration ARN. If this is set to an empty string, recording is disabled. A value other than an empty string indicates that recording is enabled
updateChannel_type :: Lens' UpdateChannel (Maybe ChannelType) Source #
Channel type, which determines the allowable resolution and bitrate. /If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately/. Valid values:
STANDARD
: Multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions. Resolution can be up to 1080p and bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio is passed through.BASIC
: Amazon IVS delivers the original input to viewers. The viewer’s video-quality choice is limited to the original input. Resolution can be up to 480p and bitrate can be up to 1.5 Mbps.
updateChannel_arn :: Lens' UpdateChannel Text Source #
ARN of the channel to be updated.
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:channel:UpdateChannelResponse'
, updateChannelResponse_channel
- Undocumented member.
$sel:httpStatus:UpdateChannelResponse'
, updateChannelResponse_httpStatus
- The response's http status code.
Response Lenses
updateChannelResponse_channel :: Lens' UpdateChannelResponse (Maybe Channel) Source #
Undocumented member.
updateChannelResponse_httpStatus :: Lens' UpdateChannelResponse Int Source #
The response's http status code.