Struct aws_sdk_glue::client::fluent_builders::StopCrawlerSchedule
source · pub struct StopCrawlerSchedule { /* private fields */ }Expand description
Fluent builder constructing a request to StopCrawlerSchedule.
Sets the schedule state of the specified crawler to NOT_SCHEDULED, but does not stop the crawler if it is already running.
Implementations§
source§impl StopCrawlerSchedule
impl StopCrawlerSchedule
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StopCrawlerSchedule, AwsResponseRetryClassifier>, SdkError<StopCrawlerScheduleError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StopCrawlerSchedule, AwsResponseRetryClassifier>, SdkError<StopCrawlerScheduleError>>
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<StopCrawlerScheduleOutput, SdkError<StopCrawlerScheduleError>>
pub async fn send(
self
) -> Result<StopCrawlerScheduleOutput, SdkError<StopCrawlerScheduleError>>
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 whose schedule state to set.
sourcepub fn set_crawler_name(self, input: Option<String>) -> Self
pub fn set_crawler_name(self, input: Option<String>) -> Self
Name of the crawler whose schedule state to set.
Trait Implementations§
source§impl Clone for StopCrawlerSchedule
impl Clone for StopCrawlerSchedule
source§fn clone(&self) -> StopCrawlerSchedule
fn clone(&self) -> StopCrawlerSchedule
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