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

Description

Create a new program in the multiplex.

Synopsis

Creating a Request

data CreateMultiplexProgram' Source #

A request to create a program in a multiplex.

See: newCreateMultiplexProgram' smart constructor.

Constructors

CreateMultiplexProgram'' 

Fields

Instances

Instances details
ToJSON CreateMultiplexProgram' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

ToHeaders CreateMultiplexProgram' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

ToPath CreateMultiplexProgram' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

ToQuery CreateMultiplexProgram' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

AWSRequest CreateMultiplexProgram' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

Generic CreateMultiplexProgram' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

Associated Types

type Rep CreateMultiplexProgram' :: Type -> Type #

Read CreateMultiplexProgram' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

Show CreateMultiplexProgram' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

NFData CreateMultiplexProgram' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

Methods

rnf :: CreateMultiplexProgram' -> () #

Eq CreateMultiplexProgram' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

Hashable CreateMultiplexProgram' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

type AWSResponse CreateMultiplexProgram' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

type Rep CreateMultiplexProgram' Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

type Rep CreateMultiplexProgram' = D1 ('MetaData "CreateMultiplexProgram'" "Amazonka.MediaLive.CreateMultiplexProgram" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" 'False) (C1 ('MetaCons "CreateMultiplexProgram''" 'PrefixI 'True) ((S1 ('MetaSel ('Just "multiplexId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "multiplexProgramSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MultiplexProgramSettings) :*: S1 ('MetaSel ('Just "programName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateMultiplexProgram' Source #

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

CreateMultiplexProgram', createMultiplexProgram'_multiplexId - ID of the multiplex where the program is to be created.

$sel:requestId:CreateMultiplexProgram'', createMultiplexProgram'_requestId - Unique request ID. This prevents retries from creating multiple resources.

CreateMultiplexProgram', createMultiplexProgram'_multiplexProgramSettings - The settings for this multiplex program.

CreateMultiplexProgram', createMultiplexProgram'_programName - Name of multiplex program.

Request Lenses

createMultiplexProgram'_multiplexId :: Lens' CreateMultiplexProgram' Text Source #

ID of the multiplex where the program is to be created.

createMultiplexProgram'_requestId :: Lens' CreateMultiplexProgram' Text Source #

Unique request ID. This prevents retries from creating multiple resources.

Destructuring the Response

data CreateMultiplexProgramResponse Source #

Placeholder documentation for CreateMultiplexProgramResponse

See: newCreateMultiplexProgramResponse smart constructor.

Constructors

CreateMultiplexProgramResponse' 

Fields

Instances

Instances details
Generic CreateMultiplexProgramResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

Associated Types

type Rep CreateMultiplexProgramResponse :: Type -> Type #

Read CreateMultiplexProgramResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

Show CreateMultiplexProgramResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

NFData CreateMultiplexProgramResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

Eq CreateMultiplexProgramResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

type Rep CreateMultiplexProgramResponse Source # 
Instance details

Defined in Amazonka.MediaLive.CreateMultiplexProgram

type Rep CreateMultiplexProgramResponse = D1 ('MetaData "CreateMultiplexProgramResponse" "Amazonka.MediaLive.CreateMultiplexProgram" "amazonka-medialive-2.0-FK9HUAz0OmeIH2i6eRdod0" 'False) (C1 ('MetaCons "CreateMultiplexProgramResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "multiplexProgram") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MultiplexProgram)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateMultiplexProgramResponse Source #

Create a value of CreateMultiplexProgramResponse 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:multiplexProgram:CreateMultiplexProgramResponse', createMultiplexProgramResponse_multiplexProgram - The newly created multiplex program.

$sel:httpStatus:CreateMultiplexProgramResponse', createMultiplexProgramResponse_httpStatus - The response's http status code.

Response Lenses