aws_sdk_datazone/client/
get_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 [`GetProject`](crate::operation::get_project::builders::GetProjectFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::get_project::builders::GetProjectFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::get_project::builders::GetProjectFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which the project exists.</p><br>
7    ///   - [`identifier(impl Into<String>)`](crate::operation::get_project::builders::GetProjectFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_project::builders::GetProjectFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the project.</p><br>
8    /// - On success, responds with [`GetProjectOutput`](crate::operation::get_project::GetProjectOutput) with field(s):
9    ///   - [`domain_id(String)`](crate::operation::get_project::GetProjectOutput::domain_id): <p>The ID of the Amazon DataZone domain in which the project exists.</p>
10    ///   - [`id(String)`](crate::operation::get_project::GetProjectOutput::id): <p>&gt;The ID of the project.</p>
11    ///   - [`name(String)`](crate::operation::get_project::GetProjectOutput::name): <p>The name of the project.</p>
12    ///   - [`description(Option<String>)`](crate::operation::get_project::GetProjectOutput::description): <p>The description of the project.</p>
13    ///   - [`project_status(Option<ProjectStatus>)`](crate::operation::get_project::GetProjectOutput::project_status): <p>The status of the project.</p>
14    ///   - [`failure_reasons(Option<Vec::<ProjectDeletionError>>)`](crate::operation::get_project::GetProjectOutput::failure_reasons): <p>Specifies the error message that is returned if the operation cannot be successfully completed.</p>
15    ///   - [`created_by(String)`](crate::operation::get_project::GetProjectOutput::created_by): <p>The Amazon DataZone user who created the project.</p>
16    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_project::GetProjectOutput::created_at): <p>The timestamp of when the project was created.</p>
17    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::get_project::GetProjectOutput::last_updated_at): <p>The timestamp of when the project was last updated.</p>
18    ///   - [`glossary_terms(Option<Vec::<String>>)`](crate::operation::get_project::GetProjectOutput::glossary_terms): <p>The business glossary terms that can be used in the project.</p>
19    ///   - [`domain_unit_id(Option<String>)`](crate::operation::get_project::GetProjectOutput::domain_unit_id): <p>The ID of the domain unit.</p>
20    ///   - [`project_profile_id(Option<String>)`](crate::operation::get_project::GetProjectOutput::project_profile_id): <p>The ID of the project profile of a project.</p>
21    ///   - [`user_parameters(Option<Vec::<EnvironmentConfigurationUserParameter>>)`](crate::operation::get_project::GetProjectOutput::user_parameters): <p>The user parameters of a project.</p>
22    ///   - [`environment_deployment_details(Option<EnvironmentDeploymentDetails>)`](crate::operation::get_project::GetProjectOutput::environment_deployment_details): <p>The environment deployment status of a project.</p>
23    /// - On failure, responds with [`SdkError<GetProjectError>`](crate::operation::get_project::GetProjectError)
24    pub fn get_project(&self) -> crate::operation::get_project::builders::GetProjectFluentBuilder {
25        crate::operation::get_project::builders::GetProjectFluentBuilder::new(self.handle.clone())
26    }
27}