pub struct DeleteScheduleFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteSchedule.
Deletes the specified schedule.
Implementations§
source§impl DeleteScheduleFluentBuilder
impl DeleteScheduleFluentBuilder
sourcepub fn as_input(&self) -> &DeleteScheduleInputBuilder
pub fn as_input(&self) -> &DeleteScheduleInputBuilder
Access the DeleteSchedule as a reference.
sourcepub async fn send(
self
) -> Result<DeleteScheduleOutput, SdkError<DeleteScheduleError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteScheduleOutput, SdkError<DeleteScheduleError, HttpResponse>>
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 async fn customize(
self
) -> Result<CustomizableOperation<DeleteScheduleOutput, DeleteScheduleError>, SdkError<DeleteScheduleError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DeleteScheduleOutput, DeleteScheduleError>, SdkError<DeleteScheduleError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The name of the schedule group associated with this schedule. If you omit this, the default schedule group is used.
sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
The name of the schedule group associated with this schedule. If you omit this, the default schedule group is used.
sourcepub fn get_group_name(&self) -> &Option<String>
pub fn get_group_name(&self) -> &Option<String>
The name of the schedule group associated with this schedule. If you omit this, the default schedule group is used.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure idempotency.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure idempotency.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, EventBridge Scheduler uses a randomly generated token for the request to ensure idempotency.
Trait Implementations§
source§impl Clone for DeleteScheduleFluentBuilder
impl Clone for DeleteScheduleFluentBuilder
source§fn clone(&self) -> DeleteScheduleFluentBuilder
fn clone(&self) -> DeleteScheduleFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more