aws_sdk_databrew/client/
start_project_session.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StartProjectSession`](crate::operation::start_project_session::builders::StartProjectSessionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::start_project_session::builders::StartProjectSessionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::start_project_session::builders::StartProjectSessionFluentBuilder::set_name):<br>required: **true**<br><p>The name of the project to act upon.</p><br>
    ///   - [`assume_control(bool)`](crate::operation::start_project_session::builders::StartProjectSessionFluentBuilder::assume_control) / [`set_assume_control(Option<bool>)`](crate::operation::start_project_session::builders::StartProjectSessionFluentBuilder::set_assume_control):<br>required: **false**<br><p>A value that, if true, enables you to take control of a session, even if a different client is currently accessing the project.</p><br>
    /// - On success, responds with [`StartProjectSessionOutput`](crate::operation::start_project_session::StartProjectSessionOutput) with field(s):
    ///   - [`name(String)`](crate::operation::start_project_session::StartProjectSessionOutput::name): <p>The name of the project to be acted upon.</p>
    ///   - [`client_session_id(Option<String>)`](crate::operation::start_project_session::StartProjectSessionOutput::client_session_id): <p>A system-generated identifier for the session.</p>
    /// - On failure, responds with [`SdkError<StartProjectSessionError>`](crate::operation::start_project_session::StartProjectSessionError)
    pub fn start_project_session(&self) -> crate::operation::start_project_session::builders::StartProjectSessionFluentBuilder {
        crate::operation::start_project_session::builders::StartProjectSessionFluentBuilder::new(self.handle.clone())
    }
}