1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListEksAnywhereSubscriptions`](crate::operation::list_eks_anywhere_subscriptions::builders::ListEksAnywhereSubscriptionsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_eks_anywhere_subscriptions::builders::ListEksAnywhereSubscriptionsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_eks_anywhere_subscriptions::builders::ListEksAnywhereSubscriptionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_eks_anywhere_subscriptions::builders::ListEksAnywhereSubscriptionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of cluster results returned by ListEksAnywhereSubscriptions in paginated output. When you use this parameter, ListEksAnywhereSubscriptions returns only maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another ListEksAnywhereSubscriptions request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, ListEksAnywhereSubscriptions returns up to 10 results and a nextToken value if applicable.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_eks_anywhere_subscriptions::builders::ListEksAnywhereSubscriptionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_eks_anywhere_subscriptions::builders::ListEksAnywhereSubscriptionsFluentBuilder::set_next_token):<br>required: **false**<br><p>The <code>nextToken</code> value returned from a previous paginated <code>ListEksAnywhereSubscriptions</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value.</p><br>
    ///   - [`include_status(EksAnywhereSubscriptionStatus)`](crate::operation::list_eks_anywhere_subscriptions::builders::ListEksAnywhereSubscriptionsFluentBuilder::include_status) / [`set_include_status(Option<Vec::<EksAnywhereSubscriptionStatus>>)`](crate::operation::list_eks_anywhere_subscriptions::builders::ListEksAnywhereSubscriptionsFluentBuilder::set_include_status):<br>required: **false**<br><p>An array of subscription statuses to filter on.</p><br>
    /// - On success, responds with [`ListEksAnywhereSubscriptionsOutput`](crate::operation::list_eks_anywhere_subscriptions::ListEksAnywhereSubscriptionsOutput) with field(s):
    ///   - [`subscriptions(Option<Vec::<EksAnywhereSubscription>>)`](crate::operation::list_eks_anywhere_subscriptions::ListEksAnywhereSubscriptionsOutput::subscriptions): <p>A list of all subscription objects in the region, filtered by includeStatus and paginated by nextToken and maxResults.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_eks_anywhere_subscriptions::ListEksAnywhereSubscriptionsOutput::next_token): <p>The nextToken value to include in a future ListEksAnywhereSubscriptions request. When the results of a ListEksAnywhereSubscriptions request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.</p>
    /// - On failure, responds with [`SdkError<ListEksAnywhereSubscriptionsError>`](crate::operation::list_eks_anywhere_subscriptions::ListEksAnywhereSubscriptionsError)
    pub fn list_eks_anywhere_subscriptions(
        &self,
    ) -> crate::operation::list_eks_anywhere_subscriptions::builders::ListEksAnywhereSubscriptionsFluentBuilder {
        crate::operation::list_eks_anywhere_subscriptions::builders::ListEksAnywhereSubscriptionsFluentBuilder::new(self.handle.clone())
    }
}