{"connections":[{"id":"s3-client","title":"AWS SDK v3 S3Client (TypeScript)","kind":"sdk","language":"typescript","description":"Point the S3 client at the emulator. forcePathStyle keeps bucket names in the path.","template":"import { S3Client } from \"@aws-sdk/client-s3\";\n\nconst s3 = new S3Client({\n  endpoint: \"{{baseUrl}}\",\n  region: \"us-east-1\",\n  forcePathStyle: true,\n  credentials: {\n    accessKeyId: \"{{clientId}}\",\n    secretAccessKey: \"{{clientSecret}}\",\n  },\n});","body":"import { S3Client } from \"@aws-sdk/client-s3\";\n\nconst s3 = new S3Client({\n  endpoint: \"https://aws.your-instance.emulators.dev\",\n  region: \"us-east-1\",\n  forcePathStyle: true,\n  credentials: {\n    accessKeyId: \"<client_id>\",\n    secretAccessKey: \"<client_secret>\",\n  },\n});"},{"id":"sqs-client","title":"AWS SDK v3 SQSClient (TypeScript)","kind":"sdk","language":"typescript","description":"Point the SQS client at the emulator.","template":"import { SQSClient } from \"@aws-sdk/client-sqs\";\n\nconst sqs = new SQSClient({\n  endpoint: \"{{baseUrl}}\",\n  region: \"us-east-1\",\n  credentials: {\n    accessKeyId: \"{{clientId}}\",\n    secretAccessKey: \"{{clientSecret}}\",\n  },\n});","body":"import { SQSClient } from \"@aws-sdk/client-sqs\";\n\nconst sqs = new SQSClient({\n  endpoint: \"https://aws.your-instance.emulators.dev\",\n  region: \"us-east-1\",\n  credentials: {\n    accessKeyId: \"<client_id>\",\n    secretAccessKey: \"<client_secret>\",\n  },\n});"},{"id":"aws-env","title":"AWS endpoint and credentials (env)","kind":"env","language":"bash","description":"The AWS SDK and CLI honor AWS_ENDPOINT_URL and the standard credential variables.","template":"AWS_ENDPOINT_URL={{baseUrl}}\nAWS_REGION=us-east-1\nAWS_ACCESS_KEY_ID={{clientId}}\nAWS_SECRET_ACCESS_KEY={{clientSecret}}","body":"AWS_ENDPOINT_URL=https://aws.your-instance.emulators.dev\nAWS_REGION=us-east-1\nAWS_ACCESS_KEY_ID=<client_id>\nAWS_SECRET_ACCESS_KEY=<client_secret>"},{"id":"curl","title":"curl","kind":"curl","language":"bash","description":"List S3 buckets directly against the emulator.","template":"curl -s {{baseUrl}}/","body":"curl -s https://aws.your-instance.emulators.dev/"},{"id":"base-url","title":"Base URL (env)","kind":"env","language":"bash","description":"Point your SDK or app at the emulator instead of the real provider.","template":"{{SERVICE_UPPER}}_BASE_URL={{baseUrl}}","body":"AWS_BASE_URL=https://aws.your-instance.emulators.dev"},{"id":"create-credential","title":"Create a credential","kind":"curl","language":"bash","description":"Mint a working credential for this instance.","template":"curl -s -X POST {{controlBaseUrl}}/credentials \\\n  -H \"content-type: application/json\" \\\n  -d '{\"type\":\"{{defaultAuthType}}\"}'","body":"curl -s -X POST https://aws.your-instance.emulators.dev/_emulate/credentials \\\n  -H \"content-type: application/json\" \\\n  -d '{\"type\":\"provider-specific\"}'"},{"id":"inspect-ledger","title":"Inspect requests","kind":"curl","language":"bash","description":"Read the request ledger to validate how your app called the service.","template":"curl -s {{controlBaseUrl}}/ledger","body":"curl -s https://aws.your-instance.emulators.dev/_emulate/ledger"}]}