aws_sdk_xray/client/
update_trace_segment_destination.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateTraceSegmentDestination`](crate::operation::update_trace_segment_destination::builders::UpdateTraceSegmentDestinationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`destination(TraceSegmentDestination)`](crate::operation::update_trace_segment_destination::builders::UpdateTraceSegmentDestinationFluentBuilder::destination) / [`set_destination(Option<TraceSegmentDestination>)`](crate::operation::update_trace_segment_destination::builders::UpdateTraceSegmentDestinationFluentBuilder::set_destination):<br>required: **false**<br><p>The configured destination of trace segments.</p><br>
    /// - On success, responds with [`UpdateTraceSegmentDestinationOutput`](crate::operation::update_trace_segment_destination::UpdateTraceSegmentDestinationOutput) with field(s):
    ///   - [`destination(Option<TraceSegmentDestination>)`](crate::operation::update_trace_segment_destination::UpdateTraceSegmentDestinationOutput::destination): <p>The destination of the trace segments.</p>
    ///   - [`status(Option<TraceSegmentDestinationStatus>)`](crate::operation::update_trace_segment_destination::UpdateTraceSegmentDestinationOutput::status): <p>The status of the update.</p>
    /// - On failure, responds with [`SdkError<UpdateTraceSegmentDestinationError>`](crate::operation::update_trace_segment_destination::UpdateTraceSegmentDestinationError)
    pub fn update_trace_segment_destination(
        &self,
    ) -> crate::operation::update_trace_segment_destination::builders::UpdateTraceSegmentDestinationFluentBuilder {
        crate::operation::update_trace_segment_destination::builders::UpdateTraceSegmentDestinationFluentBuilder::new(self.handle.clone())
    }
}