Module Values.StopApplicationRequestSource

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.

Sourcetype nonrec t = {
  1. applicationName : ApplicationName.t;
    (*

    The name of the running application to stop.

    *)
  2. force : BooleanObject.t option;
    (*

    Set to true to force the application to stop. If you set Force to true, Managed Service for Apache Flink stops the application without taking a snapshot. 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. You can only force stop a Managed Service for Apache Flink application. You can't force stop a SQL-based Kinesis Data Analytics application. The application must be in the STARTING, UPDATING, STOPPING, AUTOSCALING, or RUNNING status.

    *)
}
Sourceval context_ : string
Sourceval make : ?force:??? -> applicationName:ApplicationName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BooleanObject.t | `String of ApplicationName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t