delete_user
(**kwargs)¶Deletes a user. The user will be removed from all ACLs and in turn removed from all clusters.
See also: AWS API Documentation
Request Syntax
response = client.delete_user(
UserName='string'
)
[REQUIRED]
The name of the user to delete
{
'User': {
'Name': 'string',
'Status': 'string',
'AccessString': 'string',
'ACLNames': [
'string',
],
'MinimumEngineVersion': 'string',
'Authentication': {
'Type': 'password'|'no-password',
'PasswordCount': 123
},
'ARN': 'string'
}
}
Response Structure
The user object that has been deleted.
The name of the user
Indicates the user status. Can be "active", "modifying" or "deleting".
Access permissions string used for this user.
The names of the Access Control Lists to which the user belongs
The minimum engine version supported for the user
Denotes whether the user requires a password to authenticate.
Indicates whether the user requires a password to authenticate.
The number of passwords belonging to the user. The maximum is two.
The Amazon Resource Name (ARN) of the user.
Exceptions
MemoryDB.Client.exceptions.InvalidUserStateFault
MemoryDB.Client.exceptions.UserNotFoundFault
MemoryDB.Client.exceptions.InvalidParameterValueException