AppStream / Client / enable_user
enable_user#
- AppStream.Client.enable_user(**kwargs)#
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.
See also: AWS API Documentation
Request Syntax
response = client.enable_user( UserName='string', AuthenticationType='API'|'SAML'|'USERPOOL'|'AWS_AD' )
- Parameters:
UserName (string) –
[REQUIRED]
The email address of the user.
Note
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.
AuthenticationType (string) –
[REQUIRED]
The authentication type for the user. You must specify USERPOOL.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
AppStream.Client.exceptions.ResourceNotFoundException
AppStream.Client.exceptions.InvalidAccountStatusException