Struct aws_sdk_rds::input::DescribeEventsInput
source · [−]#[non_exhaustive]pub struct DescribeEventsInput {
pub source_identifier: Option<String>,
pub source_type: Option<SourceType>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub duration: Option<i32>,
pub event_categories: Option<Vec<String>>,
pub filters: Option<Vec<Filter>>,
pub max_records: Option<i32>,
pub marker: Option<String>,
}Expand description
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.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
SourceIdentifieris supplied,SourceTypemust also be provided. -
If the source type is a DB instance, a
DBInstanceIdentifiervalue must be supplied. -
If the source type is a DB cluster, a
DBClusterIdentifiervalue must be supplied. -
If the source type is a DB parameter group, a
DBParameterGroupNamevalue must be supplied. -
If the source type is a DB security group, a
DBSecurityGroupNamevalue must be supplied. -
If the source type is a DB snapshot, a
DBSnapshotIdentifiervalue must be supplied. -
If the source type is a DB cluster snapshot, a
DBClusterSnapshotIdentifiervalue must be supplied. -
If the source type is an RDS Proxy, a
DBProxyNamevalue must be supplied. -
Can't end with a hyphen or contain two consecutive hyphens.
source_type: Option<SourceType>The event source to retrieve events for. If no value is specified, all events are returned.
start_time: Option<DateTime>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
end_time: Option<DateTime>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
duration: Option<i32>The number of minutes to retrieve events for.
Default: 60
event_categories: Option<Vec<String>>A list of event categories that trigger notifications for a event notification subscription.
filters: Option<Vec<Filter>>This parameter isn't currently supported.
max_records: Option<i32> 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 you can retrieve the remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
marker: Option<String> 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.
Implementations
sourceimpl DescribeEventsInput
impl DescribeEventsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeEvents, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeEvents, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribeEvents>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeEventsInput
sourceimpl DescribeEventsInput
impl DescribeEventsInput
sourcepub fn source_identifier(&self) -> Option<&str>
pub fn source_identifier(&self) -> Option<&str>
The identifier of the event source for which events are returned. If not specified, then all sources are included in the response.
Constraints:
-
If
SourceIdentifieris supplied,SourceTypemust also be provided. -
If the source type is a DB instance, a
DBInstanceIdentifiervalue must be supplied. -
If the source type is a DB cluster, a
DBClusterIdentifiervalue must be supplied. -
If the source type is a DB parameter group, a
DBParameterGroupNamevalue must be supplied. -
If the source type is a DB security group, a
DBSecurityGroupNamevalue must be supplied. -
If the source type is a DB snapshot, a
DBSnapshotIdentifiervalue must be supplied. -
If the source type is a DB cluster snapshot, a
DBClusterSnapshotIdentifiervalue must be supplied. -
If the source type is an RDS Proxy, a
DBProxyNamevalue must be supplied. -
Can't end with a hyphen or contain two consecutive hyphens.
sourcepub fn source_type(&self) -> Option<&SourceType>
pub fn source_type(&self) -> Option<&SourceType>
The event source to retrieve events for. If no value is specified, all events are returned.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
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
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
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
sourcepub fn duration(&self) -> Option<i32>
pub fn duration(&self) -> Option<i32>
The number of minutes to retrieve events for.
Default: 60
sourcepub fn event_categories(&self) -> Option<&[String]>
pub fn event_categories(&self) -> Option<&[String]>
A list of event categories that trigger notifications for a event notification subscription.
sourcepub fn max_records(&self) -> Option<i32>
pub fn max_records(&self) -> Option<i32>
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 you can retrieve the remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
Trait Implementations
sourceimpl Clone for DescribeEventsInput
impl Clone for DescribeEventsInput
sourcefn clone(&self) -> DescribeEventsInput
fn clone(&self) -> DescribeEventsInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DescribeEventsInput
impl Debug for DescribeEventsInput
sourceimpl PartialEq<DescribeEventsInput> for DescribeEventsInput
impl PartialEq<DescribeEventsInput> for DescribeEventsInput
sourcefn eq(&self, other: &DescribeEventsInput) -> bool
fn eq(&self, other: &DescribeEventsInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DescribeEventsInput) -> bool
fn ne(&self, other: &DescribeEventsInput) -> bool
This method tests for !=.
impl StructuralPartialEq for DescribeEventsInput
Auto Trait Implementations
impl RefUnwindSafe for DescribeEventsInput
impl Send for DescribeEventsInput
impl Sync for DescribeEventsInput
impl Unpin for DescribeEventsInput
impl UnwindSafe for DescribeEventsInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more