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

Defined in Network.AWS.MediaPackage.UpdateChannel

Data UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaPackage.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.MediaPackage.UpdateChannel

Show UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaPackage.UpdateChannel

Generic UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaPackage.UpdateChannel

Associated Types

type Rep UpdateChannel :: Type -> Type #

Hashable UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaPackage.UpdateChannel

ToJSON UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaPackage.UpdateChannel

AWSRequest UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaPackage.UpdateChannel

Associated Types

type Rs UpdateChannel :: Type #

ToHeaders UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaPackage.UpdateChannel

ToPath UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaPackage.UpdateChannel

ToQuery UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaPackage.UpdateChannel

NFData UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaPackage.UpdateChannel

Methods

rnf :: UpdateChannel -> () #

type Rep UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaPackage.UpdateChannel

type Rep UpdateChannel = D1 (MetaData "UpdateChannel" "Network.AWS.MediaPackage.UpdateChannel" "amazonka-mediapackage-1.6.1-8AxmiJJnVfmHmtFbaXxvVo" False) (C1 (MetaCons "UpdateChannel'" PrefixI True) (S1 (MetaSel (Just "_ucDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ucId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs UpdateChannel Source # 
Instance details

Defined in Network.AWS.MediaPackage.UpdateChannel

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

Defined in Network.AWS.MediaPackage.UpdateChannel

Data UpdateChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.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.MediaPackage.UpdateChannel

Show UpdateChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.UpdateChannel

Generic UpdateChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.UpdateChannel

Associated Types

type Rep UpdateChannelResponse :: Type -> Type #

NFData UpdateChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.UpdateChannel

Methods

rnf :: UpdateChannelResponse -> () #

type Rep UpdateChannelResponse Source # 
Instance details

Defined in Network.AWS.MediaPackage.UpdateChannel

type Rep UpdateChannelResponse = D1 (MetaData "UpdateChannelResponse" "Network.AWS.MediaPackage.UpdateChannel" "amazonka-mediapackage-1.6.1-8AxmiJJnVfmHmtFbaXxvVo" False) (C1 (MetaCons "UpdateChannelResponse'" PrefixI True) ((S1 (MetaSel (Just "_ucrsHlsIngest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HlsIngest)) :*: S1 (MetaSel (Just "_ucrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ucrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ucrsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.