Skip to main content

events

Creates, updates, deletes, gets or lists an events resource.

Overview

Nameevents
TypeResource
Idaws.dms.events

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
datestring (date-time)The date of the event.
event_categoriesarrayThe event categories available for the specified source type.
messagestringThe event message.
source_identifierstringThe identifier of an event source.
source_typestringThe type of DMS resource that generates events. Valid values: replication-instance | endpoint | replication-task (replication-instance)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_eventsselectregionLists events for a given source identifier and source type. You can also specify a start and end time. For more information on DMS events, see Working with Events and Notifications in the Database Migration Service User Guide.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists events for a given source identifier and source type. You can also specify a start and end time. For more information on DMS events, see Working with Events and Notifications in the Database Migration Service User Guide.

SELECT
date,
event_categories,
message,
source_identifier,
source_type
FROM aws.dms.events
WHERE region = '{{ region }}' -- required
;