amazonka-medialive-2.0: Amazon Elemental MediaLive 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.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
ToJSON CreateChannel' Source # 
Instance details

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

AWSRequest CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Associated Types

type AWSResponse CreateChannel' #

Generic CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Associated Types

type Rep CreateChannel' :: Type -> Type #

Read CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Show CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

NFData CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Methods

rnf :: CreateChannel' -> () #

Eq CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Hashable CreateChannel' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

type AWSResponse 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" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" 'False) (C1 ('MetaCons "CreateChannel''" 'PrefixI 'True) (((S1 ('MetaSel ('Just "cdiInputSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CdiInputSpecification)) :*: (S1 ('MetaSel ('Just "channelClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelClass)) :*: S1 ('MetaSel ('Just "destinations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OutputDestination])))) :*: ((S1 ('MetaSel ('Just "encoderSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncoderSettings)) :*: S1 ('MetaSel ('Just "inputAttachments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InputAttachment]))) :*: (S1 ('MetaSel ('Just "inputSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputSpecification)) :*: S1 ('MetaSel ('Just "logLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogLevel))))) :*: ((S1 ('MetaSel ('Just "maintenance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MaintenanceCreateSettings)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "reserved") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "vpc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcOutputSettings)))))))

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'_cdiInputSpecification - Specification of CDI inputs for this channel

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

CreateChannel', createChannel'_destinations - Undocumented member.

CreateChannel', createChannel'_encoderSettings - Undocumented member.

CreateChannel', createChannel'_inputAttachments - List of input attachments for channel.

CreateChannel', createChannel'_inputSpecification - Specification of network and file inputs for this channel

CreateChannel', createChannel'_logLevel - The log level to write to CloudWatch Logs.

CreateChannel', createChannel'_maintenance - Maintenance settings for this channel.

CreateChannel', createChannel'_name - Name of channel.

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

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

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

CreateChannel', createChannel'_tags - A collection of key-value pairs.

CreateChannel', createChannel'_vpc - Settings for the VPC outputs

Request Lenses

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'_inputSpecification :: Lens' CreateChannel' (Maybe InputSpecification) Source #

Specification of network and file inputs for this channel

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

The log level to write to CloudWatch Logs.

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

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

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

Deprecated field that's only usable by whitelisted customers.

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

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

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

A collection of key-value pairs.

Destructuring the Response

data CreateChannelResponse Source #

Placeholder documentation for CreateChannelResponse

See: newCreateChannelResponse smart constructor.

Constructors

CreateChannelResponse' 

Fields

Instances

Instances details
Generic CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Associated Types

type Rep CreateChannelResponse :: Type -> Type #

Read CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Show CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

NFData CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

Methods

rnf :: CreateChannelResponse -> () #

Eq CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

type Rep CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateChannel

type Rep CreateChannelResponse = D1 ('MetaData "CreateChannelResponse" "Amazonka.MediaLive.CreateChannel" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" '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