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

Contents

Description

Adds a streaming source to your Amazon Kinesis application. For conceptual information, see Configuring Application Input .

You can add a streaming source either when you create an application or you can use this operation to add a streaming source after you create an application. For more information, see CreateApplication .

Any configuration update, including adding a streaming source using this operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application version.

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

Synopsis

Creating a Request

addApplicationInput Source #

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

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

  • aaiApplicationName - Name of your existing Amazon Kinesis Analytics application to which you want to add the streaming source.
  • aaiCurrentApplicationVersionId - Current version of your Amazon Kinesis Analytics application. You can use the DescribeApplication operation to find the current application version.
  • aaiInput - The Input to add.

data AddApplicationInput Source #

See: addApplicationInput smart constructor.

Instances

Eq AddApplicationInput Source # 
Data AddApplicationInput Source # 

Methods

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

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

toConstr :: AddApplicationInput -> Constr #

dataTypeOf :: AddApplicationInput -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: AddApplicationInput -> () #

AWSRequest AddApplicationInput Source # 
ToQuery AddApplicationInput Source # 
ToPath AddApplicationInput Source # 
ToHeaders AddApplicationInput Source # 
type Rep AddApplicationInput Source # 
type Rep AddApplicationInput = D1 (MetaData "AddApplicationInput" "Network.AWS.KinesisAnalytics.AddApplicationInput" "amazonka-kinesis-analytics-1.5.0-Aag53z1k8npIGaZevnWzPh" False) (C1 (MetaCons "AddApplicationInput'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aaiApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_aaiCurrentApplicationVersionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat)) (S1 (MetaSel (Just Symbol "_aaiInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Input)))))
type Rs AddApplicationInput Source # 

Request Lenses

aaiApplicationName :: Lens' AddApplicationInput Text Source #

Name of your existing Amazon Kinesis Analytics application to which you want to add the streaming source.

aaiCurrentApplicationVersionId :: Lens' AddApplicationInput Natural Source #

Current version of your Amazon Kinesis Analytics application. You can use the DescribeApplication operation to find the current application version.

Destructuring the Response

addApplicationInputResponse Source #

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

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

data AddApplicationInputResponse Source #

See: addApplicationInputResponse smart constructor.

Instances

Eq AddApplicationInputResponse Source # 
Data AddApplicationInputResponse Source # 

Methods

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

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

toConstr :: AddApplicationInputResponse -> Constr #

dataTypeOf :: AddApplicationInputResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AddApplicationInputResponse Source # 
Show AddApplicationInputResponse Source # 
Generic AddApplicationInputResponse Source # 
NFData AddApplicationInputResponse Source # 
type Rep AddApplicationInputResponse Source # 
type Rep AddApplicationInputResponse = D1 (MetaData "AddApplicationInputResponse" "Network.AWS.KinesisAnalytics.AddApplicationInput" "amazonka-kinesis-analytics-1.5.0-Aag53z1k8npIGaZevnWzPh" True) (C1 (MetaCons "AddApplicationInputResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_aairsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses