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

*****************************
list_studio_lifecycle_configs
*****************************



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

  

  Lists the Amazon SageMaker AI Studio Lifecycle Configurations in your Amazon Web Services Account.

  

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


  **Request Syntax**
  ::

    response = client.list_studio_lifecycle_configs(
        MaxResults=123,
        NextToken='string',
        NameContains='string',
        AppTypeEquals='JupyterServer'|'KernelGateway'|'CodeEditor'|'JupyterLab',
        CreationTimeBefore=datetime(2015, 1, 1),
        CreationTimeAfter=datetime(2015, 1, 1),
        ModifiedTimeBefore=datetime(2015, 1, 1),
        ModifiedTimeAfter=datetime(2015, 1, 1),
        SortBy='CreationTime'|'LastModifiedTime'|'Name',
        SortOrder='Ascending'|'Descending'
    )
    
  :type MaxResults: integer
  :param MaxResults: 

    The total number of items to return in the response. If the total number of items available is more than the value specified, a ``NextToken`` is provided in the response. To resume pagination, provide the ``NextToken`` value in the as part of a subsequent call. The default value is 10.

    

  
  :type NextToken: string
  :param NextToken: 

    If the previous call to ListStudioLifecycleConfigs didn't return the full set of Lifecycle Configurations, the call returns a token for getting the next set of Lifecycle Configurations.

    

  
  :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 AppTypeEquals: string
  :param AppTypeEquals: 

    A parameter to search for the App Type to which the Lifecycle Configuration is attached.

    

  
  :type CreationTimeBefore: datetime
  :param CreationTimeBefore: 

    A filter that returns only Lifecycle Configurations created on or before the specified time.

    

  
  :type CreationTimeAfter: datetime
  :param CreationTimeAfter: 

    A filter that returns only Lifecycle Configurations created on or after the specified time.

    

  
  :type ModifiedTimeBefore: datetime
  :param ModifiedTimeBefore: 

    A filter that returns only Lifecycle Configurations modified before the specified time.

    

  
  :type ModifiedTimeAfter: datetime
  :param ModifiedTimeAfter: 

    A filter that returns only Lifecycle Configurations modified after the specified time.

    

  
  :type SortBy: string
  :param SortBy: 

    The property used to sort results. The default value is CreationTime.

    

  
  :type SortOrder: string
  :param SortOrder: 

    The sort order. The default value is Descending.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'NextToken': 'string',
          'StudioLifecycleConfigs': [
              {
                  'StudioLifecycleConfigArn': 'string',
                  'StudioLifecycleConfigName': 'string',
                  'CreationTime': datetime(2015, 1, 1),
                  'LastModifiedTime': datetime(2015, 1, 1),
                  'StudioLifecycleConfigAppType': 'JupyterServer'|'KernelGateway'|'CodeEditor'|'JupyterLab'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **NextToken** *(string) --* 

        If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.

        
      

      - **StudioLifecycleConfigs** *(list) --* 

        A list of Lifecycle Configurations and their properties.

        
        

        - *(dict) --* 

          Details of the Amazon SageMaker AI Studio Lifecycle Configuration.

          
          

          - **StudioLifecycleConfigArn** *(string) --* 

            The Amazon Resource Name (ARN) of the Lifecycle Configuration.

            
          

          - **StudioLifecycleConfigName** *(string) --* 

            The name of the Amazon SageMaker AI Studio Lifecycle Configuration.

            
          

          - **CreationTime** *(datetime) --* 

            The creation time of the Amazon SageMaker AI Studio Lifecycle Configuration.

            
          

          - **LastModifiedTime** *(datetime) --* 

            This value is equivalent to CreationTime because Amazon SageMaker AI Studio Lifecycle Configurations are immutable.

            
          

          - **StudioLifecycleConfigAppType** *(string) --* 

            The App type to which the Lifecycle Configuration is attached.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`SageMaker.Client.exceptions.ResourceInUse`

  