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

Contents

Description

Adds an external destination to your Amazon Kinesis Analytics application.

If you want Amazon Kinesis Analytics to deliver data from an in-application stream within your application to an external destination (such as an Amazon Kinesis stream or a Firehose delivery stream), you add the relevant configuration to your application using this operation. You can configure one or more outputs for your application. Each output configuration maps an in-application stream and an external destination.

You can use one of the output configurations to deliver data from your in-application error stream to an external destination so that you can analyze the errors. For conceptual information, see Understanding Application Output (Destination) .

Note that 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.

For the limits on the number of application inputs and outputs you can configure, see Limits .

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

Synopsis

Creating a Request

addApplicationOutput Source #

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

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

  • aaoApplicationName - Name of the application to which you want to add the output configuration.
  • aaoCurrentApplicationVersionId - Version of the application to which you want add the output configuration. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned.
  • aaoOutput - An array of objects, each describing one output configuration. In the output configuration, you specify the name of an in-application stream, a destination (that is, an Amazon Kinesis stream or an Amazon Kinesis Firehose delivery stream), and record the formation to use when writing to the destination.

data AddApplicationOutput Source #

See: addApplicationOutput smart constructor.

Instances

Eq AddApplicationOutput Source # 
Data AddApplicationOutput Source # 

Methods

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

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

toConstr :: AddApplicationOutput -> Constr #

dataTypeOf :: AddApplicationOutput -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: AddApplicationOutput -> () #

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

Request Lenses

aaoApplicationName :: Lens' AddApplicationOutput Text Source #

Name of the application to which you want to add the output configuration.

aaoCurrentApplicationVersionId :: Lens' AddApplicationOutput Natural Source #

Version of the application to which you want add the output configuration. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned.

aaoOutput :: Lens' AddApplicationOutput Output Source #

An array of objects, each describing one output configuration. In the output configuration, you specify the name of an in-application stream, a destination (that is, an Amazon Kinesis stream or an Amazon Kinesis Firehose delivery stream), and record the formation to use when writing to the destination.

Destructuring the Response

addApplicationOutputResponse Source #

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

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

data AddApplicationOutputResponse Source #

See: addApplicationOutputResponse smart constructor.

Instances

Eq AddApplicationOutputResponse Source # 
Data AddApplicationOutputResponse Source # 

Methods

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

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

toConstr :: AddApplicationOutputResponse -> Constr #

dataTypeOf :: AddApplicationOutputResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses