I have a IAM user who has the privilege of
+AmazonS3FullAccess
+AdministratorAccess
+IAMUserChangePassword
+AmazonAppStreamFullAccess
I have two user in Appstream2
John Doe
Alec Stain
For Deleting those while I try in command line
aws appstream delete-user --user-name [\p{L}\h]+ --authentication-type SAML
it returns,
An error occurred (AccessDeniedException) when calling the DeleteUser operation:
same thing happens for regex part if I alter with [\p{L}]+ or [\p{L}\p{M}\p{S}\p{N}\p{P}]+
Why is this AccessDeniedException and How can I delete appstream2 users anyway?
[if you wonder my credentials might be wrong, the following comman works perfectly
aws s3api create-bucket --bucket test-bucket-989000007 --region us-east-1
response:
{
"Location": "/test-bucket-989000007"
}
]