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

Contents

Description

Updates an input.

Synopsis

Creating a Request

updateInput Source #

Arguments

:: Text

uiInputId

-> UpdateInput 

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

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

  • uiSources - The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy. Only specify sources for PULL type Inputs. Leave Destinations empty.
  • uiInputSecurityGroups - A list of security groups referenced by IDs to attach to the input.
  • uiDestinations - Destination settings for PUSH type inputs.
  • uiName - Name of the input.
  • uiInputId - Unique ID of the input.

data UpdateInput Source #

A request to update an input.

See: updateInput smart constructor.

Instances

Eq UpdateInput Source # 
Data UpdateInput Source # 

Methods

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

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

toConstr :: UpdateInput -> Constr #

dataTypeOf :: UpdateInput -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateInput Source # 
Show UpdateInput Source # 
Generic UpdateInput Source # 

Associated Types

type Rep UpdateInput :: * -> * #

Hashable UpdateInput Source # 
ToJSON UpdateInput Source # 
NFData UpdateInput Source # 

Methods

rnf :: UpdateInput -> () #

AWSRequest UpdateInput Source # 
ToHeaders UpdateInput Source # 

Methods

toHeaders :: UpdateInput -> [Header] #

ToPath UpdateInput Source # 
ToQuery UpdateInput Source # 
type Rep UpdateInput Source # 
type Rep UpdateInput = D1 * (MetaData "UpdateInput" "Network.AWS.MediaLive.UpdateInput" "amazonka-medialive-1.6.0-VfTxbvfNQBASIvO4STPSQ" False) (C1 * (MetaCons "UpdateInput'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uiSources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [InputSourceRequest]))) (S1 * (MetaSel (Just Symbol "_uiInputSecurityGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uiDestinations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [InputDestinationRequest]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uiName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uiInputId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs UpdateInput Source # 

Request Lenses

uiSources :: Lens' UpdateInput [InputSourceRequest] Source #

The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy. Only specify sources for PULL type Inputs. Leave Destinations empty.

uiInputSecurityGroups :: Lens' UpdateInput [Text] Source #

A list of security groups referenced by IDs to attach to the input.

uiDestinations :: Lens' UpdateInput [InputDestinationRequest] Source #

Destination settings for PUSH type inputs.

uiName :: Lens' UpdateInput (Maybe Text) Source #

Name of the input.

uiInputId :: Lens' UpdateInput Text Source #

Unique ID of the input.

Destructuring the Response

updateInputResponse Source #

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

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

data UpdateInputResponse Source #

Placeholder documentation for UpdateInputResponse

See: updateInputResponse smart constructor.

Instances

Eq UpdateInputResponse Source # 
Data UpdateInputResponse Source # 

Methods

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

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

toConstr :: UpdateInputResponse -> Constr #

dataTypeOf :: UpdateInputResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateInputResponse Source # 
Show UpdateInputResponse Source # 
Generic UpdateInputResponse Source # 
NFData UpdateInputResponse Source # 

Methods

rnf :: UpdateInputResponse -> () #

type Rep UpdateInputResponse Source # 
type Rep UpdateInputResponse = D1 * (MetaData "UpdateInputResponse" "Network.AWS.MediaLive.UpdateInput" "amazonka-medialive-1.6.0-VfTxbvfNQBASIvO4STPSQ" False) (C1 * (MetaCons "UpdateInputResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uirsInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Input))) (S1 * (MetaSel (Just Symbol "_uirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

uirsResponseStatus :: Lens' UpdateInputResponse Int Source #

  • - | The response status code.