| 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.EnableUser
Description
Enables a user in the user pool. After being enabled, users can sign in to AppStream 2.0 and open applications from the stacks to which they are assigned.
Synopsis
- data EnableUser = EnableUser' {}
- newEnableUser :: Text -> AuthenticationType -> EnableUser
- enableUser_userName :: Lens' EnableUser Text
- enableUser_authenticationType :: Lens' EnableUser AuthenticationType
- data EnableUserResponse = EnableUserResponse' {
- httpStatus :: Int
- newEnableUserResponse :: Int -> EnableUserResponse
- enableUserResponse_httpStatus :: Lens' EnableUserResponse Int
Creating a Request
data EnableUser Source #
See: newEnableUser smart constructor.
Constructors
| EnableUser' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> AuthenticationType | |
| -> EnableUser |
Create a value of EnableUser 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:
EnableUser, enableUser_userName - The email address of the user.
Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.
EnableUser, enableUser_authenticationType - The authentication type for the user. You must specify USERPOOL.
Request Lenses
enableUser_userName :: Lens' EnableUser Text Source #
The email address of the user.
Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.
enableUser_authenticationType :: Lens' EnableUser AuthenticationType Source #
The authentication type for the user. You must specify USERPOOL.
Destructuring the Response
data EnableUserResponse Source #
See: newEnableUserResponse smart constructor.
Constructors
| EnableUserResponse' | |
Fields
| |
Instances
newEnableUserResponse Source #
Arguments
| :: Int | |
| -> EnableUserResponse |
Create a value of EnableUserResponse 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:EnableUserResponse', enableUserResponse_httpStatus - The response's http status code.
Response Lenses
enableUserResponse_httpStatus :: Lens' EnableUserResponse Int Source #
The response's http status code.