AWS SDK for .NET Documentation
DescribeEventsRequest Class
AmazonAmazon.Redshift.ModelDescribeEventsRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the DescribeEvents operation. Returns events related to clusters, security groups, snapshots, and parameter groups for the past 14 days. Events specific to a particular cluster, security group, snapshot or 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
Gets and sets the property Duration.

The number of minutes prior to the time of the request for which to retrieve events. For example, if the request is sent at 18:00 and you specify a duration of 60, then only events which have occurred after 17:00 will be returned.

Default:

CopyC#
60


EndTime
Gets and sets the property 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:

CopyC#
2009-07-08T18:00Z


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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
Gets and sets the property Marker.

An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEvents request exceed the value specified in

CopyC#
MaxRecords
, AWS returns a value in the
CopyC#
Marker
field of the response. You can retrieve the next set of response records by providing the returned marker value in the
CopyC#
Marker
parameter and retrying the request.


MaxRecords
Gets and sets the property MaxRecords.

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified

CopyC#
MaxRecords
value, a value is returned in a
CopyC#
marker
field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default:

CopyC#
100

Constraints: minimum 20, maximum 100.


SourceIdentifier
Gets and sets the property SourceIdentifier.

The identifier of the event source for which events will be returned. If this parameter is not specified, then all sources are included in the response.

Constraints:

If SourceIdentifier is supplied, SourceType must also be provided.

  • Specify a cluster identifier when SourceType is
    CopyC#
    cluster
    .
  • Specify a cluster security group name when SourceType is
    CopyC#
    cluster-security-group
    .
  • Specify a cluster parameter group name when SourceType is
    CopyC#
    cluster-parameter-group
    .
  • Specify a cluster snapshot identifier when SourceType is
    CopyC#
    cluster-snapshot
    .

SourceType
Gets and sets the property SourceType.

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

Constraints:

If SourceType is supplied, SourceIdentifier must also be provided.

  • Specify
    CopyC#
    cluster
    when SourceIdentifier is a cluster identifier.
  • Specify
    CopyC#
    cluster-security-group
    when SourceIdentifier is a cluster security group name.
  • Specify
    CopyC#
    cluster-parameter-group
    when SourceIdentifier is a cluster parameter group name.
  • Specify
    CopyC#
    cluster-snapshot
    when SourceIdentifier is a cluster snapshot identifier.

StartTime
Gets and sets the property 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:

CopyC#
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

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

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