mgn / Client / list_network_migration_analysis_results

list_network_migration_analysis_results

mgn.Client.list_network_migration_analysis_results(**kwargs)

Lists the results of network migration analyses, showing connectivity and compatibility findings for migrated resources.

See also: AWS API Documentation

Request Syntax

response = client.list_network_migration_analysis_results(
    networkMigrationExecutionID='string',
    networkMigrationDefinitionID='string',
    filters={
        'vpcIDs': [
            'string',
        ]
    },
    maxResults=123,
    nextToken='string'
)
Parameters:
  • networkMigrationExecutionID (string) –

    [REQUIRED]

    The unique identifier of the network migration execution.

  • networkMigrationDefinitionID (string) –

    [REQUIRED]

    The unique identifier of the network migration definition.

  • filters (dict) –

    Filters to apply when listing analysis results, such as VPC IDs.

    • vpcIDs (list) –

      A list of VPC IDs to filter results by.

      • (string) –

  • maxResults (integer) – The maximum number of results to return in a single call.

  • nextToken (string) – The token for the next page of results.

Return type:

dict

Returns:

Response Syntax

{
    'items': [
        {
            'jobID': 'string',
            'networkMigrationExecutionID': 'string',
            'networkMigrationDefinitionID': 'string',
            'analyzerType': 'REACHABILITY_ANALYZER',
            'source': {
                'vpcID': 'string',
                'subnetID': 'string'
            },
            'target': {
                'vpcID': 'string',
                'subnetID': 'string'
            },
            'status': 'PENDING'|'STARTED'|'SUCCEEDED'|'FAILED',
            'analysisResult': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      A list of network migration analysis results.

      • (dict) –

        The result of a network migration analysis operation.

        • jobID (string) –

          The unique identifier of the analysis job that generated this result.

        • networkMigrationExecutionID (string) –

          The unique identifier of the network migration execution.

        • networkMigrationDefinitionID (string) –

          The unique identifier of the network migration definition.

        • analyzerType (string) –

          The type of analyzer that generated this result.

        • source (dict) –

          The source resource that was analyzed.

          • vpcID (string) –

            The VPC ID of the source resource.

          • subnetID (string) –

            The subnet ID of the source resource.

        • target (dict) –

          The target resource in the analysis.

          • vpcID (string) –

            The VPC ID of the target resource.

          • subnetID (string) –

            The subnet ID of the target resource.

        • status (string) –

          The status of the analysis result.

        • analysisResult (string) –

          The detailed analysis findings and recommendations.

    • nextToken (string) –

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

Exceptions

  • mgn.Client.exceptions.ResourceNotFoundException

  • mgn.Client.exceptions.ThrottlingException

  • mgn.Client.exceptions.AccessDeniedException

  • mgn.Client.exceptions.ValidationException