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

*********************
list_adapter_versions
*********************



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

  

  List all version of an adapter that meet the specified filtration criteria.

  

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


  **Request Syntax**
  ::

    response = client.list_adapter_versions(
        AdapterId='string',
        AfterCreationTime=datetime(2015, 1, 1),
        BeforeCreationTime=datetime(2015, 1, 1),
        MaxResults=123,
        NextToken='string'
    )
    
  :type AdapterId: string
  :param AdapterId: 

    A string containing a unique ID for the adapter to match for when listing adapter versions.

    

  
  :type AfterCreationTime: datetime
  :param AfterCreationTime: 

    Specifies the lower bound for the ListAdapterVersions operation. Ensures ListAdapterVersions returns only adapter versions created after the specified creation time.

    

  
  :type BeforeCreationTime: datetime
  :param BeforeCreationTime: 

    Specifies the upper bound for the ListAdapterVersions operation. Ensures ListAdapterVersions returns only adapter versions created after the specified creation time.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to return when listing adapter versions.

    

  
  :type NextToken: string
  :param NextToken: 

    Identifies the next page of results to return when listing adapter versions.

    

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

    
    ::

      {
          'AdapterVersions': [
              {
                  'AdapterId': 'string',
                  'AdapterVersion': 'string',
                  'CreationTime': datetime(2015, 1, 1),
                  'FeatureTypes': [
                      'TABLES'|'FORMS'|'QUERIES'|'SIGNATURES'|'LAYOUT',
                  ],
                  'Status': 'ACTIVE'|'AT_RISK'|'DEPRECATED'|'CREATION_ERROR'|'CREATION_IN_PROGRESS',
                  'StatusMessage': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AdapterVersions** *(list) --* 

        Adapter versions that match the filtering criteria specified when calling ListAdapters.

        
        

        - *(dict) --* 

          Summary info for an adapter version. Contains information on the AdapterId, AdapterVersion, CreationTime, FeatureTypes, and Status.

          
          

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

            A unique identifier for the adapter associated with a given adapter version.

            
          

          - **AdapterVersion** *(string) --* 

            An identified for a given adapter version.

            
          

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

            The date and time that a given adapter version was created.

            
          

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

            The feature types that the adapter version is operating on.

            
            

            - *(string) --* 
        
          

          - **Status** *(string) --* 

            Contains information on the status of a given adapter version.

            
          

          - **StatusMessage** *(string) --* 

            A message explaining the status of a given adapter vesion.

            
      
    
      

      - **NextToken** *(string) --* 

        Identifies the next page of results to return when listing adapter versions.

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

  