Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DisableUser' | |
|
Instances
:: 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:
$sel:userName:DisableUser'
, disableUser_userName
- The email address of the user.
Users' email addresses are case-sensitive.
$sel:authenticationType: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.
DisableUserResponse' | |
|
Instances
newDisableUserResponse Source #
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.