aws_sdk_arczonalshift/client/
list_autoshifts.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 [`ListAutoshifts`](crate::operation::list_autoshifts::builders::ListAutoshiftsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_autoshifts::builders::ListAutoshiftsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`next_token(impl Into<String>)`](crate::operation::list_autoshifts::builders::ListAutoshiftsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_autoshifts::builders::ListAutoshiftsFluentBuilder::set_next_token):<br>required: **false**<br><p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's <code>nextToken</code> response to request the next page of results.</p><br>
8    ///   - [`status(AutoshiftExecutionStatus)`](crate::operation::list_autoshifts::builders::ListAutoshiftsFluentBuilder::status) / [`set_status(Option<AutoshiftExecutionStatus>)`](crate::operation::list_autoshifts::builders::ListAutoshiftsFluentBuilder::set_status):<br>required: **false**<br><p>The status of the autoshift.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::list_autoshifts::builders::ListAutoshiftsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_autoshifts::builders::ListAutoshiftsFluentBuilder::set_max_results):<br>required: **false**<br><p>The number of objects that you want to return with this call.</p><br>
10    /// - On success, responds with [`ListAutoshiftsOutput`](crate::operation::list_autoshifts::ListAutoshiftsOutput) with field(s):
11    ///   - [`items(Option<Vec::<AutoshiftSummary>>)`](crate::operation::list_autoshifts::ListAutoshiftsOutput::items): <p>The items in the response list.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_autoshifts::ListAutoshiftsOutput::next_token): <p>Specifies that you want to receive the next page of results. Valid only if you received a <code>nextToken</code> response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's <code>nextToken</code> response to request the next page of results.</p>
13    /// - On failure, responds with [`SdkError<ListAutoshiftsError>`](crate::operation::list_autoshifts::ListAutoshiftsError)
14    pub fn list_autoshifts(&self) -> crate::operation::list_autoshifts::builders::ListAutoshiftsFluentBuilder {
15        crate::operation::list_autoshifts::builders::ListAutoshiftsFluentBuilder::new(self.handle.clone())
16    }
17}