DatabaseMigrationService / Client / export_metadata_model_assessment

export_metadata_model_assessment#

DatabaseMigrationService.Client.export_metadata_model_assessment(**kwargs)#

Saves a copy of a database migration assessment report to your Amazon S3 bucket. DMS can save your assessment report as a comma-separated value (CSV) or a PDF file.

See also: AWS API Documentation

Request Syntax

response = client.export_metadata_model_assessment(
    MigrationProjectIdentifier='string',
    SelectionRules='string',
    FileName='string',
    AssessmentReportTypes=[
        'pdf'|'csv',
    ]
)
Parameters:
  • MigrationProjectIdentifier (string) –

    [REQUIRED]

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

  • SelectionRules (string) –

    [REQUIRED]

    A value that specifies the database objects to assess.

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

  • AssessmentReportTypes (list) –

    The file format of the assessment file.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'PdfReport': {
        'S3ObjectKey': 'string',
        'ObjectURL': 'string'
    },
    'CsvReport': {
        'S3ObjectKey': 'string',
        'ObjectURL': 'string'
    }
}

Response Structure

  • (dict) –

    • PdfReport (dict) –

      The Amazon S3 details for an assessment exported in PDF format.

      • S3ObjectKey (string) –

        The object key for the object containing the exported metadata model assessment.

      • ObjectURL (string) –

        The URL for the object containing the exported metadata model assessment.

    • CsvReport (dict) –

      The Amazon S3 details for an assessment exported in CSV format.

      • S3ObjectKey (string) –

        The object key for the object containing the exported metadata model assessment.

      • ObjectURL (string) –

        The URL for the object containing the exported metadata model assessment.

Exceptions

  • DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault