:doc:`DatabaseMigrationService <../../dms>` / Client / describe_metadata_model_children

********************************
describe_metadata_model_children
********************************



.. py:method:: DatabaseMigrationService.Client.describe_metadata_model_children(**kwargs)

  

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

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeMetadataModelChildren>`_  


  **Request Syntax**
  ::

    response = client.describe_metadata_model_children(
        SelectionRules='string',
        MigrationProjectIdentifier='string',
        Origin='SOURCE'|'TARGET',
        Marker='string',
        MaxRecords=123
    )
    
  :type SelectionRules: string
  :param SelectionRules: **[REQUIRED]** 

    The JSON string that specifies which metadata model's children to retrieve. Only one selection rule with "rule-action": "explicit" can be provided. For more information, see `Selection Rules <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.SelectionTransformation.Selections.html>`__ in the DMS User Guide.

    

  
  :type MigrationProjectIdentifier: string
  :param MigrationProjectIdentifier: **[REQUIRED]** 

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

    

  
  :type Origin: string
  :param Origin: **[REQUIRED]** 

    Specifies whether to retrieve metadata from the source or target tree. Valid values: SOURCE | TARGET

    

  
  :type Marker: string
  :param Marker: 

    Specifies the unique pagination token that indicates where the next page should start. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

    

  
  :type MaxRecords: integer
  :param MaxRecords: 

    The maximum number of metadata model children to include in the response. If more items exist than the specified MaxRecords value, a marker is included in the response so that the remaining results can be retrieved.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Marker': 'string',
          'MetadataModelChildren': [
              {
                  'MetadataModelName': 'string',
                  'SelectionRules': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Marker** *(string) --* 

        Specifies the unique pagination token that makes it possible to display the next page of metadata model children. If a marker is returned, there are more metadata model children available.

        
      

      - **MetadataModelChildren** *(list) --* 

        A list of child metadata models.

        
        

        - *(dict) --* 

          A reference to a metadata model, including its name and selection rules for location identification.

          
          

          - **MetadataModelName** *(string) --* 

            The name of the metadata model.

            
          

          - **SelectionRules** *(string) --* 

            The JSON string representing metadata model location.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`DatabaseMigrationService.Client.exceptions.ResourceNotFoundFault`

  
  *   :py:class:`DatabaseMigrationService.Client.exceptions.AccessDeniedFault`

  