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

*************************************
list_sensitivity_inspection_templates
*************************************



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

  

  Retrieves a subset of information about the sensitivity inspection template for an account.

  

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


  **Request Syntax**
  ::

    response = client.list_sensitivity_inspection_templates(
        maxResults=123,
        nextToken='string'
    )
    
  :type maxResults: integer
  :param maxResults: 

    The maximum number of items to include in each page of a paginated response.

    

  
  :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**

    
    ::

      {
          'nextToken': 'string',
          'sensitivityInspectionTemplates': [
              {
                  'id': 'string',
                  'name': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The request succeeded.

      
      

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

        
      

      - **sensitivityInspectionTemplates** *(list) --* 

        An array that specifies the unique identifier and name of the sensitivity inspection template for the account.

        
        

        - *(dict) --* 

          Provides information about the sensitivity inspection template for an Amazon Macie account.

          
          

          - **id** *(string) --* 

            The unique identifier for the sensitivity inspection template.

            
          

          - **name** *(string) --* 

            The name of the sensitivity inspection template: automated-sensitive-data-discovery.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`Macie2.Client.exceptions.ThrottlingException`

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

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

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

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

  