:doc:`DatabaseMigrationService <../../dms>` / Paginator / DescribeMetadataModelChildren

*****************************
DescribeMetadataModelChildren
*****************************



.. py:class:: DatabaseMigrationService.Paginator.DescribeMetadataModelChildren

  ::

    
    paginator = client.get_paginator('describe_metadata_model_children')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`DatabaseMigrationService.Client.describe_metadata_model_children`.

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


    **Request Syntax**
    ::

      response_iterator = paginator.paginate(
          SelectionRules='string',
          MigrationProjectIdentifier='string',
          Origin='SOURCE'|'TARGET',
          PaginationConfig={
              'MaxItems': 123,
              'PageSize': 123,
              'StartingToken': 'string'
          }
      )
      
    :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 PaginationConfig: dict
    :param PaginationConfig: 

      A dictionary that provides parameters to control pagination.

      

    
      - **MaxItems** *(integer) --* 

        The total number of items to return. If the total number of items available is more than the value specified in max-items then a ``NextToken`` will be provided in the output that you can use to resume pagination.

        

      
      - **PageSize** *(integer) --* 

        The size of each page.

        

      
      - **StartingToken** *(string) --* 

        A token to specify where to start paginating. This is the ``NextToken`` from a previous response.

        

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

      
      ::

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

      

      - *(dict) --* 
        

        - **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.

              
        
      
        

        - **NextToken** *(string) --* 

          A token to resume pagination.

          
    