:doc:`Macie2 <../../macie2>` / Client / list_classification_scopes

**************************
list_classification_scopes
**************************



.. py:method:: Macie2.Client.list_classification_scopes(**kwargs)

  

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

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationScopes>`_  


  **Request Syntax**
  ::

    response = client.list_classification_scopes(
        name='string',
        nextToken='string'
    )
    
  :type name: string
  :param name: 

    The name of the classification scope to retrieve the unique identifier for.

    

  
  :type nextToken: string
  :param nextToken: 

    The nextToken string that specifies which page of results to return in a paginated response.

    

  
  
  :rtype: 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**
  
  *   :py:class:`Macie2.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Macie2.Client.exceptions.ValidationException`

  
  *   :py:class:`Macie2.Client.exceptions.InternalServerException`

  
  *   :py:class:`Macie2.Client.exceptions.AccessDeniedException`

  