Macie2 / Paginator / ListClassificationScopes


class Macie2.Paginator.ListClassificationScopes#
paginator = client.get_paginator('list_classification_scopes')

Creates an iterator that will paginate through responses from Macie2.Client.list_classification_scopes().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
        'MaxItems': 123,
        'StartingToken': 'string'
  • name (string) – The name of the classification scope to retrieve the unique identifier for.

  • 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.

    • StartingToken (string) –

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

Return type:



Response Syntax

    'classificationScopes': [
            'id': 'string',
            'name': 'string'
    'NextToken': 'string'

Response Structure

  • (dict) –

    The request succeeded.

    • classificationScopes (list) –

      An array that specifies the unique identifier and name of the classification scope for the account.

      • (dict) –

        Provides information about the classification scope for an Amazon Macie account. Macie uses the scope’s settings when it performs automated sensitive data discovery for the account.

        • id (string) –

          The unique identifier for the classification scope.

        • name (string) –

          The name of the classification scope: automated-sensitive-data-discovery.

    • NextToken (string) –

      A token to resume pagination.