describeMetadataModelChildren

Gets a list of child metadata models for the specified metadata model in the database hierarchy.

Required permissions:dms:DescribeMetadataModelChildren. For more information, see Actions, resources, and condition keys for Database Migration Service.

Samples

// The following example retrieves the child metadata models of the ExampleSchema schema from the
// source metadata tree.
val resp = databaseMigrationClient.describeMetadataModelChildren {
    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\"}, \"rule-action\": \"explicit\"}]}"
    origin = OriginTypeValue.fromValue("SOURCE")
}