DatabaseMigrationService / Client / describe_event_categories

describe_event_categories#

DatabaseMigrationService.Client.describe_event_categories(**kwargs)#

Lists categories for all event source types, or, if specified, for a specified source type. You can see a list of the event categories and source types in Working with Events and Notifications in the Database Migration Service User Guide.

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 DMS resource that generates events.

    Valid values: replication-instance | replication-task

  • Filters (list) –

    Filters applied to the event categories.

    • (dict) –

      Identifies the name and value of a filter object. This filter is used to limit the number and type of DMS objects that are returned for a particular Describe* call or similar operation. Filters are used as an optional parameter for certain API operations.

      • Name (string) – [REQUIRED]

        The name of the filter as specified for a Describe* or similar operation.

      • Values (list) – [REQUIRED]

        The filter value, which can specify one or more values used to narrow the returned results.

        • (string) –

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • EventCategoryGroupList (list) –

      A list of event categories.

      • (dict) –

        Lists categories of events subscribed to, and generated by, the applicable DMS resource type. This data type appears in response to the DescribeEventCategories action.

        • SourceType (string) –

          The type of DMS resource that generates events.

          Valid values: replication-instance | replication-server | security-group | replication-task

        • EventCategories (list) –

          A list of event categories from a source type that you’ve chosen.

          • (string) –