Struct aws_sdk_iot::client::fluent_builders::GetStatistics [−][src]
pub struct GetStatistics<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GetStatistics
.
Returns the count, average, sum, minimum, maximum, sum of squares, variance,
and standard deviation for the specified aggregated field. If the aggregation field is of type
String
, only the count statistic is returned.
Requires permission to access the GetStatistics action.
Implementations
impl<C, M, R> GetStatistics<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetStatistics<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetStatisticsOutput, SdkError<GetStatisticsError>> where
R::Policy: SmithyRetryPolicy<GetStatisticsInputOperationOutputAlias, GetStatisticsOutput, GetStatisticsError, GetStatisticsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetStatisticsOutput, SdkError<GetStatisticsError>> where
R::Policy: SmithyRetryPolicy<GetStatisticsInputOperationOutputAlias, GetStatisticsOutput, GetStatisticsError, GetStatisticsInputOperationRetryAlias>,
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.
The name of the index to search. The default value is AWS_Things
.
The name of the index to search. The default value is AWS_Things
.
The query used to search. You can specify "*" for the query string to get the count of all indexed things in your Amazon Web Services account.
The query used to search. You can specify "*" for the query string to get the count of all indexed things in your Amazon Web Services account.
The aggregation field name.
The aggregation field name.
The version of the query used to search.
The version of the query used to search.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for GetStatistics<C, M, R>
impl<C, M, R> Unpin for GetStatistics<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for GetStatistics<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