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

Defined in Network.AWS.KinesisAnalytics.StartApplication

Data StartApplication # 
Instance details

Defined in Network.AWS.KinesisAnalytics.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 # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

Show StartApplication # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

Generic StartApplication # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

Associated Types

type Rep StartApplication :: * -> * #

Hashable StartApplication # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

ToJSON StartApplication # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

AWSRequest StartApplication # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

Associated Types

type Rs StartApplication :: * #

ToHeaders StartApplication # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

ToPath StartApplication # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

ToQuery StartApplication # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

NFData StartApplication # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

Methods

rnf :: StartApplication -> () #

type Rep StartApplication # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

type Rep StartApplication = D1 (MetaData "StartApplication" "Network.AWS.KinesisAnalytics.StartApplication" "amazonka-kinesis-analytics-1.6.0-J4j3HlKETSB834VywMggVH" False) (C1 (MetaCons "StartApplication'" PrefixI True) (S1 (MetaSel (Just "_saApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_saInputConfigurations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [InputConfiguration])))
type Rs StartApplication # 
Instance details

Defined in Network.AWS.KinesisAnalytics.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 # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

Data StartApplicationResponse # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

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

Defined in Network.AWS.KinesisAnalytics.StartApplication

Show StartApplicationResponse # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

Generic StartApplicationResponse # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

Associated Types

type Rep StartApplicationResponse :: * -> * #

NFData StartApplicationResponse # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

type Rep StartApplicationResponse # 
Instance details

Defined in Network.AWS.KinesisAnalytics.StartApplication

type Rep StartApplicationResponse = D1 (MetaData "StartApplicationResponse" "Network.AWS.KinesisAnalytics.StartApplication" "amazonka-kinesis-analytics-1.6.0-J4j3HlKETSB834VywMggVH" True) (C1 (MetaCons "StartApplicationResponse'" PrefixI True) (S1 (MetaSel (Just "_sarsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

sarsResponseStatus :: Lens' StartApplicationResponse Int #

  • - | The response status code.