Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: CC-BY-SA-4.0

ListNotebookInstanceLifecycleConfigs

Lists notebook instance lifestyle configurations created with the CreateNotebookInstanceLifecycleConfig API.

{
   "[CreationTimeAfter](#SageMaker-ListNotebookInstanceLifecycleConfigs-request-CreationTimeAfter)": number,
   "[CreationTimeBefore](#SageMaker-ListNotebookInstanceLifecycleConfigs-request-CreationTimeBefore)": number,
   "[LastModifiedTimeAfter](#SageMaker-ListNotebookInstanceLifecycleConfigs-request-LastModifiedTimeAfter)": number,
   "[LastModifiedTimeBefore](#SageMaker-ListNotebookInstanceLifecycleConfigs-request-LastModifiedTimeBefore)": number,
   "[MaxResults](#SageMaker-ListNotebookInstanceLifecycleConfigs-request-MaxResults)": number,
   "[NameContains](#SageMaker-ListNotebookInstanceLifecycleConfigs-request-NameContains)": "string",
   "[NextToken](#SageMaker-ListNotebookInstanceLifecycleConfigs-request-NextToken)": "string",
   "[SortBy](#SageMaker-ListNotebookInstanceLifecycleConfigs-request-SortBy)": "string",
   "[SortOrder](#SageMaker-ListNotebookInstanceLifecycleConfigs-request-SortOrder)": "string"
}

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

** CreationTimeAfter ** A filter that returns only lifecycle configurations that were created after the specified time (timestamp).
Type: Timestamp
Required: No

** CreationTimeBefore ** A filter that returns only lifecycle configurations that were created before the specified time (timestamp).
Type: Timestamp
Required: No

** LastModifiedTimeAfter ** A filter that returns only lifecycle configurations that were modified after the specified time (timestamp).
Type: Timestamp
Required: No

** LastModifiedTimeBefore ** A filter that returns only lifecycle configurations that were modified before the specified time (timestamp).
Type: Timestamp
Required: No

** MaxResults ** The maximum number of lifecycle configurations to return in the response.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 100.
Required: No

** NameContains ** A string in the lifecycle configuration name. This filter returns only lifecycle configurations whose name contains the specified string.
Type: String
Length Constraints: Maximum length of 63.
Pattern: [a-zA-Z0-9-]+
Required: No

** NextToken ** If the result of a ListNotebookInstanceLifecycleConfigs request was truncated, the response includes a NextToken. To get the next set of lifecycle configurations, use the token in the next request.
Type: String
Length Constraints: Maximum length of 8192.
Pattern: .*
Required: No

** SortBy ** Sorts the list of results. The default is CreationTime.
Type: String
Valid Values:Name | CreationTime | LastModifiedTime
Required: No

** SortOrder ** The sort order for results.
Type: String
Valid Values:Ascending | Descending
Required: No

{
   "[NextToken](#SageMaker-ListNotebookInstanceLifecycleConfigs-response-NextToken)": "string",
   "[NotebookInstanceLifecycleConfigs](#SageMaker-ListNotebookInstanceLifecycleConfigs-response-NotebookInstanceLifecycleConfigs)": [ 
      { 
         "[CreationTime](API_NotebookInstanceLifecycleConfigSummary.md#SageMaker-Type-NotebookInstanceLifecycleConfigSummary-CreationTime)": number,
         "[LastModifiedTime](API_NotebookInstanceLifecycleConfigSummary.md#SageMaker-Type-NotebookInstanceLifecycleConfigSummary-LastModifiedTime)": number,
         "[NotebookInstanceLifecycleConfigArn](API_NotebookInstanceLifecycleConfigSummary.md#SageMaker-Type-NotebookInstanceLifecycleConfigSummary-NotebookInstanceLifecycleConfigArn)": "string",
         "[NotebookInstanceLifecycleConfigName](API_NotebookInstanceLifecycleConfigSummary.md#SageMaker-Type-NotebookInstanceLifecycleConfigSummary-NotebookInstanceLifecycleConfigName)": "string"
      }
   ]
}

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

** NextToken ** If the response is truncated, Amazon SageMaker returns this token. To get the next set of lifecycle configurations, use it in the next request.
Type: String
Length Constraints: Maximum length of 8192.
Pattern: .*

** NotebookInstanceLifecycleConfigs ** An array of NotebookInstanceLifecycleConfiguration objects, each listing a lifecycle configuration.
Type: Array of NotebookInstanceLifecycleConfigSummary objects

For information about the errors that are common to all actions, see Common Errors.

For more information about using this API in one of the language-specific AWS SDKs, see the following: + AWS Command Line Interface + AWS SDK for .NET + AWS SDK for C++ + AWS SDK for Go + AWS SDK for Go - Pilot + AWS SDK for Java + AWS SDK for JavaScript + AWS SDK for PHP V3 + AWS SDK for Python + AWS SDK for Ruby V2