libZSservicesZSamazonka-medialiveZSamazonka-medialive
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.MediaLive.CreateChannel

Description

Creates a new channel

Synopsis

Creating a Request

data CreateChannel' Source #

A request to create a channel

See: newCreateChannel' smart constructor.

Constructors

CreateChannel'' 

Fields

Instances

Instances details
Eq CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Read CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Show CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Generic CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Associated Types

type Rep CreateChannel' :: Type -> Type #

NFData CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Methods

rnf :: CreateChannel' -> () #

Hashable CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

ToJSON CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

AWSRequest CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Associated Types

type AWSResponse CreateChannel' #

ToHeaders CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

ToPath CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

ToQuery CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

type Rep CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

type Rep CreateChannel' = D1 ('MetaData "CreateChannel'" "Amazonka.MediaLive.CreateChannel" "libZSservicesZSamazonka-medialiveZSamazonka-medialive" 'False) (C1 ('MetaCons "CreateChannel''" 'PrefixI 'True) (((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "logLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogLevel)) :*: S1 ('MetaSel ('Just "inputSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputSpecification)))) :*: (S1 ('MetaSel ('Just "inputAttachments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InputAttachment])) :*: (S1 ('MetaSel ('Just "reserved") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "destinations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OutputDestination]))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "cdiInputSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CdiInputSpecification)) :*: S1 ('MetaSel ('Just "channelClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelClass)))) :*: ((S1 ('MetaSel ('Just "vpc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcOutputSettings)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "encoderSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncoderSettings)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))
type AWSResponse CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.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:

$sel:requestId:CreateChannel'', createChannel'_requestId - Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.

$sel:logLevel:CreateChannel'', createChannel'_logLevel - The log level to write to CloudWatch Logs.

$sel:inputSpecification:CreateChannel'', createChannel'_inputSpecification - Specification of network and file inputs for this channel

$sel:inputAttachments:CreateChannel'', createChannel'_inputAttachments - List of input attachments for channel.

$sel:reserved:CreateChannel'', createChannel'_reserved - Deprecated field that's only usable by whitelisted customers.

$sel:destinations:CreateChannel'', createChannel'_destinations - Undocumented member.

$sel:name:CreateChannel'', createChannel'_name - Name of channel.

$sel:cdiInputSpecification:CreateChannel'', createChannel'_cdiInputSpecification - Specification of CDI inputs for this channel

$sel:channelClass:CreateChannel'', createChannel'_channelClass - The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.

$sel:vpc:CreateChannel'', createChannel'_vpc - Settings for the VPC outputs

$sel:tags:CreateChannel'', createChannel'_tags - A collection of key-value pairs.

$sel:encoderSettings:CreateChannel'', createChannel'_encoderSettings - Undocumented member.

$sel:roleArn:CreateChannel'', createChannel'_roleArn - An optional Amazon Resource Name (ARN) of the role to assume when running the Channel.

Request Lenses

createChannel'_requestId :: Lens' CreateChannel' (Maybe Text) Source #

Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.

createChannel'_logLevel :: Lens' CreateChannel' (Maybe LogLevel) Source #

The log level to write to CloudWatch Logs.

createChannel'_inputSpecification :: Lens' CreateChannel' (Maybe InputSpecification) Source #

Specification of network and file inputs for this channel

createChannel'_reserved :: Lens' CreateChannel' (Maybe Text) Source #

Deprecated field that's only usable by whitelisted customers.

createChannel'_channelClass :: Lens' CreateChannel' (Maybe ChannelClass) Source #

The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.

createChannel'_tags :: Lens' CreateChannel' (Maybe (HashMap Text Text)) Source #

A collection of key-value pairs.

createChannel'_roleArn :: Lens' CreateChannel' (Maybe Text) Source #

An optional Amazon Resource Name (ARN) of the role to assume when running the Channel.

Destructuring the Response

data CreateChannelResponse Source #

Placeholder documentation for CreateChannelResponse

See: newCreateChannelResponse smart constructor.

Constructors

CreateChannelResponse' 

Fields

Instances

Instances details
Eq CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Read CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Show CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Generic CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Associated Types

type Rep CreateChannelResponse :: Type -> Type #

NFData CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Methods

rnf :: CreateChannelResponse -> () #

type Rep CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

type Rep CreateChannelResponse = D1 ('MetaData "CreateChannelResponse" "Amazonka.MediaLive.CreateChannel" "libZSservicesZSamazonka-medialiveZSamazonka-medialive" 'False) (C1 ('MetaCons "CreateChannelResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Channel)) :*: 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:

$sel:channel:CreateChannelResponse', createChannelResponse_channel - Undocumented member.

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

Response Lenses