pub struct Builder { /* private fields */ }
Expand description

Implementations§

If true, the result of the recipe step will be returned, but not applied.

Examples found in repository?
src/client.rs (line 4044)
4043
4044
4045
4046
        pub fn preview(mut self, input: bool) -> Self {
            self.inner = self.inner.preview(input);
            self
        }

If true, the result of the recipe step will be returned, but not applied.

Examples found in repository?
src/client.rs (line 4049)
4048
4049
4050
4051
        pub fn set_preview(mut self, input: std::option::Option<bool>) -> Self {
            self.inner = self.inner.set_preview(input);
            self
        }

The name of the project to apply the action to.

Examples found in repository?
src/client.rs (line 4054)
4053
4054
4055
4056
        pub fn name(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.name(input.into());
            self
        }

The name of the project to apply the action to.

Examples found in repository?
src/client.rs (line 4059)
4058
4059
4060
4061
        pub fn set_name(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_name(input);
            self
        }

Represents a single step from a DataBrew recipe to be performed.

Examples found in repository?
src/client.rs (line 4064)
4063
4064
4065
4066
        pub fn recipe_step(mut self, input: crate::model::RecipeStep) -> Self {
            self.inner = self.inner.recipe_step(input);
            self
        }

Represents a single step from a DataBrew recipe to be performed.

Examples found in repository?
src/client.rs (line 4072)
4068
4069
4070
4071
4072
4073
4074
        pub fn set_recipe_step(
            mut self,
            input: std::option::Option<crate::model::RecipeStep>,
        ) -> Self {
            self.inner = self.inner.set_recipe_step(input);
            self
        }

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.

Examples found in repository?
src/client.rs (line 4077)
4076
4077
4078
4079
        pub fn step_index(mut self, input: i32) -> Self {
            self.inner = self.inner.step_index(input);
            self
        }

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.

Examples found in repository?
src/client.rs (line 4082)
4081
4082
4083
4084
        pub fn set_step_index(mut self, input: std::option::Option<i32>) -> Self {
            self.inner = self.inner.set_step_index(input);
            self
        }

A unique identifier for an interactive session that's currently open and ready for work. The action will be performed on this session.

Examples found in repository?
src/client.rs (line 4087)
4086
4087
4088
4089
        pub fn client_session_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.client_session_id(input.into());
            self
        }

A unique identifier for an interactive session that's currently open and ready for work. The action will be performed on this session.

Examples found in repository?
src/client.rs (line 4095)
4091
4092
4093
4094
4095
4096
4097
        pub fn set_client_session_id(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.inner = self.inner.set_client_session_id(input);
            self
        }

Represents the data being transformed during an action.

Examples found in repository?
src/client.rs (line 4100)
4099
4100
4101
4102
        pub fn view_frame(mut self, input: crate::model::ViewFrame) -> Self {
            self.inner = self.inner.view_frame(input);
            self
        }

Represents the data being transformed during an action.

Examples found in repository?
src/client.rs (line 4108)
4104
4105
4106
4107
4108
4109
4110
        pub fn set_view_frame(
            mut self,
            input: std::option::Option<crate::model::ViewFrame>,
        ) -> Self {
            self.inner = self.inner.set_view_frame(input);
            self
        }

Consumes the builder and constructs a SendProjectSessionActionInput.

Examples found in repository?
src/client.rs (line 4011)
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
        pub async fn customize(
            self,
        ) -> std::result::Result<
            crate::operation::customize::CustomizableOperation<
                crate::operation::SendProjectSessionAction,
                aws_http::retry::AwsResponseRetryClassifier,
            >,
            aws_smithy_http::result::SdkError<crate::error::SendProjectSessionActionError>,
        > {
            let handle = self.handle.clone();
            let operation = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            Ok(crate::operation::customize::CustomizableOperation { handle, operation })
        }

        /// Sends the request and returns the response.
        ///
        /// If an error occurs, an `SdkError` will be returned with additional details that
        /// can be matched against.
        ///
        /// By default, any retryable failures will be retried twice. Retry behavior
        /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
        /// set when configuring the client.
        pub async fn send(
            self,
        ) -> std::result::Result<
            crate::output::SendProjectSessionActionOutput,
            aws_smithy_http::result::SdkError<crate::error::SendProjectSessionActionError>,
        > {
            let op = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&self.handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            self.handle.client.call(op).await
        }

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more