AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to StopApplicationAsync.

Namespace: Amazon.KinesisAnalytics
Assembly: AWSSDK.KinesisAnalytics.dll
Version: 3.x.y.z

Syntax

C#
public virtual StopApplicationResponse StopApplication(
         StopApplicationRequest request
)

Parameters

request
Type: Amazon.KinesisAnalytics.Model.StopApplicationRequest

Container for the necessary parameters to execute the StopApplication service method.

Return Value


The response from the StopApplication service method, as returned by KinesisAnalytics.

Exceptions

ExceptionCondition
ResourceInUseException Application is not available for this operation.
ResourceNotFoundException Specified application can't be found.
UnsupportedOperationException The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also