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.

This is the response object from the DescribeEvents operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.Neptune.Model.DescribeEventsResponse

Namespace: Amazon.Neptune.Model
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z

Syntax

C#
public class DescribeEventsResponse : AmazonWebServiceResponse

The DescribeEventsResponse type exposes the following members

Constructors

NameDescription
Public Method DescribeEventsResponse()

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Events System.Collections.Generic.List<Amazon.Neptune.Model.Event>

Gets and sets the property Events.

A list of Event instances.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Marker System.String

Gets and sets the property Marker.

An optional pagination token provided by a previous Events request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.

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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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