amazonka-mediapackage-1.6.1: Amazon Elemental MediaPackage SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.MediaPackage.CreateOriginEndpoint

Contents

Description

Creates a new OriginEndpoint record.

Synopsis

Creating a Request

createOriginEndpoint Source #

Creates a value of CreateOriginEndpoint with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • coeWhitelist - A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
  • coeHlsPackage - Undocumented member.
  • coeManifestName - A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").
  • coeStartoverWindowSeconds - Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.
  • coeDashPackage - Undocumented member.
  • coeMssPackage - Undocumented member.
  • coeTimeDelaySeconds - Amount of delay (seconds) to enforce on the playback of live content. If not specified, there will be no time delay in effect for the OriginEndpoint.
  • coeCmafPackage - Undocumented member.
  • coeDescription - A short text description of the OriginEndpoint.
  • coeChannelId - The ID of the Channel that the OriginEndpoint will be associated with. This cannot be changed after the OriginEndpoint is created.
  • coeId - The ID of the OriginEndpoint. The ID must be unique within the region and it cannot be changed after the OriginEndpoint is created.

data CreateOriginEndpoint Source #

Configuration parameters used to create a new OriginEndpoint.

See: createOriginEndpoint smart constructor.

Instances
Eq CreateOriginEndpoint Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

Data CreateOriginEndpoint Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateOriginEndpoint -> c CreateOriginEndpoint #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateOriginEndpoint #

toConstr :: CreateOriginEndpoint -> Constr #

dataTypeOf :: CreateOriginEndpoint -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateOriginEndpoint) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateOriginEndpoint) #

gmapT :: (forall b. Data b => b -> b) -> CreateOriginEndpoint -> CreateOriginEndpoint #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateOriginEndpoint -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateOriginEndpoint -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateOriginEndpoint -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateOriginEndpoint -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateOriginEndpoint -> m CreateOriginEndpoint #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateOriginEndpoint -> m CreateOriginEndpoint #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateOriginEndpoint -> m CreateOriginEndpoint #

Read CreateOriginEndpoint Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

Show CreateOriginEndpoint Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

Generic CreateOriginEndpoint Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

Associated Types

type Rep CreateOriginEndpoint :: Type -> Type #

Hashable CreateOriginEndpoint Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

ToJSON CreateOriginEndpoint Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

AWSRequest CreateOriginEndpoint Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

Associated Types

type Rs CreateOriginEndpoint :: Type #

ToHeaders CreateOriginEndpoint Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

ToPath CreateOriginEndpoint Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

ToQuery CreateOriginEndpoint Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

NFData CreateOriginEndpoint Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

Methods

rnf :: CreateOriginEndpoint -> () #

type Rep CreateOriginEndpoint Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

type Rs CreateOriginEndpoint Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

Request Lenses

coeWhitelist :: Lens' CreateOriginEndpoint [Text] Source #

A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.

coeManifestName :: Lens' CreateOriginEndpoint (Maybe Text) Source #

A short string that will be used as the filename of the OriginEndpoint URL (defaults to "index").

coeStartoverWindowSeconds :: Lens' CreateOriginEndpoint (Maybe Int) Source #

Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.

coeTimeDelaySeconds :: Lens' CreateOriginEndpoint (Maybe Int) Source #

Amount of delay (seconds) to enforce on the playback of live content. If not specified, there will be no time delay in effect for the OriginEndpoint.

coeDescription :: Lens' CreateOriginEndpoint (Maybe Text) Source #

A short text description of the OriginEndpoint.

coeChannelId :: Lens' CreateOriginEndpoint Text Source #

The ID of the Channel that the OriginEndpoint will be associated with. This cannot be changed after the OriginEndpoint is created.

coeId :: Lens' CreateOriginEndpoint Text Source #

The ID of the OriginEndpoint. The ID must be unique within the region and it cannot be changed after the OriginEndpoint is created.

Destructuring the Response

createOriginEndpointResponse Source #

Creates a value of CreateOriginEndpointResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateOriginEndpointResponse Source #

See: createOriginEndpointResponse smart constructor.

Instances
Eq CreateOriginEndpointResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

Data CreateOriginEndpointResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateOriginEndpointResponse -> c CreateOriginEndpointResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateOriginEndpointResponse #

toConstr :: CreateOriginEndpointResponse -> Constr #

dataTypeOf :: CreateOriginEndpointResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateOriginEndpointResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateOriginEndpointResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateOriginEndpointResponse -> CreateOriginEndpointResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateOriginEndpointResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateOriginEndpointResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateOriginEndpointResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateOriginEndpointResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateOriginEndpointResponse -> m CreateOriginEndpointResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateOriginEndpointResponse -> m CreateOriginEndpointResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateOriginEndpointResponse -> m CreateOriginEndpointResponse #

Read CreateOriginEndpointResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

Show CreateOriginEndpointResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

Generic CreateOriginEndpointResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

Associated Types

type Rep CreateOriginEndpointResponse :: Type -> Type #

NFData CreateOriginEndpointResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

type Rep CreateOriginEndpointResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.CreateOriginEndpoint

type Rep CreateOriginEndpointResponse = D1 (MetaData "CreateOriginEndpointResponse" "Network.AWS.MediaPackage.CreateOriginEndpoint" "amazonka-mediapackage-1.6.1-8AxmiJJnVfmHmtFbaXxvVo" False) (C1 (MetaCons "CreateOriginEndpointResponse'" PrefixI True) (((S1 (MetaSel (Just "_coersWhitelist") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_coersHlsPackage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HlsPackage)) :*: S1 (MetaSel (Just "_coersARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_coersManifestName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_coersURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_coersChannelId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_coersStartoverWindowSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 (MetaSel (Just "_coersDashPackage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DashPackage)) :*: (S1 (MetaSel (Just "_coersMssPackage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MssPackage)) :*: S1 (MetaSel (Just "_coersId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_coersTimeDelaySeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_coersCmafPackage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CmafPackage))) :*: (S1 (MetaSel (Just "_coersDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_coersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

Response Lenses

coersWhitelist :: Lens' CreateOriginEndpointResponse [Text] Source #

A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.

coersARN :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) assigned to the OriginEndpoint.

coersManifestName :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #

A short string appended to the end of the OriginEndpoint URL.

coersURL :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #

The URL of the packaged OriginEndpoint for consumption.

coersChannelId :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #

The ID of the Channel the OriginEndpoint is associated with.

coersStartoverWindowSeconds :: Lens' CreateOriginEndpointResponse (Maybe Int) Source #

Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.

coersId :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #

The ID of the OriginEndpoint.

coersTimeDelaySeconds :: Lens' CreateOriginEndpointResponse (Maybe Int) Source #

Amount of delay (seconds) to enforce on the playback of live content. If not specified, there will be no time delay in effect for the OriginEndpoint.

coersDescription :: Lens' CreateOriginEndpointResponse (Maybe Text) Source #

A short text description of the OriginEndpoint.