1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListGroupMembershipsForMember`](crate::operation::list_group_memberships_for_member::builders::ListGroupMembershipsForMemberFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_group_memberships_for_member::builders::ListGroupMembershipsForMemberFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`identity_store_id(impl Into<String>)`](crate::operation::list_group_memberships_for_member::builders::ListGroupMembershipsForMemberFluentBuilder::identity_store_id) / [`set_identity_store_id(Option<String>)`](crate::operation::list_group_memberships_for_member::builders::ListGroupMembershipsForMemberFluentBuilder::set_identity_store_id):<br>required: **true**<br><p>The globally unique identifier for the identity store.</p><br>
    ///   - [`member_id(MemberId)`](crate::operation::list_group_memberships_for_member::builders::ListGroupMembershipsForMemberFluentBuilder::member_id) / [`set_member_id(Option<MemberId>)`](crate::operation::list_group_memberships_for_member::builders::ListGroupMembershipsForMemberFluentBuilder::set_member_id):<br>required: **true**<br><p>An object that contains the identifier of a group member. Setting the <code>UserID</code> field to the specific identifier for a user indicates that the user is a member of the group.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_group_memberships_for_member::builders::ListGroupMembershipsForMemberFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_group_memberships_for_member::builders::ListGroupMembershipsForMemberFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to be returned per request. This parameter is used in the <code>ListUsers</code> and <code>ListGroups</code> requests to specify how many results to return in one page. The length limit is 50 characters.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_group_memberships_for_member::builders::ListGroupMembershipsForMemberFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_group_memberships_for_member::builders::ListGroupMembershipsForMemberFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token used for the <code>ListUsers</code>, <code>ListGroups</code>, and <code>ListGroupMemberships</code> API operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it is used in the API request to search for the next page.</p><br>
    /// - On success, responds with [`ListGroupMembershipsForMemberOutput`](crate::operation::list_group_memberships_for_member::ListGroupMembershipsForMemberOutput) with field(s):
    ///   - [`group_memberships(Vec::<GroupMembership>)`](crate::operation::list_group_memberships_for_member::ListGroupMembershipsForMemberOutput::group_memberships): <p>A list of <code>GroupMembership</code> objects in the group for a specified member.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_group_memberships_for_member::ListGroupMembershipsForMemberOutput::next_token): <p>The pagination token used for the <code>ListUsers</code>, <code>ListGroups</code>, and <code>ListGroupMemberships</code> API operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it is used in the API request to search for the next page.</p>
    /// - On failure, responds with [`SdkError<ListGroupMembershipsForMemberError>`](crate::operation::list_group_memberships_for_member::ListGroupMembershipsForMemberError)
    pub fn list_group_memberships_for_member(
        &self,
    ) -> crate::operation::list_group_memberships_for_member::builders::ListGroupMembershipsForMemberFluentBuilder {
        crate::operation::list_group_memberships_for_member::builders::ListGroupMembershipsForMemberFluentBuilder::new(self.handle.clone())
    }
}