Struct aws_sdk_databrew::input::UpdateRecipeJobInput
source · #[non_exhaustive]pub struct UpdateRecipeJobInput { /* private fields */ }
Implementations§
source§impl UpdateRecipeJobInput
impl UpdateRecipeJobInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateRecipeJob, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateRecipeJob, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateRecipeJob
>
Examples found in repository?
5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateRecipeJob,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateRecipeJobError>,
> {
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::UpdateRecipeJobOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateRecipeJobError>,
> {
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
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateRecipeJobInput
.
source§impl UpdateRecipeJobInput
impl UpdateRecipeJobInput
sourcepub fn encryption_key_arn(&self) -> Option<&str>
pub fn encryption_key_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.
sourcepub fn encryption_mode(&self) -> Option<&EncryptionMode>
pub fn encryption_mode(&self) -> Option<&EncryptionMode>
The encryption mode for the job, which can be one of the following:
-
SSE-KMS
- Server-side encryption with keys managed by KMS. -
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
sourcepub fn log_subscription(&self) -> Option<&LogSubscription>
pub fn log_subscription(&self) -> Option<&LogSubscription>
Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.
sourcepub fn max_capacity(&self) -> i32
pub fn max_capacity(&self) -> i32
The maximum number of nodes that DataBrew can consume when the job processes data.
sourcepub fn max_retries(&self) -> i32
pub fn max_retries(&self) -> i32
The maximum number of times to retry the job after a job run fails.
sourcepub fn outputs(&self) -> Option<&[Output]>
pub fn outputs(&self) -> Option<&[Output]>
One or more artifacts that represent the output from running the job.
sourcepub fn data_catalog_outputs(&self) -> Option<&[DataCatalogOutput]>
pub fn data_catalog_outputs(&self) -> Option<&[DataCatalogOutput]>
One or more artifacts that represent the Glue Data Catalog output from running the job.
sourcepub fn database_outputs(&self) -> Option<&[DatabaseOutput]>
pub fn database_outputs(&self) -> Option<&[DatabaseOutput]>
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
Trait Implementations§
source§impl Clone for UpdateRecipeJobInput
impl Clone for UpdateRecipeJobInput
source§fn clone(&self) -> UpdateRecipeJobInput
fn clone(&self) -> UpdateRecipeJobInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more