amazonka-medialive-1.6.1: 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 # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

Data CreateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

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 # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

Show CreateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

Generic CreateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

Associated Types

type Rep CreateChannel :: Type -> Type #

Hashable CreateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

ToJSON CreateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

AWSRequest CreateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

Associated Types

type Rs CreateChannel :: Type #

ToHeaders CreateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

ToPath CreateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

ToQuery CreateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

NFData CreateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

Methods

rnf :: CreateChannel -> () #

type Rep CreateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

type Rs CreateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

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 # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

Data CreateChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

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 # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

Show CreateChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

Generic CreateChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

Associated Types

type Rep CreateChannelResponse :: Type -> Type #

NFData CreateChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

Methods

rnf :: CreateChannelResponse -> () #

type Rep CreateChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.CreateChannel

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

Response Lenses

ccrsResponseStatus :: Lens' CreateChannelResponse Int Source #

  • - | The response status code.