aws_sdk_codecatalyst/client/get_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 [`GetSpace`](crate::operation::get_space::builders::GetSpaceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::get_space::builders::GetSpaceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_space::builders::GetSpaceFluentBuilder::set_name):<br>required: **true**<br><p>The name of the space.</p><br>
7 /// - On success, responds with [`GetSpaceOutput`](crate::operation::get_space::GetSpaceOutput) with field(s):
8 /// - [`name(String)`](crate::operation::get_space::GetSpaceOutput::name): <p>The name of the space.</p>
9 /// - [`region_name(String)`](crate::operation::get_space::GetSpaceOutput::region_name): <p>The Amazon Web Services Region where the space exists.</p>
10 /// - [`display_name(Option<String>)`](crate::operation::get_space::GetSpaceOutput::display_name): <p>The friendly name of the space displayed to users.</p>
11 /// - [`description(Option<String>)`](crate::operation::get_space::GetSpaceOutput::description): <p>The description of the space.</p>
12 /// - On failure, responds with [`SdkError<GetSpaceError>`](crate::operation::get_space::GetSpaceError)
13 pub fn get_space(&self) -> crate::operation::get_space::builders::GetSpaceFluentBuilder {
14 crate::operation::get_space::builders::GetSpaceFluentBuilder::new(self.handle.clone())
15 }
16}