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

Description

Reverts the application to the previous running version. You can roll back an application if you suspect it is stuck in a transient status.

You can roll back an application only if it is in the UPDATING or AUTOSCALING status.

When you rollback an application, it loads state data from the last successful snapshot. If the application has no snapshots, Kinesis Data Analytics rejects the rollback request.

This action is not supported for Kinesis Data Analytics for SQL applications.

Synopsis

Creating a Request

data RollbackApplication Source #

See: newRollbackApplication smart constructor.

Constructors

RollbackApplication' 

Fields

Instances

Instances details
Eq RollbackApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

Read RollbackApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

Show RollbackApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

Generic RollbackApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

Associated Types

type Rep RollbackApplication :: Type -> Type #

NFData RollbackApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

Methods

rnf :: RollbackApplication -> () #

Hashable RollbackApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

ToJSON RollbackApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

AWSRequest RollbackApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

Associated Types

type AWSResponse RollbackApplication #

ToHeaders RollbackApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

ToPath RollbackApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

ToQuery RollbackApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

type Rep RollbackApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

type Rep RollbackApplication = D1 ('MetaData "RollbackApplication" "Amazonka.KinesisAnalyticsV2.RollbackApplication" "libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2" 'False) (C1 ('MetaCons "RollbackApplication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "currentApplicationVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))
type AWSResponse RollbackApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

newRollbackApplication Source #

Create a value of RollbackApplication 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:RollbackApplication', rollbackApplication_applicationName - The name of the application.

$sel:currentApplicationVersionId:RollbackApplication', rollbackApplication_currentApplicationVersionId - The current application version ID. You can retrieve the application version ID using DescribeApplication.

Request Lenses

rollbackApplication_currentApplicationVersionId :: Lens' RollbackApplication Natural Source #

The current application version ID. You can retrieve the application version ID using DescribeApplication.

Destructuring the Response

data RollbackApplicationResponse Source #

See: newRollbackApplicationResponse smart constructor.

Constructors

RollbackApplicationResponse' 

Fields

Instances

Instances details
Eq RollbackApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

Read RollbackApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

Show RollbackApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

Generic RollbackApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

Associated Types

type Rep RollbackApplicationResponse :: Type -> Type #

NFData RollbackApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

type Rep RollbackApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.RollbackApplication

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

newRollbackApplicationResponse Source #

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

$sel:applicationDetail:RollbackApplicationResponse', rollbackApplicationResponse_applicationDetail - Undocumented member.

Response Lenses