aws_sdk_xray/client/list_retrieved_traces.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListRetrievedTraces`](crate::operation::list_retrieved_traces::builders::ListRetrievedTracesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`retrieval_token(impl Into<String>)`](crate::operation::list_retrieved_traces::builders::ListRetrievedTracesFluentBuilder::retrieval_token) / [`set_retrieval_token(Option<String>)`](crate::operation::list_retrieved_traces::builders::ListRetrievedTracesFluentBuilder::set_retrieval_token):<br>required: **true**<br><p>Retrieval token.</p><br>
/// - [`trace_format(TraceFormatType)`](crate::operation::list_retrieved_traces::builders::ListRetrievedTracesFluentBuilder::trace_format) / [`set_trace_format(Option<TraceFormatType>)`](crate::operation::list_retrieved_traces::builders::ListRetrievedTracesFluentBuilder::set_trace_format):<br>required: **false**<br><p>Format of the requested traces.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_retrieved_traces::builders::ListRetrievedTracesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_retrieved_traces::builders::ListRetrievedTracesFluentBuilder::set_next_token):<br>required: **false**<br><p>Specify the pagination token returned by a previous request to retrieve the next page of indexes.</p><br>
/// - On success, responds with [`ListRetrievedTracesOutput`](crate::operation::list_retrieved_traces::ListRetrievedTracesOutput) with field(s):
/// - [`retrieval_status(Option<RetrievalStatus>)`](crate::operation::list_retrieved_traces::ListRetrievedTracesOutput::retrieval_status): <p>Status of the retrieval.</p>
/// - [`trace_format(Option<TraceFormatType>)`](crate::operation::list_retrieved_traces::ListRetrievedTracesOutput::trace_format): <p>Format of the requested traces.</p>
/// - [`traces(Option<Vec::<RetrievedTrace>>)`](crate::operation::list_retrieved_traces::ListRetrievedTracesOutput::traces): <p>Full traces for the specified requests.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_retrieved_traces::ListRetrievedTracesOutput::next_token): <p>Specify the pagination token returned by a previous request to retrieve the next page of indexes.</p>
/// - On failure, responds with [`SdkError<ListRetrievedTracesError>`](crate::operation::list_retrieved_traces::ListRetrievedTracesError)
pub fn list_retrieved_traces(&self) -> crate::operation::list_retrieved_traces::builders::ListRetrievedTracesFluentBuilder {
crate::operation::list_retrieved_traces::builders::ListRetrievedTracesFluentBuilder::new(self.handle.clone())
}
}