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

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.

Stops the application from processing input data. You can stop an application only if it is in the running state. You can use the DescribeApplication operation to find the application state. After the application is stopped, Amazon Kinesis Analytics stops reading data from the input, the application stops processing data, and there is no output written to the destination.

This operation requires permissions to perform the kinesisanalytics:StopApplication action.

Synopsis

Creating a Request

data StopApplication Source #

See: newStopApplication smart constructor.

Constructors

StopApplication' 

Fields

Instances

Instances details
Eq StopApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

Read StopApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

Show StopApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

Generic StopApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

Associated Types

type Rep StopApplication :: Type -> Type #

NFData StopApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

Methods

rnf :: StopApplication -> () #

Hashable StopApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

ToJSON StopApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

AWSRequest StopApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

Associated Types

type AWSResponse StopApplication #

ToHeaders StopApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

ToPath StopApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

ToQuery StopApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

type Rep StopApplication Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

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

Defined in Amazonka.KinesisAnalytics.StopApplication

newStopApplication Source #

Create a value of StopApplication 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:StopApplication', stopApplication_applicationName - Name of the running application to stop.

Request Lenses

stopApplication_applicationName :: Lens' StopApplication Text Source #

Name of the running application to stop.

Destructuring the Response

data StopApplicationResponse Source #

See: newStopApplicationResponse smart constructor.

Constructors

StopApplicationResponse' 

Fields

Instances

Instances details
Eq StopApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

Read StopApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

Show StopApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

Generic StopApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

Associated Types

type Rep StopApplicationResponse :: Type -> Type #

NFData StopApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

Methods

rnf :: StopApplicationResponse -> () #

type Rep StopApplicationResponse Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.StopApplication

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

newStopApplicationResponse Source #

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

Response Lenses