DatabaseMigrationService / Client / start_metadata_model_export_as_script

start_metadata_model_export_as_script#

DatabaseMigrationService.Client.start_metadata_model_export_as_script(**kwargs)#

Saves your converted code to a file as a SQL script, and stores this file on your Amazon S3 bucket.

See also: AWS API Documentation

Request Syntax

response = client.start_metadata_model_export_as_script(
    MigrationProjectIdentifier='string',
    SelectionRules='string',
    Origin='SOURCE'|'TARGET',
    FileName='string'
)
Parameters:
  • MigrationProjectIdentifier (string) –

    [REQUIRED]

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

  • SelectionRules (string) –

    [REQUIRED]

    A value that specifies the database objects to export.

  • Origin (string) –

    [REQUIRED]

    Whether to export the metadata model from the source or the target.

  • FileName (string) – The name of the model file to create in the Amazon S3 bucket.

Return type:

dict

Returns:

Response Syntax

{
    'RequestIdentifier': 'string'
}

Response Structure

  • (dict) –

    • RequestIdentifier (string) –

      The identifier for the export operation.

Exceptions