:doc:`DataZone <../../datazone>` / Client / list_asset_filters

******************
list_asset_filters
******************



.. py:method:: DataZone.Client.list_asset_filters(**kwargs)

  

  Lists asset filters.

   

  Prerequisites:

   

  
  * A valid domain and asset must exist.
   
  * The asset must have at least one filter created to return results.
  

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/ListAssetFilters>`_  


  **Request Syntax**
  ::

    response = client.list_asset_filters(
        domainIdentifier='string',
        assetIdentifier='string',
        status='VALID'|'INVALID',
        nextToken='string',
        maxResults=123
    )
    
  :type domainIdentifier: string
  :param domainIdentifier: **[REQUIRED]** 

    The ID of the domain where you want to list asset filters.

    

  
  :type assetIdentifier: string
  :param assetIdentifier: **[REQUIRED]** 

    The ID of the data asset.

    

  
  :type status: string
  :param status: 

    The status of the asset filter.

    

  
  :type nextToken: string
  :param nextToken: 

    When the number of asset filters is greater than the default value for the ``MaxResults`` parameter, or if you explicitly specify a value for ``MaxResults`` that is less than the number of asset filters, the response includes a pagination token named ``NextToken``. You can specify this ``NextToken`` value in a subsequent call to ``ListAssetFilters`` to list the next set of asset filters.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of asset filters to return in a single call to ``ListAssetFilters``. When the number of asset filters to be listed is greater than the value of ``MaxResults``, the response contains a ``NextToken`` value that you can use in a subsequent call to ``ListAssetFilters`` to list the next set of asset filters.

    

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

    
    ::

      {
          'items': [
              {
                  'id': 'string',
                  'domainId': 'string',
                  'assetId': 'string',
                  'name': 'string',
                  'description': 'string',
                  'status': 'VALID'|'INVALID',
                  'effectiveColumnNames': [
                      'string',
                  ],
                  'effectiveRowFilter': 'string',
                  'createdAt': datetime(2015, 1, 1),
                  'errorMessage': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **items** *(list) --* 

        The results of the ``ListAssetFilters`` action.

        
        

        - *(dict) --* 

          The summary of the asset filter.

          
          

          - **id** *(string) --* 

            The ID of the asset filter.

            
          

          - **domainId** *(string) --* 

            The ID of the domain where the asset filter lives.

            
          

          - **assetId** *(string) --* 

            The ID of the data asset.

            
          

          - **name** *(string) --* 

            The name of the asset filter.

            
          

          - **description** *(string) --* 

            The description of the asset filter.

            
          

          - **status** *(string) --* 

            The status of the asset filter.

            
          

          - **effectiveColumnNames** *(list) --* 

            The effective column names of the asset filter.

            
            

            - *(string) --* 
        
          

          - **effectiveRowFilter** *(string) --* 

            The effective row filter of the asset filter.

            
          

          - **createdAt** *(datetime) --* 

            The timestamp at which the asset filter was created.

            
          

          - **errorMessage** *(string) --* 

            The error message that is displayed if the action does not succeed.

            
      
    
      

      - **nextToken** *(string) --* 

        When the number of asset filters is greater than the default value for the ``MaxResults`` parameter, or if you explicitly specify a value for ``MaxResults`` that is less than the number of asset filters, the response includes a pagination token named ``NextToken``. You can specify this ``NextToken`` value in a subsequent call to ``ListAssetFilters`` to list the next set of asset filters.

        
  
  **Exceptions**
  
  *   :py:class:`DataZone.Client.exceptions.InternalServerException`

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

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

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

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

  
  *   :py:class:`DataZone.Client.exceptions.UnauthorizedException`

  