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'
)
[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.
[REQUIRED]
The authentication type for the user. You must specify USERPOOL.
dict
Response Syntax
{}
Response Structure
Exceptions
AppStream.Client.exceptions.ResourceNotFoundException
AppStream.Client.exceptions.InvalidAccountStatusException