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

Description

The live source configuration.

Synopsis

Creating a Request

data CreateLiveSource Source #

See: newCreateLiveSource smart constructor.

Constructors

CreateLiveSource' 

Fields

Instances

Instances details
ToJSON CreateLiveSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

ToHeaders CreateLiveSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

ToPath CreateLiveSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

ToQuery CreateLiveSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

AWSRequest CreateLiveSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

Associated Types

type AWSResponse CreateLiveSource #

Generic CreateLiveSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

Associated Types

type Rep CreateLiveSource :: Type -> Type #

Read CreateLiveSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

Show CreateLiveSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

NFData CreateLiveSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

Methods

rnf :: CreateLiveSource -> () #

Eq CreateLiveSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

Hashable CreateLiveSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

type AWSResponse CreateLiveSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

type Rep CreateLiveSource Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

type Rep CreateLiveSource = D1 ('MetaData "CreateLiveSource" "Amazonka.MediaTailor.CreateLiveSource" "amazonka-mediatailor-2.0-6mxt6n51Pv3JbuBr2GKiO4" 'False) (C1 ('MetaCons "CreateLiveSource'" '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 "liveSourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sourceLocationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateLiveSource Source #

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

CreateLiveSource, createLiveSource_tags - The tags to assign to the live 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.

CreateLiveSource, createLiveSource_httpPackageConfigurations - A list of HTTP package configuration parameters for this live source.

CreateLiveSource, createLiveSource_liveSourceName - The name of the live source.

CreateLiveSource, createLiveSource_sourceLocationName - The name of the source location.

Request Lenses

createLiveSource_tags :: Lens' CreateLiveSource (Maybe (HashMap Text Text)) Source #

The tags to assign to the live 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.

createLiveSource_httpPackageConfigurations :: Lens' CreateLiveSource [HttpPackageConfiguration] Source #

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

Destructuring the Response

data CreateLiveSourceResponse Source #

See: newCreateLiveSourceResponse smart constructor.

Constructors

CreateLiveSourceResponse' 

Fields

Instances

Instances details
Generic CreateLiveSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

Associated Types

type Rep CreateLiveSourceResponse :: Type -> Type #

Read CreateLiveSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

Show CreateLiveSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

NFData CreateLiveSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

Eq CreateLiveSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

type Rep CreateLiveSourceResponse Source # 
Instance details

Defined in Amazonka.MediaTailor.CreateLiveSource

type Rep CreateLiveSourceResponse = D1 ('MetaData "CreateLiveSourceResponse" "Amazonka.MediaTailor.CreateLiveSource" "amazonka-mediatailor-2.0-6mxt6n51Pv3JbuBr2GKiO4" 'False) (C1 ('MetaCons "CreateLiveSourceResponse'" '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 "liveSourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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 "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateLiveSourceResponse Source #

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

CreateLiveSourceResponse, createLiveSourceResponse_arn - The ARN to assign to the live source.

CreateLiveSourceResponse, createLiveSourceResponse_creationTime - The time the live source was created.

CreateLiveSource, createLiveSourceResponse_httpPackageConfigurations - A list of HTTP package configuration parameters for this live source.

CreateLiveSourceResponse, createLiveSourceResponse_lastModifiedTime - The time the live source was last modified.

CreateLiveSource, createLiveSourceResponse_liveSourceName - The name to assign to the live source.

CreateLiveSource, createLiveSourceResponse_sourceLocationName - The name to assign to the source location of the live source.

CreateLiveSource, createLiveSourceResponse_tags - The tags to assign to the live 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.

$sel:httpStatus:CreateLiveSourceResponse', createLiveSourceResponse_httpStatus - The response's http status code.

Response Lenses

createLiveSourceResponse_httpPackageConfigurations :: Lens' CreateLiveSourceResponse (Maybe [HttpPackageConfiguration]) Source #

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

createLiveSourceResponse_sourceLocationName :: Lens' CreateLiveSourceResponse (Maybe Text) Source #

The name to assign to the source location of the live source.

createLiveSourceResponse_tags :: Lens' CreateLiveSourceResponse (Maybe (HashMap Text Text)) Source #

The tags to assign to the live 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.