amazonka-mediatailor-2.0: Amazon MediaTailor 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.MediaTailor.CreateProgram

Description

Creates a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.

Synopsis

Creating a Request

data CreateProgram Source #

See: newCreateProgram smart constructor.

Constructors

CreateProgram' 

Fields

Instances

Instances details
ToJSON CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

ToHeaders CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

ToPath CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

ToQuery CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

AWSRequest CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Associated Types

type AWSResponse CreateProgram #

Generic CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Associated Types

type Rep CreateProgram :: Type -> Type #

Read CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Show CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

NFData CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Methods

rnf :: CreateProgram -> () #

Eq CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Hashable CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

type AWSResponse CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

type Rep CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

type Rep CreateProgram = D1 ('MetaData "CreateProgram" "Amazonka.MediaTailor.CreateProgram" "amazonka-mediatailor-2.0-6mxt6n51Pv3JbuBr2GKiO4" 'False) (C1 ('MetaCons "CreateProgram'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "adBreaks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdBreak])) :*: (S1 ('MetaSel ('Just "liveSourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vodSourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "channelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "programName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "scheduleConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ScheduleConfiguration) :*: S1 ('MetaSel ('Just "sourceLocationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateProgram Source #

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

CreateProgram, createProgram_adBreaks - The ad break configuration settings.

CreateProgram, createProgram_liveSourceName - The name of the LiveSource for this Program.

CreateProgram, createProgram_vodSourceName - The name that's used to refer to a VOD source.

CreateProgram, createProgram_channelName - The name of the channel for this Program.

CreateProgram, createProgram_programName - The name of the Program.

$sel:scheduleConfiguration:CreateProgram', createProgram_scheduleConfiguration - The schedule configuration settings.

CreateProgram, createProgram_sourceLocationName - The name of the source location.

Request Lenses

createProgram_adBreaks :: Lens' CreateProgram (Maybe [AdBreak]) Source #

The ad break configuration settings.

createProgram_liveSourceName :: Lens' CreateProgram (Maybe Text) Source #

The name of the LiveSource for this Program.

createProgram_vodSourceName :: Lens' CreateProgram (Maybe Text) Source #

The name that's used to refer to a VOD source.

createProgram_channelName :: Lens' CreateProgram Text Source #

The name of the channel for this Program.

Destructuring the Response

data CreateProgramResponse Source #

See: newCreateProgramResponse smart constructor.

Constructors

CreateProgramResponse' 

Fields

Instances

Instances details
Generic CreateProgramResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Associated Types

type Rep CreateProgramResponse :: Type -> Type #

Read CreateProgramResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Show CreateProgramResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

NFData CreateProgramResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Methods

rnf :: CreateProgramResponse -> () #

Eq CreateProgramResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

type Rep CreateProgramResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

newCreateProgramResponse Source #

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

CreateProgram, createProgramResponse_adBreaks - The ad break configuration settings.

CreateProgramResponse, createProgramResponse_arn - The ARN to assign to the program.

CreateProgram, createProgramResponse_channelName - The name to assign to the channel for this program.

CreateProgramResponse, createProgramResponse_creationTime - The time the program was created.

CreateProgram, createProgramResponse_liveSourceName - The name of the LiveSource for this Program.

CreateProgram, createProgramResponse_programName - The name to assign to this program.

$sel:scheduledStartTime:CreateProgramResponse', createProgramResponse_scheduledStartTime - The scheduled start time for this Program.

CreateProgram, createProgramResponse_sourceLocationName - The name to assign to the source location for this program.

CreateProgram, createProgramResponse_vodSourceName - The name that's used to refer to a VOD source.

$sel:httpStatus:CreateProgramResponse', createProgramResponse_httpStatus - The response's http status code.

Response Lenses

createProgramResponse_channelName :: Lens' CreateProgramResponse (Maybe Text) Source #

The name to assign to the channel for this program.

createProgramResponse_liveSourceName :: Lens' CreateProgramResponse (Maybe Text) Source #

The name of the LiveSource for this Program.

createProgramResponse_sourceLocationName :: Lens' CreateProgramResponse (Maybe Text) Source #

The name to assign to the source location for this program.

createProgramResponse_vodSourceName :: Lens' CreateProgramResponse (Maybe Text) Source #

The name that's used to refer to a VOD source.