AWS SDK for .NET Documentation
DescribeEventsRequest Class
AmazonAmazon.RDS.ModelDescribeEventsRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the DescribeEvents operation.

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.

Declaration Syntax
C#
public class DescribeEventsRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
DescribeEventsRequest()()()()
Initializes a new instance of the DescribeEventsRequest class

Duration
The number of minutes to retrieve events for. Default: 60

EndTime
The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page. Example: 2009-07-08T18:00Z

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
EventCategories
A list of event categories that trigger notifications for a event notification subscription.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Marker
An optional pagination token provided by a previous DescribeEvents request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

MaxRecords
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results may be retrieved. Default: 100 Constraints: minimum 20, maximum 100

SourceIdentifier
The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response. Constraints:
  • If SourceIdentifier is supplied, SourceType must also be provided.
  • If the source type is DBInstance, then a DBInstanceIdentifier must be supplied.
  • If the source type is DBSecurityGroup, a DBSecurityGroupName must be supplied.
  • If the source type is DBParameterGroup, a DBParameterGroupName must be supplied.
  • If the source type is DBSnapshot, a DBSnapshotIdentifier must be supplied.
  • Cannot end with a hyphen or contain two consecutive hyphens.

SourceType
The event source to retrieve events for. If no value is specified, all events are returned.

Constraints:

Allowed Values
db-instance, db-parameter-group, db-security-group, db-snapshot


StartTime
The beginning of the time interval to retrieve events for, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page. Example: 2009-07-08T18:00Z

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithDuration(Int32) Obsolete.
Sets the Duration property

WithEndTime(DateTime) Obsolete.
Sets the EndTime property

WithEventCategories(array<String>[]()[][]) Obsolete.
Adds elements to the EventCategories collection

WithEventCategories(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Adds elements to the EventCategories collection

WithMarker(String) Obsolete.
Sets the Marker property

WithMaxRecords(Int32) Obsolete.
Sets the MaxRecords property

WithSourceIdentifier(String) Obsolete.
Sets the SourceIdentifier property

WithSourceType(String) Obsolete.
Sets the SourceType property

WithStartTime(DateTime) Obsolete.
Sets the StartTime property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 DescribeEventsRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)