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

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 #

See: startApplication smart constructor.

Instances

Eq StartApplication # 
Data StartApplication # 

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

Methods

rnf :: StartApplication -> () #

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

Request Lenses

saApplicationName :: Lens' StartApplication Text #

Name of the application.

saInputConfigurations :: Lens' StartApplication [InputConfiguration] #

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 #

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 #

See: startApplicationResponse smart constructor.

Instances

Eq StartApplicationResponse # 
Data StartApplicationResponse # 

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

Response Lenses

sarsResponseStatus :: Lens' StartApplicationResponse Int #

  • - | The response status code.