Skip to content

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 ​

MetricValue
PARITY entries audited95 (87 ok, 8 partial)
Feature families14 (11 ok, 3 partial)
Known gapsnone
Structural gaps (can't be emulated)8
Deferred items1
Resource leaksclean

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
OperationWireErrorsStatePersist
DescribeSourceServersfixedokokok
UpdateSourceServerokokokok
UpdateSourceServerReplicationTypeokokokok
DeleteSourceServerokokokok
ChangeServerLifeCycleStateokokfixedok
DisconnectFromServiceokokokok
FinalizeCutoverokokokok
MarkAsArchivedokokfixedok
StartTestokokokok
StartCutoverokokokok
StartReplicationokokokok
StopReplicationokokokok
PauseReplicationokokokok
ResumeReplicationokokokok
RetryDataReplicationokokokok
TerminateTargetInstancesokokfixedok
DescribeJobsfixedokokok
DescribeJobLogItemsfixedokokok
DeleteJobokokokok
GetLaunchConfigurationokokokok
UpdateLaunchConfigurationokokokok
CreateLaunchConfigurationTemplatefixedokokok
DeleteLaunchConfigurationTemplateokokokok
DescribeLaunchConfigurationTemplatesokokokok
UpdateLaunchConfigurationTemplatefixedokokok
GetReplicationConfigurationfixedokokok
UpdateReplicationConfigurationfixedokokok
CreateReplicationConfigurationTemplatefixedokokok
DeleteReplicationConfigurationTemplateokokokok
DescribeReplicationConfigurationTemplatesfixedokokok
UpdateReplicationConfigurationTemplatefixedokokok
CreateApplicationokokokok
UpdateApplicationokokokok
DeleteApplicationokokokok
ListApplicationsokokokok
ArchiveApplicationokokokok
UnarchiveApplicationokokokok
AssociateSourceServersokokokok
DisassociateSourceServersokokokok
CreateWaveokokokok
UpdateWaveokokokok
DeleteWaveokokokok
ListWavesokokokok
ArchiveWaveokokokok
UnarchiveWaveokokokok
AssociateApplicationsokokokok
DisassociateApplicationsokokokok
CreateConnectorokokokok
UpdateConnectorokokokok
DeleteConnectorokokokok
ListConnectorsokokokok
DescribeVcenterClientsokokokok
DeleteVcenterClientokokokok
StartExportokokokok
ListExportsokokokok
ListExportErrorsokokokok
StartImportokokokok
ListImportsokokokok
ListImportErrorsokokokok
StartImportFileEnrichmentfixedokpartialok
ListImportFileEnrichmentsokokokok
PutSourceServerActionokokokok
ListSourceServerActionsfixedokokok
RemoveSourceServerActionokokokok
PutTemplateActionokokokok
ListTemplateActionsfixedokokok
RemoveTemplateActionokokokok
InitializeServiceokokokok
ListManagedAccountsokokokok
TagResourceokokokok
UntagResourceokokokok
ListTagsForResourceokokokok
CreateNetworkMigrationDefinitionokokokok
GetNetworkMigrationDefinitionokokokok
UpdateNetworkMigrationDefinitionokokokok
DeleteNetworkMigrationDefinitionokokokok
ListNetworkMigrationDefinitionsokokokok
GetNetworkMigrationMapperSegmentConstructokokpartialok
ListNetworkMigrationMapperSegmentConstructsokokpartialok
ListNetworkMigrationMapperSegmentsokokpartialok
UpdateNetworkMigrationMapperSegmentokokpartialok
ListNetworkMigrationMappingsfixedokokok
ListNetworkMigrationMappingUpdatesfixedokokok
StartNetworkMigrationMappingokokokok
StartNetworkMigrationMappingUpdateokokokok
StartNetworkMigrationAnalysisokokokok
ListNetworkMigrationAnalysesfixedokokok
ListNetworkMigrationAnalysisResultsokokpartialok
StartNetworkMigrationCodeGenerationokokokok
ListNetworkMigrationCodeGenerationsfixedokokok
ListNetworkMigrationCodeGenerationSegmentsokokpartialok
StartNetworkMigrationDeploymentokokokok
ListNetworkMigrationDeploymentsfixedokokok
ListNetworkMigrationDeployedStacksokokpartialok
ListNetworkMigrationExecutionsokokokok

Audited Feature Families ​

Feature FamilyStatus
source_server_lifecycleok
jobsok
launch_configurationok
replication_configurationok
applicationsok
wavesok
connectorsok
vcenter_clientsok
export_importpartial
actionsok
service_initok
taggingok
network_migration_definitionspartial
network_migration_analysis_deploypartial

Released under the MIT License.