aws_sdk_appstream/client/stop_fleet.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`StopFleet`](crate::operation::stop_fleet::builders::StopFleetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::stop_fleet::builders::StopFleetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::stop_fleet::builders::StopFleetFluentBuilder::set_name):<br>required: **true**<br><p>The name of the fleet.</p><br>
7 /// - On success, responds with [`StopFleetOutput`](crate::operation::stop_fleet::StopFleetOutput)
8 /// - On failure, responds with [`SdkError<StopFleetError>`](crate::operation::stop_fleet::StopFleetError)
9 pub fn stop_fleet(&self) -> crate::operation::stop_fleet::builders::StopFleetFluentBuilder {
10 crate::operation::stop_fleet::builders::StopFleetFluentBuilder::new(self.handle.clone())
11 }
12}