Mgn
Parity grade: A · SDK aws-sdk-go-v2/service/mgn@v1.56.3 · last audited 2026-10-10 (302aa4e3c)
Category: Other · View PARITY.md on GitHub · All Services
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 95 (87 ok, 8 partial) |
| Feature families | 14 (11 ok, 3 partial) |
| Known gaps | none |
| Structural gaps (can't be emulated) | 8 |
| Deferred items | 1 |
| Resource leaks | clean |
Structural Gaps
These do not block an A grade — no implementation could produce real data here because the underlying data source cannot exist in an emulator.
- No CreateSourceServer op exists anywhere in this SDK's 95 operations. In real AWS, a SourceServer record is created only by the MGN Replication Agent (installed on the actual on-prem/cloud source machine) calling an internal, non-public control-plane API to register itself -- that registration call is NOT part of this public SDK surface at all. StartImport's bulk CSV import is the ONLY public-API path that creates SourceServer records in this implementation (createSourceServerLocked, sourceservers.go), and is now wire-reachable with a real, doc-derived CSV schema (2026-08-06) -- there is no further public-API creation path to add.
- No CreateVcenterClient op exists either, for the same reason: VcenterClient records are created by the MGN vCenter connector appliance registering itself, not via any public API in this surface, and StartImport's schema has no VcenterClient-creating columns (real AWS's own ImportTaskSummary has no VcenterClients count field, confirming this). DescribeVcenterClients/DeleteVcenterClient are read/delete only; SeedVcenterClient (vcenterclients.go) remains this emulator's only way to get a VcenterClient into the backend at all -- there is no public-API path to replace it with.
- No op creates a NetworkMigrationExecutionID. StartNetworkMigrationMapping, StartNetworkMigrationMappingUpdate, StartNetworkMigrationAnalysis, StartNetworkMigrationCodeGeneration, and StartNetworkMigrationDeployment all take NetworkMigrationExecutionID as a REQUIRED input field, and ListNetworkMigrationExecutions only lists existing ones -- no public op in this 95-op surface ever creates one. This implementation's resolution (resolveOrCreateExecutionLocked, networkmigrationjobs.go): auto-vivify a NetworkMigrationExecution the first time any of the 5 Start* ops references an unseen (DefinitionID, ExecutionID) pair, generalizing the only documented convention available -- a deliberate, already-optimal design given no creation op exists to defer to.
- The Network Migration sub-product's analysis/code-generation/deployment CONTENT (ListNetworkMigrationAnalysisResults/ListNetworkMigrationCodeGenerationSegments/ListNetworkMigrationDeployedStacks, plus the 4 mapper-segment ops under network_migration_definitions) analyzes exported on-prem network configuration and generates infrastructure-as-code/CloudFormation-equivalent artifacts. None of analysis, code generation, or deployment can be honestly performed by this emulator without either (a) a real network-analysis/codegen engine that does not exist in this repo, or (b) fabricating analysis findings and generated code as free-text strings -- no data source can exist for this content in an emulator. The state-bookkeeping shell (definitions, executions, mapper segments/constructs with their CRUD and status enums, real PENDING->STARTED->SUCCEEDED job progression) is honestly simulated; the CONTENT stays genuinely empty/404, never invented.
- AWS's own Service Authorization Reference and MGN User Guide pages for ARN/ID formats return a JS-shell body to automated fetches (same failure mode this repo's outposts/grafana audits hit on the same docs.aws.amazon.com domain), and Terraform's AWS provider has zero MGN resources (
internal/service/mgn/is 4 auto-generated boilerplate files, FrameworkResources()/SDKResources() both empty) -- unlike directconnect/outposts, there is no Terraform-provider-source corroboration available for this service's ARN resource-path segments or ID formats at all. The only corroborating evidence is botocore's service-2.json metadata (endpointPrefix/serviceId/signingName all literally "mgn"), consistent with but not proof of the ARN service segment. No AWS::MGN:😗 CloudFormation resource type exists in this repo either (grep -rli 'mgn\\b' services/cloudformation/returns zero hits) -- MGN's own real CloudFormation support, if any, cannot be verified from this repo's tree. These are epistemic limits on independent verification, not implementation gaps: every specific value derived from them (ARN segments, mgnServicePrincipal) is already flagged inline as best-effort, not presented as confirmed. - StartImport mgn:account-id and mgn:region are unimplemented: the backend has no cross-account or multi-region concept to select.
- Job.ParticipatingServers[].PostLaunchActionsStatus is not modeled: post-launch SSM documents run outside this API and no SSM execution engine exists to produce run results.
- mgn:server:hostname/fqdn/aws-instance-id/vmware-uuid/vmpath import columns are this package's extension of the published table (only fqdn-for-action-framework, id and user-provided-id are published): no public op creates SourceServers, so they are the only way to seed IdentificationHints.
Deferred Items
- Nothing this pass. All 95 ops are implemented and this pass's own integration suite (test/integration/mgn_test.go) exercises every op family named in gopherstack-xd34's scope (source servers, replication/launch configuration templates, jobs, applications/waves, tagging, network migration, cross-service EC2/Organizations wiring).
Audited Operations
95 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
DescribeSourceServers | fixed | ok | ok | ok |
UpdateSourceServer | ok | ok | ok | ok |
UpdateSourceServerReplicationType | ok | ok | ok | ok |
DeleteSourceServer | ok | ok | ok | ok |
ChangeServerLifeCycleState | ok | ok | fixed | ok |
DisconnectFromService | ok | ok | ok | ok |
FinalizeCutover | ok | ok | ok | ok |
MarkAsArchived | ok | ok | fixed | ok |
StartTest | ok | ok | ok | ok |
StartCutover | ok | ok | ok | ok |
StartReplication | ok | ok | ok | ok |
StopReplication | ok | ok | ok | ok |
PauseReplication | ok | ok | ok | ok |
ResumeReplication | ok | ok | ok | ok |
RetryDataReplication | ok | ok | ok | ok |
TerminateTargetInstances | ok | ok | fixed | ok |
DescribeJobs | fixed | ok | ok | ok |
DescribeJobLogItems | fixed | ok | ok | ok |
DeleteJob | ok | ok | ok | ok |
GetLaunchConfiguration | ok | ok | ok | ok |
UpdateLaunchConfiguration | ok | ok | ok | ok |
CreateLaunchConfigurationTemplate | fixed | ok | ok | ok |
DeleteLaunchConfigurationTemplate | ok | ok | ok | ok |
DescribeLaunchConfigurationTemplates | ok | ok | ok | ok |
UpdateLaunchConfigurationTemplate | fixed | ok | ok | ok |
GetReplicationConfiguration | fixed | ok | ok | ok |
UpdateReplicationConfiguration | fixed | ok | ok | ok |
CreateReplicationConfigurationTemplate | fixed | ok | ok | ok |
DeleteReplicationConfigurationTemplate | ok | ok | ok | ok |
DescribeReplicationConfigurationTemplates | fixed | ok | ok | ok |
UpdateReplicationConfigurationTemplate | fixed | ok | ok | ok |
CreateApplication | ok | ok | ok | ok |
UpdateApplication | ok | ok | ok | ok |
DeleteApplication | ok | ok | ok | ok |
ListApplications | ok | ok | ok | ok |
ArchiveApplication | ok | ok | ok | ok |
UnarchiveApplication | ok | ok | ok | ok |
AssociateSourceServers | ok | ok | ok | ok |
DisassociateSourceServers | ok | ok | ok | ok |
CreateWave | ok | ok | ok | ok |
UpdateWave | ok | ok | ok | ok |
DeleteWave | ok | ok | ok | ok |
ListWaves | ok | ok | ok | ok |
ArchiveWave | ok | ok | ok | ok |
UnarchiveWave | ok | ok | ok | ok |
AssociateApplications | ok | ok | ok | ok |
DisassociateApplications | ok | ok | ok | ok |
CreateConnector | ok | ok | ok | ok |
UpdateConnector | ok | ok | ok | ok |
DeleteConnector | ok | ok | ok | ok |
ListConnectors | ok | ok | ok | ok |
DescribeVcenterClients | ok | ok | ok | ok |
DeleteVcenterClient | ok | ok | ok | ok |
StartExport | ok | ok | ok | ok |
ListExports | ok | ok | ok | ok |
ListExportErrors | ok | ok | ok | ok |
StartImport | ok | ok | ok | ok |
ListImports | ok | ok | ok | ok |
ListImportErrors | ok | ok | ok | ok |
StartImportFileEnrichment | fixed | ok | partial | ok |
ListImportFileEnrichments | ok | ok | ok | ok |
PutSourceServerAction | ok | ok | ok | ok |
ListSourceServerActions | fixed | ok | ok | ok |
RemoveSourceServerAction | ok | ok | ok | ok |
PutTemplateAction | ok | ok | ok | ok |
ListTemplateActions | fixed | ok | ok | ok |
RemoveTemplateAction | ok | ok | ok | ok |
InitializeService | ok | ok | ok | ok |
ListManagedAccounts | ok | ok | ok | ok |
TagResource | ok | ok | ok | ok |
UntagResource | ok | ok | ok | ok |
ListTagsForResource | ok | ok | ok | ok |
CreateNetworkMigrationDefinition | ok | ok | ok | ok |
GetNetworkMigrationDefinition | ok | ok | ok | ok |
UpdateNetworkMigrationDefinition | ok | ok | ok | ok |
DeleteNetworkMigrationDefinition | ok | ok | ok | ok |
ListNetworkMigrationDefinitions | ok | ok | ok | ok |
GetNetworkMigrationMapperSegmentConstruct | ok | ok | partial | ok |
ListNetworkMigrationMapperSegmentConstructs | ok | ok | partial | ok |
ListNetworkMigrationMapperSegments | ok | ok | partial | ok |
UpdateNetworkMigrationMapperSegment | ok | ok | partial | ok |
ListNetworkMigrationMappings | fixed | ok | ok | ok |
ListNetworkMigrationMappingUpdates | fixed | ok | ok | ok |
StartNetworkMigrationMapping | ok | ok | ok | ok |
StartNetworkMigrationMappingUpdate | ok | ok | ok | ok |
StartNetworkMigrationAnalysis | ok | ok | ok | ok |
ListNetworkMigrationAnalyses | fixed | ok | ok | ok |
ListNetworkMigrationAnalysisResults | ok | ok | partial | ok |
StartNetworkMigrationCodeGeneration | ok | ok | ok | ok |
ListNetworkMigrationCodeGenerations | fixed | ok | ok | ok |
ListNetworkMigrationCodeGenerationSegments | ok | ok | partial | ok |
StartNetworkMigrationDeployment | ok | ok | ok | ok |
ListNetworkMigrationDeployments | fixed | ok | ok | ok |
ListNetworkMigrationDeployedStacks | ok | ok | partial | ok |
ListNetworkMigrationExecutions | ok | ok | ok | ok |
Audited Feature Families
| Feature Family | Status |
|---|---|
source_server_lifecycle | ok |
jobs | ok |
launch_configuration | ok |
replication_configuration | ok |
applications | ok |
waves | ok |
connectors | ok |
vcenter_clients | ok |
export_import | partial |
actions | ok |
service_init | ok |
tagging | ok |
network_migration_definitions | partial |
network_migration_analysis_deploy | partial |
