:doc:`Textract <../../textract>` / Client / get_adapter

***********
get_adapter
***********



.. py:method:: Textract.Client.get_adapter(**kwargs)

  

  Gets configuration information for an adapter specified by an AdapterId, returning information on AdapterName, Description, CreationTime, AutoUpdate status, and FeatureTypes.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/GetAdapter>`_  


  **Request Syntax**
  ::

    response = client.get_adapter(
        AdapterId='string'
    )
    
  :type AdapterId: string
  :param AdapterId: **[REQUIRED]** 

    A string containing a unique ID for the adapter.

    

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

    
    ::

      {
          'AdapterId': 'string',
          'AdapterName': 'string',
          'CreationTime': datetime(2015, 1, 1),
          'Description': 'string',
          'FeatureTypes': [
              'TABLES'|'FORMS'|'QUERIES'|'SIGNATURES'|'LAYOUT',
          ],
          'AutoUpdate': 'ENABLED'|'DISABLED',
          'Tags': {
              'string': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AdapterId** *(string) --* 

        A string identifying the adapter that information has been retrieved for.

        
      

      - **AdapterName** *(string) --* 

        The name of the requested adapter.

        
      

      - **CreationTime** *(datetime) --* 

        The date and time the requested adapter was created at.

        
      

      - **Description** *(string) --* 

        The description for the requested adapter.

        
      

      - **FeatureTypes** *(list) --* 

        List of the targeted feature types for the requested adapter.

        
        

        - *(string) --* 
    
      

      - **AutoUpdate** *(string) --* 

        Binary value indicating if the adapter is being automatically updated or not.

        
      

      - **Tags** *(dict) --* 

        A set of tags (key-value pairs) associated with the adapter that has been retrieved.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`Textract.Client.exceptions.InvalidParameterException`

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

  
  *   :py:class:`Textract.Client.exceptions.ProvisionedThroughputExceededException`

  
  *   :py:class:`Textract.Client.exceptions.InternalServerError`

  
  *   :py:class:`Textract.Client.exceptions.ThrottlingException`

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

  
  *   :py:class:`Textract.Client.exceptions.ResourceNotFoundException`

  