Struct aws_sdk_docdb::client::fluent_builders::DescribeEvents [−][src]
pub struct DescribeEvents<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to DescribeEvents.
Returns events related to instances, security groups, snapshots, and DB parameter groups for the past 14 days. You can obtain events specific to a particular DB instance, security group, snapshot, or parameter group by providing the name as a parameter. By default, the events of the past hour are returned.
Implementations
impl<C, M, R> DescribeEvents<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeEvents<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeEventsOutput, SdkError<DescribeEventsError>> where
R::Policy: SmithyRetryPolicy<DescribeEventsInputOperationOutputAlias, DescribeEventsOutput, DescribeEventsError, DescribeEventsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeEventsOutput, SdkError<DescribeEventsError>> where
R::Policy: SmithyRetryPolicy<DescribeEventsInputOperationOutputAlias, DescribeEventsOutput, DescribeEventsError, DescribeEventsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
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 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 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 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
The end of the time interval for which to retrieve events, specified in ISO 8601 format.
Example: 2009-07-08T18:00Z
The number of minutes to retrieve events for.
Default: 60
The number of minutes to retrieve events for.
Default: 60
Appends an item to EventCategories.
To override the contents of this collection use set_event_categories.
A list of event categories that trigger notifications for an event notification subscription.
A list of event categories that trigger notifications for an event notification subscription.
Appends an item to Filters.
To override the contents of this collection use set_filters.
This parameter is not currently supported.
This parameter is not currently supported.
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.
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.
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.
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeEvents<C, M, R>
impl<C, M, R> Send for DescribeEvents<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeEvents<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeEvents<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeEvents<C, M, R>
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
