aws_sdk_verifiedpermissions/client/
list_identity_sources.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListIdentitySources`](crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`policy_store_id(impl Into<String>)`](crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder::policy_store_id) / [`set_policy_store_id(Option<String>)`](crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder::set_policy_store_id):<br>required: **true**<br><p>Specifies the ID of the policy store that contains the identity sources that you want to list.</p><br>
    ///   - [`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>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>
    ///   - [`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>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> <p>If you do not specify this parameter, the operation defaults to 10 identity sources per response. You can specify a maximum of 50 identity sources per response.</p><br>
    ///   - [`filters(IdentitySourceFilter)`](crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder::filters) / [`set_filters(Option<Vec::<IdentitySourceFilter>>)`](crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder::set_filters):<br>required: **false**<br><p>Specifies characteristics of an identity source that you can use to limit the output to matching identity sources.</p><br>
    /// - On success, responds with [`ListIdentitySourcesOutput`](crate::operation::list_identity_sources::ListIdentitySourcesOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::list_identity_sources::ListIdentitySourcesOutput::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>
    ///   - [`identity_sources(Vec::<IdentitySourceItem>)`](crate::operation::list_identity_sources::ListIdentitySourcesOutput::identity_sources): <p>The list of identity sources stored in the specified policy store.</p>
    /// - On failure, responds with [`SdkError<ListIdentitySourcesError>`](crate::operation::list_identity_sources::ListIdentitySourcesError)
    pub fn list_identity_sources(&self) -> crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder {
        crate::operation::list_identity_sources::builders::ListIdentitySourcesFluentBuilder::new(self.handle.clone())
    }
}