aws_sdk_databrew/client/
send_project_session_action.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`SendProjectSessionAction`](crate::operation::send_project_session_action::builders::SendProjectSessionActionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`preview(bool)`](crate::operation::send_project_session_action::builders::SendProjectSessionActionFluentBuilder::preview) / [`set_preview(Option<bool>)`](crate::operation::send_project_session_action::builders::SendProjectSessionActionFluentBuilder::set_preview):<br>required: **false**<br><p>If true, the result of the recipe step will be returned, but not applied.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::send_project_session_action::builders::SendProjectSessionActionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::send_project_session_action::builders::SendProjectSessionActionFluentBuilder::set_name):<br>required: **true**<br><p>The name of the project to apply the action to.</p><br>
    ///   - [`recipe_step(RecipeStep)`](crate::operation::send_project_session_action::builders::SendProjectSessionActionFluentBuilder::recipe_step) / [`set_recipe_step(Option<RecipeStep>)`](crate::operation::send_project_session_action::builders::SendProjectSessionActionFluentBuilder::set_recipe_step):<br>required: **false**<br><p>Represents a single step from a DataBrew recipe to be performed.</p><br>
    ///   - [`step_index(i32)`](crate::operation::send_project_session_action::builders::SendProjectSessionActionFluentBuilder::step_index) / [`set_step_index(Option<i32>)`](crate::operation::send_project_session_action::builders::SendProjectSessionActionFluentBuilder::set_step_index):<br>required: **false**<br><p>The index from which to preview a step. This index is used to preview the result of steps that have already been applied, so that the resulting view frame is from earlier in the view frame stack.</p><br>
    ///   - [`client_session_id(impl Into<String>)`](crate::operation::send_project_session_action::builders::SendProjectSessionActionFluentBuilder::client_session_id) / [`set_client_session_id(Option<String>)`](crate::operation::send_project_session_action::builders::SendProjectSessionActionFluentBuilder::set_client_session_id):<br>required: **false**<br><p>A unique identifier for an interactive session that's currently open and ready for work. The action will be performed on this session.</p><br>
    ///   - [`view_frame(ViewFrame)`](crate::operation::send_project_session_action::builders::SendProjectSessionActionFluentBuilder::view_frame) / [`set_view_frame(Option<ViewFrame>)`](crate::operation::send_project_session_action::builders::SendProjectSessionActionFluentBuilder::set_view_frame):<br>required: **false**<br><p>Represents the data being transformed during an action.</p><br>
    /// - On success, responds with [`SendProjectSessionActionOutput`](crate::operation::send_project_session_action::SendProjectSessionActionOutput) with field(s):
    ///   - [`result(Option<String>)`](crate::operation::send_project_session_action::SendProjectSessionActionOutput::result): <p>A message indicating the result of performing the action.</p>
    ///   - [`name(String)`](crate::operation::send_project_session_action::SendProjectSessionActionOutput::name): <p>The name of the project that was affected by the action.</p>
    ///   - [`action_id(Option<i32>)`](crate::operation::send_project_session_action::SendProjectSessionActionOutput::action_id): <p>A unique identifier for the action that was performed.</p>
    /// - On failure, responds with [`SdkError<SendProjectSessionActionError>`](crate::operation::send_project_session_action::SendProjectSessionActionError)
    pub fn send_project_session_action(&self) -> crate::operation::send_project_session_action::builders::SendProjectSessionActionFluentBuilder {
        crate::operation::send_project_session_action::builders::SendProjectSessionActionFluentBuilder::new(self.handle.clone())
    }
}