Module Values.BatchSuspendUserResponseSource

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.

Sourcetype nonrec t = {
  1. userErrors : UserErrorList.t option;
    (*

    If the BatchSuspendUser action fails for one or more of the user IDs in the request, a list of the user IDs is returned, along with error codes and error messages.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `ForbiddenException of ForbiddenException.t
  3. | `NotFoundException of NotFoundException.t
  4. | `ServiceFailureException of ServiceFailureException.t
  5. | `ServiceUnavailableException of ServiceUnavailableException.t
  6. | `ThrottledClientException of ThrottledClientException.t
  7. | `UnauthorizedClientException of UnauthorizedClientException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?userErrors:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `ForbiddenException of ForbiddenException.t | `NotFoundException of NotFoundException.t | `ServiceFailureException of ServiceFailureException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `ThrottledClientException of ThrottledClientException.t | `UnauthorizedClientException of UnauthorizedClientException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `ForbiddenException of ForbiddenException.t | `NotFoundException of NotFoundException.t | `ServiceFailureException of ServiceFailureException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `ThrottledClientException of ThrottledClientException.t | `UnauthorizedClientException of UnauthorizedClientException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of NonEmptyString.t ]) list ] list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t