aws_sdk_eks/client/list_associated_access_policies.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 [`ListAssociatedAccessPolicies`](crate::operation::list_associated_access_policies::builders::ListAssociatedAccessPoliciesFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_associated_access_policies::builders::ListAssociatedAccessPoliciesFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`cluster_name(impl Into<String>)`](crate::operation::list_associated_access_policies::builders::ListAssociatedAccessPoliciesFluentBuilder::cluster_name) / [`set_cluster_name(Option<String>)`](crate::operation::list_associated_access_policies::builders::ListAssociatedAccessPoliciesFluentBuilder::set_cluster_name):<br>required: **true**<br><p>The name of your cluster.</p><br>
8 /// - [`principal_arn(impl Into<String>)`](crate::operation::list_associated_access_policies::builders::ListAssociatedAccessPoliciesFluentBuilder::principal_arn) / [`set_principal_arn(Option<String>)`](crate::operation::list_associated_access_policies::builders::ListAssociatedAccessPoliciesFluentBuilder::set_principal_arn):<br>required: **true**<br><p>The ARN of the IAM principal for the <code>AccessEntry</code>.</p><br>
9 /// - [`max_results(i32)`](crate::operation::list_associated_access_policies::builders::ListAssociatedAccessPoliciesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_associated_access_policies::builders::ListAssociatedAccessPoliciesFluentBuilder::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>
10 /// - [`next_token(impl Into<String>)`](crate::operation::list_associated_access_policies::builders::ListAssociatedAccessPoliciesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_associated_access_policies::builders::ListAssociatedAccessPoliciesFluentBuilder::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>
11 /// - On success, responds with [`ListAssociatedAccessPoliciesOutput`](crate::operation::list_associated_access_policies::ListAssociatedAccessPoliciesOutput) with field(s):
12 /// - [`cluster_name(Option<String>)`](crate::operation::list_associated_access_policies::ListAssociatedAccessPoliciesOutput::cluster_name): <p>The name of your cluster.</p>
13 /// - [`principal_arn(Option<String>)`](crate::operation::list_associated_access_policies::ListAssociatedAccessPoliciesOutput::principal_arn): <p>The ARN of the IAM principal for the <code>AccessEntry</code>.</p>
14 /// - [`next_token(Option<String>)`](crate::operation::list_associated_access_policies::ListAssociatedAccessPoliciesOutput::next_token): <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>
15 /// - [`associated_access_policies(Option<Vec::<AssociatedAccessPolicy>>)`](crate::operation::list_associated_access_policies::ListAssociatedAccessPoliciesOutput::associated_access_policies): <p>The list of access policies associated with the access entry.</p>
16 /// - On failure, responds with [`SdkError<ListAssociatedAccessPoliciesError>`](crate::operation::list_associated_access_policies::ListAssociatedAccessPoliciesError)
17 pub fn list_associated_access_policies(
18 &self,
19 ) -> crate::operation::list_associated_access_policies::builders::ListAssociatedAccessPoliciesFluentBuilder {
20 crate::operation::list_associated_access_policies::builders::ListAssociatedAccessPoliciesFluentBuilder::new(self.handle.clone())
21 }
22}