:doc:`DocDB <../../docdb>` / Client / describe_event_categories

*************************
describe_event_categories
*************************



.. py:method:: DocDB.Client.describe_event_categories(**kwargs)

  

  Displays a list of categories for all event source types, or, if specified, for a specified source type.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeEventCategories>`_  


  **Request Syntax**
  ::

    response = client.describe_event_categories(
        SourceType='string',
        Filters=[
            {
                'Name': 'string',
                'Values': [
                    'string',
                ]
            },
        ]
    )
    
  :type SourceType: string
  :param SourceType: 

    The type of source that is generating the events.

     

    Valid values: ``db-instance``, ``db-parameter-group``, ``db-security-group``

    

  
  :type Filters: list
  :param Filters: 

    This parameter is not currently supported.

    

  
    - *(dict) --* 

      A named set of filter values, used to return a more specific list of results. You can use a filter to match a set of resources by specific criteria, such as IDs.

       

      Wildcards are not supported in filters.

      

    
      - **Name** *(string) --* **[REQUIRED]** 

        The name of the filter. Filter names are case sensitive.

        

      
      - **Values** *(list) --* **[REQUIRED]** 

        One or more filter values. Filter values are case sensitive.

        

      
        - *(string) --* 

        
    
    

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

    
    ::

      {
          'EventCategoriesMapList': [
              {
                  'SourceType': 'string',
                  'EventCategories': [
                      'string',
                  ]
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Represents the output of  DescribeEventCategories.

      
      

      - **EventCategoriesMapList** *(list) --* 

        A list of event category maps.

        
        

        - *(dict) --* 

          An event source type, accompanied by one or more event category names.

          
          

          - **SourceType** *(string) --* 

            The source type that the returned categories belong to.

            
          

          - **EventCategories** *(list) --* 

            The event categories for the specified source type.

            
            

            - *(string) --* 
        
      
    
  