Struct aws_sdk_xray::client::fluent_builders::GetTraceSummaries
source · [−]pub struct GetTraceSummaries<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to GetTraceSummaries
.
Retrieves IDs and annotations for traces available for a specified time frame using an optional filter. To get the full traces, pass the trace IDs to BatchGetTraces
.
A filter expression can target traced requests that hit specific service nodes or edges, have errors, or come from a known user. For example, the following filter expression targets traces that pass through api.example.com
:
service("api.example.com")
This filter expression finds traces that have an annotation named account
with the value 12345
:
annotation.account = "12345"
For a full list of indexed fields and keywords that you can use in filter expressions, see Using Filter Expressions in the Amazon Web Services X-Ray Developer Guide.
Implementations
impl<C, M, R> GetTraceSummaries<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetTraceSummaries<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetTraceSummariesOutput, SdkError<GetTraceSummariesError>> where
R::Policy: SmithyRetryPolicy<GetTraceSummariesInputOperationOutputAlias, GetTraceSummariesOutput, GetTraceSummariesError, GetTraceSummariesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetTraceSummariesOutput, SdkError<GetTraceSummariesError>> where
R::Policy: SmithyRetryPolicy<GetTraceSummariesInputOperationOutputAlias, GetTraceSummariesOutput, GetTraceSummariesError, GetTraceSummariesInputOperationRetryAlias>,
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 start of the time frame for which to retrieve traces.
The start of the time frame for which to retrieve traces.
The end of the time frame for which to retrieve traces.
The end of the time frame for which to retrieve traces.
A parameter to indicate whether to query trace summaries by TraceId or Event time.
A parameter to indicate whether to query trace summaries by TraceId or Event time.
Set to true
to get summaries for only a subset of available traces.
Set to true
to get summaries for only a subset of available traces.
A parameter to indicate whether to enable sampling on trace summaries. Input parameters are Name and Value.
A parameter to indicate whether to enable sampling on trace summaries. Input parameters are Name and Value.
Specify a filter expression to retrieve trace summaries for services or requests that meet certain requirements.
Specify a filter expression to retrieve trace summaries for services or requests that meet certain requirements.
Specify the pagination token returned by a previous request to retrieve the next page of results.
Specify the pagination token returned by a previous request to retrieve the next page of results.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetTraceSummaries<C, M, R>
impl<C, M, R> Send for GetTraceSummaries<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetTraceSummaries<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetTraceSummaries<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetTraceSummaries<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