amazonka-ivs-2.0: Amazon Interactive Video Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IVS.CreateChannel

Description

Creates a new channel and an associated stream key to start streaming.

Synopsis

Creating a Request

data CreateChannel Source #

See: newCreateChannel smart constructor.

Constructors

CreateChannel' 

Fields

  • authorized :: Maybe Bool

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

  • 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.) Default: LOW.

  • name :: Maybe Text

    Channel name.

  • recordingConfigurationArn :: Maybe Text

    Recording-configuration ARN. Default: "" (empty string, recording is disabled).

  • tags :: Maybe (HashMap Text Text)

    Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.

  • 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./ Default: STANDARD. Valid values:

    • STANDARD: Video is transcoded: multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions. Transcoding allows higher playback quality across a range of download speeds. 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. This is the default.
    • BASIC: Video is transmuxed: 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 1080p and bitrate can be up to 1.5 Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p.

Instances

Instances details
ToJSON CreateChannel Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

ToHeaders CreateChannel Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

ToPath CreateChannel Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

ToQuery CreateChannel Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

AWSRequest CreateChannel Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

Associated Types

type AWSResponse CreateChannel #

Generic CreateChannel Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

Associated Types

type Rep CreateChannel :: Type -> Type #

Read CreateChannel Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

Show CreateChannel Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

NFData CreateChannel Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

Methods

rnf :: CreateChannel -> () #

Eq CreateChannel Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

Hashable CreateChannel Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

type AWSResponse CreateChannel Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

type Rep CreateChannel Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

newCreateChannel :: CreateChannel Source #

Create a value of CreateChannel 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:

CreateChannel, createChannel_authorized - Whether the channel is private (enabled for playback authorization). Default: false.

CreateChannel, createChannel_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.) Default: LOW.

CreateChannel, createChannel_name - Channel name.

CreateChannel, createChannel_recordingConfigurationArn - Recording-configuration ARN. Default: "" (empty string, recording is disabled).

CreateChannel, createChannel_tags - Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.

CreateChannel, createChannel_type - Channel type, which determines the allowable resolution and bitrate. /If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately./ Default: STANDARD. Valid values:

  • STANDARD: Video is transcoded: multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions. Transcoding allows higher playback quality across a range of download speeds. 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. This is the default.
  • BASIC: Video is transmuxed: 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 1080p and bitrate can be up to 1.5 Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p.

Request Lenses

createChannel_authorized :: Lens' CreateChannel (Maybe Bool) Source #

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

createChannel_latencyMode :: Lens' CreateChannel (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.) Default: LOW.

createChannel_recordingConfigurationArn :: Lens' CreateChannel (Maybe Text) Source #

Recording-configuration ARN. Default: "" (empty string, recording is disabled).

createChannel_tags :: Lens' CreateChannel (Maybe (HashMap Text Text)) Source #

Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.

createChannel_type :: Lens' CreateChannel (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./ Default: STANDARD. Valid values:

  • STANDARD: Video is transcoded: multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions. Transcoding allows higher playback quality across a range of download speeds. 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. This is the default.
  • BASIC: Video is transmuxed: 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 1080p and bitrate can be up to 1.5 Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p.

Destructuring the Response

data CreateChannelResponse Source #

See: newCreateChannelResponse smart constructor.

Constructors

CreateChannelResponse' 

Fields

Instances

Instances details
Generic CreateChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

Associated Types

type Rep CreateChannelResponse :: Type -> Type #

Show CreateChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

NFData CreateChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

Methods

rnf :: CreateChannelResponse -> () #

Eq CreateChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

type Rep CreateChannelResponse Source # 
Instance details

Defined in Amazonka.IVS.CreateChannel

type Rep CreateChannelResponse = D1 ('MetaData "CreateChannelResponse" "Amazonka.IVS.CreateChannel" "amazonka-ivs-2.0-1XuGgGDxNXQ7UL2Yr5LhmE" 'False) (C1 ('MetaCons "CreateChannelResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Channel)) :*: (S1 ('MetaSel ('Just "streamKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamKey)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateChannelResponse Source #

Create a value of CreateChannelResponse 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:

CreateChannelResponse, createChannelResponse_channel -

$sel:streamKey:CreateChannelResponse', createChannelResponse_streamKey -

$sel:httpStatus:CreateChannelResponse', createChannelResponse_httpStatus - The response's http status code.

Response Lenses