pub struct DescribeEventsMessage {
pub duration: Option<i64>,
pub end_time: Option<String>,
pub event_categories: Option<Vec<String>>,
pub filters: Option<Vec<Filter>>,
pub marker: Option<String>,
pub max_records: Option<i64>,
pub source_identifier: Option<String>,
pub source_type: Option<String>,
pub start_time: Option<String>,
}
Expand description
Represents the input to DescribeEvents.
Fields§
§duration: Option<i64>
The number of minutes to retrieve events for.
Default: 60
end_time: Option<String>
The end of the time interval for which to retrieve events, specified in ISO 8601 format.
Example: 2009-07-08T18:00Z
event_categories: Option<Vec<String>>
A list of event categories that trigger notifications for an event notification subscription.
filters: Option<Vec<Filter>>
This parameter is not currently supported.
marker: Option<String>
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
max_records: Option<i64>
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, a pagination token (marker) is included in the response so that the remaining results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
source_identifier: Option<String>
The identifier of the event source for which events are returned. If not specified, then all sources are included in the response.
Constraints:
-
If
SourceIdentifier
is provided,SourceType
must also be provided. -
If the source type is
DBInstance
, aDBInstanceIdentifier
must be provided. -
If the source type is
DBSecurityGroup
, aDBSecurityGroupName
must be provided. -
If the source type is
DBParameterGroup
, aDBParameterGroupName
must be provided. -
If the source type is
DBSnapshot
, aDBSnapshotIdentifier
must be provided. -
Cannot end with a hyphen or contain two consecutive hyphens.
source_type: Option<String>
The event source to retrieve events for. If no value is specified, all events are returned.
start_time: Option<String>
The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
Example: 2009-07-08T18:00Z
Trait Implementations§
Source§impl Clone for DescribeEventsMessage
impl Clone for DescribeEventsMessage
Source§fn clone(&self) -> DescribeEventsMessage
fn clone(&self) -> DescribeEventsMessage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more