aws_sdk_eks/client/list_capabilities.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 [`ListCapabilities`](crate::operation::list_capabilities::builders::ListCapabilitiesFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_capabilities::builders::ListCapabilitiesFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`cluster_name(impl Into<String>)`](crate::operation::list_capabilities::builders::ListCapabilitiesFluentBuilder::cluster_name) / [`set_cluster_name(Option<String>)`](crate::operation::list_capabilities::builders::ListCapabilitiesFluentBuilder::set_cluster_name):<br>required: **true**<br><p>The name of the Amazon EKS cluster for which you want to list capabilities.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_capabilities::builders::ListCapabilitiesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_capabilities::builders::ListCapabilitiesFluentBuilder::set_next_token):<br>required: **false**<br><p>The <code>nextToken</code> value returned from a previous paginated 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. This value is null when there are no more results to return.</p><br>
9 /// - [`max_results(i32)`](crate::operation::list_capabilities::builders::ListCapabilitiesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_capabilities::builders::ListCapabilitiesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value. If you don't specify a value, the default is 100 results.</p><br>
10 /// - On success, responds with [`ListCapabilitiesOutput`](crate::operation::list_capabilities::ListCapabilitiesOutput) with field(s):
11 /// - [`capabilities(Option<Vec::<CapabilitySummary>>)`](crate::operation::list_capabilities::ListCapabilitiesOutput::capabilities): <p>A list of capability summary objects, each containing basic information about a capability including its name, ARN, type, status, version, and timestamps.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::list_capabilities::ListCapabilitiesOutput::next_token): <p>The <code>nextToken</code> value to include in a future <code>ListCapabilities</code> request. When the results of a <code>ListCapabilities</code> request exceed <code>maxResults</code>, 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>
13 /// - On failure, responds with [`SdkError<ListCapabilitiesError>`](crate::operation::list_capabilities::ListCapabilitiesError)
14 pub fn list_capabilities(&self) -> crate::operation::list_capabilities::builders::ListCapabilitiesFluentBuilder {
15 crate::operation::list_capabilities::builders::ListCapabilitiesFluentBuilder::new(self.handle.clone())
16 }
17}