aws_sdk_codebuild/client/
stop_sandbox.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 [`StopSandbox`](crate::operation::stop_sandbox::builders::StopSandboxFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::stop_sandbox::builders::StopSandboxFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::stop_sandbox::builders::StopSandboxFluentBuilder::set_id):<br>required: **true**<br><p>Information about the requested sandbox ID.</p><br>
7    /// - On success, responds with [`StopSandboxOutput`](crate::operation::stop_sandbox::StopSandboxOutput) with field(s):
8    ///   - [`sandbox(Option<Sandbox>)`](crate::operation::stop_sandbox::StopSandboxOutput::sandbox): <p>Information about the requested sandbox.</p>
9    /// - On failure, responds with [`SdkError<StopSandboxError>`](crate::operation::stop_sandbox::StopSandboxError)
10    pub fn stop_sandbox(&self) -> crate::operation::stop_sandbox::builders::StopSandboxFluentBuilder {
11        crate::operation::stop_sandbox::builders::StopSandboxFluentBuilder::new(self.handle.clone())
12    }
13}