AWS SDK Version 3 for .NET
API Reference

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.

Note:

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

Syntax

C#
public abstract DescribeEventsResponse DescribeEvents(
         DescribeEventsRequest request
)

Parameters

request
Type: Amazon.Neptune.Model.DescribeEventsRequest

Container for the necessary parameters to execute the DescribeEvents service method.

Return Value


The response from the DescribeEvents service method, as returned by Neptune.

Examples

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).

To list information about events


var response = client.DescribeEvents(new DescribeEventsRequest 
{
    Duration = 10080,
    EventCategories = new List<string> {
        "backup"
    },
    SourceIdentifier = "mymysqlinstance",
    SourceType = "db-instance"
});


            

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also