Struct aws_sdk_databrew::input::UpdateProfileJobInput
source · #[non_exhaustive]pub struct UpdateProfileJobInput { /* private fields */ }
Implementations§
source§impl UpdateProfileJobInput
impl UpdateProfileJobInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateProfileJob, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateProfileJob, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateProfileJob
>
Examples found in repository?
4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateProfileJob,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateProfileJobError>,
> {
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::UpdateProfileJobOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateProfileJobError>,
> {
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 UpdateProfileJobInput
.
source§impl UpdateProfileJobInput
impl UpdateProfileJobInput
sourcepub fn configuration(&self) -> Option<&ProfileConfiguration>
pub fn configuration(&self) -> Option<&ProfileConfiguration>
Configuration for profile jobs. Used to select columns, do evaluations, and override default parameters of evaluations. When configuration is null, the profile job will run with default settings.
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 compute nodes that DataBrew can use 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 output_location(&self) -> Option<&S3Location>
pub fn output_location(&self) -> Option<&S3Location>
Represents an Amazon S3 location (bucket name, bucket owner, and object key) where DataBrew can read input data, or write output from a job.
sourcepub fn validation_configurations(&self) -> Option<&[ValidationConfiguration]>
pub fn validation_configurations(&self) -> Option<&[ValidationConfiguration]>
List of validation configurations that are applied to the profile job.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.
sourcepub fn timeout(&self) -> i32
pub fn timeout(&self) -> i32
The job's timeout in minutes. A job that attempts to run longer than this timeout period ends with a status of TIMEOUT
.
sourcepub fn job_sample(&self) -> Option<&JobSample>
pub fn job_sample(&self) -> Option<&JobSample>
Sample configuration for Profile Jobs only. Determines the number of rows on which the Profile job will be executed. If a JobSample value is not provided for profile jobs, the default value will be used. The default value is CUSTOM_ROWS for the mode parameter and 20000 for the size parameter.
Trait Implementations§
source§impl Clone for UpdateProfileJobInput
impl Clone for UpdateProfileJobInput
source§fn clone(&self) -> UpdateProfileJobInput
fn clone(&self) -> UpdateProfileJobInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more