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

Defined in Network.AWS.MediaLive.UpdateInput

Data UpdateInput Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

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

Defined in Network.AWS.MediaLive.UpdateInput

Show UpdateInput Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

Generic UpdateInput Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

Associated Types

type Rep UpdateInput :: Type -> Type #

Hashable UpdateInput Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

ToJSON UpdateInput Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

AWSRequest UpdateInput Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

Associated Types

type Rs UpdateInput :: Type #

ToHeaders UpdateInput Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

Methods

toHeaders :: UpdateInput -> [Header] #

ToPath UpdateInput Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

ToQuery UpdateInput Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

NFData UpdateInput Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

Methods

rnf :: UpdateInput -> () #

type Rep UpdateInput Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

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

Defined in Network.AWS.MediaLive.UpdateInput

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

Defined in Network.AWS.MediaLive.UpdateInput

Data UpdateInputResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

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

Defined in Network.AWS.MediaLive.UpdateInput

Show UpdateInputResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

Generic UpdateInputResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

Associated Types

type Rep UpdateInputResponse :: Type -> Type #

NFData UpdateInputResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

Methods

rnf :: UpdateInputResponse -> () #

type Rep UpdateInputResponse Source # 
Instance details

Defined in Network.AWS.MediaLive.UpdateInput

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

Response Lenses

uirsResponseStatus :: Lens' UpdateInputResponse Int Source #

  • - | The response status code.