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

Copyright(c) 2013-2017 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.StopApplication

Contents

Description

Stops the application from processing input data. You can stop an application only if it is in the running state. You can use the DescribeApplication operation to find the application state. After the application is stopped, Amazon Kinesis Analytics stops reading data from the input, the application stops processing data, and there is no output written to the destination.

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

Synopsis

Creating a Request

stopApplication Source #

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

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

data StopApplication Source #

See: stopApplication smart constructor.

Instances

Eq StopApplication Source # 
Data StopApplication Source # 

Methods

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

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

toConstr :: StopApplication -> Constr #

dataTypeOf :: StopApplication -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: StopApplication -> () #

AWSRequest StopApplication Source # 
ToQuery StopApplication Source # 
ToPath StopApplication Source # 
ToHeaders StopApplication Source # 
type Rep StopApplication Source # 
type Rep StopApplication = D1 (MetaData "StopApplication" "Network.AWS.KinesisAnalytics.StopApplication" "amazonka-kinesis-analytics-1.5.0-Aag53z1k8npIGaZevnWzPh" True) (C1 (MetaCons "StopApplication'" PrefixI True) (S1 (MetaSel (Just Symbol "_sApplicationName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs StopApplication Source # 

Request Lenses

sApplicationName :: Lens' StopApplication Text Source #

Name of the running application to stop.

Destructuring the Response

stopApplicationResponse Source #

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

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

data StopApplicationResponse Source #

See: stopApplicationResponse smart constructor.

Instances

Eq StopApplicationResponse Source # 
Data StopApplicationResponse Source # 

Methods

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

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

toConstr :: StopApplicationResponse -> Constr #

dataTypeOf :: StopApplicationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopApplicationResponse Source # 
Show StopApplicationResponse Source # 
Generic StopApplicationResponse Source # 
NFData StopApplicationResponse Source # 

Methods

rnf :: StopApplicationResponse -> () #

type Rep StopApplicationResponse Source # 
type Rep StopApplicationResponse = D1 (MetaData "StopApplicationResponse" "Network.AWS.KinesisAnalytics.StopApplication" "amazonka-kinesis-analytics-1.5.0-Aag53z1k8npIGaZevnWzPh" True) (C1 (MetaCons "StopApplicationResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_srsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

srsResponseStatus :: Lens' StopApplicationResponse Int Source #

  • - | The response status code.