aws_sdk_xray/client/get_trace_segment_destination.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetTraceSegmentDestination`](crate::operation::get_trace_segment_destination::builders::GetTraceSegmentDestinationFluentBuilder) operation.
///
/// - The fluent builder takes no input, just [`send`](crate::operation::get_trace_segment_destination::builders::GetTraceSegmentDestinationFluentBuilder::send) it.
/// - On success, responds with [`GetTraceSegmentDestinationOutput`](crate::operation::get_trace_segment_destination::GetTraceSegmentDestinationOutput) with field(s):
/// - [`destination(Option<TraceSegmentDestination>)`](crate::operation::get_trace_segment_destination::GetTraceSegmentDestinationOutput::destination): <p>Retrieves the current destination.</p>
/// - [`status(Option<TraceSegmentDestinationStatus>)`](crate::operation::get_trace_segment_destination::GetTraceSegmentDestinationOutput::status): <p>Status of the retrieval.</p>
/// - On failure, responds with [`SdkError<GetTraceSegmentDestinationError>`](crate::operation::get_trace_segment_destination::GetTraceSegmentDestinationError)
pub fn get_trace_segment_destination(
&self,
) -> crate::operation::get_trace_segment_destination::builders::GetTraceSegmentDestinationFluentBuilder {
crate::operation::get_trace_segment_destination::builders::GetTraceSegmentDestinationFluentBuilder::new(self.handle.clone())
}
}