Struct aws_sdk_glue::client::fluent_builders::StartCrawlerSchedule
source · pub struct StartCrawlerSchedule { /* private fields */ }Expand description
Fluent builder constructing a request to StartCrawlerSchedule.
Changes the schedule state of the specified crawler to SCHEDULED, unless the crawler is already running or the schedule state is already SCHEDULED.
Implementations§
source§impl StartCrawlerSchedule
impl StartCrawlerSchedule
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartCrawlerSchedule, AwsResponseRetryClassifier>, SdkError<StartCrawlerScheduleError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StartCrawlerSchedule, AwsResponseRetryClassifier>, SdkError<StartCrawlerScheduleError>>
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<StartCrawlerScheduleOutput, SdkError<StartCrawlerScheduleError>>
pub async fn send(
self
) -> Result<StartCrawlerScheduleOutput, SdkError<StartCrawlerScheduleError>>
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
Name of the crawler to schedule.
sourcepub fn set_crawler_name(self, input: Option<String>) -> Self
pub fn set_crawler_name(self, input: Option<String>) -> Self
Name of the crawler to schedule.
Trait Implementations§
source§impl Clone for StartCrawlerSchedule
impl Clone for StartCrawlerSchedule
source§fn clone(&self) -> StartCrawlerSchedule
fn clone(&self) -> StartCrawlerSchedule
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