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

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 #

See: stopApplication smart constructor.

Instances

Eq StopApplication # 
Data StopApplication # 

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

Methods

rnf :: StopApplication -> () #

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

Request Lenses

sApplicationName :: Lens' StopApplication Text #

Name of the running application to stop.

Destructuring the Response

stopApplicationResponse #

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 #

See: stopApplicationResponse smart constructor.

Instances

Eq StopApplicationResponse # 
Data StopApplicationResponse # 

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 # 
Show StopApplicationResponse # 
Generic StopApplicationResponse # 
NFData StopApplicationResponse # 

Methods

rnf :: StopApplicationResponse -> () #

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

Response Lenses

srsResponseStatus :: Lens' StopApplicationResponse Int #

  • - | The response status code.