describe_event_categories

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

Request Syntax

response = client.describe_event_categories(
    SourceType='string',
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ]
)
Parameters
  • SourceType (string) --

    The type of source that is generating the events.

    Valid values: db-instance | db-parameter-group | db-security-group | db-snapshot

  • Filters (list) --

    This parameter is not currently supported.

    • (dict) --

      This type is not currently supported.

      • Name (string) -- [REQUIRED]

        This parameter is not currently supported.

      • Values (list) -- [REQUIRED]

        This parameter is not currently supported.

        • (string) --
Return type

dict

Returns

Response Syntax

{
    'EventCategoriesMapList': [
        {
            'SourceType': 'string',
            'EventCategories': [
                'string',
            ]
        },
    ]
}

Response Structure

  • (dict) --

    • EventCategoriesMapList (list) --

      A list of EventCategoriesMap data types.

      • (dict) --

        Contains the results of a successful invocation of the DescribeEventCategories action.

        • SourceType (string) --

          The source type that the returned categories belong to

        • EventCategories (list) --

          The event categories for the specified source type

          • (string) --