Struct aws_sdk_glue::client::fluent_builders::UpdateCrawlerSchedule
source · pub struct UpdateCrawlerSchedule { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateCrawlerSchedule.
Updates the schedule of a crawler using a cron expression.
Implementations§
source§impl UpdateCrawlerSchedule
impl UpdateCrawlerSchedule
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateCrawlerSchedule, AwsResponseRetryClassifier>, SdkError<UpdateCrawlerScheduleError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateCrawlerSchedule, AwsResponseRetryClassifier>, SdkError<UpdateCrawlerScheduleError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateCrawlerScheduleOutput, SdkError<UpdateCrawlerScheduleError>>
pub async fn send(
self
) -> Result<UpdateCrawlerScheduleOutput, SdkError<UpdateCrawlerScheduleError>>
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, which can be set when configuring the client.
sourcepub fn crawler_name(self, input: impl Into<String>) -> Self
pub fn crawler_name(self, input: impl Into<String>) -> Self
The name of the crawler whose schedule to update.
sourcepub fn set_crawler_name(self, input: Option<String>) -> Self
pub fn set_crawler_name(self, input: Option<String>) -> Self
The name of the crawler whose schedule to update.
sourcepub fn schedule(self, input: impl Into<String>) -> Self
pub fn schedule(self, input: impl Into<String>) -> Self
The updated cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).
sourcepub fn set_schedule(self, input: Option<String>) -> Self
pub fn set_schedule(self, input: Option<String>) -> Self
The updated cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).
Trait Implementations§
source§impl Clone for UpdateCrawlerSchedule
impl Clone for UpdateCrawlerSchedule
source§fn clone(&self) -> UpdateCrawlerSchedule
fn clone(&self) -> UpdateCrawlerSchedule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more