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

Description

The VOD source configuration parameters.

Synopsis

Creating a Request

data CreateVodSource Source #

See: newCreateVodSource smart constructor.

Constructors

CreateVodSource' 

Fields

Instances

Instances details
ToJSON CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.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

AWSRequest CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Associated Types

type AWSResponse CreateVodSource #

Generic CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Associated Types

type Rep CreateVodSource :: Type -> Type #

Read CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Show CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

NFData CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Methods

rnf :: CreateVodSource -> () #

Eq CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Hashable CreateVodSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

type AWSResponse 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" "amazonka-mediatailor-2.0-6mxt6n51Pv3JbuBr2GKiO4" 'False) (C1 ('MetaCons "CreateVodSource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpPackageConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [HttpPackageConfiguration])) :*: (S1 ('MetaSel ('Just "sourceLocationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "vodSourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

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:

CreateVodSource, createVodSource_tags - The tags to assign to the VOD source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

CreateVodSource, createVodSource_httpPackageConfigurations - A list of HTTP package configuration parameters for this VOD source.

CreateVodSource, createVodSource_sourceLocationName - The name of the source location for this VOD source.

CreateVodSource, createVodSource_vodSourceName - The name associated with the VOD source.>

Request Lenses

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

The tags to assign to the VOD source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

createVodSource_httpPackageConfigurations :: Lens' CreateVodSource [HttpPackageConfiguration] Source #

A list of HTTP package configuration parameters for this VOD source.

createVodSource_sourceLocationName :: Lens' CreateVodSource Text Source #

The name of the source location for this VOD source.

createVodSource_vodSourceName :: Lens' CreateVodSource Text Source #

The name associated with the VOD source.>

Destructuring the Response

data CreateVodSourceResponse Source #

See: newCreateVodSourceResponse smart constructor.

Constructors

CreateVodSourceResponse' 

Fields

Instances

Instances details
Generic CreateVodSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Associated Types

type Rep CreateVodSourceResponse :: Type -> Type #

Read CreateVodSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Show CreateVodSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

NFData CreateVodSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

Methods

rnf :: CreateVodSourceResponse -> () #

Eq CreateVodSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

type Rep CreateVodSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateVodSource

type Rep CreateVodSourceResponse = D1 ('MetaData "CreateVodSourceResponse" "Amazonka.MediaTailor.CreateVodSource" "amazonka-mediatailor-2.0-6mxt6n51Pv3JbuBr2GKiO4" 'False) (C1 ('MetaCons "CreateVodSourceResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "httpPackageConfigurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HttpPackageConfiguration])) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "sourceLocationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "vodSourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe 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:

CreateVodSourceResponse, createVodSourceResponse_arn - The ARN to assign to this VOD source.

CreateVodSourceResponse, createVodSourceResponse_creationTime - The time the VOD source was created.

CreateVodSource, createVodSourceResponse_httpPackageConfigurations - A list of HTTP package configuration parameters for this VOD source.

CreateVodSourceResponse, createVodSourceResponse_lastModifiedTime - The time the VOD source was last modified.

CreateVodSource, createVodSourceResponse_sourceLocationName - The name to assign to the source location for this VOD source.

CreateVodSource, createVodSourceResponse_tags - The tags to assign to the VOD source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.

CreateVodSource, createVodSourceResponse_vodSourceName - The name to assign to the VOD source.

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

Response Lenses

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

The ARN to assign to this VOD source.

createVodSourceResponse_httpPackageConfigurations :: Lens' CreateVodSourceResponse (Maybe [HttpPackageConfiguration]) Source #

A list of HTTP package configuration parameters for this VOD source.

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

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

createVodSourceResponse_tags :: Lens' CreateVodSourceResponse (Maybe (HashMap Text Text)) Source #

The tags to assign to the VOD source. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.