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

Contents

Description

Updates an existing Channel.

Synopsis

Creating a Request

updateChannel Source #

Arguments

:: Text

ucId

-> UpdateChannel 

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:

  • ucDescription - A short text description of the Channel.
  • ucId - The ID of the Channel to update.

data UpdateChannel Source #

Configuration parameters used to update the 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 Rep UpdateChannel = D1 * (MetaData "UpdateChannel" "Network.AWS.MediaPackage.UpdateChannel" "amazonka-mediapackage-1.6.0-FgnOM9h3HAK6TMeVGPpxSG" False) (C1 * (MetaCons "UpdateChannel'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ucDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ucId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs UpdateChannel Source # 

Request Lenses

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

A short text description of the Channel.

ucId :: Lens' UpdateChannel Text Source #

The ID of the Channel to update.

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 #

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.MediaPackage.UpdateChannel" "amazonka-mediapackage-1.6.0-FgnOM9h3HAK6TMeVGPpxSG" False) (C1 * (MetaCons "UpdateChannelResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ucrsHlsIngest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe HlsIngest))) (S1 * (MetaSel (Just Symbol "_ucrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ucrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ucrsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ucrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

ucrsARN :: Lens' UpdateChannelResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) assigned to the Channel.

ucrsId :: Lens' UpdateChannelResponse (Maybe Text) Source #

The ID of the Channel.

ucrsDescription :: Lens' UpdateChannelResponse (Maybe Text) Source #

A short text description of the Channel.

ucrsResponseStatus :: Lens' UpdateChannelResponse Int Source #

  • - | The response status code.