aws_sdk_databrew/client/
update_project.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateProject`](crate::operation::update_project::builders::UpdateProjectFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`sample(Sample)`](crate::operation::update_project::builders::UpdateProjectFluentBuilder::sample) / [`set_sample(Option<Sample>)`](crate::operation::update_project::builders::UpdateProjectFluentBuilder::set_sample):<br>required: **false**<br><p>Represents the sample size and sampling type for DataBrew to use for interactive data analysis.</p><br>
    ///   - [`role_arn(impl Into<String>)`](crate::operation::update_project::builders::UpdateProjectFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::update_project::builders::UpdateProjectFluentBuilder::set_role_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the IAM role to be assumed for this request.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_project::builders::UpdateProjectFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_project::builders::UpdateProjectFluentBuilder::set_name):<br>required: **true**<br><p>The name of the project to be updated.</p><br>
    /// - On success, responds with [`UpdateProjectOutput`](crate::operation::update_project::UpdateProjectOutput) with field(s):
    ///   - [`last_modified_date(Option<DateTime>)`](crate::operation::update_project::UpdateProjectOutput::last_modified_date): <p>The date and time that the project was last modified.</p>
    ///   - [`name(String)`](crate::operation::update_project::UpdateProjectOutput::name): <p>The name of the project that you updated.</p>
    /// - On failure, responds with [`SdkError<UpdateProjectError>`](crate::operation::update_project::UpdateProjectError)
    pub fn update_project(&self) -> crate::operation::update_project::builders::UpdateProjectFluentBuilder {
        crate::operation::update_project::builders::UpdateProjectFluentBuilder::new(self.handle.clone())
    }
}