aws_sdk_ssoadmin/client/
list_application_assignments.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 [`ListApplicationAssignments`](crate::operation::list_application_assignments::builders::ListApplicationAssignmentsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_application_assignments::builders::ListApplicationAssignmentsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`application_arn(impl Into<String>)`](crate::operation::list_application_assignments::builders::ListApplicationAssignmentsFluentBuilder::application_arn) / [`set_application_arn(Option<String>)`](crate::operation::list_application_assignments::builders::ListApplicationAssignmentsFluentBuilder::set_application_arn):<br>required: **true**<br><p>Specifies the ARN of the application.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_application_assignments::builders::ListApplicationAssignmentsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_application_assignments::builders::ListApplicationAssignmentsFluentBuilder::set_max_results):<br>required: **false**<br><p>Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the <code>NextToken</code> response element is returned with a value (not null). Include the specified value as the <code>NextToken</code> request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check <code>NextToken</code> after every operation to ensure that you receive all of the results.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_application_assignments::builders::ListApplicationAssignmentsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_application_assignments::builders::ListApplicationAssignmentsFluentBuilder::set_next_token):<br>required: **false**<br><p>Specifies that you want to receive the next page of results. Valid only if you received a <code>NextToken</code> response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's <code>NextToken</code> response to request the next page of results.</p><br>
10    /// - On success, responds with [`ListApplicationAssignmentsOutput`](crate::operation::list_application_assignments::ListApplicationAssignmentsOutput) with field(s):
11    ///   - [`application_assignments(Option<Vec::<ApplicationAssignment>>)`](crate::operation::list_application_assignments::ListApplicationAssignmentsOutput::application_assignments): <p>The list of users assigned to an application.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_application_assignments::ListApplicationAssignmentsOutput::next_token): <p>If present, this value indicates that more output is available than is included in the current response. Use this value in the <code>NextToken</code> request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the <code>NextToken</code> response element comes back as <code>null</code>. This indicates that this is the last page of results.</p>
13    /// - On failure, responds with [`SdkError<ListApplicationAssignmentsError>`](crate::operation::list_application_assignments::ListApplicationAssignmentsError)
14    pub fn list_application_assignments(&self) -> crate::operation::list_application_assignments::builders::ListApplicationAssignmentsFluentBuilder {
15        crate::operation::list_application_assignments::builders::ListApplicationAssignmentsFluentBuilder::new(self.handle.clone())
16    }
17}