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