| 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.AppStream.DisableUser
Description
Disables the specified user in the user pool. Users can't sign in to AppStream 2.0 until they are re-enabled. This action does not delete the user.
Synopsis
- data DisableUser = DisableUser' {}
- newDisableUser :: Text -> AuthenticationType -> DisableUser
- disableUser_userName :: Lens' DisableUser Text
- disableUser_authenticationType :: Lens' DisableUser AuthenticationType
- data DisableUserResponse = DisableUserResponse' {
- httpStatus :: Int
- newDisableUserResponse :: Int -> DisableUserResponse
- disableUserResponse_httpStatus :: Lens' DisableUserResponse Int
Creating a Request
data DisableUser Source #
See: newDisableUser smart constructor.
Constructors
| DisableUser' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> AuthenticationType | |
| -> DisableUser |
Create a value of DisableUser 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:
DisableUser, disableUser_userName - The email address of the user.
Users' email addresses are case-sensitive.
DisableUser, disableUser_authenticationType - The authentication type for the user. You must specify USERPOOL.
Request Lenses
disableUser_userName :: Lens' DisableUser Text Source #
The email address of the user.
Users' email addresses are case-sensitive.
disableUser_authenticationType :: Lens' DisableUser AuthenticationType Source #
The authentication type for the user. You must specify USERPOOL.
Destructuring the Response
data DisableUserResponse Source #
See: newDisableUserResponse smart constructor.
Constructors
| DisableUserResponse' | |
Fields
| |
Instances
newDisableUserResponse Source #
Arguments
| :: Int | |
| -> DisableUserResponse |
Create a value of DisableUserResponse 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:DisableUserResponse', disableUserResponse_httpStatus - The response's http status code.
Response Lenses
disableUserResponse_httpStatus :: Lens' DisableUserResponse Int Source #
The response's http status code.