aws_sdk_databrew/client/
describe_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
// 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:
    ///   - [`name(impl Into<String>)`](crate::operation::describe_project::builders::DescribeProjectFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::describe_project::builders::DescribeProjectFluentBuilder::set_name):<br>required: **true**<br><p>The name of the project to be described.</p><br>
    /// - On success, responds with [`DescribeProjectOutput`](crate::operation::describe_project::DescribeProjectOutput) with field(s):
    ///   - [`create_date(Option<DateTime>)`](crate::operation::describe_project::DescribeProjectOutput::create_date): <p>The date and time that the project was created.</p>
    ///   - [`created_by(Option<String>)`](crate::operation::describe_project::DescribeProjectOutput::created_by): <p>The identifier (user name) of the user who created the project.</p>
    ///   - [`dataset_name(Option<String>)`](crate::operation::describe_project::DescribeProjectOutput::dataset_name): <p>The dataset associated with the project.</p>
    ///   - [`last_modified_date(Option<DateTime>)`](crate::operation::describe_project::DescribeProjectOutput::last_modified_date): <p>The date and time that the project was last modified.</p>
    ///   - [`last_modified_by(Option<String>)`](crate::operation::describe_project::DescribeProjectOutput::last_modified_by): <p>The identifier (user name) of the user who last modified the project.</p>
    ///   - [`name(String)`](crate::operation::describe_project::DescribeProjectOutput::name): <p>The name of the project.</p>
    ///   - [`recipe_name(Option<String>)`](crate::operation::describe_project::DescribeProjectOutput::recipe_name): <p>The recipe associated with this job.</p>
    ///   - [`resource_arn(Option<String>)`](crate::operation::describe_project::DescribeProjectOutput::resource_arn): <p>The Amazon Resource Name (ARN) of the project.</p>
    ///   - [`sample(Option<Sample>)`](crate::operation::describe_project::DescribeProjectOutput::sample): <p>Represents the sample size and sampling type for DataBrew to use for interactive data analysis.</p>
    ///   - [`role_arn(Option<String>)`](crate::operation::describe_project::DescribeProjectOutput::role_arn): <p>The ARN of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::describe_project::DescribeProjectOutput::tags): <p>Metadata tags associated with this project.</p>
    ///   - [`session_status(Option<SessionStatus>)`](crate::operation::describe_project::DescribeProjectOutput::session_status): <p>Describes the current state of the session:</p> <ul>  <li>   <p><code>PROVISIONING</code> - allocating resources for the session.</p></li>  <li>   <p><code>INITIALIZING</code> - getting the session ready for first use.</p></li>  <li>   <p><code>ASSIGNED</code> - the session is ready for use.</p></li> </ul>
    ///   - [`opened_by(Option<String>)`](crate::operation::describe_project::DescribeProjectOutput::opened_by): <p>The identifier (user name) of the user that opened the project for use.</p>
    ///   - [`open_date(Option<DateTime>)`](crate::operation::describe_project::DescribeProjectOutput::open_date): <p>The date and time when the project was opened.</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())
    }
}