:doc:`Glue <../../glue>` / Client / list_usage_profiles

*******************
list_usage_profiles
*******************



.. py:method:: Glue.Client.list_usage_profiles(**kwargs)

  

  List all the Glue usage profiles.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListUsageProfiles>`_  


  **Request Syntax**
  ::

    response = client.list_usage_profiles(
        NextToken='string',
        MaxResults=123
    )
    
  :type NextToken: string
  :param NextToken: 

    A continuation token, included if this is a continuation call.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of usage profiles to return in a single response.

    

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

    
    ::

      {
          'Profiles': [
              {
                  'Name': 'string',
                  'Description': 'string',
                  'CreatedOn': datetime(2015, 1, 1),
                  'LastModifiedOn': datetime(2015, 1, 1)
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Profiles** *(list) --* 

        A list of usage profile ( ``UsageProfileDefinition``) objects.

        
        

        - *(dict) --* 

          Describes an Glue usage profile.

          
          

          - **Name** *(string) --* 

            The name of the usage profile.

            
          

          - **Description** *(string) --* 

            A description of the usage profile.

            
          

          - **CreatedOn** *(datetime) --* 

            The date and time when the usage profile was created.

            
          

          - **LastModifiedOn** *(datetime) --* 

            The date and time when the usage profile was last modified.

            
      
    
      

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

        A continuation token, present if the current list segment is not the last.

        
  
  **Exceptions**
  
  *   :py:class:`Glue.Client.exceptions.InternalServiceException`

  
  *   :py:class:`Glue.Client.exceptions.OperationTimeoutException`

  
  *   :py:class:`Glue.Client.exceptions.InvalidInputException`

  
  *   :py:class:`Glue.Client.exceptions.OperationNotSupportedException`

  