Struct aws_sdk_identitystore::operation::list_group_memberships_for_member::builders::ListGroupMembershipsForMemberFluentBuilder
source · pub struct ListGroupMembershipsForMemberFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListGroupMembershipsForMember
.
For the specified member in the specified identity store, returns the list of all GroupMembership
objects and returns results in paginated form.
If you have administrator access to a member account, you can use this API from the member account. Read about member accounts in the Organizations User Guide.
Implementations§
source§impl ListGroupMembershipsForMemberFluentBuilder
impl ListGroupMembershipsForMemberFluentBuilder
sourcepub fn as_input(&self) -> &ListGroupMembershipsForMemberInputBuilder
pub fn as_input(&self) -> &ListGroupMembershipsForMemberInputBuilder
Access the ListGroupMembershipsForMember as a reference.
sourcepub async fn send(
self
) -> Result<ListGroupMembershipsForMemberOutput, SdkError<ListGroupMembershipsForMemberError, HttpResponse>>
pub async fn send( self ) -> Result<ListGroupMembershipsForMemberOutput, SdkError<ListGroupMembershipsForMemberError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListGroupMembershipsForMemberOutput, ListGroupMembershipsForMemberError, Self>
pub fn customize( self ) -> CustomizableOperation<ListGroupMembershipsForMemberOutput, ListGroupMembershipsForMemberError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListGroupMembershipsForMemberPaginator
pub fn into_paginator(self) -> ListGroupMembershipsForMemberPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn identity_store_id(self, input: impl Into<String>) -> Self
pub fn identity_store_id(self, input: impl Into<String>) -> Self
The globally unique identifier for the identity store.
sourcepub fn set_identity_store_id(self, input: Option<String>) -> Self
pub fn set_identity_store_id(self, input: Option<String>) -> Self
The globally unique identifier for the identity store.
sourcepub fn get_identity_store_id(&self) -> &Option<String>
pub fn get_identity_store_id(&self) -> &Option<String>
The globally unique identifier for the identity store.
sourcepub fn member_id(self, input: MemberId) -> Self
pub fn member_id(self, input: MemberId) -> Self
An object that contains the identifier of a group member. Setting the UserID
field to the specific identifier for a user indicates that the user is a member of the group.
sourcepub fn set_member_id(self, input: Option<MemberId>) -> Self
pub fn set_member_id(self, input: Option<MemberId>) -> Self
An object that contains the identifier of a group member. Setting the UserID
field to the specific identifier for a user indicates that the user is a member of the group.
sourcepub fn get_member_id(&self) -> &Option<MemberId>
pub fn get_member_id(&self) -> &Option<MemberId>
An object that contains the identifier of a group member. Setting the UserID
field to the specific identifier for a user indicates that the user is a member of the group.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to be returned per request. This parameter is used in the ListUsers
and ListGroups
requests to specify how many results to return in one page. The length limit is 50 characters.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to be returned per request. This parameter is used in the ListUsers
and ListGroups
requests to specify how many results to return in one page. The length limit is 50 characters.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to be returned per request. This parameter is used in the ListUsers
and ListGroups
requests to specify how many results to return in one page. The length limit is 50 characters.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token used for the ListUsers
, ListGroups
, and ListGroupMemberships
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.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token used for the ListUsers
, ListGroups
, and ListGroupMemberships
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.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The pagination token used for the ListUsers
, ListGroups
, and ListGroupMemberships
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.
Trait Implementations§
source§impl Clone for ListGroupMembershipsForMemberFluentBuilder
impl Clone for ListGroupMembershipsForMemberFluentBuilder
source§fn clone(&self) -> ListGroupMembershipsForMemberFluentBuilder
fn clone(&self) -> ListGroupMembershipsForMemberFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ListGroupMembershipsForMemberFluentBuilder
impl !RefUnwindSafe for ListGroupMembershipsForMemberFluentBuilder
impl Send for ListGroupMembershipsForMemberFluentBuilder
impl Sync for ListGroupMembershipsForMemberFluentBuilder
impl Unpin for ListGroupMembershipsForMemberFluentBuilder
impl !UnwindSafe for ListGroupMembershipsForMemberFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more