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 Source #

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 Source #

See: updateApplication smart constructor.

Instances

Eq UpdateApplication Source # 
Data UpdateApplication Source # 

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 Source # 
Show UpdateApplication Source # 
Generic UpdateApplication Source # 
Hashable UpdateApplication Source # 
ToJSON UpdateApplication Source # 
NFData UpdateApplication Source # 

Methods

rnf :: UpdateApplication -> () #

AWSRequest UpdateApplication Source # 
ToHeaders UpdateApplication Source # 
ToPath UpdateApplication Source # 
ToQuery UpdateApplication Source # 
type Rep UpdateApplication Source # 
type Rep UpdateApplication = D1 * (MetaData "UpdateApplication" "Network.AWS.KinesisAnalytics.UpdateApplication" "amazonka-kinesis-analytics-1.6.0-J4ryjAMBIYIwnq1ki15YT" 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 Source # 

Request Lenses

uaApplicationName :: Lens' UpdateApplication Text Source #

Name of the Amazon Kinesis Analytics application to update.

uaCurrentApplicationVersionId :: Lens' UpdateApplication Natural Source #

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

Destructuring the Response

updateApplicationResponse Source #

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 Source #

See: updateApplicationResponse smart constructor.

Instances

Eq UpdateApplicationResponse Source # 
Data UpdateApplicationResponse Source # 

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 Source # 
Show UpdateApplicationResponse Source # 
Generic UpdateApplicationResponse Source # 
NFData UpdateApplicationResponse Source # 
type Rep UpdateApplicationResponse Source # 
type Rep UpdateApplicationResponse = D1 * (MetaData "UpdateApplicationResponse" "Network.AWS.KinesisAnalytics.UpdateApplication" "amazonka-kinesis-analytics-1.6.0-J4ryjAMBIYIwnq1ki15YT" True) (C1 * (MetaCons "UpdateApplicationResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_uarsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses