Struct aws_sdk_docdb::input::DescribeEventsInput [−][src]
#[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
Represents the input to DescribeEvents.
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 provided,SourceTypemust also be provided. -
If the source type is
DBInstance, aDBInstanceIdentifiermust be provided. -
If the source type is
DBSecurityGroup, aDBSecurityGroupNamemust be provided. -
If the source type is
DBParameterGroup, aDBParameterGroupNamemust be provided. -
If the source type is
DBSnapshot, aDBSnapshotIdentifiermust be provided. -
Cannot 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.
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.
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 an event notification subscription.
filters: Option<Vec<Filter>>This parameter is not 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 (marker) is included in the response so that the remaining results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
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.
Implementations
pub 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>
Creates a new builder-style object to manufacture DescribeEventsInput
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 provided,SourceTypemust also be provided. -
If the source type is
DBInstance, aDBInstanceIdentifiermust be provided. -
If the source type is
DBSecurityGroup, aDBSecurityGroupNamemust be provided. -
If the source type is
DBParameterGroup, aDBParameterGroupNamemust be provided. -
If the source type is
DBSnapshot, aDBSnapshotIdentifiermust be provided. -
Cannot end with a hyphen or contain two consecutive hyphens.
The event source to retrieve events for. If no value is specified, all events are returned.
The beginning of the time interval to retrieve events for, specified in ISO 8601 format.
Example: 2009-07-08T18:00Z
The end of the time interval for which to retrieve events, specified in ISO 8601 format.
Example: 2009-07-08T18:00Z
A list of event categories that trigger notifications for an event notification subscription.
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.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
