SageMaker / Client / list_lineage_groups

list_lineage_groups#

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

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
)
Parameters:
  • CreatedAfter (datetime) – A timestamp to filter against lineage groups created after a certain point in time.

  • CreatedBefore (datetime) – A timestamp to filter against lineage groups created before a certain point in time.

  • SortBy (string) – The parameter by which to sort the results. The default is CreationTime.

  • SortOrder (string) – The sort order for the results. The default is Ascending.

  • NextToken (string) – If the response is truncated, SageMaker returns this token. To retrieve the next set of algorithms, use it in the subsequent request.

  • MaxResults (integer) – The maximum number of endpoints to return in the response. This value defaults to 10.

Return type:

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.