SageMaker / Client / list_algorithms

list_algorithms#

SageMaker.Client.list_algorithms(**kwargs)#

Lists the machine learning algorithms that have been created.

See also: AWS API Documentation

Request Syntax

response = client.list_algorithms(
    CreationTimeAfter=datetime(2015, 1, 1),
    CreationTimeBefore=datetime(2015, 1, 1),
    MaxResults=123,
    NameContains='string',
    NextToken='string',
    SortBy='Name'|'CreationTime',
    SortOrder='Ascending'|'Descending'
)
Parameters:
  • CreationTimeAfter (datetime) – A filter that returns only algorithms created after the specified time (timestamp).

  • CreationTimeBefore (datetime) – A filter that returns only algorithms created before the specified time (timestamp).

  • MaxResults (integer) – The maximum number of algorithms to return in the response.

  • NameContains (string) – A string in the algorithm name. This filter returns only algorithms whose name contains the specified string.

  • NextToken (string) – If the response to a previous ListAlgorithms request was truncated, the response includes a NextToken. To retrieve the next set of algorithms, use the token in the next request.

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

Return type:

dict

Returns:

Response Syntax

{
    'AlgorithmSummaryList': [
        {
            'AlgorithmName': 'string',
            'AlgorithmArn': 'string',
            'AlgorithmDescription': 'string',
            'CreationTime': datetime(2015, 1, 1),
            'AlgorithmStatus': 'Pending'|'InProgress'|'Completed'|'Failed'|'Deleting'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • AlgorithmSummaryList (list) –

      >An array of AlgorithmSummary objects, each of which lists an algorithm.

      • (dict) –

        Provides summary information about an algorithm.

        • AlgorithmName (string) –

          The name of the algorithm that is described by the summary.

        • AlgorithmArn (string) –

          The Amazon Resource Name (ARN) of the algorithm.

        • AlgorithmDescription (string) –

          A brief description of the algorithm.

        • CreationTime (datetime) –

          A timestamp that shows when the algorithm was created.

        • AlgorithmStatus (string) –

          The overall status of the algorithm.

    • NextToken (string) –

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