Struct aws_sdk_chime::client::fluent_builders::BatchSuspendUser [−][src]
pub struct BatchSuspendUser<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to BatchSuspendUser
.
Suspends up to 50 users from a Team
or EnterpriseLWA
Amazon Chime
account. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration
Guide.
Users suspended from a Team
account are disassociated from the account,but they
can continue to use Amazon Chime as free users. To remove the suspension from suspended
Team
account users, invite them to the Team
account again.
You can use the InviteUsers action to do so.
Users suspended from an EnterpriseLWA
account are immediately signed out of
Amazon Chime and can no longer sign in. To remove the suspension from suspended EnterpriseLWA
account users, use the BatchUnsuspendUser action.
To sign out users without suspending them, use the LogoutUser action.
Implementations
impl<C, M, R> BatchSuspendUser<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> BatchSuspendUser<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<BatchSuspendUserOutput, SdkError<BatchSuspendUserError>> where
R::Policy: SmithyRetryPolicy<BatchSuspendUserInputOperationOutputAlias, BatchSuspendUserOutput, BatchSuspendUserError, BatchSuspendUserInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<BatchSuspendUserOutput, SdkError<BatchSuspendUserError>> where
R::Policy: SmithyRetryPolicy<BatchSuspendUserInputOperationOutputAlias, BatchSuspendUserOutput, BatchSuspendUserError, BatchSuspendUserInputOperationRetryAlias>,
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.
The Amazon Chime account ID.
The Amazon Chime account ID.
Appends an item to UserIdList
.
To override the contents of this collection use set_user_id_list
.
The request containing the user IDs to suspend.
The request containing the user IDs to suspend.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for BatchSuspendUser<C, M, R>
impl<C, M, R> Send for BatchSuspendUser<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for BatchSuspendUser<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for BatchSuspendUser<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for BatchSuspendUser<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more