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

Contents

Description

Updates a channel.

Synopsis

Creating a Request

updateChannel Source #

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

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

  • ucInputSpecification - Specification of input for this channel (max. bitrate, resolution, codec, etc.)
  • ucInputAttachments - Undocumented member.
  • ucDestinations - A list of output destinations for this channel.
  • ucName - The name of the channel.
  • ucEncoderSettings - The encoder settings for this channel.
  • ucRoleARN - An optional Amazon Resource Name (ARN) of the role to assume when running the Channel. If you do not specify this on an update call but the role was previously set that role will be removed.
  • ucChannelId - channel ID

data UpdateChannel Source #

A request to update a channel.

See: updateChannel smart constructor.

Instances

Eq UpdateChannel Source # 
Data UpdateChannel Source # 

Methods

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

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

toConstr :: UpdateChannel -> Constr #

dataTypeOf :: UpdateChannel -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateChannel Source # 
Show UpdateChannel Source # 
Generic UpdateChannel Source # 

Associated Types

type Rep UpdateChannel :: * -> * #

Hashable UpdateChannel Source # 
ToJSON UpdateChannel Source # 
NFData UpdateChannel Source # 

Methods

rnf :: UpdateChannel -> () #

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

Request Lenses

ucInputSpecification :: Lens' UpdateChannel (Maybe InputSpecification) Source #

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

ucDestinations :: Lens' UpdateChannel [OutputDestination] Source #

A list of output destinations for this channel.

ucName :: Lens' UpdateChannel (Maybe Text) Source #

The name of the channel.

ucEncoderSettings :: Lens' UpdateChannel (Maybe EncoderSettings) Source #

The encoder settings for this channel.

ucRoleARN :: Lens' UpdateChannel (Maybe Text) Source #

An optional Amazon Resource Name (ARN) of the role to assume when running the Channel. If you do not specify this on an update call but the role was previously set that role will be removed.

Destructuring the Response

updateChannelResponse Source #

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

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

data UpdateChannelResponse Source #

Placeholder documentation for UpdateChannelResponse

See: updateChannelResponse smart constructor.

Instances

Eq UpdateChannelResponse Source # 
Data UpdateChannelResponse Source # 

Methods

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

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

toConstr :: UpdateChannelResponse -> Constr #

dataTypeOf :: UpdateChannelResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateChannelResponse Source # 
Show UpdateChannelResponse Source # 
Generic UpdateChannelResponse Source # 
NFData UpdateChannelResponse Source # 

Methods

rnf :: UpdateChannelResponse -> () #

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

Response Lenses

ucrsResponseStatus :: Lens' UpdateChannelResponse Int Source #

  • - | The response status code.