aws_sdk_xray/client/
cancel_trace_retrieval.rs

1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CancelTraceRetrieval`](crate::operation::cancel_trace_retrieval::builders::CancelTraceRetrievalFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`retrieval_token(impl Into<String>)`](crate::operation::cancel_trace_retrieval::builders::CancelTraceRetrievalFluentBuilder::retrieval_token) / [`set_retrieval_token(Option<String>)`](crate::operation::cancel_trace_retrieval::builders::CancelTraceRetrievalFluentBuilder::set_retrieval_token):<br>required: **true**<br><p>Retrieval token.</p><br>
    /// - On success, responds with [`CancelTraceRetrievalOutput`](crate::operation::cancel_trace_retrieval::CancelTraceRetrievalOutput)
    /// - On failure, responds with [`SdkError<CancelTraceRetrievalError>`](crate::operation::cancel_trace_retrieval::CancelTraceRetrievalError)
    pub fn cancel_trace_retrieval(&self) -> crate::operation::cancel_trace_retrieval::builders::CancelTraceRetrievalFluentBuilder {
        crate::operation::cancel_trace_retrieval::builders::CancelTraceRetrievalFluentBuilder::new(self.handle.clone())
    }
}