SageMaker / Client / list_notebook_instance_lifecycle_configs
list_notebook_instance_lifecycle_configs#
- SageMaker.Client.list_notebook_instance_lifecycle_configs(**kwargs)#
Lists notebook instance lifestyle configurations created with the CreateNotebookInstanceLifecycleConfig API.
See also: AWS API Documentation
Request Syntax
response = client.list_notebook_instance_lifecycle_configs( NextToken='string', MaxResults=123, SortBy='Name'|'CreationTime'|'LastModifiedTime', SortOrder='Ascending'|'Descending', NameContains='string', CreationTimeBefore=datetime(2015, 1, 1), CreationTimeAfter=datetime(2015, 1, 1), LastModifiedTimeBefore=datetime(2015, 1, 1), LastModifiedTimeAfter=datetime(2015, 1, 1) )
- Parameters:
NextToken (string) – If the result of a
ListNotebookInstanceLifecycleConfigs
request was truncated, the response includes aNextToken
. To get the next set of lifecycle configurations, use the token in the next request.MaxResults (integer) – The maximum number of lifecycle configurations to return in the response.
SortBy (string) – Sorts the list of results. The default is
CreationTime
.SortOrder (string) – The sort order for results.
NameContains (string) – A string in the lifecycle configuration name. This filter returns only lifecycle configurations whose name contains the specified string.
CreationTimeBefore (datetime) – A filter that returns only lifecycle configurations that were created before the specified time (timestamp).
CreationTimeAfter (datetime) – A filter that returns only lifecycle configurations that were created after the specified time (timestamp).
LastModifiedTimeBefore (datetime) – A filter that returns only lifecycle configurations that were modified before the specified time (timestamp).
LastModifiedTimeAfter (datetime) – A filter that returns only lifecycle configurations that were modified after the specified time (timestamp).
- Return type:
dict
- Returns:
Response Syntax
{ 'NextToken': 'string', 'NotebookInstanceLifecycleConfigs': [ { 'NotebookInstanceLifecycleConfigName': 'string', 'NotebookInstanceLifecycleConfigArn': 'string', 'CreationTime': datetime(2015, 1, 1), 'LastModifiedTime': datetime(2015, 1, 1) }, ] }
Response Structure
(dict) –
NextToken (string) –
If the response is truncated, SageMaker AI returns this token. To get the next set of lifecycle configurations, use it in the next request.
NotebookInstanceLifecycleConfigs (list) –
An array of
NotebookInstanceLifecycleConfiguration
objects, each listing a lifecycle configuration.(dict) –
Provides a summary of a notebook instance lifecycle configuration.
NotebookInstanceLifecycleConfigName (string) –
The name of the lifecycle configuration.
NotebookInstanceLifecycleConfigArn (string) –
The Amazon Resource Name (ARN) of the lifecycle configuration.
CreationTime (datetime) –
A timestamp that tells when the lifecycle configuration was created.
LastModifiedTime (datetime) –
A timestamp that tells when the lifecycle configuration was last modified.