aws_sdk_codestar/client/
describe_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 [`DescribeProject`](crate::operation::describe_project::builders::DescribeProjectFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::describe_project::builders::DescribeProjectFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::describe_project::builders::DescribeProjectFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the project.</p><br>
7    /// - On success, responds with [`DescribeProjectOutput`](crate::operation::describe_project::DescribeProjectOutput) with field(s):
8    ///   - [`name(Option<String>)`](crate::operation::describe_project::DescribeProjectOutput::name): <p>The display name for the project.</p>
9    ///   - [`id(Option<String>)`](crate::operation::describe_project::DescribeProjectOutput::id): <p>The ID of the project.</p>
10    ///   - [`arn(Option<String>)`](crate::operation::describe_project::DescribeProjectOutput::arn): <p>The Amazon Resource Name (ARN) for the project.</p>
11    ///   - [`description(Option<String>)`](crate::operation::describe_project::DescribeProjectOutput::description): <p>The description of the project, if any.</p>
12    ///   - [`client_request_token(Option<String>)`](crate::operation::describe_project::DescribeProjectOutput::client_request_token): <p>A user- or system-generated token that identifies the entity that requested project creation.</p>
13    ///   - [`created_time_stamp(Option<DateTime>)`](crate::operation::describe_project::DescribeProjectOutput::created_time_stamp): <p>The date and time the project was created, in timestamp format.</p>
14    ///   - [`stack_id(Option<String>)`](crate::operation::describe_project::DescribeProjectOutput::stack_id): <p>The ID of the primary stack in AWS CloudFormation used to generate resources for the project.</p>
15    ///   - [`project_template_id(Option<String>)`](crate::operation::describe_project::DescribeProjectOutput::project_template_id): <p>The ID for the AWS CodeStar project template used to create the project.</p>
16    ///   - [`status(Option<ProjectStatus>)`](crate::operation::describe_project::DescribeProjectOutput::status): <p>The project creation or deletion status.</p>
17    /// - On failure, responds with [`SdkError<DescribeProjectError>`](crate::operation::describe_project::DescribeProjectError)
18    pub fn describe_project(&self) -> crate::operation::describe_project::builders::DescribeProjectFluentBuilder {
19        crate::operation::describe_project::builders::DescribeProjectFluentBuilder::new(self.handle.clone())
20    }
21}