Macie2 / Paginator / ListClassificationScopes

ListClassificationScopes#

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

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(
    name='string',
    PaginationConfig={
        'MaxItems': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • 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:

dict

Returns:

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.