amazonka-mediapackage-1.6.0: 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 # 
Data CreateOriginEndpoint Source # 

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 # 
Show CreateOriginEndpoint Source # 
Generic CreateOriginEndpoint Source # 
Hashable CreateOriginEndpoint Source # 
ToJSON CreateOriginEndpoint Source # 
NFData CreateOriginEndpoint Source # 

Methods

rnf :: CreateOriginEndpoint -> () #

AWSRequest CreateOriginEndpoint Source # 
ToHeaders CreateOriginEndpoint Source # 
ToPath CreateOriginEndpoint Source # 
ToQuery CreateOriginEndpoint Source # 
type Rep CreateOriginEndpoint Source # 
type Rep CreateOriginEndpoint = D1 * (MetaData "CreateOriginEndpoint" "Network.AWS.MediaPackage.CreateOriginEndpoint" "amazonka-mediapackage-1.6.0-FgnOM9h3HAK6TMeVGPpxSG" False) (C1 * (MetaCons "CreateOriginEndpoint'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_coeWhitelist") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_coeHlsPackage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe HlsPackage)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_coeManifestName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_coeStartoverWindowSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_coeDashPackage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DashPackage)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_coeMssPackage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe MssPackage))) ((:*:) * (S1 * (MetaSel (Just Symbol "_coeTimeDelaySeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_coeCmafPackage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe CmafPackageCreateOrUpdateParameters))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_coeDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_coeChannelId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_coeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))))
type Rs CreateOriginEndpoint Source # 

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 # 
Data CreateOriginEndpointResponse Source # 

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 # 
Show CreateOriginEndpointResponse Source # 
Generic CreateOriginEndpointResponse Source # 
NFData CreateOriginEndpointResponse Source # 
type Rep CreateOriginEndpointResponse Source # 
type Rep CreateOriginEndpointResponse = D1 * (MetaData "CreateOriginEndpointResponse" "Network.AWS.MediaPackage.CreateOriginEndpoint" "amazonka-mediapackage-1.6.0-FgnOM9h3HAK6TMeVGPpxSG" False) (C1 * (MetaCons "CreateOriginEndpointResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_coersWhitelist") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_coersHlsPackage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe HlsPackage))) (S1 * (MetaSel (Just Symbol "_coersARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_coersManifestName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_coersURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_coersChannelId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_coersStartoverWindowSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_coersDashPackage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DashPackage))) ((:*:) * (S1 * (MetaSel (Just Symbol "_coersMssPackage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe MssPackage))) (S1 * (MetaSel (Just Symbol "_coersId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_coersTimeDelaySeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_coersCmafPackage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe CmafPackage)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_coersDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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.