aws_sdk_xray/client/
start_trace_retrieval.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StartTraceRetrieval`](crate::operation::start_trace_retrieval::builders::StartTraceRetrievalFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`trace_ids(impl Into<String>)`](crate::operation::start_trace_retrieval::builders::StartTraceRetrievalFluentBuilder::trace_ids) / [`set_trace_ids(Option<Vec::<String>>)`](crate::operation::start_trace_retrieval::builders::StartTraceRetrievalFluentBuilder::set_trace_ids):<br>required: **true**<br><p>Specify the trace IDs of the traces to be retrieved.</p><br>
    ///   - [`start_time(DateTime)`](crate::operation::start_trace_retrieval::builders::StartTraceRetrievalFluentBuilder::start_time) / [`set_start_time(Option<DateTime>)`](crate::operation::start_trace_retrieval::builders::StartTraceRetrievalFluentBuilder::set_start_time):<br>required: **true**<br><p>The start of the time range to retrieve traces. The range is inclusive, so the specified start time is included in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.</p><br>
    ///   - [`end_time(DateTime)`](crate::operation::start_trace_retrieval::builders::StartTraceRetrievalFluentBuilder::end_time) / [`set_end_time(Option<DateTime>)`](crate::operation::start_trace_retrieval::builders::StartTraceRetrievalFluentBuilder::set_end_time):<br>required: **true**<br><p>The end of the time range to retrieve traces. The range is inclusive, so the specified end time is included in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.</p><br>
    /// - On success, responds with [`StartTraceRetrievalOutput`](crate::operation::start_trace_retrieval::StartTraceRetrievalOutput) with field(s):
    ///   - [`retrieval_token(Option<String>)`](crate::operation::start_trace_retrieval::StartTraceRetrievalOutput::retrieval_token): <p>Retrieval token.</p>
    /// - On failure, responds with [`SdkError<StartTraceRetrievalError>`](crate::operation::start_trace_retrieval::StartTraceRetrievalError)
    pub fn start_trace_retrieval(&self) -> crate::operation::start_trace_retrieval::builders::StartTraceRetrievalFluentBuilder {
        crate::operation::start_trace_retrieval::builders::StartTraceRetrievalFluentBuilder::new(self.handle.clone())
    }
}