v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1431297215.2 KB

Stops the application from processing data. You can stop an application only if it is in the running status, unless you set the Force parameter to true.

You can use the DescribeApplication operation to find the application status.

Kinesis Data Analytics takes a snapshot when the application is stopped, unless Force is set to true.

post/#X-Amz-Target=KinesisAnalytics_20180523.StopApplication

Headers

X-Amz-Target'KinesisAnalytics_20180523.StopApplication' required

Request body

ApplicationNamestring required

The name of the running application to stop.

Forceboolean
<p>Set to <code>true</code> to force the application to stop. If you set <code>Force</code> to <code>true</code>, Kinesis Data Analytics stops the application without taking a snapshot. </p> <note> <p>Force-stopping your application may lead to data loss or duplication. To prevent data loss or duplicate processing of data during application restarts, we recommend you to take frequent snapshots of your application.</p> </note> <p>You can only force stop a Flink-based Kinesis Data Analytics application. You can't force stop a SQL-based Kinesis Data Analytics application.</p> <p>The application must be in the <code>STARTING</code>, <code>UPDATING</code>, <code>STOPPING</code>, <code>AUTOSCALING</code>, or <code>RUNNING</code> status. </p>

Response

Success

StopApplicationResponse required