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

Defined in Network.AWS.MediaLive.UpdateChannel

Data UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

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

Defined in Network.AWS.MediaLive.UpdateChannel

Show UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

Generic UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

Associated Types

type Rep UpdateChannel :: Type -> Type #

Hashable UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

ToJSON UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

AWSRequest UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

Associated Types

type Rs UpdateChannel :: Type #

ToHeaders UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

ToPath UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

ToQuery UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

NFData UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

Methods

rnf :: UpdateChannel -> () #

type Rep UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

type Rs UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

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

Defined in Network.AWS.MediaLive.UpdateChannel

Data UpdateChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

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

Defined in Network.AWS.MediaLive.UpdateChannel

Show UpdateChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

Generic UpdateChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

Associated Types

type Rep UpdateChannelResponse :: Type -> Type #

NFData UpdateChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

Methods

rnf :: UpdateChannelResponse -> () #

type Rep UpdateChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateChannel

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

Response Lenses

ucrsResponseStatus :: Lens' UpdateChannelResponse Int Source #

  • - | The response status code.