:doc:`IoTWireless <../../iotwireless>` / Client / list_device_profiles

********************
list_device_profiles
********************



.. py:method:: IoTWireless.Client.list_device_profiles(**kwargs)

  

  Lists the device profiles registered to your AWS account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListDeviceProfiles>`_  


  **Request Syntax**
  ::

    response = client.list_device_profiles(
        NextToken='string',
        MaxResults=123,
        DeviceProfileType='Sidewalk'|'LoRaWAN'
    )
    
  :type NextToken: string
  :param NextToken: 

    To retrieve the next set of results, the ``nextToken`` value from a previous response; otherwise **null** to receive the first set of results.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return in this operation.

    

  
  :type DeviceProfileType: string
  :param DeviceProfileType: 

    A filter to list only device profiles that use this type, which can be ``LoRaWAN`` or ``Sidewalk``.

    

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

    
    ::

      {
          'NextToken': 'string',
          'DeviceProfileList': [
              {
                  'Arn': 'string',
                  'Name': 'string',
                  'Id': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The token to use to get the next set of results, or **null** if there are no additional results.

        
      

      - **DeviceProfileList** *(list) --* 

        The list of device profiles.

        
        

        - *(dict) --* 

          Describes a device profile.

          
          

          - **Arn** *(string) --* 

            The Amazon Resource Name of the resource.

            
          

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

            The name of the resource.

            
          

          - **Id** *(string) --* 

            The ID of the device profile.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`IoTWireless.Client.exceptions.ValidationException`

  
  *   :py:class:`IoTWireless.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`IoTWireless.Client.exceptions.InternalServerException`

  
  *   :py:class:`IoTWireless.Client.exceptions.ThrottlingException`

  