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”.
Lenslet after python upload.py: the run succeeded with 4 calls, 2 of them made by AWS; the calls tree shows an S3 PutObject, the Lambda Invoke it triggered and that function’s DynamoDB PutItem, selected, with the inspector saying AWS made the call; the terminal is below.
A run in Lenslet’s window, from its repository. Captured at v16.0.0

From a command to what AWS did

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.

  1. In Lenslet’s terminal: make a queue

    aws sqs create-queue --queue-name orders
  2. 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.