aws_sdk_codecatalyst/client/delete_space.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 [`DeleteSpace`](crate::operation::delete_space::builders::DeleteSpaceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::delete_space::builders::DeleteSpaceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_space::builders::DeleteSpaceFluentBuilder::set_name):<br>required: **true**<br><p>The name of the space. To retrieve a list of space names, use <code>ListSpaces</code>.</p><br>
7 /// - On success, responds with [`DeleteSpaceOutput`](crate::operation::delete_space::DeleteSpaceOutput) with field(s):
8 /// - [`name(String)`](crate::operation::delete_space::DeleteSpaceOutput::name): <p>The name of the space.</p>
9 /// - [`display_name(Option<String>)`](crate::operation::delete_space::DeleteSpaceOutput::display_name): <p>The friendly name of the space displayed to users of the space in Amazon CodeCatalyst.</p>
10 /// - On failure, responds with [`SdkError<DeleteSpaceError>`](crate::operation::delete_space::DeleteSpaceError)
11 pub fn delete_space(&self) -> crate::operation::delete_space::builders::DeleteSpaceFluentBuilder {
12 crate::operation::delete_space::builders::DeleteSpaceFluentBuilder::new(self.handle.clone())
13 }
14}