| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Chime.LogoutUser
Description
Logs out the specified user from all of the devices they are currently logged into.
Synopsis
- data LogoutUser = LogoutUser' {}
- newLogoutUser :: Text -> Text -> LogoutUser
- logoutUser_accountId :: Lens' LogoutUser Text
- logoutUser_userId :: Lens' LogoutUser Text
- data LogoutUserResponse = LogoutUserResponse' {
- httpStatus :: Int
- newLogoutUserResponse :: Int -> LogoutUserResponse
- logoutUserResponse_httpStatus :: Lens' LogoutUserResponse Int
Creating a Request
data LogoutUser Source #
See: newLogoutUser smart constructor.
Constructors
| LogoutUser' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> LogoutUser |
Create a value of LogoutUser with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
LogoutUser, logoutUser_accountId - The Amazon Chime account ID.
LogoutUser, logoutUser_userId - The user ID.
Request Lenses
logoutUser_accountId :: Lens' LogoutUser Text Source #
The Amazon Chime account ID.
logoutUser_userId :: Lens' LogoutUser Text Source #
The user ID.
Destructuring the Response
data LogoutUserResponse Source #
See: newLogoutUserResponse smart constructor.
Constructors
| LogoutUserResponse' | |
Fields
| |
Instances
newLogoutUserResponse Source #
Arguments
| :: Int | |
| -> LogoutUserResponse |
Create a value of LogoutUserResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:LogoutUserResponse', logoutUserResponse_httpStatus - The response's http status code.
Response Lenses
logoutUserResponse_httpStatus :: Lens' LogoutUserResponse Int Source #
The response's http status code.