list_classification_scopes

list_classification_scopes(**kwargs)

Retrieves a subset of information about the classification scope for an account.

See also: AWS API Documentation

Request Syntax

response = client.list_classification_scopes(
    name='string',
    nextToken='string'
)
Parameters
  • name (string) -- The name of the classification scope to retrieve the unique identifier for.
  • nextToken (string) -- The nextToken string that specifies which page of results to return in a paginated 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) --

      The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

Exceptions

  • Macie2.Client.exceptions.ThrottlingException
  • Macie2.Client.exceptions.ValidationException
  • Macie2.Client.exceptions.InternalServerException
  • Macie2.Client.exceptions.AccessDeniedException