IoTWireless / Client / list_device_profiles

list_device_profiles#

IoTWireless.Client.list_device_profiles(**kwargs)#

Lists the device profiles registered to your AWS account.

See also: AWS API Documentation

Request Syntax

response = client.list_device_profiles(
    NextToken='string',
    MaxResults=123
)
Parameters:
  • NextToken (string) – To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

  • MaxResults (integer) – The maximum number of results to return in this operation.

Return type:

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

  • IoTWireless.Client.exceptions.ValidationException

  • IoTWireless.Client.exceptions.AccessDeniedException

  • IoTWireless.Client.exceptions.InternalServerException

  • IoTWireless.Client.exceptions.ThrottlingException