DescribeEvents

class DatabaseMigrationService.Paginator.DescribeEvents
paginator = client.get_paginator('describe_events')
paginate(**kwargs)

Creates an iterator that will paginate through responses from DatabaseMigrationService.Client.describe_events().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    SourceIdentifier='string',
    SourceType='replication-instance',
    StartTime=datetime(2015, 1, 1),
    EndTime=datetime(2015, 1, 1),
    Duration=123,
    EventCategories=[
        'string',
    ],
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • SourceIdentifier (string) -- The identifier of an event source.
  • SourceType (string) --

    The type of DMS resource that generates events.

    Valid values: replication-instance | replication-task

  • StartTime (datetime) -- The start time for the events to be listed.
  • EndTime (datetime) -- The end time for the events to be listed.
  • Duration (integer) -- The duration of the events to be listed.
  • EventCategories (list) --

    A list of event categories for the source type that you've chosen.

    • (string) --
  • Filters (list) --

    Filters applied to events. The only valid filter is replication-instance-id .

    • (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) --
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'Events': [
        {
            'SourceIdentifier': 'string',
            'SourceType': 'replication-instance',
            'Message': 'string',
            'EventCategories': [
                'string',
            ],
            'Date': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Events (list) --

      The events described.

      • (dict) --

        Describes an identifiable significant activity that affects a replication instance or task. This object can provide the message, the available event categories, the date and source of the event, and the DMS resource type.

        • SourceIdentifier (string) --

          The identifier of an event source.

        • SourceType (string) --

          The type of DMS resource that generates events.

          Valid values: replication-instance | endpoint | replication-task

        • Message (string) --

          The event message.

        • EventCategories (list) --

          The event categories available for the specified source type.

          • (string) --
        • Date (datetime) --

          The date of the event.

    • NextToken (string) --

      A token to resume pagination.