libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor
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.MediaTailor.CreateProgram

Description

Creates a program.

Synopsis

Creating a Request

data CreateProgram Source #

See: newCreateProgram smart constructor.

Constructors

CreateProgram' 

Fields

Instances

Instances details
Eq CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Read CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Show CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Generic CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Associated Types

type Rep CreateProgram :: Type -> Type #

NFData CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Methods

rnf :: CreateProgram -> () #

Hashable CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

ToJSON CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

AWSRequest CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Associated Types

type AWSResponse 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

type Rep CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

type Rep CreateProgram = D1 ('MetaData "CreateProgram" "Amazonka.MediaTailor.CreateProgram" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "CreateProgram'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "adBreaks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdBreak])) :*: (S1 ('MetaSel ('Just "channelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "programName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "vodSourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "scheduleConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ScheduleConfiguration) :*: S1 ('MetaSel ('Just "sourceLocationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateProgram Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

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:

$sel:adBreaks:CreateProgram', createProgram_adBreaks - The ad break configuration settings.

$sel:channelName:CreateProgram', createProgram_channelName - The identifier for the channel you are working on.

$sel:programName:CreateProgram', createProgram_programName - The identifier for the program you are working on.

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

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

$sel:sourceLocationName:CreateProgram', createProgram_sourceLocationName - The name of the source location.

Request Lenses

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

The ad break configuration settings.

createProgram_channelName :: Lens' CreateProgram Text Source #

The identifier for the channel you are working on.

createProgram_programName :: Lens' CreateProgram Text Source #

The identifier for the program you are working on.

createProgram_vodSourceName :: Lens' CreateProgram Text Source #

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

Destructuring the Response

data CreateProgramResponse Source #

See: newCreateProgramResponse smart constructor.

Constructors

CreateProgramResponse' 

Fields

Instances

Instances details
Eq CreateProgramResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Read CreateProgramResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Show CreateProgramResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Generic CreateProgramResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Associated Types

type Rep CreateProgramResponse :: Type -> Type #

NFData CreateProgramResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

Methods

rnf :: CreateProgramResponse -> () #

type Rep CreateProgramResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateProgram

type Rep CreateProgramResponse = D1 ('MetaData "CreateProgramResponse" "Amazonka.MediaTailor.CreateProgram" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "CreateProgramResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "sourceLocationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "programName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "adBreaks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdBreak])) :*: S1 ('MetaSel ('Just "channelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "scheduledStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "vodSourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

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:

$sel:creationTime:CreateProgramResponse', createProgramResponse_creationTime - The timestamp of when the program was created.

$sel:sourceLocationName:CreateProgram', createProgramResponse_sourceLocationName - The source location name.

$sel:arn:CreateProgramResponse', createProgramResponse_arn - The ARN of the program.

$sel:programName:CreateProgram', createProgramResponse_programName - The name of the program.

$sel:adBreaks:CreateProgram', createProgramResponse_adBreaks - The ad break configuration settings.

$sel:channelName:CreateProgram', createProgramResponse_channelName - The name of the channel that the program belongs to.

$sel:scheduledStartTime:CreateProgramResponse', createProgramResponse_scheduledStartTime - The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.

$sel:vodSourceName: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_creationTime :: Lens' CreateProgramResponse (Maybe UTCTime) Source #

The timestamp of when the program was created.

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

The name of the channel that the program belongs to.

createProgramResponse_scheduledStartTime :: Lens' CreateProgramResponse (Maybe UTCTime) Source #

The date and time that the program is scheduled to start in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2021-03-27T17:48:16.751Z represents March 27, 2021 at 17:48:16.751 UTC.

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

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