1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeProject`](crate::operation::describe_project::builders::DescribeProjectFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`project_id(impl Into<String>)`](crate::operation::describe_project::builders::DescribeProjectFluentBuilder::project_id) / [`set_project_id(Option<String>)`](crate::operation::describe_project::builders::DescribeProjectFluentBuilder::set_project_id):<br>required: **true**<br><p>The ID of the project.</p><br>
    /// - On success, responds with [`DescribeProjectOutput`](crate::operation::describe_project::DescribeProjectOutput) with field(s):
    ///   - [`project_id(String)`](crate::operation::describe_project::DescribeProjectOutput::project_id): <p>The ID of the project.</p>
    ///   - [`project_arn(String)`](crate::operation::describe_project::DescribeProjectOutput::project_arn): <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of the project, which has the following format.</p> <p><code>arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}</code></p>
    ///   - [`project_name(String)`](crate::operation::describe_project::DescribeProjectOutput::project_name): <p>The name of the project.</p>
    ///   - [`portal_id(String)`](crate::operation::describe_project::DescribeProjectOutput::portal_id): <p>The ID of the portal that the project is in.</p>
    ///   - [`project_description(Option<String>)`](crate::operation::describe_project::DescribeProjectOutput::project_description): <p>The project's description.</p>
    ///   - [`project_creation_date(DateTime)`](crate::operation::describe_project::DescribeProjectOutput::project_creation_date): <p>The date the project was created, in Unix epoch time.</p>
    ///   - [`project_last_update_date(DateTime)`](crate::operation::describe_project::DescribeProjectOutput::project_last_update_date): <p>The date the project was last updated, in Unix epoch time.</p>
    /// - On failure, responds with [`SdkError<DescribeProjectError>`](crate::operation::describe_project::DescribeProjectError)
    pub fn describe_project(&self) -> crate::operation::describe_project::builders::DescribeProjectFluentBuilder {
        crate::operation::describe_project::builders::DescribeProjectFluentBuilder::new(self.handle.clone())
    }
}