amazonka-kinesis-analytics-1.6.0: Amazon Kinesis Analytics 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.KinesisAnalytics.UpdateApplication

Contents

Description

Updates an existing Amazon Kinesis Analytics application. Using this API, you can update application code, input configuration, and output configuration.

Note that Amazon Kinesis Analytics updates the CurrentApplicationVersionId each time you update your application.

This operation requires permission for the kinesisanalytics:UpdateApplication action.

Synopsis

Creating a Request

updateApplication #

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

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

data UpdateApplication #

See: updateApplication smart constructor.

Instances

Eq UpdateApplication # 
Data UpdateApplication # 

Methods

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

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

toConstr :: UpdateApplication -> Constr #

dataTypeOf :: UpdateApplication -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateApplication # 
Show UpdateApplication # 
Generic UpdateApplication # 
Hashable UpdateApplication # 
ToJSON UpdateApplication # 
NFData UpdateApplication # 

Methods

rnf :: UpdateApplication -> () #

AWSRequest UpdateApplication # 
ToHeaders UpdateApplication # 
ToPath UpdateApplication # 
ToQuery UpdateApplication # 
type Rep UpdateApplication # 
type Rep UpdateApplication = D1 * (MetaData "UpdateApplication" "Network.AWS.KinesisAnalytics.UpdateApplication" "amazonka-kinesis-analytics-1.6.0-CdiLxSMgN2H9NTRoTSSuux" False) (C1 * (MetaCons "UpdateApplication'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uaApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_uaCurrentApplicationVersionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Nat)) (S1 * (MetaSel (Just Symbol "_uaApplicationUpdate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ApplicationUpdate)))))
type Rs UpdateApplication # 

Request Lenses

uaApplicationName :: Lens' UpdateApplication Text #

Name of the Amazon Kinesis Analytics application to update.

uaCurrentApplicationVersionId :: Lens' UpdateApplication Natural #

The current application version ID. You can use the DescribeApplication operation to get this value.

Destructuring the Response

updateApplicationResponse #

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

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

data UpdateApplicationResponse #

See: updateApplicationResponse smart constructor.

Instances

Eq UpdateApplicationResponse # 
Data UpdateApplicationResponse # 

Methods

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

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

toConstr :: UpdateApplicationResponse -> Constr #

dataTypeOf :: UpdateApplicationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateApplicationResponse # 
Show UpdateApplicationResponse # 
Generic UpdateApplicationResponse # 
NFData UpdateApplicationResponse # 
type Rep UpdateApplicationResponse # 
type Rep UpdateApplicationResponse = D1 * (MetaData "UpdateApplicationResponse" "Network.AWS.KinesisAnalytics.UpdateApplication" "amazonka-kinesis-analytics-1.6.0-CdiLxSMgN2H9NTRoTSSuux" True) (C1 * (MetaCons "UpdateApplicationResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_uarsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

uarsResponseStatus :: Lens' UpdateApplicationResponse Int #

  • - | The response status code.