Struct aws_sdk_scheduler::client::fluent_builders::ListSchedules
source · pub struct ListSchedules { /* private fields */ }Expand description
Fluent builder constructing a request to ListSchedules.
Returns a paginated list of your EventBridge Scheduler schedules.
Implementations§
source§impl ListSchedules
impl ListSchedules
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListSchedules, AwsResponseRetryClassifier>, SdkError<ListSchedulesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListSchedules, AwsResponseRetryClassifier>, SdkError<ListSchedulesError>>
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<ListSchedulesOutput, SdkError<ListSchedulesError>>
pub async fn send(
self
) -> Result<ListSchedulesOutput, SdkError<ListSchedulesError>>
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 into_paginator(self) -> ListSchedulesPaginator
pub fn into_paginator(self) -> ListSchedulesPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
If specified, only lists the schedules whose associated schedule group matches the given filter.
sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
If specified, only lists the schedules whose associated schedule group matches the given filter.
sourcepub fn name_prefix(self, input: impl Into<String>) -> Self
pub fn name_prefix(self, input: impl Into<String>) -> Self
Schedule name prefix to return the filtered list of resources.
sourcepub fn set_name_prefix(self, input: Option<String>) -> Self
pub fn set_name_prefix(self, input: Option<String>) -> Self
Schedule name prefix to return the filtered list of resources.
sourcepub fn state(self, input: ScheduleState) -> Self
pub fn state(self, input: ScheduleState) -> Self
If specified, only lists the schedules whose current state matches the given filter.
sourcepub fn set_state(self, input: Option<ScheduleState>) -> Self
pub fn set_state(self, input: Option<ScheduleState>) -> Self
If specified, only lists the schedules whose current state matches the given filter.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token returned by a previous call to retrieve the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token returned by a previous call to retrieve the next set of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
If specified, limits the number of results returned by this operation. The operation also returns a NextToken which you can use in a subsequent operation to retrieve the next set of results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
If specified, limits the number of results returned by this operation. The operation also returns a NextToken which you can use in a subsequent operation to retrieve the next set of results.
Trait Implementations§
source§impl Clone for ListSchedules
impl Clone for ListSchedules
source§fn clone(&self) -> ListSchedules
fn clone(&self) -> ListSchedules
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more