amazonka-medialive-1.6.0: Amazon Elemental MediaLive 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.MediaLive.CreateChannel

Contents

Description

Creates a new channel

Synopsis

Creating a Request

createChannel :: CreateChannel Source #

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

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

  • ccRequestId - Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.
  • ccInputSpecification - Specification of input for this channel (max. bitrate, resolution, codec, etc.)
  • ccInputAttachments - List of input attachments for channel.
  • ccReserved - Deprecated field that's only usable by whitelisted customers.
  • ccDestinations - Undocumented member.
  • ccName - Name of channel.
  • ccEncoderSettings - Undocumented member.
  • ccRoleARN - An optional Amazon Resource Name (ARN) of the role to assume when running the Channel.

data CreateChannel Source #

Placeholder documentation for CreateChannel

See: createChannel smart constructor.

Instances

Eq CreateChannel Source # 
Data CreateChannel Source # 

Methods

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

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

toConstr :: CreateChannel -> Constr #

dataTypeOf :: CreateChannel -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateChannel Source # 
Show CreateChannel Source # 
Generic CreateChannel Source # 

Associated Types

type Rep CreateChannel :: * -> * #

Hashable CreateChannel Source # 
ToJSON CreateChannel Source # 
NFData CreateChannel Source # 

Methods

rnf :: CreateChannel -> () #

AWSRequest CreateChannel Source # 
ToHeaders CreateChannel Source # 
ToPath CreateChannel Source # 
ToQuery CreateChannel Source # 
type Rep CreateChannel Source # 
type Rs CreateChannel Source # 

Request Lenses

ccRequestId :: Lens' CreateChannel (Maybe Text) Source #

Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.

ccInputSpecification :: Lens' CreateChannel (Maybe InputSpecification) Source #

Specification of input for this channel (max. bitrate, resolution, codec, etc.)

ccInputAttachments :: Lens' CreateChannel [InputAttachment] Source #

List of input attachments for channel.

ccReserved :: Lens' CreateChannel (Maybe Text) Source #

Deprecated field that's only usable by whitelisted customers.

ccName :: Lens' CreateChannel (Maybe Text) Source #

Name of channel.

ccRoleARN :: Lens' CreateChannel (Maybe Text) Source #

An optional Amazon Resource Name (ARN) of the role to assume when running the Channel.

Destructuring the Response

createChannelResponse Source #

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

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

data CreateChannelResponse Source #

Placeholder documentation for CreateChannelResponse

See: createChannelResponse smart constructor.

Instances

Eq CreateChannelResponse Source # 
Data CreateChannelResponse Source # 

Methods

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

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

toConstr :: CreateChannelResponse -> Constr #

dataTypeOf :: CreateChannelResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateChannelResponse Source # 
Show CreateChannelResponse Source # 
Generic CreateChannelResponse Source # 
NFData CreateChannelResponse Source # 

Methods

rnf :: CreateChannelResponse -> () #

type Rep CreateChannelResponse Source # 
type Rep CreateChannelResponse = D1 * (MetaData "CreateChannelResponse" "Network.AWS.MediaLive.CreateChannel" "amazonka-medialive-1.6.0-VfTxbvfNQBASIvO4STPSQ" False) (C1 * (MetaCons "CreateChannelResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ccrsChannel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Channel))) (S1 * (MetaSel (Just Symbol "_ccrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

ccrsResponseStatus :: Lens' CreateChannelResponse Int Source #

  • - | The response status code.