Adds ListPackageVersionDependencies, extracted from each format's own metadata
file: the POM for Maven, package.json for npm, the wheel/sdist metadata for
pypi, and the .nuspec for NuGet. Scoped to exactly npm/pypi/maven/nuget,
matching AWS's own documented Valid Values for this action's format
parameter; generic, cargo, ruby, and swift are rejected with a
ValidationException even though cargo's own sparse index already carries the
data, since AWS does not document cargo as a valid format for this specific
action.
A new RepositorySidecarManager#listPackageVersionDependencies default method
(throwing UnsupportedOperationException, the same convention
listPackageVersionAssetNames already uses) is overridden by all four valid
formats' sidecar clients:
- ReposiliteSidecarClient tries the version's standard release POM name
first, falling back to the real directory listing for a -SNAPSHOT
version's own timestamped filename (and surfacing a genuine fetch error
through that same fallback, rather than reporting it as an empty
dependency list), and parses it with a new PomDependencies helper. That
helper only ever walks direct children of a known element rather than
Document#getElementsByTagName, specifically so a managed version pin under
dependencyManagement or a conditionally-activated dependency under profiles
is never mistaken for a real, always-active dependency. One synthetic
"parent"-typed entry is emitted when <parent> is present. No ${property}
placeholder resolution on a dependency's raw version text, a documented
limitation.
- VerdaccioSidecarClient reads dependencies/devDependencies/
peerDependencies/optionalDependencies straight off the already-fetched
packument's version document, splitting a scoped dependency name the same
way CodeArtifactNpmDataPlane already does for the package's own name.
- BagetterSidecarClient reuses the same already-proven .nuspec fetch
fetchPackageVersionReadme falls back to, with NuspecXml extended with a new
dependencies() method that flattens every <group targetFramework> block
(and the older schema's bare <dependency> with no group wrapper) into one
list.
- PypiserverSidecarClient is new ground: a new PypiVersionMetadata helper
opens a real wheel via plain ZipInputStream, or an sdist via GZIPInputStream
plus a new minimal hand-rolled TAR reader (classic 512-byte headers only,
no long-name or PAX support) for .tar.gz/.tgz, or via ZipInputStream for a
.zip sdist, bounding the total bytes it will ever decompress while
scanning one archive so a small, highly compressible entry ahead of the
real metadata entry cannot force unbounded decompression. Only the exact
top-level dist-info/METADATA or PKG-INFO entry is matched, never a nested
one, so a wheel or sdist that vendors another package's own dist-info
alongside its own cannot have that vendored entry mistaken for the real
one. Requires-Dist headers are parsed with RFC822 continuation-line
folding, stopping at the blank line that ends the real header block so a
Requires-Dist-looking line inside the package's own long description is
never read as a real dependency. Any "; extra == ..." environment marker
is kept verbatim in versionRequirement rather than stripped, since
PackageDependency has no marker field. A release available only as a real
.tar.bz2/.tar.xz sdist is reported as having no dependencies rather than
attempted, since bzip2/xz decompression would need a new runtime
dependency this codebase deliberately avoids.
XmlParser gained a new parseDocument(byte[]) overload so a POM or .nuspec's
own raw bytes reach the parser directly: the existing String-based overload
pre-decodes as UTF-8 before the parser ever sees the original bytes, which
would silently corrupt or fail to parse a document that declares a different
encoding. PomDependencies and NuspecXml both now go through the byte-based
overload.
CodeArtifactService#listPackageVersionDependencies validates the format
against this narrower set before the shared validatePackageCoordinates call,
which already enforces the maven-namespace-required and
pypi/nuget-namespace-forbidden rules AWS documents for this action.
Pagination's cursor now folds in each entry's own original-list index as a
final tiebreaker, so two byte-for-byte identical dependencies (e.g. the same
NuGet package id declared under two different target-framework groups with
the same version requirement) never share a cursor and silently drop across
a page boundary.
Verified with standalone parser unit tests, per-client wire-contract tests
against a JDK HttpServer fake, CodeArtifactServiceTest dispatch and
validation cases, and a live Docker-gated round trip added to all four
existing format Docker integration tests, each publishing a real artifact
with real dependency metadata through the real sidecar container.
18 KiB
Services Overview
Floci emulates the AWS services listed below on a single port (4566). All services use the real AWS wire protocol, your existing AWS CLI commands and SDK clients work without modification.
This page is the canonical reference for supported service and operation counts. Some services expose separate control-plane and data-plane rows below. Other docs (and the README) should link here rather than duplicating the table.
Service Matrix
Operation counts are exact. For dispatch-table services (Query and JSON 1.1) each count reflects one case per AWS action in the handler. For REST-based services (S3, Lambda, API Gateway v1) the count reflects distinct AWS SDK operations, collapsing routes where one JAX-RS handler fans out via query-string or header markers (e.g. PUT /{bucket}/{key} → PutObject, PutObjectTagging, PutObjectAcl, etc.).
| Service | Endpoint | Protocol | Supported operations |
|---|---|---|---|
| SSM | POST / + X-Amz-Target: AmazonSSM.* / AmazonSSMMessageDeliveryService.* |
JSON 1.1 | 22 |
| SQS | POST / with Action= param |
Query / JSON | 23 |
| SNS | POST / with Action= param |
Query / JSON | 39 |
| S3 | /{bucket}/{key} |
REST XML | 58 |
| S3 Vectors | POST /{OperationName} |
REST JSON | 16 |
| S3 Tables | /buckets, /namespaces/*, /tables/* |
REST JSON | 25 |
| DynamoDB | POST / + X-Amz-Target: DynamoDB_20120810.* |
JSON 1.1 | 28 |
| DynamoDB Streams | POST / + X-Amz-Target: DynamoDBStreams_20120810.* |
JSON 1.1 | 4 |
| Lambda | /2015-03-31/functions/... + /2025-12-01/durable-executions/... |
REST JSON | 55 |
| Lambda MicroVMs | /2025-09-09/... + /2026-04-04/... |
REST JSON | 22 |
| Lambda Web Functions | /2025-03-07/web-functions/... |
REST JSON | 20 |
| API Gateway v1 | /restapis/... |
REST JSON | 85 |
| API Gateway v2 | /v2/apis/... |
REST JSON | 53 + data-plane |
| IAM | POST / with Action= param |
Query | 180 |
| STS | POST / with Action= param |
Query | 11 |
| AWS Sign-In | /v1/authorize, /v1/token |
REST JSON | 2 |
| Organizations | POST / + X-Amz-Target: AWSOrganizationsV20161128.* |
JSON 1.1 | 56 |
| Cognito | POST / + X-Amz-Target: AWSCognitoIdentityProviderService.* |
JSON 1.1 | 91 |
| Cognito Identity | POST / + X-Amz-Target: AWSCognitoIdentityService.* |
JSON 1.1 | 12 |
| Global Accelerator | POST / + X-Amz-Target: GlobalAccelerator_V20180706.* |
JSON 1.1 | 22 |
| KMS | POST / + X-Amz-Target: TrentService.* |
JSON 1.1 | 45 |
| CloudHSM v2 | POST / + X-Amz-Target: BaldrApiService.* |
JSON 1.1 | 18 |
| Kinesis | POST / + X-Amz-Target: Kinesis_20131202.* |
JSON 1.1 | 32 |
| Managed Service for Apache Flink | POST / + X-Amz-Target: KinesisAnalytics_20180523.* |
JSON 1.1 | 15 |
| Payment Cryptography | POST / + X-Amz-Target: PaymentCryptographyControlPlane.* |
JSON 1.0 | 17 |
| Payment Cryptography data plane | POST /keys/{KeyIdentifier}/encrypt and the rest |
REST JSON | 12 |
| Secrets Manager | POST / + X-Amz-Target: secretsmanager.* |
JSON 1.1 | 23 |
| Step Functions | POST / + X-Amz-Target: AmazonStatesService.* |
JSON 1.1 | 32 |
| SWF | POST / + X-Amz-Target: SimpleWorkflowService.* |
JSON 1.0 | 39 |
| CloudFormation | POST / with Action= param |
Query | 36 |
| Cloud Control API | POST / + X-Amz-Target: CloudApiService.* |
JSON 1.1 | 5 |
| EventBridge | POST / + X-Amz-Target: AmazonEventBridge.* |
JSON 1.1 | 40 |
| EventBridge V2 | POST /service/AWSEventsV2/operation/* |
Smithy RPC v2 CBOR | 10 |
| EventBridge Scheduler | /schedules/*, /schedule-groups/*, /tags/* |
REST JSON | 12 |
| EventBridge Pipes | /v1/pipes/* |
REST JSON | 7 |
| CloudWatch OAM | REST paths such as POST /CreateSink and POST /CreateLink |
REST JSON | 15 |
| CloudWatch Logs | POST / + X-Amz-Target: Logs.* |
JSON 1.1 | 17 |
| CloudWatch Metrics | POST / with Action= or JSON 1.1 |
Query / JSON | 11 |
| CloudWatch RUM | /appmonitor, /appmonitor/{name}, /appmonitors |
REST JSON | 5 |
| X-Ray | /TraceSegments, /Traces, /TraceSummaries, /ServiceGraph, /TraceGraph, /GetSamplingRules, /CreateSamplingRule, /SamplingTargets, /TelemetryRecords |
REST JSON | 11 |
| GuardDuty | /detector, /detector/{detectorId}, /detector/{detectorId}/admin, /admin/*, /tags/* |
REST JSON | 28 |
| AWS Account Management | /putAlternateContact, /getAlternateContact, /deleteAlternateContact, /putContactInformation, /getContactInformation |
REST JSON | 5 |
| IAM Access Analyzer | /analyzer, /analyzer/{name}, /policy/validation |
REST JSON | 5 |
| IAM Identity Center (SSO Admin) | POST / + X-Amz-Target: SWBExternalService.* |
JSON 1.1 | 79 |
| IAM Identity Center OIDC | /client/register, /device_authorization, /token, /token?aws_iam=t, /authorize, /device |
REST JSON | 4 |
| IAM Identity Center Access Portal | /assignment/accounts, /assignment/roles, /federation/credentials, /logout |
REST JSON | 4 |
| Identity Store | POST / + X-Amz-Target: AWSIdentityStore.* |
JSON 1.1 | 19 |
| Amazon Macie | /admin, /macie, /admin/configuration |
REST JSON | 8 |
| Amazon Inspector | /delegatedadminaccounts/*, /status/batch/get, /enable, /disable, /organizationconfiguration/* |
REST JSON | 8 |
| Amazon Verified Permissions | POST / + X-Amz-Target: VerifiedPermissions.* |
JSON 1.0 | 34 |
| Security Hub | /organization/*, /accounts, /findingAggregator/*, /configurationPolicy*, /standards*, /members*, /tags/*, /findings* |
REST JSON | 34 |
| Amazon Detective | /orgs/*, /graphs/list, /graph/* |
REST JSON | 8 |
| Amazon Connect | /instance, /instance/{instanceId}/*, /tags/* |
REST JSON | 15 |
| Amazon AppIntegrations | /eventIntegrations/*, /dataIntegrations/*, /tags/* |
REST JSON | 14 |
| Amazon Data Lifecycle Manager | /policies, /policies/{policyId}, /tags/{resourceArn} |
REST JSON | 8 |
| ElastiCache | POST / with Action= param + TCP proxy |
Query + RESP | 35 |
| MemoryDB | POST / + X-Amz-Target: AmazonMemoryDB.* + TCP proxy |
JSON 1.1 + RESP | 13 |
| Aurora DSQL | /cluster, /cluster/{identifier}, /cluster/{identifier}/policy + TLS endpoint |
REST JSON + wire | 9 |
| RDS | POST / with Action= param + TCP proxy |
Query + wire | 121 |
| RDS Data API | /Execute, /BeginTransaction, /CommitTransaction, /RollbackTransaction |
REST JSON | 4 |
| Timestream for InfluxDB | POST / + X-Amz-Target: AmazonTimestreamInfluxDB.* + InfluxDB container |
JSON 1.0 + InfluxDB HTTP | 24 |
| MSK | /v1/clusters/..., /api/v2/clusters/... + Redpanda broker |
REST JSON + Kafka | 8 |
| Amazon MQ | /v1/brokers/... + RabbitMQ broker |
REST JSON + AMQP | 5 |
| MWAA | / REST paths for environments + CLI/web proxy |
REST JSON | 10 |
| Athena | POST / + X-Amz-Target: AmazonAthena.* |
JSON 1.1 | 27 |
| Glue | POST / + X-Amz-Target: AWSGlue.* |
JSON 1.1 | 135 |
| Lake Formation | POST /<Action> |
REST JSON | 16 |
| Neptune | POST / with Action= param + Gremlin TCP proxy |
Query + WebSocket | 14 |
| DocumentDB | POST / with Action= param + MongoDB container |
Query + MongoDB wire | 17 |
| DMS | POST / + X-Amz-Target: AmazonDMSv20160101.* |
JSON 1.1 | 20 |
| QuickSight | /accounts/{AwsAccountId}/... |
REST JSON, metadata only | 16 |
| Redshift | POST / with Action= param + PostgreSQL container |
Query + PostgreSQL wire (+ CFN) | 65 |
| Redshift Data API | POST / + X-Amz-Target: RedshiftData.* |
JSON 1.1 | 12 |
| Redshift Serverless | POST / + X-Amz-Target: RedshiftServerless.* |
JSON 1.1 | 58 |
| EMR | POST / + X-Amz-Target: ElasticMapReduce.* |
JSON 1.1 | 40 |
| EMR Serverless | /applications/*, /tags/* |
REST JSON | 15 |
| Data Firehose | POST / + X-Amz-Target: Firehose_20150804.* |
JSON 1.1 | 12 |
| ECS | POST / + X-Amz-Target: AmazonEC2ContainerServiceV20141113.* |
JSON 1.1 | 59 |
| EFS | /2015-02-01/... |
REST JSON | 26 |
| EC2 | POST / with Action= param |
EC2 Query | 225 |
| EC2 Instance Connect | POST / + X-Amz-Target: AWSEC2InstanceConnectService.* |
JSON 1.1 | 2 |
| Lightsail | POST / + X-Amz-Target: Lightsail_20161128.* |
JSON 1.1 | 79 local responses; 161 recognized actions |
| ACM | POST / + X-Amz-Target: CertificateManager.* |
JSON 1.1 | 16 |
| ECR | POST / + X-Amz-Target: AmazonEC2ContainerRegistry_V20150921.* (control plane) and /v2/... (data plane proxied to registry:2) |
JSON 1.1 + OCI Distribution | 34 |
| AWS Resource Groups | /groups, /get-group, /delete-group, /group-resources, /list-group-resources |
REST JSON | 5 |
| Resource Groups Tagging API | POST / + X-Amz-Target: ResourceGroupsTaggingAPI_20170126.* |
JSON 1.1 | 5 |
| Resource Explorer | POST /{OperationName}, rewritten to /_re2/* for the four paths S3 Vectors also claims |
REST JSON | 32 |
| SES | POST / with Action= param |
Query | 70 |
| SES v2 | /v2/email/* |
REST JSON | 102 |
| OpenSearch | /2021-01-01/opensearch/... |
REST JSON | 24 |
| AppConfig | /applications/..., /deploymentstrategies/... |
REST JSON | 16 |
| AppConfigData | /configurationsessions, /configuration |
REST JSON | 2 |
| AppSync | /v1/apis/... |
REST JSON | 33 |
| Amazon Bedrock | /guardrails, /guardrails/{guardrailIdentifier}, /foundation-models, /foundation-models/{modelIdentifier}, /inference-profiles, /inference-profiles/{inferenceProfileIdentifier}, /resource-policy, /resource-policy/{resourceArn}, /tagResource, /untagResource, /listTagsForResource |
REST JSON | 16 |
| Bedrock Runtime | /model/{modelId}/converse, /model/{modelId}/invoke |
REST JSON | 2 (stub; streaming returns 501) |
| Bedrock AgentCore Control | /runtimes/*, /gateways/*, /memories/*, /identities/*, /browsers*, /browser-profiles*, /code-interpreters*, /harnesses*, /resourcepolicy/*, /tags/{resourceArn} |
REST JSON | 71 (+ 3 tagging via shared /tags/{arn} route) |
| Bedrock AgentCore | /runtimes/{agentRuntimeArn}/invocations |
REST JSON (binary payload) | 1 (canned-response stub) |
| EKS | /clusters, /clusters/{name}, /tags/{resourceArn} |
REST JSON | 7 |
| ELB v2 | POST / with Action= param |
Query | 37 |
| ELB Classic (v1) | POST / with Action= and Version=2012-06-01 |
Query | 20 |
| WAF v2 | POST / + X-Amz-Target: AWSWAF_20190729.* |
JSON 1.1 | 35 |
| Auto Scaling | POST / with Action= param |
Query | 55 |
| Application Auto Scaling | POST / + X-Amz-Target: AnyScaleFrontendService.* |
JSON 1.1 | 13 |
| Elastic Beanstalk | POST / with Action= or Operation= param |
Query | 14 |
| CodeBuild | POST / + X-Amz-Target: CodeBuild_20161006.* |
JSON 1.1 | 20 |
| AWS Batch | /v1/... |
REST JSON | 10 |
| CodeDeploy | POST / + X-Amz-Target: CodeDeploy_20141006.* |
JSON 1.1 | 35 |
| CodePipeline | POST / + X-Amz-Target: CodePipeline_20150709.* |
JSON 1.1 | 44 |
| AWS Signer | /signing-profiles, /signing-jobs, /signing-platforms, /revocations |
REST JSON | 18 |
| AWS Network Firewall | POST / + X-Amz-Target: NetworkFirewall_20201112.* |
JSON 1.0 | 27 |
| AWS Service Catalog | POST / + X-Amz-Target: AWS242ServiceCatalogService.* |
JSON 1.1 | 89 |
| Service Quotas | POST / + X-Amz-Target: ServiceQuotasV20190624.* |
JSON 1.1 | 8 |
| AWS Budgets | POST / + X-Amz-Target: AWSBudgetServiceGateway.* |
JSON 1.1 | 26 |
| AWS RAM | POST /{operationname} (lowercase), DELETE /deleteresourceshare |
REST JSON | 16 |
| Control Catalog | /get-control, /list-controls |
REST JSON | 2 |
| AWS Marketplace | Marketplace Catalog API | REST JSON | 56 |
| Control Tower | /list-landingzones, /get-landingzone, /create-landingzone, /*-baseline* |
REST JSON | 15 |
| Managed Prometheus (AMP) | /workspaces/*, /workspaces/*/rulegroupsnamespaces/*, /tags/* |
REST JSON | 13 |
| AWS Backup | /backup-vaults/*, /logically-air-gapped-backup-vaults/*, /backup/plans/*, /backup-jobs/*, /supported-resource-types |
REST JSON | 35 |
| AWS FIS | /experimentTemplates/*, /experiments/*, /actions/*, /targetResourceTypes/*, /safetyLevers/*, /tags/* |
REST JSON | 26 |
| CodeGuru Reviewer | /associations, /associations/{associationArn}, /tags/* |
REST JSON | 7 |
| CodeArtifact | /v1/domain*, /v1/repository*, /v1/package, /v1/package/version*, /v1/package-group*, /v1/list-associated-packages, /v1/get-associated-package-group, /v1/tag*, /v1/authorization-token, /codeartifact/maven/*, /codeartifact/npm/*, /codeartifact/pypi/* |
REST JSON | 48 |
| CloudFront | /2020-05-31/distribution/*, /2020-05-31/cache-policy/*, /2020-05-31/function/*, /2020-05-31/key-value-store/*, /key-value-stores/* |
REST XML, REST JSON | 61 |
| Route53 | /2013-04-01/hostedzone/*, /2013-04-01/healthcheck/*, /2013-04-01/change/*, /2013-04-01/delegationset/* |
REST XML | 31 |
| Route 53 Resolver | POST / + X-Amz-Target: Route53Resolver.* |
JSON 1.1 | 22 |
| Amazon SageMaker | POST / + X-Amz-Target: SageMaker.* |
JSON 1.1 | 20 |
| SageMaker Runtime | /endpoints/{EndpointName}/invocations |
REST (binary payload) | 1 |
| Cloud Map | POST / + X-Amz-Target: Route53AutoNaming_v20170314.* |
JSON 1.1 | 22 |
| AWS Config | POST / + X-Amz-Target: StarlingDoveService.* |
JSON 1.1 | 36 |
| CloudTrail | POST / + X-Amz-Target: com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101.* |
JSON 1.1 | 14 |
| Textract | POST / + X-Amz-Target: Textract.* |
JSON 1.1 | 6 |
| Comprehend | POST / + X-Amz-Target: Comprehend_20171127.* |
JSON 1.1 | 5 |
| Rekognition | POST / + X-Amz-Target: RekognitionService.* |
JSON 1.1 | 14 |
| Translate | POST / + X-Amz-Target: AWSShineFrontendService_20170701.* |
JSON 1.1 | 3 |
| Transcribe | POST / + X-Amz-Target: Transcribe.* |
JSON 1.1 | 8 |
| Pricing | POST / + X-Amz-Target: AWSPriceListService.* |
JSON 1.1 | 5 |
| Cost Explorer | POST / + X-Amz-Target: AWSInsightsIndexService.* |
JSON 1.1 | 20 |
| Cost and Usage Reports | POST / + X-Amz-Target: AWSOrigamiServiceGatewayService.* |
JSON 1.1 | 6 |
| BCM Pricing Calculator | POST / + X-Amz-Target: AWSBCMPricingCalculator.* |
JSON 1.0 | 4 |
| BCM Data Exports | POST / + X-Amz-Target: AWSBillingAndCostManagementDataExports.* |
JSON 1.1 | 7 |
| Transfer Family | POST / + X-Amz-Target: TransferService.* |
JSON 1.1 | 17 |
| DataSync | POST / + X-Amz-Target: FmrsService.* |
JSON 1.1 | 48 |
| IoT Core | /things/..., /endpoint, rules/policies REST paths |
REST JSON | 78 |
| IoT Data | /things/{thingName}/shadow, MQTT topics |
REST JSON | 11 |
Lambda, ElastiCache, RDS, MSK, MWAA, ECS, EKS, and OpenSearch spin up real Docker containers and support IAM authentication and SigV4 request signing, the same auth flow as production AWS. RDS Data API executes SQL against the local RDS containers through AWS-compatible REST JSON routes.
ECR proxies Docker Distribution traffic to a shared registry:2 container so the stock docker client can push and pull image bytes against repositories returned by the AWS-shaped control plane. EKS (real mode) starts a k3s container per cluster and exposes the Kubernetes API server on a host port. OpenSearch (real mode) starts an opensearchproject/opensearch container per domain and exposes the data-plane REST API on a host port. DocumentDB starts a real mongo container per cluster and returns its host and port as the cluster endpoint, so any MongoDB driver can connect against the MongoDB-compatible wire protocol.
Common Setup
Before calling any service, configure your AWS client to point to Floci:
export AWS_ENDPOINT_URL=http://localhost:4566
export AWS_DEFAULT_REGION=us-east-1
export AWS_ACCESS_KEY_ID=test
export AWS_SECRET_ACCESS_KEY=test
AWS_ENDPOINT_URL is the standard env var recognised by the AWS CLI v2 and AWS SDKs v2+, so no --endpoint-url flag is needed on each command.