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

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.

Updates an existing Amazon Kinesis Analytics application. Using this API, you can update application code, input configuration, and output configuration.

Note that Amazon Kinesis Analytics updates the CurrentApplicationVersionId each time you update your application.

This operation requires permission for the kinesisanalytics:UpdateApplication action.

Synopsis

Creating a Request

data UpdateApplication Source #

See: newUpdateApplication smart constructor.

Constructors

UpdateApplication' 

Fields

Instances

Instances details
Eq UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

Read UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

Show UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

Generic UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

Associated Types

type Rep UpdateApplication :: Type -> Type #

NFData UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

Methods

rnf :: UpdateApplication -> () #

Hashable UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

ToJSON UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

AWSRequest UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

Associated Types

type AWSResponse UpdateApplication #

ToHeaders UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

ToPath UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

ToQuery UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

type Rep UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

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

Defined in Amazonka.KinesisAnalytics.UpdateApplication

newUpdateApplication Source #

Create a value of UpdateApplication 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:UpdateApplication', updateApplication_applicationName - Name of the Amazon Kinesis Analytics application to update.

$sel:currentApplicationVersionId:UpdateApplication', updateApplication_currentApplicationVersionId - The current application version ID. You can use the DescribeApplication operation to get this value.

$sel:applicationUpdate:UpdateApplication', updateApplication_applicationUpdate - Describes application updates.

Request Lenses

updateApplication_applicationName :: Lens' UpdateApplication Text Source #

Name of the Amazon Kinesis Analytics application to update.

updateApplication_currentApplicationVersionId :: Lens' UpdateApplication Natural Source #

The current application version ID. You can use the DescribeApplication operation to get this value.

Destructuring the Response

data UpdateApplicationResponse Source #

See: newUpdateApplicationResponse smart constructor.

Constructors

UpdateApplicationResponse' 

Fields

Instances

Instances details
Eq UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

Read UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

Show UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

Generic UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

Associated Types

type Rep UpdateApplicationResponse :: Type -> Type #

NFData UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

type Rep UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.UpdateApplication

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

newUpdateApplicationResponse Source #

Create a value of UpdateApplicationResponse 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:UpdateApplicationResponse', updateApplicationResponse_httpStatus - The response's http status code.

Response Lenses