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

Description

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

Kinesis Data Analytics updates the ApplicationVersionId each time you update your application.

You cannot update the RuntimeEnvironment of an existing application. If you need to update an application's RuntimeEnvironment, you must delete the application and create it again.

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

Read UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

Show UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

Generic UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

Associated Types

type Rep UpdateApplication :: Type -> Type #

NFData UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

Methods

rnf :: UpdateApplication -> () #

Hashable UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

ToJSON UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

AWSRequest UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

Associated Types

type AWSResponse UpdateApplication #

ToHeaders UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

ToPath UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

ToQuery UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

type Rep UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

type Rep UpdateApplication = D1 ('MetaData "UpdateApplication" "Amazonka.KinesisAnalyticsV2.UpdateApplication" "libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2" 'False) (C1 ('MetaCons "UpdateApplication'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "currentApplicationVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "serviceExecutionRoleUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cloudWatchLoggingOptionUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CloudWatchLoggingOptionUpdate])))) :*: ((S1 ('MetaSel ('Just "conditionalToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "applicationConfigurationUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApplicationConfigurationUpdate))) :*: (S1 ('MetaSel ('Just "runConfigurationUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RunConfigurationUpdate)) :*: S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.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:currentApplicationVersionId:UpdateApplication', updateApplication_currentApplicationVersionId - The current application version ID. You must provide the CurrentApplicationVersionId or the ConditionalToken.You can retrieve the application version ID using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

$sel:serviceExecutionRoleUpdate:UpdateApplication', updateApplication_serviceExecutionRoleUpdate - Describes updates to the service execution role.

$sel:cloudWatchLoggingOptionUpdates:UpdateApplication', updateApplication_cloudWatchLoggingOptionUpdates - Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption.

$sel:conditionalToken:UpdateApplication', updateApplication_conditionalToken - A value you use to implement strong concurrency for application updates. You must provide the CurrentApplicationVersionId or the ConditionalToken. You get the application's current ConditionalToken using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

$sel:applicationConfigurationUpdate:UpdateApplication', updateApplication_applicationConfigurationUpdate - Describes application configuration updates.

$sel:runConfigurationUpdate:UpdateApplication', updateApplication_runConfigurationUpdate - Describes updates to the application's starting parameters.

$sel:applicationName:UpdateApplication', updateApplication_applicationName - The name of the application to update.

Request Lenses

updateApplication_currentApplicationVersionId :: Lens' UpdateApplication (Maybe Natural) Source #

The current application version ID. You must provide the CurrentApplicationVersionId or the ConditionalToken.You can retrieve the application version ID using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

updateApplication_serviceExecutionRoleUpdate :: Lens' UpdateApplication (Maybe Text) Source #

Describes updates to the service execution role.

updateApplication_cloudWatchLoggingOptionUpdates :: Lens' UpdateApplication (Maybe [CloudWatchLoggingOptionUpdate]) Source #

Describes application Amazon CloudWatch logging option updates. You can only update existing CloudWatch logging options with this action. To add a new CloudWatch logging option, use AddApplicationCloudWatchLoggingOption.

updateApplication_conditionalToken :: Lens' UpdateApplication (Maybe Text) Source #

A value you use to implement strong concurrency for application updates. You must provide the CurrentApplicationVersionId or the ConditionalToken. You get the application's current ConditionalToken using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

updateApplication_runConfigurationUpdate :: Lens' UpdateApplication (Maybe RunConfigurationUpdate) Source #

Describes updates to the application's starting parameters.

updateApplication_applicationName :: Lens' UpdateApplication Text Source #

The name of the application to update.

Destructuring the Response

data UpdateApplicationResponse Source #

See: newUpdateApplicationResponse smart constructor.

Constructors

UpdateApplicationResponse' 

Fields

Instances

Instances details
Eq UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

Read UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

Show UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

Generic UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

Associated Types

type Rep UpdateApplicationResponse :: Type -> Type #

NFData UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

type Rep UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.UpdateApplication

type Rep UpdateApplicationResponse = D1 ('MetaData "UpdateApplicationResponse" "Amazonka.KinesisAnalyticsV2.UpdateApplication" "libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2" 'False) (C1 ('MetaCons "UpdateApplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "applicationDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ApplicationDetail)))

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.

$sel:applicationDetail:UpdateApplicationResponse', updateApplicationResponse_applicationDetail - Describes application updates.

Response Lenses