Struct aws_sdk_databrew::input::CreateRecipeJobInput
source · #[non_exhaustive]pub struct CreateRecipeJobInput { /* private fields */ }
Implementations§
source§impl CreateRecipeJobInput
impl CreateRecipeJobInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRecipeJob, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRecipeJob, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateRecipeJob
>
Examples found in repository?
1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateRecipeJob,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateRecipeJobError>,
> {
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::CreateRecipeJobOutput,
aws_smithy_http::result::SdkError<crate::error::CreateRecipeJobError>,
> {
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 CreateRecipeJobInput
.
source§impl CreateRecipeJobInput
impl CreateRecipeJobInput
sourcepub fn dataset_name(&self) -> Option<&str>
pub fn dataset_name(&self) -> Option<&str>
The name of the dataset that this job processes.
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 name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A unique name for the job. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
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 to.
sourcepub fn project_name(&self) -> Option<&str>
pub fn project_name(&self) -> Option<&str>
Either the name of an existing project, or a combination of a recipe and a dataset to associate with the recipe.
sourcepub fn recipe_reference(&self) -> Option<&RecipeReference>
pub fn recipe_reference(&self) -> Option<&RecipeReference>
Represents the name and version of a DataBrew recipe.
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.
Metadata tags to apply to this job.
Trait Implementations§
source§impl Clone for CreateRecipeJobInput
impl Clone for CreateRecipeJobInput
source§fn clone(&self) -> CreateRecipeJobInput
fn clone(&self) -> CreateRecipeJobInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more