aws_sdk_observabilityadmin/client/test_telemetry_pipeline.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`TestTelemetryPipeline`](crate::operation::test_telemetry_pipeline::builders::TestTelemetryPipelineFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`records(Record)`](crate::operation::test_telemetry_pipeline::builders::TestTelemetryPipelineFluentBuilder::records) / [`set_records(Option<Vec::<Record>>)`](crate::operation::test_telemetry_pipeline::builders::TestTelemetryPipelineFluentBuilder::set_records):<br>required: **true**<br><p>The sample records to process through the pipeline configuration for testing purposes.</p><br>
7 /// - [`configuration(TelemetryPipelineConfiguration)`](crate::operation::test_telemetry_pipeline::builders::TestTelemetryPipelineFluentBuilder::configuration) / [`set_configuration(Option<TelemetryPipelineConfiguration>)`](crate::operation::test_telemetry_pipeline::builders::TestTelemetryPipelineFluentBuilder::set_configuration):<br>required: **true**<br><p>The pipeline configuration to test with the provided sample records.</p><br>
8 /// - [`signal_type(SignalType)`](crate::operation::test_telemetry_pipeline::builders::TestTelemetryPipelineFluentBuilder::signal_type) / [`set_signal_type(Option<SignalType>)`](crate::operation::test_telemetry_pipeline::builders::TestTelemetryPipelineFluentBuilder::set_signal_type):<br>required: **false**<br><p>The type of telemetry signal to test. If not specified, defaults to log processing.</p><br>
9 /// - On success, responds with [`TestTelemetryPipelineOutput`](crate::operation::test_telemetry_pipeline::TestTelemetryPipelineOutput) with field(s):
10 /// - [`results(Option<Vec::<PipelineOutput>>)`](crate::operation::test_telemetry_pipeline::TestTelemetryPipelineOutput::results): <p>The results of processing the test records through the pipeline configuration, including any outputs or errors.</p>
11 /// - On failure, responds with [`SdkError<TestTelemetryPipelineError>`](crate::operation::test_telemetry_pipeline::TestTelemetryPipelineError)
12 pub fn test_telemetry_pipeline(&self) -> crate::operation::test_telemetry_pipeline::builders::TestTelemetryPipelineFluentBuilder {
13 crate::operation::test_telemetry_pipeline::builders::TestTelemetryPipelineFluentBuilder::new(self.handle.clone())
14 }
15}