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.

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.

Managed Service for Apache Flink takes a snapshot when the application is stopped, unless Force is set to true.

Note:

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

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

Syntax

C#
public virtual StopApplicationResponse StopApplication(
         StopApplicationRequest request
)

Parameters

request
Type: Amazon.KinesisAnalyticsV2.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 KinesisAnalyticsV2.

Exceptions

ExceptionCondition
ConcurrentModificationException Exception thrown as a result of concurrent modifications to an application. This error can be the result of attempting to modify an application without using the current application ID.
InvalidApplicationConfigurationException The user-provided application configuration is not valid.
InvalidArgumentException The specified input parameter value is not valid.
InvalidRequestException The request JSON is not valid for the operation.
ResourceInUseException The application is not available for this operation.
ResourceNotFoundException Specified application can't be found.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also