AppStream / Client / delete_user

delete_user#

AppStream.Client.delete_user(**kwargs)#

Deletes a user from the user pool.

See also: AWS API Documentation

Request Syntax

response = client.delete_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.

  • 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