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

****************************************
list_notebook_instance_lifecycle_configs
****************************************



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

  

  Lists notebook instance lifestyle configurations created with the `CreateNotebookInstanceLifecycleConfig <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateNotebookInstanceLifecycleConfig.html>`__ API.

  

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


  **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)
    )
    
  :type NextToken: string
  :param 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 MaxResults: integer
  :param MaxResults: 

    The maximum number of lifecycle configurations to return in the response.

    

  
  :type SortBy: string
  :param SortBy: 

    Sorts the list of results. The default is ``CreationTime``.

    

  
  :type SortOrder: string
  :param SortOrder: 

    The sort order for results.

    

  
  :type NameContains: string
  :param NameContains: 

    A string in the lifecycle configuration name. This filter returns only lifecycle configurations whose name contains the specified string.

    

  
  :type CreationTimeBefore: datetime
  :param CreationTimeBefore: 

    A filter that returns only lifecycle configurations that were created before the specified time (timestamp).

    

  
  :type CreationTimeAfter: datetime
  :param CreationTimeAfter: 

    A filter that returns only lifecycle configurations that were created after the specified time (timestamp).

    

  
  :type LastModifiedTimeBefore: datetime
  :param LastModifiedTimeBefore: 

    A filter that returns only lifecycle configurations that were modified before the specified time (timestamp).

    

  
  :type LastModifiedTimeAfter: datetime
  :param LastModifiedTimeAfter: 

    A filter that returns only lifecycle configurations that were modified after the specified time (timestamp).

    

  
  
  :rtype: 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.

            
      
    
  