:doc:`SageMaker <../../sagemaker>` / Client / list_lineage_groups

*******************
list_lineage_groups
*******************



.. py:method:: SageMaker.Client.list_lineage_groups(**kwargs)

  

  A list of lineage groups shared with your Amazon Web Services account. For more information, see `Cross-Account Lineage Tracking <https://docs.aws.amazon.com/sagemaker/latest/dg/xaccount-lineage-tracking.html>`__ in the *Amazon SageMaker Developer Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLineageGroups>`_  


  **Request Syntax**
  ::

    response = client.list_lineage_groups(
        CreatedAfter=datetime(2015, 1, 1),
        CreatedBefore=datetime(2015, 1, 1),
        SortBy='Name'|'CreationTime',
        SortOrder='Ascending'|'Descending',
        NextToken='string',
        MaxResults=123
    )
    
  :type CreatedAfter: datetime
  :param CreatedAfter: 

    A timestamp to filter against lineage groups created after a certain point in time.

    

  
  :type CreatedBefore: datetime
  :param CreatedBefore: 

    A timestamp to filter against lineage groups created before a certain point in time.

    

  
  :type SortBy: string
  :param SortBy: 

    The parameter by which to sort the results. The default is ``CreationTime``.

    

  
  :type SortOrder: string
  :param SortOrder: 

    The sort order for the results. The default is ``Ascending``.

    

  
  :type NextToken: string
  :param NextToken: 

    If the response is truncated, SageMaker returns this token. To retrieve the next set of algorithms, use it in the subsequent request.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of endpoints to return in the response. This value defaults to 10.

    

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

    
    ::

      {
          'LineageGroupSummaries': [
              {
                  'LineageGroupArn': 'string',
                  'LineageGroupName': 'string',
                  'DisplayName': 'string',
                  'CreationTime': datetime(2015, 1, 1),
                  'LastModifiedTime': datetime(2015, 1, 1)
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **LineageGroupSummaries** *(list) --* 

        A list of lineage groups and their properties.

        
        

        - *(dict) --* 

          Lists a summary of the properties of a lineage group. A lineage group provides a group of shareable lineage entity resources.

          
          

          - **LineageGroupArn** *(string) --* 

            The Amazon Resource Name (ARN) of the lineage group resource.

            
          

          - **LineageGroupName** *(string) --* 

            The name or Amazon Resource Name (ARN) of the lineage group.

            
          

          - **DisplayName** *(string) --* 

            The display name of the lineage group summary.

            
          

          - **CreationTime** *(datetime) --* 

            The creation time of the lineage group summary.

            
          

          - **LastModifiedTime** *(datetime) --* 

            The last modified time of the lineage group summary.

            
      
    
      

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

        If the response is truncated, SageMaker returns this token. To retrieve the next set of algorithms, use it in the subsequent request.

        
  