describeMetadataModel
abstract suspend fun describeMetadataModel(input: DescribeMetadataModelRequest): DescribeMetadataModelResponse
Gets detailed information about the specified metadata model, including its definition and corresponding converted objects in the target database if applicable.
Required permissions:dms:DescribeMetadataModel. For more information, see Actions, resources, and condition keys for Database Migration Service.
Samples
// The following example retrieves detailed information about the ExampleTable table in the
// ExampleSchema schema from the source metadata tree, including its SQL definition and references to the
// corresponding converted metadata models in the target database.
val resp = databaseMigrationClient.describeMetadataModel {
migrationProjectIdentifier = "arn:aws:dms:us-east-1:111122223333:migration-project:EXAMPLEABCDEFGHIJKLMNOPQRS"
selectionRules = "{\"rules\": [{\"rule-type\": \"selection\", \"rule-id\": \"1\", \"rule-name\": \"1\", \"object-locator\": {\"server-name\": \"example-source-server.us-east-1.rds.amazonaws.com\", \"schema-name\": \"ExampleSchema\", \"table-name\": \"ExampleTable\"}, \"rule-action\": \"explicit\"}]}"
origin = OriginTypeValue.fromValue("SOURCE")
}Content copied to clipboard