Struct aws_sdk_databrew::input::UpdateScheduleInput
source · #[non_exhaustive]pub struct UpdateScheduleInput { /* private fields */ }
Implementations§
source§impl UpdateScheduleInput
impl UpdateScheduleInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateSchedule, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateSchedule, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateSchedule
>
Examples found in repository?
src/client.rs (line 5412)
5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateSchedule,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateScheduleError>,
> {
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::UpdateScheduleOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateScheduleError>,
> {
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 UpdateScheduleInput
.
source§impl UpdateScheduleInput
impl UpdateScheduleInput
sourcepub fn job_names(&self) -> Option<&[String]>
pub fn job_names(&self) -> Option<&[String]>
The name or names of one or more jobs to be run for this schedule.
sourcepub fn cron_expression(&self) -> Option<&str>
pub fn cron_expression(&self) -> Option<&str>
The date or dates and time or times when the jobs are to be run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.
Trait Implementations§
source§impl Clone for UpdateScheduleInput
impl Clone for UpdateScheduleInput
source§fn clone(&self) -> UpdateScheduleInput
fn clone(&self) -> UpdateScheduleInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more