1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StopApplication`](crate::operation::stop_application::builders::StopApplicationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`application_id(impl Into<String>)`](crate::operation::stop_application::builders::StopApplicationFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::stop_application::builders::StopApplicationFluentBuilder::set_application_id):<br>required: **true**<br><p>The unique identifier of the application you want to stop.</p><br>
    ///   - [`force_stop(bool)`](crate::operation::stop_application::builders::StopApplicationFluentBuilder::force_stop) / [`set_force_stop(Option<bool>)`](crate::operation::stop_application::builders::StopApplicationFluentBuilder::set_force_stop):<br>required: **false**<br><p>Stopping an application process can take a long time. Setting this parameter to true lets you force stop the application so you don't need to wait until the process finishes to apply another action on the application. The default value is false.</p><br>
    /// - On success, responds with [`StopApplicationOutput`](crate::operation::stop_application::StopApplicationOutput)
    /// - On failure, responds with [`SdkError<StopApplicationError>`](crate::operation::stop_application::StopApplicationError)
    pub fn stop_application(&self) -> crate::operation::stop_application::builders::StopApplicationFluentBuilder {
        crate::operation::stop_application::builders::StopApplicationFluentBuilder::new(self.handle.clone())
    }
}