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

**************
update_adapter
**************



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

  

  Update the configuration for an adapter. FeatureTypes configurations cannot be updated. At least one new parameter must be specified as an argument.

  

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


  **Request Syntax**
  ::

    response = client.update_adapter(
        AdapterId='string',
        Description='string',
        AdapterName='string',
        AutoUpdate='ENABLED'|'DISABLED'
    )
    
  :type AdapterId: string
  :param AdapterId: **[REQUIRED]** 

    A string containing a unique ID for the adapter that will be updated.

    

  
  :type Description: string
  :param Description: 

    The new description to be applied to the adapter.

    

  
  :type AdapterName: string
  :param AdapterName: 

    The new name to be applied to the adapter.

    

  
  :type AutoUpdate: string
  :param AutoUpdate: 

    The new auto-update status to be applied to 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'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        A string containing a unique ID for the adapter that has been updated.

        
      

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

        A string containing the name of the adapter that has been updated.

        
      

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

        An object specifying the creation time of the the adapter that has been updated.

        
      

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

        A string containing the description of the adapter that has been updated.

        
      

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

        List of the targeted feature types for the updated adapter.

        
        

        - *(string) --* 
    
      

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

        The auto-update status of the adapter that has been updated.

        
  
  **Exceptions**
  
  *   :py:class:`Textract.Client.exceptions.InvalidParameterException`

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

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

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

  