1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeAddonVersions`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`kubernetes_version(impl Into<String>)`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::kubernetes_version) / [`set_kubernetes_version(Option<String>)`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::set_kubernetes_version):<br>required: **false**<br><p>The Kubernetes versions that you can use the add-on with.</p><br>
    ///   - [`max_results(i32)`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results, returned in paginated output. You receive <code>maxResults</code> in a single page, along with a <code>nextToken</code> response element. You can see the remaining results of the initial request by sending another request with the returned <code>nextToken</code> value. This value can be between 1 and 100. If you don't use this parameter, 100 results and a <code>nextToken</code> value, if applicable, are returned.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::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><note>  <p>This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.</p> </note><br>
    ///   - [`addon_name(impl Into<String>)`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::addon_name) / [`set_addon_name(Option<String>)`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::set_addon_name):<br>required: **false**<br><p>The name of the add-on. The name must match one of the names returned by <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html"> <code>ListAddons</code> </a>.</p><br>
    ///   - [`types(impl Into<String>)`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::types) / [`set_types(Option<Vec::<String>>)`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::set_types):<br>required: **false**<br><p>The type of the add-on. For valid <code>types</code>, don't specify a value for this property.</p><br>
    ///   - [`publishers(impl Into<String>)`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::publishers) / [`set_publishers(Option<Vec::<String>>)`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::set_publishers):<br>required: **false**<br><p>The publisher of the add-on. For valid <code>publishers</code>, don't specify a value for this property.</p><br>
    ///   - [`owners(impl Into<String>)`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::owners) / [`set_owners(Option<Vec::<String>>)`](crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::set_owners):<br>required: **false**<br><p>The owner of the add-on. For valid <code>owners</code>, don't specify a value for this property.</p><br>
    /// - On success, responds with [`DescribeAddonVersionsOutput`](crate::operation::describe_addon_versions::DescribeAddonVersionsOutput) with field(s):
    ///   - [`addons(Option<Vec::<AddonInfo>>)`](crate::operation::describe_addon_versions::DescribeAddonVersionsOutput::addons): <p>The list of available versions with Kubernetes version compatibility and other properties.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_addon_versions::DescribeAddonVersionsOutput::next_token): <p>The <code>nextToken</code> value to include in a future <code>DescribeAddonVersions</code> request. When the results of a <code>DescribeAddonVersions</code> request exceed <code>maxResults</code>, you can use this value to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p><note>  <p>This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.</p> </note>
    /// - On failure, responds with [`SdkError<DescribeAddonVersionsError>`](crate::operation::describe_addon_versions::DescribeAddonVersionsError)
    pub fn describe_addon_versions(&self) -> crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder {
        crate::operation::describe_addon_versions::builders::DescribeAddonVersionsFluentBuilder::new(self.handle.clone())
    }
}