amazonka-mediapackage-2.0: Amazon Elemental MediaPackage 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.MediaPackage.CreateChannel

Description

Creates a new Channel.

Synopsis

Creating a Request

data CreateChannel Source #

A new Channel configuration.

See: newCreateChannel smart constructor.

Constructors

CreateChannel' 

Fields

Instances

Instances details
ToJSON CreateChannel Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

ToHeaders CreateChannel Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

ToPath CreateChannel Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

ToQuery CreateChannel Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

AWSRequest CreateChannel Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

Associated Types

type AWSResponse CreateChannel #

Generic CreateChannel Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

Associated Types

type Rep CreateChannel :: Type -> Type #

Read CreateChannel Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

Show CreateChannel Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

NFData CreateChannel Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

Methods

rnf :: CreateChannel -> () #

Eq CreateChannel Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

Hashable CreateChannel Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

type AWSResponse CreateChannel Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

type Rep CreateChannel Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

type Rep CreateChannel = D1 ('MetaData "CreateChannel" "Amazonka.MediaPackage.CreateChannel" "amazonka-mediapackage-2.0-Ht5BbgvzDNJCrSLrgDmB6l" 'False) (C1 ('MetaCons "CreateChannel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateChannel 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_description - A short text description of the Channel.

CreateChannel, createChannel_tags - Undocumented member.

CreateChannel, createChannel_id - The ID of the Channel. The ID must be unique within the region and it cannot be changed after a Channel is created.

Request Lenses

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

A short text description of the Channel.

createChannel_id :: Lens' CreateChannel Text Source #

The ID of the Channel. The ID must be unique within the region and it cannot be changed after a Channel is created.

Destructuring the Response

data CreateChannelResponse Source #

See: newCreateChannelResponse smart constructor.

Constructors

CreateChannelResponse' 

Fields

Instances

Instances details
Generic CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

Associated Types

type Rep CreateChannelResponse :: Type -> Type #

Read CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

Show CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

NFData CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

Methods

rnf :: CreateChannelResponse -> () #

Eq CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

type Rep CreateChannelResponse Source # 
Instance details

Defined in Amazonka.MediaPackage.CreateChannel

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_arn - The Amazon Resource Name (ARN) assigned to the Channel.

CreateChannel, createChannelResponse_description - A short text description of the Channel.

CreateChannelResponse, createChannelResponse_egressAccessLogs - Undocumented member.

CreateChannelResponse, createChannelResponse_hlsIngest - Undocumented member.

CreateChannel, createChannelResponse_id - The ID of the Channel.

CreateChannelResponse, createChannelResponse_ingressAccessLogs - Undocumented member.

CreateChannel, createChannelResponse_tags - Undocumented member.

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

Response Lenses

createChannelResponse_arn :: Lens' CreateChannelResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) assigned to the Channel.

createChannelResponse_description :: Lens' CreateChannelResponse (Maybe Text) Source #

A short text description of the Channel.