libZSservicesZSamazonka-kinesis-analyticsZSamazonka-kinesis-analytics
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.KinesisAnalytics.AddApplicationInput

Description

This documentation is for version 1 of the Amazon Kinesis Data Analytics API, which only supports SQL applications. Version 2 of the API supports SQL and Java applications. For more information about version 2, see Amazon Kinesis Data Analytics API V2 Documentation.

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

data AddApplicationInput Source #

See: newAddApplicationInput smart constructor.

Constructors

AddApplicationInput' 

Fields

Instances

Instances details
Eq AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

Read AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

Show AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

Generic AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

Associated Types

type Rep AddApplicationInput :: Type -> Type #

NFData AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

Methods

rnf :: AddApplicationInput -> () #

Hashable AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

ToJSON AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

AWSRequest AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

Associated Types

type AWSResponse AddApplicationInput #

ToHeaders AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

ToPath AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

ToQuery AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

type Rep AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

type Rep AddApplicationInput = D1 ('MetaData "AddApplicationInput" "Amazonka.KinesisAnalytics.AddApplicationInput" "libZSservicesZSamazonka-kinesis-analyticsZSamazonka-kinesis-analytics" 'False) (C1 ('MetaCons "AddApplicationInput'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "currentApplicationVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "input") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Input))))
type AWSResponse AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

newAddApplicationInput Source #

Create a value of AddApplicationInput with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:applicationName:AddApplicationInput', addApplicationInput_applicationName - Name of your existing Amazon Kinesis Analytics application to which you want to add the streaming source.

$sel:currentApplicationVersionId:AddApplicationInput', addApplicationInput_currentApplicationVersionId - Current version of your Amazon Kinesis Analytics application. You can use the DescribeApplication operation to find the current application version.

$sel:input:AddApplicationInput', addApplicationInput_input - The Input to add.

Request Lenses

addApplicationInput_applicationName :: Lens' AddApplicationInput Text Source #

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

addApplicationInput_currentApplicationVersionId :: 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

data AddApplicationInputResponse Source #

See: newAddApplicationInputResponse smart constructor.

Constructors

AddApplicationInputResponse' 

Fields

Instances

Instances details
Eq AddApplicationInputResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

Read AddApplicationInputResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

Show AddApplicationInputResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

Generic AddApplicationInputResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

Associated Types

type Rep AddApplicationInputResponse :: Type -> Type #

NFData AddApplicationInputResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

type Rep AddApplicationInputResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.AddApplicationInput

type Rep AddApplicationInputResponse = D1 ('MetaData "AddApplicationInputResponse" "Amazonka.KinesisAnalytics.AddApplicationInput" "libZSservicesZSamazonka-kinesis-analyticsZSamazonka-kinesis-analytics" 'False) (C1 ('MetaCons "AddApplicationInputResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAddApplicationInputResponse Source #

Create a value of AddApplicationInputResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:AddApplicationInputResponse', addApplicationInputResponse_httpStatus - The response's http status code.

Response Lenses