describe_events
¶
describe_events(
*,
config_overrides: Optional[DatabaseMigrationServiceClientConfig] = None,
source_identifier: Optional[String] = None,
source_type: Optional[SourceType] = None,
start_time: Optional[TStamp] = None,
end_time: Optional[TStamp] = None,
duration: Optional[IntegerOptional] = None,
event_categories: Optional[EventCategoriesList] = None,
filters: Optional[FilterList] = None,
max_records: Optional[IntegerOptional] = None,
marker: Optional[String] = None,
) -> DescribeEventsResponse
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.
Parameters:
-
source_identifier(Optional[String], default:None) –The identifier of an event source.
-
source_type(Optional[SourceType], default:None) –The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
-
start_time(Optional[TStamp], default:None) –The start time for the events to be listed.
-
end_time(Optional[TStamp], default:None) –The end time for the events to be listed.
-
duration(Optional[IntegerOptional], default:None) –The duration of the events to be listed.
-
event_categories(Optional[EventCategoriesList], default:None) –A list of event categories for the source type that you've chosen.
-
filters(Optional[FilterList], default:None) –Filters applied to events. The only valid filter is
replication-instance-id. -
max_records(Optional[IntegerOptional], default:None) –The maximum number of records to include in the response. If more records exist than the specified
MaxRecordsvalue, a pagination token called a marker is included in the response so that the remaining results can be retrieved.Default: 100
Constraints: Minimum 20, maximum 100.
-
marker(Optional[String], default:None) –An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_database_migration_service/_services/database_migration_service.py
3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 | |