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 |
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.
EnableUser' | |
|
Instances
:: 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:
$sel:userName: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.
$sel:authenticationType: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.
EnableUserResponse' | |
|
Instances
newEnableUserResponse Source #
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.