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 [`ListPodIdentityAssociations`](crate::operation::list_pod_identity_associations::builders::ListPodIdentityAssociationsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_pod_identity_associations::builders::ListPodIdentityAssociationsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_name(impl Into<String>)`](crate::operation::list_pod_identity_associations::builders::ListPodIdentityAssociationsFluentBuilder::cluster_name) / [`set_cluster_name(Option<String>)`](crate::operation::list_pod_identity_associations::builders::ListPodIdentityAssociationsFluentBuilder::set_cluster_name):<br>required: **true**<br><p>The name of the cluster that the associations are in.</p><br>
    ///   - [`namespace(impl Into<String>)`](crate::operation::list_pod_identity_associations::builders::ListPodIdentityAssociationsFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::list_pod_identity_associations::builders::ListPodIdentityAssociationsFluentBuilder::set_namespace):<br>required: **false**<br><p>The name of the Kubernetes namespace inside the cluster that the associations are in.</p><br>
    ///   - [`service_account(impl Into<String>)`](crate::operation::list_pod_identity_associations::builders::ListPodIdentityAssociationsFluentBuilder::service_account) / [`set_service_account(Option<String>)`](crate::operation::list_pod_identity_associations::builders::ListPodIdentityAssociationsFluentBuilder::set_service_account):<br>required: **false**<br><p>The name of the Kubernetes service account that the associations use.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_pod_identity_associations::builders::ListPodIdentityAssociationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_pod_identity_associations::builders::ListPodIdentityAssociationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of EKS Pod Identity association results returned by <code>ListPodIdentityAssociations</code> in paginated output. When you use this parameter, <code>ListPodIdentityAssociations</code> returns only <code>maxResults</code> results 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 <code>ListPodIdentityAssociations</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 100. If you don't use this parameter, <code>ListPodIdentityAssociations</code> returns up to 100 results and a <code>nextToken</code> value if applicable.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_pod_identity_associations::builders::ListPodIdentityAssociationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_pod_identity_associations::builders::ListPodIdentityAssociationsFluentBuilder::set_next_token):<br>required: **false**<br><p>The <code>nextToken</code> value returned from a previous paginated <code>ListUpdates</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><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>
    /// - On success, responds with [`ListPodIdentityAssociationsOutput`](crate::operation::list_pod_identity_associations::ListPodIdentityAssociationsOutput) with field(s):
    ///   - [`associations(Option<Vec::<PodIdentityAssociationSummary>>)`](crate::operation::list_pod_identity_associations::ListPodIdentityAssociationsOutput::associations): <p>The list of summarized descriptions of the associations that are in the cluster and match any filters that you provided.</p> <p>Each summary is simplified by removing these fields compared to the full <code> <code>PodIdentityAssociation</code> </code>:</p> <ul>  <li>   <p>The IAM role: <code>roleArn</code></p></li>  <li>   <p>The timestamp that the association was created at: <code>createdAt</code></p></li>  <li>   <p>The most recent timestamp that the association was modified at:. <code>modifiedAt</code></p></li>  <li>   <p>The tags on the association: <code>tags</code></p></li> </ul>
    ///   - [`next_token(Option<String>)`](crate::operation::list_pod_identity_associations::ListPodIdentityAssociationsOutput::next_token): <p>The <code>nextToken</code> value to include in a future <code>ListPodIdentityAssociations</code> request. When the results of a <code>ListPodIdentityAssociations</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<ListPodIdentityAssociationsError>`](crate::operation::list_pod_identity_associations::ListPodIdentityAssociationsError)
    pub fn list_pod_identity_associations(
        &self,
    ) -> crate::operation::list_pod_identity_associations::builders::ListPodIdentityAssociationsFluentBuilder {
        crate::operation::list_pod_identity_associations::builders::ListPodIdentityAssociationsFluentBuilder::new(self.handle.clone())
    }
}