:doc:`Glue <../../glue>` / Client / get_custom_entity_type

**********************
get_custom_entity_type
**********************



.. py:method:: Glue.Client.get_custom_entity_type(**kwargs)

  

  Retrieves the details of a custom pattern by specifying its name.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCustomEntityType>`_  


  **Request Syntax**
  ::

    response = client.get_custom_entity_type(
        Name='string'
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the custom pattern that you want to retrieve.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Name': 'string',
          'RegexString': 'string',
          'ContextWords': [
              'string',
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Name** *(string) --* 

        The name of the custom pattern that you retrieved.

        
      

      - **RegexString** *(string) --* 

        A regular expression string that is used for detecting sensitive data in a custom pattern.

        
      

      - **ContextWords** *(list) --* 

        A list of context words if specified when you created the custom pattern. If none of these context words are found within the vicinity of the regular expression the data will not be detected as sensitive data.

        
        

        - *(string) --* 
    
  
  **Exceptions**
  
  *   :py:class:`Glue.Client.exceptions.EntityNotFoundException`

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

  
  *   :py:class:`Glue.Client.exceptions.InternalServiceException`

  
  *   :py:class:`Glue.Client.exceptions.InvalidInputException`

  
  *   :py:class:`Glue.Client.exceptions.OperationTimeoutException`

  