Lenslet A local AWS account in a window
See what AWS did with each command you run.
It opens on an empty AWS account and a terminal pointed at it. Each command you run shows its calls, what AWS did because of them and the IAM policy it needed.
Not notarized: how to open it
- macOS: the first time, open System Settings → Privacy & Security and click “Open Anyway”.
- 2 platforms: macOS, Linux
- Opt-in online only when you ask
- Apache-2.0 open-source licence
From a command to what AWS did
-
Every command is a run
Each command in the terminal shows how it ended, its calls, the first failure and why, what it changed and the IAM policy it needed.
-
What AWS did because of it
Deliveries, triggers and your functions’ own calls hang under the call that caused them. On AWS this takes CloudTrail, X-Ray and CloudWatch together.
-
Fix it, run it again
Allow for role gives a denied function’s role what it needed; Rewind puts the account back as it was before a run; Run Again repeats the command.
-
Every resource, opened
Buckets, tables, queues, topics, functions, log groups, secrets and parameters: what each holds and every call that touched it.
-
Every call, in full
Request and response, the client and its retry attempt, the request ID; copy any call as an AWS CLI command, curl or boto3.
Get started
Download the build for your system from the latest release; on Linux it needs GTK 4.14 or newer. Lenslet’s terminal already has AWS_ENDPOINT_URL, the region and placeholder keys set; for another shell, File → Copy Environment copies them.
-
In Lenslet’s terminal: make a queue
aws sqs create-queue --queue-name orders -
Or run any program that uses an AWS SDK
pytest
FAQ
Is it a real AWS account?
No. It is AWS Emulator running inside Lenslet: account 000000000000 in us-east-1, kept in memory. Quitting or starting a new empty account throws it away, and request signatures are not checked, so any credentials work.
Which AWS services are there?
S3, DynamoDB, SQS, SNS, STS, IAM, KMS, Lambda, Secrets Manager, SSM Parameter Store, EventBridge, CloudWatch Logs, Step Functions and Kinesis. A call the emulator does not support is marked “not emulated”, so a gap in the emulator does not look like a bug in your code.
Does my code need changes?
No, if its SDK honours AWS_ENDPOINT_URL: boto3, the AWS SDKs for JavaScript, Go, Rust, Java and .NET, and the AWS CLI v2 do.
- The AWS CLI v1 sends SQS commands to AWS whatever the endpoint says; the terminal’s placeholder keys keep those away from your account.
- Runs come from the terminal’s bash or zsh; calls from other shells and programs appear under All Activity.