aws_sdk_ssoadmin/client/list_applications.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 [`ListApplications`](crate::operation::list_applications::builders::ListApplicationsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_applications::builders::ListApplicationsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`instance_arn(impl Into<String>)`](crate::operation::list_applications::builders::ListApplicationsFluentBuilder::instance_arn) / [`set_instance_arn(Option<String>)`](crate::operation::list_applications::builders::ListApplicationsFluentBuilder::set_instance_arn):<br>required: **true**<br><p>The ARN of the IAM Identity Center application under which the operation will run. For more information about ARNs, see <a href="/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces</a> in the <i>Amazon Web Services General Reference</i>.</p><br>
8 /// - [`max_results(i32)`](crate::operation::list_applications::builders::ListApplicationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_applications::builders::ListApplicationsFluentBuilder::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_applications::builders::ListApplicationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_applications::builders::ListApplicationsFluentBuilder::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 /// - [`filter(ListApplicationsFilter)`](crate::operation::list_applications::builders::ListApplicationsFluentBuilder::filter) / [`set_filter(Option<ListApplicationsFilter>)`](crate::operation::list_applications::builders::ListApplicationsFluentBuilder::set_filter):<br>required: **false**<br><p>Filters response results.</p><br>
11 /// - On success, responds with [`ListApplicationsOutput`](crate::operation::list_applications::ListApplicationsOutput) with field(s):
12 /// - [`applications(Option<Vec::<Application>>)`](crate::operation::list_applications::ListApplicationsOutput::applications): <p>Retrieves all applications associated with the instance.</p>
13 /// - [`next_token(Option<String>)`](crate::operation::list_applications::ListApplicationsOutput::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>
14 /// - On failure, responds with [`SdkError<ListApplicationsError>`](crate::operation::list_applications::ListApplicationsError)
15 pub fn list_applications(&self) -> crate::operation::list_applications::builders::ListApplicationsFluentBuilder {
16 crate::operation::list_applications::builders::ListApplicationsFluentBuilder::new(self.handle.clone())
17 }
18}