IoT / Paginator / ListSecurityProfiles

ListSecurityProfiles#

class IoT.Paginator.ListSecurityProfiles#
paginator = client.get_paginator('list_security_profiles')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from IoT.Client.list_security_profiles().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    dimensionName='string',
    metricName='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • dimensionName (string) – A filter to limit results to the security profiles that use the defined dimension. Cannot be used with metricName

  • metricName (string) – The name of the custom metric. Cannot be used with dimensionName.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'securityProfileIdentifiers': [
        {
            'name': 'string',
            'arn': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • securityProfileIdentifiers (list) –

      A list of security profile identifiers (names and ARNs).

      • (dict) –

        Identifying information for a Device Defender security profile.

        • name (string) –

          The name you’ve given to the security profile.

        • arn (string) –

          The ARN of the security profile.

    • NextToken (string) –

      A token to resume pagination.