aws_sdk_codecatalyst/client/
create_project.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 [`CreateProject`](crate::operation::create_project::builders::CreateProjectFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`space_name(impl Into<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::space_name) / [`set_space_name(Option<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_space_name):<br>required: **true**<br><p>The name of the space.</p><br>
7    ///   - [`display_name(impl Into<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_display_name):<br>required: **true**<br><p>The friendly name of the project that will be displayed to users.</p><br>
8    ///   - [`description(impl Into<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_description):<br>required: **false**<br><p>The description of the project. This description will be displayed to all users of the project. We recommend providing a brief description of the project and its intended purpose.</p><br>
9    /// - On success, responds with [`CreateProjectOutput`](crate::operation::create_project::CreateProjectOutput) with field(s):
10    ///   - [`space_name(Option<String>)`](crate::operation::create_project::CreateProjectOutput::space_name): <p>The name of the space.</p>
11    ///   - [`name(String)`](crate::operation::create_project::CreateProjectOutput::name): <p>The name of the project in the space.</p>
12    ///   - [`display_name(Option<String>)`](crate::operation::create_project::CreateProjectOutput::display_name): <p>The friendly name of the project.</p>
13    ///   - [`description(Option<String>)`](crate::operation::create_project::CreateProjectOutput::description): <p>The description of the project.</p>
14    /// - On failure, responds with [`SdkError<CreateProjectError>`](crate::operation::create_project::CreateProjectError)
15    pub fn create_project(&self) -> crate::operation::create_project::builders::CreateProjectFluentBuilder {
16        crate::operation::create_project::builders::CreateProjectFluentBuilder::new(self.handle.clone())
17    }
18}