aws_sdk_redshiftserverless/client/
list_scheduled_actions.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`ListScheduledActions`](crate::operation::list_scheduled_actions::builders::ListScheduledActionsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_scheduled_actions::builders::ListScheduledActionsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`next_token(impl Into<String>)`](crate::operation::list_scheduled_actions::builders::ListScheduledActionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_scheduled_actions::builders::ListScheduledActionsFluentBuilder::set_next_token):<br>required: **false**<br><p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_scheduled_actions::builders::ListScheduledActionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_scheduled_actions::builders::ListScheduledActionsFluentBuilder::set_max_results):<br>required: **false**<br><p>An optional parameter that specifies the maximum number of results to return. Use <code>nextToken</code> to display the next page of results.</p><br>
9    ///   - [`namespace_name(impl Into<String>)`](crate::operation::list_scheduled_actions::builders::ListScheduledActionsFluentBuilder::namespace_name) / [`set_namespace_name(Option<String>)`](crate::operation::list_scheduled_actions::builders::ListScheduledActionsFluentBuilder::set_namespace_name):<br>required: **false**<br><p>The name of namespace associated with the scheduled action to retrieve.</p><br>
10    /// - On success, responds with [`ListScheduledActionsOutput`](crate::operation::list_scheduled_actions::ListScheduledActionsOutput) with field(s):
11    ///   - [`next_token(Option<String>)`](crate::operation::list_scheduled_actions::ListScheduledActionsOutput::next_token): <p>If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.</p>
12    ///   - [`scheduled_actions(Option<Vec::<ScheduledActionAssociation>>)`](crate::operation::list_scheduled_actions::ListScheduledActionsOutput::scheduled_actions): <p>All of the returned scheduled action association objects.</p>
13    /// - On failure, responds with [`SdkError<ListScheduledActionsError>`](crate::operation::list_scheduled_actions::ListScheduledActionsError)
14    pub fn list_scheduled_actions(&self) -> crate::operation::list_scheduled_actions::builders::ListScheduledActionsFluentBuilder {
15        crate::operation::list_scheduled_actions::builders::ListScheduledActionsFluentBuilder::new(self.handle.clone())
16    }
17}