aws_sdk_datazone/client/
create_project.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateProject`](crate::operation::create_project::builders::CreateProjectFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which this project is created.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_name):<br>required: **true**<br><p>The name of the Amazon DataZone project.</p><br>
    ///   - [`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 Amazon DataZone project.</p><br>
    ///   - [`glossary_terms(impl Into<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::glossary_terms) / [`set_glossary_terms(Option<Vec::<String>>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_glossary_terms):<br>required: **false**<br><p>The glossary terms that can be used in this Amazon DataZone project.</p><br>
    ///   - [`domain_unit_id(impl Into<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::domain_unit_id) / [`set_domain_unit_id(Option<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_domain_unit_id):<br>required: **false**<br><p>The ID of the domain unit. This parameter is not required and if it is not specified, then the project is created at the root domain unit level.</p><br>
    ///   - [`project_profile_id(impl Into<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::project_profile_id) / [`set_project_profile_id(Option<String>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_project_profile_id):<br>required: **false**<br><p>The ID of the project profile.</p><br>
    ///   - [`user_parameters(EnvironmentConfigurationUserParameter)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::user_parameters) / [`set_user_parameters(Option<Vec::<EnvironmentConfigurationUserParameter>>)`](crate::operation::create_project::builders::CreateProjectFluentBuilder::set_user_parameters):<br>required: **false**<br><p>The user parameters of the project.</p><br>
    /// - On success, responds with [`CreateProjectOutput`](crate::operation::create_project::CreateProjectOutput) with field(s):
    ///   - [`domain_id(String)`](crate::operation::create_project::CreateProjectOutput::domain_id): <p>The identifier of the Amazon DataZone domain in which the project was created.</p>
    ///   - [`id(String)`](crate::operation::create_project::CreateProjectOutput::id): <p>The ID of the Amazon DataZone project.</p>
    ///   - [`name(String)`](crate::operation::create_project::CreateProjectOutput::name): <p>The name of the project.</p>
    ///   - [`description(Option<String>)`](crate::operation::create_project::CreateProjectOutput::description): <p>The description of the project.</p>
    ///   - [`project_status(Option<ProjectStatus>)`](crate::operation::create_project::CreateProjectOutput::project_status): <p>The status of the Amazon DataZone project that was created.</p>
    ///   - [`failure_reasons(Option<Vec::<ProjectDeletionError>>)`](crate::operation::create_project::CreateProjectOutput::failure_reasons): <p>Specifies the error message that is returned if the operation cannot be successfully completed.</p>
    ///   - [`created_by(String)`](crate::operation::create_project::CreateProjectOutput::created_by): <p>The Amazon DataZone user who created the project.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::create_project::CreateProjectOutput::created_at): <p>The timestamp of when the project was created.</p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::create_project::CreateProjectOutput::last_updated_at): <p>The timestamp of when the project was last updated.</p>
    ///   - [`glossary_terms(Option<Vec::<String>>)`](crate::operation::create_project::CreateProjectOutput::glossary_terms): <p>The glossary terms that can be used in the project.</p>
    ///   - [`domain_unit_id(Option<String>)`](crate::operation::create_project::CreateProjectOutput::domain_unit_id): <p>The ID of the domain unit.</p>
    ///   - [`project_profile_id(Option<String>)`](crate::operation::create_project::CreateProjectOutput::project_profile_id): <p>The project profile ID.</p>
    ///   - [`user_parameters(Option<Vec::<EnvironmentConfigurationUserParameter>>)`](crate::operation::create_project::CreateProjectOutput::user_parameters): <p>The user parameters of the project.</p>
    ///   - [`environment_deployment_details(Option<EnvironmentDeploymentDetails>)`](crate::operation::create_project::CreateProjectOutput::environment_deployment_details): <p>The environment deployment details.</p>
    /// - On failure, responds with [`SdkError<CreateProjectError>`](crate::operation::create_project::CreateProjectError)
    pub fn create_project(&self) -> crate::operation::create_project::builders::CreateProjectFluentBuilder {
        crate::operation::create_project::builders::CreateProjectFluentBuilder::new(self.handle.clone())
    }
}