amazonka-kinesis-analytics-1.4.5: Amazon Kinesis Analytics SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.KinesisAnalytics.StartApplication

Contents

Description

Starts the specified Amazon Kinesis Analytics application. After creating an application, you must exclusively call this operation to start your application.

After the application starts, it begins consuming the input data, processes it, and writes the output to the configured destination.

The application status must be READY for you to start an application. You can get the application status in the console or using the DescribeApplication operation.

After you start the application, you can stop the application from processing the input by calling the StopApplication operation.

This operation requires permissions to perform the kinesisanalytics:StartApplication action.

Synopsis

Creating a Request

startApplication Source #

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

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

  • saApplicationName - Name of the application.
  • saInputConfigurations - Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics starts reading the streaming source associated with the input. You can also specify where in the streaming source you want Amazon Kinesis Analytics to start reading.

data StartApplication Source #

See: startApplication smart constructor.

Instances

Eq StartApplication Source # 
Data StartApplication Source # 

Methods

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

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

toConstr :: StartApplication -> Constr #

dataTypeOf :: StartApplication -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartApplication Source # 
Show StartApplication Source # 
Generic StartApplication Source # 
Hashable StartApplication Source # 
ToJSON StartApplication Source # 
NFData StartApplication Source # 

Methods

rnf :: StartApplication -> () #

AWSRequest StartApplication Source # 
ToPath StartApplication Source # 
ToHeaders StartApplication Source # 
ToQuery StartApplication Source # 
type Rep StartApplication Source # 
type Rep StartApplication = D1 (MetaData "StartApplication" "Network.AWS.KinesisAnalytics.StartApplication" "amazonka-kinesis-analytics-1.4.5-DpDyCtiVBNX33lFwhhmzva" False) (C1 (MetaCons "StartApplication'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_saApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_saInputConfigurations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [InputConfiguration]))))
type Rs StartApplication Source # 

Request Lenses

saInputConfigurations :: Lens' StartApplication [InputConfiguration] Source #

Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics starts reading the streaming source associated with the input. You can also specify where in the streaming source you want Amazon Kinesis Analytics to start reading.

Destructuring the Response

startApplicationResponse Source #

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

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

data StartApplicationResponse Source #

See: startApplicationResponse smart constructor.

Instances

Eq StartApplicationResponse Source # 
Data StartApplicationResponse Source # 

Methods

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

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

toConstr :: StartApplicationResponse -> Constr #

dataTypeOf :: StartApplicationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartApplicationResponse Source # 
Show StartApplicationResponse Source # 
Generic StartApplicationResponse Source # 
NFData StartApplicationResponse Source # 
type Rep StartApplicationResponse Source # 
type Rep StartApplicationResponse = D1 (MetaData "StartApplicationResponse" "Network.AWS.KinesisAnalytics.StartApplication" "amazonka-kinesis-analytics-1.4.5-DpDyCtiVBNX33lFwhhmzva" True) (C1 (MetaCons "StartApplicationResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_sarsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses