GenerateOrganizationsAccessReport and GetOrganizationsAccessReport answered
UnsupportedOperation, which is not a reply any SDK models. They are the Access
Advisor job shape over a different question, and everything the question needs
was already here: an Organizations tree with roots, OUs, accounts and SCPs, a
policy evaluator, and a job model whose report is fixed at generation time.
The report is the services the service control policies along an entity path
leave reachable. The path names the organization, its root, and the OUs or
account below it, and the SCPs attached to each of those are read from
Organizations and evaluated. Only SCP logic applies, which the reference is
explicit about: identity policies, resource policies, ACLs, permissions
boundaries and trust policies play no part in this data.
Attached SCPs are a union within one level and the levels are intersected, so a
service survives only where every level allows it. That cannot be answered a
namespace at a time, because a service is reachable only while some action in it
survives the whole chain: two levels allowing single disjoint actions,
s3:GetObject under s3:PutObject, leave no S3 action at all, and a Deny on the one
action a level allows leaves none either. What a namespace-wide reading got right
stays right. An SCP denying s3:DeleteBucket alone keeps S3 on the list, because
every other S3 action is still reachable, and a Deny carrying a Condition or
naming particular resources closes nothing: the region guardrail on * that most
organizations carry, and a deny scoped to one bucket, both leave the service
reachable by every request they do not cover, and reading them as total denials
would report an organization that reaches nothing.
This is still not the existing scpAllows asked once per namespace. That question
needs a concrete action, and a request action of s3:* would not match a statement
naming s3:GetObject, a pattern globbing against a request value and never the
other way round. The survivors are found by probing instead, with the actions the
policies themselves name and one stand-in action per wildcard, which decides the
patterns policies are written with exactly: a deny on s3:GetObject leaves the
service reachable where a deny on s3:Get* does not. A wildcard that is not a
trailing one is the limit of it, since the stand-in for s3:*Object misses the
s3:GetObject that s3:Get* would allow; such a pattern leaves the service on the
list rather than off it, which is the side the namespace reading was already on.
The management account is not limited by SCPs, so its report lists every service
and an OrganizationsPolicyId passed with it is ignored, both as documented.
Passing that ID otherwise narrows the report to the one SCP named, and it has to
name one: Organizations keeps tag, backup, chatbot and opt-out policies in the
same ID space, none of them carries statements, and evaluating one as a ceiling
would read as a level that constrains nothing and report every service there is.
The entity path has to be a path the organization actually has. The segments
below the root name a chain of parent and child, so the path is held to the one
Organizations reports for its last node rather than each segment being resolved
on its own. Resolving them one at a time accepts a path assembled from two
branches, or one that skips an OU, and reports the policies of a chain the
organization does not have; it also lets a path whose last segment is the
management account take the unlimited answer with an OU above it that does not
exist.
Floci records no service access, so every service in a report is one principals
are allowed but never reached. The reference's own example gives such a service
as a namespace and a zero count with no region, entity path or last-authenticated
time, so that is the shape here and NumberOfServicesNotAccessed equals
NumberOfServicesAccessible. ServiceName carries a display name Floci has no
mapping for, so the namespace stands in for it as it does on the last-accessed
reader. SortKey is validated against its four values: the namespace keys sort
the list and the time keys leave it in namespace order, since ordering on a
timestamp no entry carries would be ordering on nothing.
A caller who is not the management account gets AccessDenied 403. Neither
operation models a code for that, but a per-action error list is additive: the
reference's common error types "that this AWS service may return" apply to every
action and include the 403 permission denial, and the user guide names the code
for a denied IAM action outright in its AddRoleToInstanceProfile entry. That page
spells it AccessDeniedException where the user guide and the rest of this
service's surface spell it AccessDenied; the latter is used, so a caller sees one
spelling across IAM and STS.
Three things are inferences, and they are the same inference three times. The
docs say so. The generator models no error for an entity path that is well-formed
but resolves to nothing, nor for the prerequisite the reference states, that SCPs
be enabled for the organization root, nor for an OrganizationsPolicyId naming a
policy of some other type, so each produces a FAILED job carrying ErrorDetails:
InvalidEntityPath or the Organizations code for the entity in the first case,
PolicyTypeNotEnabled in the second, Organizations' InvalidInputException in the
third. That is read off the shape of the API rather than off a sentence: AWS
publishes both fields on this reader for failures the generator does not report
synchronously. The alternatives are worse. Letting Organizations' own error
escape unchanged puts another service's code on an IAM operation, a COMPLETED job
with an empty list cannot be told apart from an organization that reaches no
services, and ValidationError is for a shape violation, which a well-formed path,
a disabled policy type and an existing policy of the wrong type are not.
ReportGenerationLimitExceeded, the generator's only modeled error, reports
concurrent generations and stays unreachable: a job completes the moment it is
created, so two never overlap.
The generator also carries the access-report resource type, so it leaves
UNRESOLVED_TYPES and resolves from the request. The reference spells the type as
access-report/${EntityPath}, so the entity path goes into the ARN whole: its
slashes are the organization's tree, not an IAM path, which is why it does not
go through the minting the creates use.
Both actions join AwsQueryController.IAM_ACTIONS as well as the handler, without
which inferService would never route them. That list and the handler now hold
166 each, still exactly in step.
Validation runs before the lookup, as AWS rejects a request shape whether or not
the job exists: a SortKey outside the enum answers ValidationError even for a
job ID nothing holds, where validating it afterwards would answer NoSuchEntity.
A member the request carries is held to its shape whatever it carries, an empty
value included, since SortKey= and OrganizationsPolicyId= are a malformed enum
and a malformed id rather than a way of leaving an optional member out. The
entity path reports the constraint that failed rather than the regular
expression for every case, so a path over the maximum length reads as a length
violation, which is what every other validated IAM member does.
Only the one Organizations answer that means something about the caller becomes
AccessDenied. A read that fails for any other reason keeps its own error, rather
than reaching the caller as a permission problem they do not have.
Two things are shared rather than copied. The job registry both report
generators keep, an account-scoped store keyed by job ID that answers
NoSuchEntity for an ID it does not hold, moves into IamJobStore and
ServiceLastAccessedService reads it from there; the two had the same three
methods and the same message. The report's timestamps come from the injected
Clock, which IamService already takes, rather than from Instant.now(), so they
agree with every other time IAM decides. IamQueryHandlerTest builds the handler
itself rather than through injection, so it passes the new service along with
the dependencies it already does not use.
Fourteen unit tests cover the chain semantics, including the allow-list idiom of
allowing everything and denying all but one namespace, levels allowing disjoint
single actions, a deny on the only action allowed and on a pattern wider than it,
a conditional deny, a deny scoped to one bucket, a level with an unreadable
document, and a level with none. Twenty-one integration tests drive the pair over
an organization built through the Organizations API, on a management account of
their own so they never contend with the existing Organizations suites for one.
Two of them are the ones that hold the walk honest: the OU path, where the root
leaves S3 and DynamoDB and the OU leaves DynamoDB and IAM, so only a report
reading both levels answers DynamoDB alone, and the management account path,
which reports every service and ignores the policy ID passed with it even with a
ceiling attached to the root above it. With the tree read deliberately broken the
first SCP test returns all 456 namespaces instead of the one, and it is the only
test that notices. Two more tests mock the Organizations read, which is the one
failure a real organization cannot be made to produce.
16 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 | 17 |
| S3 | /{bucket}/{key} |
REST XML | 58 |
| S3 Vectors | POST /{OperationName} |
REST JSON | 12 |
| 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 |
| API Gateway v1 | /restapis/... |
REST JSON | 79 |
| API Gateway v2 | /v2/apis/... |
REST JSON | 53 + data-plane |
| IAM | POST / with Action= param |
Query | 166 |
| STS | POST / with Action= param |
Query | 7 |
| 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 | 86 |
| 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 | 42 |
| CloudHSM v2 | POST / + X-Amz-Target: BaldrApiService.* |
JSON 1.1 | 18 |
| Kinesis | POST / + X-Amz-Target: Kinesis_20131202.* |
JSON 1.1 | 29 |
| Managed Service for Apache Flink | POST / + X-Amz-Target: KinesisAnalytics_20180523.* |
JSON 1.1 | 15 |
| 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 | 35 |
| Cloud Control API | POST / + X-Amz-Target: CloudApiService.* |
JSON 1.1 | 5 |
| EventBridge | POST / + X-Amz-Target: AmazonEventBridge.* |
JSON 1.1 | 40 |
| 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 |
| GuardDuty | /detector, /detector/{detectorId}, /detector/{detectorId}/admin, /admin/*, /tags/* |
REST JSON | 13 |
| AWS Account Management | /putAlternateContact, /getAlternateContact |
REST JSON | 2 |
| IAM Access Analyzer | /analyzer, /analyzer/{name} |
REST JSON | 3 |
| 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, /organizationconfiguration/* |
REST JSON | 7 |
| Amazon Verified Permissions | POST / + X-Amz-Target: VerifiedPermissions.* |
JSON 1.0 | 34 |
| Security Hub | /organization/*, /accounts, /findingAggregator/*, /configurationPolicy*, /tags/* |
REST JSON | 22 |
| 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 | 30 |
| MemoryDB | POST / + X-Amz-Target: AmazonMemoryDB.* + TCP proxy |
JSON 1.1 + RESP | 13 |
| RDS | POST / with Action= param + TCP proxy |
Query + wire | 90 |
| 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 | 21 |
| Glue | POST / + X-Amz-Target: AWSGlue.* |
JSON 1.1 | 38 |
| 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 | 13 |
| DMS | POST / + X-Amz-Target: AmazonDMSv20160101.* |
JSON 1.1 | 20 |
| Redshift | POST / with Action= param + PostgreSQL container |
Query + PostgreSQL wire (+ CFN) | 35 |
| Redshift Data API | POST / + X-Amz-Target: RedshiftData.* |
JSON 1.1 | 11 |
| Redshift Serverless | POST / + X-Amz-Target: RedshiftServerless.* |
JSON 1.1 | 24 |
| EMR | POST / + X-Amz-Target: ElasticMapReduce.* |
JSON 1.1 | 37 |
| EMR Serverless | /applications/*, /tags/* |
REST JSON | 10 |
| Data Firehose | POST / + X-Amz-Target: Firehose_20150804.* |
JSON 1.1 | 12 |
| ECS | POST / + X-Amz-Target: AmazonEC2ContainerServiceV20141113.* |
JSON 1.1 | 58 |
| EFS | /2015-02-01/... |
REST JSON | 26 |
| EC2 | POST / with Action= param |
EC2 Query | 78 |
| 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 | 17 |
| 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 | 16 |
| SES v2 | /v2/email/* |
REST JSON | 10 |
| 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}, /tagResource, /untagResource, /listTagsForResource |
REST JSON | 9 |
| 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*, /resourcepolicy/*, /tags/{resourceArn} |
REST JSON | 65 (+ 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 | 34 |
| 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 | 33 |
| Application Auto Scaling | POST / + X-Amz-Target: AnyScaleFrontendService.* |
JSON 1.1 | 10 |
| 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 | 30 |
| CodePipeline | POST / + X-Amz-Target: CodePipeline_20150709.* |
JSON 1.1 | 44 |
| 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 | 6 |
| AWS Budgets | POST / + X-Amz-Target: AWSBudgetServiceGateway.* |
JSON 1.1 | 26 |
| AWS RAM | POST /{operationname} (lowercase), DELETE /deleteresourceshare |
REST JSON | 15 |
| 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/*, /backup/plans/*, /backup-jobs/*, /supported-resource-types |
REST JSON | 20 |
| 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/tag*, /v1/authorization-token, /codeartifact/maven/*, /codeartifact/npm/*, /codeartifact/pypi/* |
REST JSON | 29 |
| CloudFront | /2020-05-31/distribution/*, /2020-05-31/cache-policy/*, /2020-05-31/function/* |
REST XML | 50 |
| Route53 | /2013-04-01/hostedzone/*, /2013-04-01/healthcheck/*, /2013-04-01/change/* |
REST XML | 27 |
| Route 53 Resolver | POST / + X-Amz-Target: Route53Resolver.* |
JSON 1.1 | 18 |
| 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 | 33 |
| 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 | 5 |
| 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 | 75 |
| 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.
- SageMaker - model, endpoint, runtime, and training emulation with Docker execution.