You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
organizations: every SDK call answers "service not emulated" — the X-Amz-Target prefix has no alias #610
Every AWS Organizations call from any SDK or the CLI is refused:
$ aws organizations list-roots
An error occurred (ServiceNotAvailable) when calling the ListRoots operation:
service not emulated: awsorganizationsv20161128
OrganizationsPlugin is registered (emulator/plugins.go:491) and covered by
unit tests, but nothing that speaks the wire protocol can reach it.
Why
extractServiceFromTarget (emulator/parser.go) reduces an X-Amz-Target
namespace by stripping a leading Amazon, then stripping a version suffix after an underscore, then lowercasing. The Organizations model's targetPrefix is AWSOrganizationsV20161128 — the version rides inside the
prefix with no underscore, so neither strip fires and the name reduces to awsorganizationsv20161128, which is in no plugin's registry and matches no
entry in targetServiceAliases.
This is the same class of defect as #561, where SSOPlugin was registered,
tested in-process, and unreachable because the mapped prefix matched no real
client. The in-process tests pass either way, because they construct an AWSRequest with Service already set rather than going through the parser.
Fix
One alias entry, "awsorganizationsv20161128": "organizations", plus a parser
test asserting three real target values resolve — mirroring the #561 regression
test so the next reader sees why the generic strip does not cover this shape.
Provenance
Observed against substrate server --address :4678 with AWS_MAX_ATTEMPTS=1 and
the AWS CLI. The targetPrefix is from the botocore Organizations model
(organizations/2016-11-28/service-2.json, metadata.targetPrefix).
Activity
fix(organizations,server): route the AWSOrganizationsV20161128 target…
docs(organizations): document the service, and add the SDK-level jour…
fix(iam): decode query-protocol list parameters (#639) (#640)
feat(config): configuration recorder and delivery channel (#580) (#650)
docs(config): the Config service reference, and an SDK journey that p…