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
.
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
public virtual StopApplicationResponse StopApplication( StopApplicationRequest request )
Container for the necessary parameters to execute the StopApplication service method.
Exception | Condition |
---|---|
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. |
.NET Framework:
Supported in: 4.5 and newer, 3.5