libZSservicesZSamazonka-ivsZSamazonka-ivs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IVS.UpdateChannel

Description

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

Creating a Request

data UpdateChannel Source #

See: newUpdateChannel smart constructor.

Constructors

UpdateChannel' 

Fields

  • authorized :: Maybe Bool

    Whether the channel is private (enabled for playback authorization).

  • latencyMode :: Maybe ChannelLatencyMode

    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.)

  • name :: Maybe Text

    Channel name.

  • recordingConfigurationArn :: Maybe Text

    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

  • type' :: Maybe ChannelType

    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.
  • arn :: Text

    ARN of the channel to be updated.

Instances

Instances details
Eq UpdateChannel Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

Read UpdateChannel Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

Show UpdateChannel Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

Generic UpdateChannel Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

Associated Types

type Rep UpdateChannel :: Type -> Type #

NFData UpdateChannel Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

Methods

rnf :: UpdateChannel -> () #

Hashable UpdateChannel Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

ToJSON UpdateChannel Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

AWSRequest UpdateChannel Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

Associated Types

type AWSResponse UpdateChannel #

ToHeaders UpdateChannel Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

ToPath UpdateChannel Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

ToQuery UpdateChannel Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

type Rep UpdateChannel Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

type AWSResponse UpdateChannel Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

newUpdateChannel Source #

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_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.

Constructors

UpdateChannelResponse' 

Fields

Instances

Instances details
Eq UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

Read UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

Show UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

Generic UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

Associated Types

type Rep UpdateChannelResponse :: Type -> Type #

NFData UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

Methods

rnf :: UpdateChannelResponse -> () #

type Rep UpdateChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.UpdateChannel

type Rep UpdateChannelResponse = D1 ('MetaData "UpdateChannelResponse" "Amazonka.IVS.UpdateChannel" "libZSservicesZSamazonka-ivsZSamazonka-ivs" 'False) (C1 ('MetaCons "UpdateChannelResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Channel)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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