Smaws_Client_KinesisAnalytics.StopApplication
val request :
Smaws_Lib.Context.t ->
stop_application_request ->
(stop_application_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceInUseException of resource_in_use_exception
| `ResourceNotFoundException of resource_not_found_exception
| `UnsupportedOperationException of unsupported_operation_exception ])
Stdlib.result
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.