aws_sdk_mpa/client/
list_identity_sources.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 [`ListIdentitySources`](crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`max_results(i32)`](crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return in the response. If more results exist than the specified <code>MaxResults</code> value, a token is included in the response so that you can retrieve the remaining results.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder::set_next_token):<br>required: **false**<br><p>If present, 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 next call to the operation to get more output. You can repeat this until the <code>NextToken</code> response element returns <code>null</code>.</p><br>
9    /// - On success, responds with [`ListIdentitySourcesOutput`](crate::operation::list_identity_sources::ListIdentitySourcesOutput) with field(s):
10    ///   - [`next_token(Option<String>)`](crate::operation::list_identity_sources::ListIdentitySourcesOutput::next_token): <p>If present, 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 next call to the operation to get more output. You can repeat this until the <code>NextToken</code> response element returns <code>null</code>.</p>
11    ///   - [`identity_sources(Option<Vec::<IdentitySourceForList>>)`](crate::operation::list_identity_sources::ListIdentitySourcesOutput::identity_sources): <p>A <code>IdentitySources</code>. Contains details for identity sources.</p>
12    /// - On failure, responds with [`SdkError<ListIdentitySourcesError>`](crate::operation::list_identity_sources::ListIdentitySourcesError)
13    pub fn list_identity_sources(&self) -> crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder {
14        crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder::new(self.handle.clone())
15    }
16}