Struct aws_sdk_health::client::fluent_builders::DescribeEventAggregates [−][src]
pub struct DescribeEventAggregates<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DescribeEventAggregates
.
Returns the number of events of each event type (issue, scheduled change, and account notification). If no filter is specified, the counts of all events in each category are returned.
This API operation uses pagination. Specify the nextToken
parameter in the next request to return more results.
Implementations
impl<C, M, R> DescribeEventAggregates<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeEventAggregates<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeEventAggregatesOutput, SdkError<DescribeEventAggregatesError>> where
R::Policy: SmithyRetryPolicy<DescribeEventAggregatesInputOperationOutputAlias, DescribeEventAggregatesOutput, DescribeEventAggregatesError, DescribeEventAggregatesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeEventAggregatesOutput, SdkError<DescribeEventAggregatesError>> where
R::Policy: SmithyRetryPolicy<DescribeEventAggregatesInputOperationOutputAlias, DescribeEventAggregatesOutput, DescribeEventAggregatesError, DescribeEventAggregatesInputOperationRetryAlias>,
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.
Values to narrow the results returned.
Values to narrow the results returned.
The only currently supported value is eventTypeCategory
.
The only currently supported value is eventTypeCategory
.
The maximum number of items to return in one batch, between 10 and 100, inclusive.
The maximum number of items to return in one batch, between 10 and 100, inclusive.
If the results of a search are large, only a portion of the
results are returned, and a nextToken
pagination token is returned in the response. To
retrieve the next batch of results, reissue the search request and include the returned token.
When all results have been returned, the response does not contain a pagination token value.
If the results of a search are large, only a portion of the
results are returned, and a nextToken
pagination token is returned in the response. To
retrieve the next batch of results, reissue the search request and include the returned token.
When all results have been returned, the response does not contain a pagination token value.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DescribeEventAggregates<C, M, R>
impl<C, M, R> Send for DescribeEventAggregates<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeEventAggregates<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeEventAggregates<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DescribeEventAggregates<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