Files
floci/docs/index.md
T
Ahmed khaled cf6fede453 feat(rekognition): add Amazon Rekognition sync image-analysis actions (#2706)
* feat(rekognition): add Amazon Rekognition sync image-analysis actions

Implements DetectLabels, DetectFaces, DetectText, CompareFaces, and
DetectModerationLabels as fixed AWS-shaped stub responses over the
real JSON 1.1 wire protocol (X-Amz-Target: RekognitionService.*).
Image/SourceImage/TargetImage input is required and validated (must
specify Bytes or S3Object) but never decoded, matching the pattern
already used for Textract's Document input.

Content-listing operations (DetectLabels, DetectText) always return
one canned entry, matching TextractService's stub precedent. Face and
moderation operations (DetectFaces, CompareFaces,
DetectModerationLabels) return empty results by default rather than
fabricating biometric attributes or a moderation flag for content
that was never analyzed, matching ComprehendService's PII-detection
precedent.

Face-collection persistence, custom-model training, live video
(StreamProcessor), async video jobs, and Face Liveness sessions are
out of scope for this PR.

Closes #2705

* fix(rekognition): reject wrong-typed Bytes/S3Object as SerializationException

requireImage() only checked field presence via hasNonNull(), so a
wrong-typed Bytes (e.g. a number) or S3Object (e.g. a string) was
silently accepted instead of rejected, same class of bug as the
Comprehend Text/LanguageCode type-coercion fix. Bytes must now be
textual and S3Object must be an object when present, both rejected
as SerializationException (a shape/marshalling mismatch) otherwise.

Content-level validation (well-formed base64 in Bytes, S3Object's
Bucket/Name presence, rejecting both Bytes and S3Object together) is
intentionally not added: S3Object has no required members in AWS's
own model, and nothing in the model declares supplying both fields
invalid — documented as intentional deviations.

Addresses review feedback on #2706.
2026-08-29 14:15:52 -04:00

124 lines
3.5 KiB
Markdown

# Floci
<p align="center">
<img src="assets/floci.svg" alt="Floci" width="500" />
</p>
<p align="center"><em>Light, fluffy, and always free</em></p>
---
Floci is a fast, free, and open-source local AWS service emulator built for developers who need reliable AWS services in development and CI without cost, complexity, or vendor lock-in.
## Supported Services
Floci emulates 84 AWS services. See the [Services Overview](services/index.md) for per-service operation counts, endpoints, and full protocol details.
| Service | Protocol |
|---|---|
| SSM Parameter Store | JSON 1.1 |
| SQS | Query / JSON |
| SNS | Query / JSON |
| SES | Query |
| SES v2 | REST JSON |
| S3 | REST XML |
| DynamoDB + Streams | JSON 1.1 |
| Lambda | REST JSON |
| API Gateway v1 & v2 | REST JSON |
| AppSync | REST JSON |
| Cognito | JSON 1.1 |
| KMS | JSON 1.1 |
| Kinesis | JSON 1.1 |
| Secrets Manager | JSON 1.1 |
| CloudFormation | Query |
| Step Functions | JSON 1.1 |
| IAM | Query |
| STS | Query |
| Organizations | JSON 1.1 |
| ElastiCache (Redis / Valkey) | Query + RESP proxy |
| RDS (PostgreSQL / MySQL) | Query + wire proxy |
| RDS Data API | REST JSON |
| Neptune (graph DB / Gremlin) | Query + WebSocket proxy |
| DocumentDB (MongoDB-compatible) | Query + MongoDB wire |
| MSK (Kafka / Redpanda) | REST JSON + Kafka |
| Amazon MQ (RabbitMQ) | REST JSON + AMQP |
| Athena | JSON 1.1 |
| Glue Data Catalog + Schema Registry | JSON 1.1 |
| Data Firehose | JSON 1.1 |
| Managed Service for Apache Flink | JSON 1.1 |
| ECS | JSON 1.1 |
| EC2 | EC2 Query |
| Lightsail | JSON 1.1 |
| ACM | JSON 1.1 |
| ECR | JSON 1.1 + OCI Distribution |
| Resource Groups Tagging API | JSON 1.1 |
| OpenSearch | REST JSON |
| EventBridge | JSON 1.1 |
| EventBridge Pipes | REST JSON |
| EventBridge Scheduler | REST JSON |
| CloudWatch Logs & Metrics | JSON 1.1 / Query |
| CloudWatch RUM | REST JSON |
| AppConfig + AppConfigData | REST JSON |
| Bedrock Runtime | REST JSON |
| EKS | REST JSON |
| ELB v2 | Query |
| Auto Scaling | Query |
| Elastic Beanstalk | Query |
| CodeBuild | JSON 1.1 |
| CodeDeploy | JSON 1.1 |
| CodePipeline | JSON 1.1 |
| AWS Backup | REST JSON |
| AWS FIS | REST JSON |
| CloudFront | REST XML |
| Route53 | REST XML |
| Cloud Map | JSON 1.1 |
| AWS Config | JSON 1.1 |
| Textract | JSON 1.1 |
| Transcribe | JSON 1.1 |
| Pricing | JSON 1.1 |
| Cost Explorer | JSON 1.1 |
| Cost and Usage Reports | JSON 1.1 |
| BCM Data Exports | JSON 1.1 |
| Transfer Family | JSON 1.1 |
| AWS RAM | REST JSON |
| Service Quotas | JSON 1.1 |
## Why Floci?
**No account required.** No auth tokens, no sign-ups, no telemetry. Pull the image and start building.
**No feature gates.** Every feature is available to everyone — no community-edition restrictions.
**No CI restrictions.** Run in your CI pipeline with zero limitations. No credits, no quotas, no paid tiers.
**Truly open source.** MIT licensed. Fork it, extend it, embed it. No "community edition" sunset coming.
## Quick Start
```yaml title="docker-compose.yml"
services:
floci:
image: floci/floci:latest
ports:
- "4566:4566"
volumes:
# Local directory bind mount (default)
- ./data:/app/data
# OR named volume (optional):
# - floci-data:/app/data
#volumes:
# floci-data:
```
```bash
docker compose up -d
aws --endpoint-url http://localhost:4566 s3 mb s3://my-bucket
```
All 84 AWS services are immediately available at `http://localhost:4566`.
[Get started →](getting-started/quick-start.md){ .md-button .md-button--primary }
[View services →](services/index.md){ .md-button }