CmdID

CmdID / aws / aws dms

aws dms export-metadata-model-assessment

Saves a copy of a database migration assessment report to your Amazon S3 bucket. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To export a conversion assessment report

The following export-metadata-model-assessment example exports a conversion assessment report for all objects in the ExampleSchema schema.

aws dms export-metadata-model-assessment --migration-project-identifier arn:aws:dms:us-west-2:123456789012:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRS --selection-rules '{"rules": [{"rule-type": "selection", "rule-id": "1", "rule-name": "1", "object-locator": {"server-name": "example-source-server.us-west-2.rds.amazonaws.com", "schema-name": "ExampleSchema"}, "rule-action": "explicit"}]}' --file-name example-assessment-report --assessment-report-types pdf csvIdentify
--migration-project-identifierThe migration project name or Amazon Resource Name (ARN).
--selection-rulesA JSON string that identifies the metadata models to export a conversion assessment report for.
--file-nameThe name of the assessment file to create in your Amazon S3 bucket.
--assessment-report-typesThe file format of the assessment file.
Its output
{
    "PdfReport": {
        "S3ObjectKey": "example-migration-project/example-assessment-report.pdf",
        "ObjectURL": "https://amzn-s3-demo-bucket.s3.amazonaws.com/example-migration-project/example-assessment-report.pdf"
    },
    "CsvReport": {
        "S3ObjectKey": "example-migration-project/example-assessment-report.zip",
        "ObjectURL": "https://amzn-s3-demo-bucket.s3.amazonaws.com/example-migration-project/example-assessment-report.zip"
    }
}

For more information, see Creating database migration assessment reports in the AWS Database Migration Service User Guide.

Options

4 in the AWS CLI reference
--assessment-report-typesThe file format of the assessment file.
--file-nameThe name of the assessment file to create in your Amazon S3 bucket.
--migration-project-identifierThe migration project name or Amazon Resource Name (ARN).
--selection-rulesA JSON string that identifies the metadata models to export a conversion assessment report for.