libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2
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.KinesisAnalyticsV2.AddApplicationInput

Description

Adds a streaming source to your SQL-based Kinesis Data Analytics application.

You can add a streaming source 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.

Synopsis

Creating a Request

data AddApplicationInput Source #

See: newAddApplicationInput smart constructor.

Constructors

AddApplicationInput' 

Fields

  • applicationName :: Text

    The name of your existing application to which you want to add the streaming source.

  • currentApplicationVersionId :: Natural

    The current version of your application. You must provide the ApplicationVersionID or the ConditionalToken.You can use the DescribeApplication operation to find the current application version.

  • input :: Input

    The Input to add.

Instances

Instances details
Eq AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

Read AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

Show AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

Generic AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

Associated Types

type Rep AddApplicationInput :: Type -> Type #

NFData AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

Methods

rnf :: AddApplicationInput -> () #

Hashable AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

ToJSON AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

AWSRequest AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

Associated Types

type AWSResponse AddApplicationInput #

ToHeaders AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

ToPath AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

ToQuery AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

type Rep AddApplicationInput Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

type Rep AddApplicationInput = D1 ('MetaData "AddApplicationInput" "Amazonka.KinesisAnalyticsV2.AddApplicationInput" "libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2" '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.KinesisAnalyticsV2.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 - The name of your existing application to which you want to add the streaming source.

$sel:currentApplicationVersionId:AddApplicationInput', addApplicationInput_currentApplicationVersionId - The current version of your application. You must provide the ApplicationVersionID or the ConditionalToken.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 #

The name of your existing application to which you want to add the streaming source.

addApplicationInput_currentApplicationVersionId :: Lens' AddApplicationInput Natural Source #

The current version of your application. You must provide the ApplicationVersionID or the ConditionalToken.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.KinesisAnalyticsV2.AddApplicationInput

Read AddApplicationInputResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

Show AddApplicationInputResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

Generic AddApplicationInputResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

Associated Types

type Rep AddApplicationInputResponse :: Type -> Type #

NFData AddApplicationInputResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

type Rep AddApplicationInputResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.AddApplicationInput

type Rep AddApplicationInputResponse = D1 ('MetaData "AddApplicationInputResponse" "Amazonka.KinesisAnalyticsV2.AddApplicationInput" "libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2" 'False) (C1 ('MetaCons "AddApplicationInputResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "applicationARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "applicationVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "inputDescriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InputDescription])) :*: 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:applicationARN:AddApplicationInputResponse', addApplicationInputResponse_applicationARN - The Amazon Resource Name (ARN) of the application.

$sel:applicationVersionId:AddApplicationInputResponse', addApplicationInputResponse_applicationVersionId - Provides the current application version.

$sel:inputDescriptions:AddApplicationInputResponse', addApplicationInputResponse_inputDescriptions - Describes the application input configuration.

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

Response Lenses

addApplicationInputResponse_applicationARN :: Lens' AddApplicationInputResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the application.