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

Description

Creates name for a specific VOD source in a source location.

Synopsis

Creating a Request

data CreateVodSource Source #

See: newCreateVodSource smart constructor.

Constructors

CreateVodSource' 

Fields

Instances

Instances details
Eq CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Read CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Show CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Generic CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Associated Types

type Rep CreateVodSource :: Type -> Type #

NFData CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Methods

rnf :: CreateVodSource -> () #

Hashable CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

ToJSON CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

AWSRequest CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Associated Types

type AWSResponse CreateVodSource #

ToHeaders CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

ToPath CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

ToQuery CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

type Rep CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

type Rep CreateVodSource = D1 ('MetaData "CreateVodSource" "Amazonka.MediaTailor.CreateVodSource" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "CreateVodSource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "sourceLocationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "vodSourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "httpPackageConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [HttpPackageConfiguration]))))
type AWSResponse CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

newCreateVodSource Source #

Create a value of CreateVodSource 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:tags:CreateVodSource', createVodSource_tags - The tags to assign to the VOD source.

$sel:sourceLocationName:CreateVodSource', createVodSource_sourceLocationName - The identifier for the source location you are working on.

$sel:vodSourceName:CreateVodSource', createVodSource_vodSourceName - The identifier for the VOD source you are working on.

$sel:httpPackageConfigurations:CreateVodSource', createVodSource_httpPackageConfigurations - An array of HTTP package configuration parameters for this VOD source.

Request Lenses

createVodSource_tags :: Lens' CreateVodSource (Maybe (HashMap Text Text)) Source #

The tags to assign to the VOD source.

createVodSource_sourceLocationName :: Lens' CreateVodSource Text Source #

The identifier for the source location you are working on.

createVodSource_vodSourceName :: Lens' CreateVodSource Text Source #

The identifier for the VOD source you are working on.

createVodSource_httpPackageConfigurations :: Lens' CreateVodSource [HttpPackageConfiguration] Source #

An array of HTTP package configuration parameters for this VOD source.

Destructuring the Response

data CreateVodSourceResponse Source #

See: newCreateVodSourceResponse smart constructor.

Constructors

CreateVodSourceResponse' 

Fields

Instances

Instances details
Eq CreateVodSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Read CreateVodSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Show CreateVodSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Generic CreateVodSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Associated Types

type Rep CreateVodSourceResponse :: Type -> Type #

NFData CreateVodSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Methods

rnf :: CreateVodSourceResponse -> () #

type Rep CreateVodSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

type Rep CreateVodSourceResponse = D1 ('MetaData "CreateVodSourceResponse" "Amazonka.MediaTailor.CreateVodSource" "libZSservicesZSamazonka-mediatailorZSamazonka-mediatailor" 'False) (C1 ('MetaCons "CreateVodSourceResponse'" '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 "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "httpPackageConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HttpPackageConfiguration])) :*: S1 ('MetaSel ('Just "vodSourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateVodSourceResponse Source #

Create a value of CreateVodSourceResponse 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:CreateVodSourceResponse', createVodSourceResponse_creationTime - The timestamp that indicates when the VOD source was created.

$sel:sourceLocationName:CreateVodSource', createVodSourceResponse_sourceLocationName - The name of the source location associated with the VOD source.

$sel:arn:CreateVodSourceResponse', createVodSourceResponse_arn - The ARN of the VOD source.

$sel:lastModifiedTime:CreateVodSourceResponse', createVodSourceResponse_lastModifiedTime - The ARN for the VOD source.

$sel:httpPackageConfigurations:CreateVodSource', createVodSourceResponse_httpPackageConfigurations - The HTTP package configurations.

$sel:vodSourceName:CreateVodSource', createVodSourceResponse_vodSourceName - The name of the VOD source.

$sel:tags:CreateVodSource', createVodSourceResponse_tags - The tags assigned to the VOD source.

$sel:httpStatus:CreateVodSourceResponse', createVodSourceResponse_httpStatus - The response's http status code.

Response Lenses

createVodSourceResponse_creationTime :: Lens' CreateVodSourceResponse (Maybe UTCTime) Source #

The timestamp that indicates when the VOD source was created.

createVodSourceResponse_sourceLocationName :: Lens' CreateVodSourceResponse (Maybe Text) Source #

The name of the source location associated with the VOD source.