:doc:`LakeFormation <../../lakeformation>` / Client / list_resources

**************
list_resources
**************



.. py:method:: LakeFormation.Client.list_resources(**kwargs)

  

  Lists the resources registered to be managed by the Data Catalog.

  

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


  **Request Syntax**
  ::

    response = client.list_resources(
        FilterConditionList=[
            {
                'Field': 'RESOURCE_ARN'|'ROLE_ARN'|'LAST_MODIFIED',
                'ComparisonOperator': 'EQ'|'NE'|'LE'|'LT'|'GE'|'GT'|'CONTAINS'|'NOT_CONTAINS'|'BEGINS_WITH'|'IN'|'BETWEEN',
                'StringValueList': [
                    'string',
                ]
            },
        ],
        MaxResults=123,
        NextToken='string'
    )
    
  :type FilterConditionList: list
  :param FilterConditionList: 

    Any applicable row-level and/or column-level filtering conditions for the resources.

    

  
    - *(dict) --* 

      This structure describes the filtering of columns in a table based on a filter condition.

      

    
      - **Field** *(string) --* 

        The field to filter in the filter condition.

        

      
      - **ComparisonOperator** *(string) --* 

        The comparison operator used in the filter condition.

        

      
      - **StringValueList** *(list) --* 

        A string with values used in evaluating the filter condition.

        

      
        - *(string) --* 

        
    
    

  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of resource results.

    

  
  :type NextToken: string
  :param NextToken: 

    A continuation token, if this is not the first call to retrieve these resources.

    

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

    
    ::

      {
          'ResourceInfoList': [
              {
                  'ResourceArn': 'string',
                  'RoleArn': 'string',
                  'LastModified': datetime(2015, 1, 1),
                  'WithFederation': True|False,
                  'HybridAccessEnabled': True|False,
                  'WithPrivilegedAccess': True|False,
                  'VerificationStatus': 'VERIFIED'|'VERIFICATION_FAILED'|'NOT_VERIFIED',
                  'ExpectedResourceOwnerAccount': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ResourceInfoList** *(list) --* 

        A summary of the data lake resources.

        
        

        - *(dict) --* 

          A structure containing information about an Lake Formation resource.

          
          

          - **ResourceArn** *(string) --* 

            The Amazon Resource Name (ARN) of the resource.

            
          

          - **RoleArn** *(string) --* 

            The IAM role that registered a resource.

            
          

          - **LastModified** *(datetime) --* 

            The date and time the resource was last modified.

            
          

          - **WithFederation** *(boolean) --* 

            Whether or not the resource is a federated resource.

            
          

          - **HybridAccessEnabled** *(boolean) --* 

            Indicates whether the data access of tables pointing to the location can be managed by both Lake Formation permissions as well as Amazon S3 bucket policies.

            
          

          - **WithPrivilegedAccess** *(boolean) --* 

            Grants the calling principal the permissions to perform all supported Lake Formation operations on the registered data location.

            
          

          - **VerificationStatus** *(string) --* 

            Indicates whether the registered role has sufficient permissions to access registered Amazon S3 location. Verification Status can be one of the following:

             

            
            * VERIFIED - Registered role has sufficient permissions to access registered Amazon S3 location.
             
            * NOT_VERIFIED - Registered role does not have sufficient permissions to access registered Amazon S3 location.
             
            * VERIFICATION_FAILED - Unable to verify if the registered role can access the registered Amazon S3 location.
            

            
          

          - **ExpectedResourceOwnerAccount** *(string) --* 

            The Amazon Web Services account that owns the Glue tables associated with specific Amazon S3 locations.

            
      
    
      

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

        A continuation token, if this is not the first call to retrieve these resources.

        
  
  **Exceptions**
  
  *   :py:class:`LakeFormation.Client.exceptions.InvalidInputException`

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

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

  