in hq/app/aws/iam/IAMClient.scala [151:155]
private def handleDeleteLoginProfileErrs(awsClient: AwsClient[IamAsyncClient], username: String)(f: => Future[DeleteLoginProfileResponse])(implicit ec: ExecutionContext): Attempt[Option[DeleteLoginProfileResponse]] =
AwsAsyncHandler.handleAWSErrs(awsClient)(f.map(Some.apply).recover({
case e if e.getMessage.contains(s"Login Profile for User $username cannot be found") => None
case _: NoSuchEntityException => None
}))