aws_sdk_lightsail/client/
stop_gui_session.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 [`StopGUISession`](crate::operation::stop_gui_session::builders::StopGUISessionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`resource_name(impl Into<String>)`](crate::operation::stop_gui_session::builders::StopGUISessionFluentBuilder::resource_name) / [`set_resource_name(Option<String>)`](crate::operation::stop_gui_session::builders::StopGUISessionFluentBuilder::set_resource_name):<br>required: **true**<br><p>The resource name.</p><br>
7    /// - On success, responds with [`StopGuiSessionOutput`](crate::operation::stop_gui_session::StopGuiSessionOutput) with field(s):
8    ///   - [`operations(Option<Vec::<Operation>>)`](crate::operation::stop_gui_session::StopGuiSessionOutput::operations): <p>The available API operations.</p>
9    /// - On failure, responds with [`SdkError<StopGUISessionError>`](crate::operation::stop_gui_session::StopGUISessionError)
10    pub fn stop_gui_session(&self) -> crate::operation::stop_gui_session::builders::StopGUISessionFluentBuilder {
11        crate::operation::stop_gui_session::builders::StopGUISessionFluentBuilder::new(self.handle.clone())
12    }
13}