aws_sdk_codecatalyst/client/
update_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 [`UpdateSpace`](crate::operation::update_space::builders::UpdateSpaceFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::update_space::builders::UpdateSpaceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_space::builders::UpdateSpaceFluentBuilder::set_name):<br>required: **true**<br><p>The name of the space.</p><br>
7    ///   - [`description(impl Into<String>)`](crate::operation::update_space::builders::UpdateSpaceFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_space::builders::UpdateSpaceFluentBuilder::set_description):<br>required: **false**<br><p>The description of the space.</p><br>
8    /// - On success, responds with [`UpdateSpaceOutput`](crate::operation::update_space::UpdateSpaceOutput) with field(s):
9    ///   - [`name(Option<String>)`](crate::operation::update_space::UpdateSpaceOutput::name): <p>The name of the space.</p>
10    ///   - [`display_name(Option<String>)`](crate::operation::update_space::UpdateSpaceOutput::display_name): <p>The friendly name of the space displayed to users in Amazon CodeCatalyst.</p>
11    ///   - [`description(Option<String>)`](crate::operation::update_space::UpdateSpaceOutput::description): <p>The description of the space.</p>
12    /// - On failure, responds with [`SdkError<UpdateSpaceError>`](crate::operation::update_space::UpdateSpaceError)
13    pub fn update_space(&self) -> crate::operation::update_space::builders::UpdateSpaceFluentBuilder {
14        crate::operation::update_space::builders::UpdateSpaceFluentBuilder::new(self.handle.clone())
15    }
16}