AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Returns events related to DB instances, DB security groups, DB snapshots, and DB parameter groups for the past 14 days. Events specific to a particular DB instance, DB security group, database snapshot, or DB parameter group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.
For .NET Core this operation is only available in asynchronous form. Please refer to DescribeEventsAsync.
Namespace: Amazon.Neptune
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z
public abstract DescribeEventsResponse DescribeEvents( DescribeEventsRequest request )
Container for the necessary parameters to execute the DescribeEvents service method.
This example lists information for all backup-related events for the specified DB instance for the past 7 days (7 days * 24 hours * 60 minutes = 10,080 minutes).
var response = client.DescribeEvents(new DescribeEventsRequest { Duration = 10080, EventCategories = new List<string> { "backup" }, SourceIdentifier = "mymysqlinstance", SourceType = "db-instance" });
.NET Framework:
Supported in: 4.5, 4.0, 3.5