mgn / Client / get_network_migration_mapper_segment_construct

get_network_migration_mapper_segment_construct

mgn.Client.get_network_migration_mapper_segment_construct(**kwargs)

Retrieves detailed information about a specific construct within a mapper segment, including its properties and configuration data.

See also: AWS API Documentation

Request Syntax

response = client.get_network_migration_mapper_segment_construct(
    networkMigrationDefinitionID='string',
    networkMigrationExecutionID='string',
    segmentID='string',
    constructID='string'
)
Parameters:
  • networkMigrationDefinitionID (string) –

    [REQUIRED]

    The unique identifier of the network migration definition.

  • networkMigrationExecutionID (string) –

    [REQUIRED]

    The unique identifier of the network migration execution.

  • segmentID (string) –

    [REQUIRED]

    The unique identifier of the mapper segment.

  • constructID (string) –

    [REQUIRED]

    The unique identifier of the construct within the segment.

Return type:

dict

Returns:

Response Syntax

{
    'construct': {
        'constructID': 'string',
        'constructType': 'string',
        'name': 'string',
        'description': 'string',
        'logicalID': 'string',
        'createdAt': datetime(2015, 1, 1),
        'updatedAt': datetime(2015, 1, 1),
        'properties': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) –

    • construct (dict) –

      The construct metadata including type, name, and configuration.

      • constructID (string) –

        The unique identifier of the construct.

      • constructType (string) –

        The type of the construct, such as VPC, subnet, security group, or route table.

      • name (string) –

        The name of the construct.

      • description (string) –

        A description of the construct.

      • logicalID (string) –

        The logical identifier for the construct in the infrastructure code.

      • createdAt (datetime) –

        The timestamp when the construct was created.

      • updatedAt (datetime) –

        The timestamp when the construct was last updated.

      • properties (dict) –

        The properties and configuration of the construct.

        • (string) –

          • (string) –

Exceptions

  • mgn.Client.exceptions.ResourceNotFoundException

  • mgn.Client.exceptions.AccessDeniedException

  • mgn.Client.exceptions.ValidationException