DatabaseMigrationService / Client / start_metadata_model_import

start_metadata_model_import#

DatabaseMigrationService.Client.start_metadata_model_import(**kwargs)#

Loads the metadata for all the dependent database objects of the parent object.

This operation uses your project’s Amazon S3 bucket as a metadata cache to improve performance.

See also: AWS API Documentation

Request Syntax

response = client.start_metadata_model_import(
    MigrationProjectIdentifier='string',
    SelectionRules='string',
    Origin='SOURCE'|'TARGET',
    Refresh=True|False
)
Parameters:
  • MigrationProjectIdentifier (string) –

    [REQUIRED]

    The migration project name or Amazon Resource Name (ARN).

  • SelectionRules (string) –

    [REQUIRED]

    A value that specifies the database objects to import.

  • Origin (string) –

    [REQUIRED]

    Whether to load metadata to the source or target database.

  • Refresh (boolean) – If true, DMS loads metadata for the specified objects from the source database.

Return type:

dict

Returns:

Response Syntax

{
    'RequestIdentifier': 'string'
}

Response Structure

  • (dict) –

    • RequestIdentifier (string) –

      The identifier for the import operation.

Exceptions