aws_sdk_observabilityadmin/client/
create_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 [`CreateTelemetryPipeline`](crate::operation::create_telemetry_pipeline::builders::CreateTelemetryPipelineFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::create_telemetry_pipeline::builders::CreateTelemetryPipelineFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_telemetry_pipeline::builders::CreateTelemetryPipelineFluentBuilder::set_name):<br>required: **true**<br><p>The name of the telemetry pipeline to create. The name must be unique within your account.</p><br>
7    ///   - [`configuration(TelemetryPipelineConfiguration)`](crate::operation::create_telemetry_pipeline::builders::CreateTelemetryPipelineFluentBuilder::configuration) / [`set_configuration(Option<TelemetryPipelineConfiguration>)`](crate::operation::create_telemetry_pipeline::builders::CreateTelemetryPipelineFluentBuilder::set_configuration):<br>required: **true**<br><p>The configuration that defines how the telemetry pipeline processes data, including sources, processors, and destinations. For more information about pipeline components, see the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/pipeline-components-reference.html">Amazon CloudWatch User Guide</a></p><br>
8    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_telemetry_pipeline::builders::CreateTelemetryPipelineFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_telemetry_pipeline::builders::CreateTelemetryPipelineFluentBuilder::set_tags):<br>required: **false**<br><p>The key-value pairs to associate with the telemetry pipeline resource for categorization and management purposes.</p><br>
9    /// - On success, responds with [`CreateTelemetryPipelineOutput`](crate::operation::create_telemetry_pipeline::CreateTelemetryPipelineOutput) with field(s):
10    ///   - [`arn(Option<String>)`](crate::operation::create_telemetry_pipeline::CreateTelemetryPipelineOutput::arn): <p>The Amazon Resource Name (ARN) of the created telemetry pipeline.</p>
11    /// - On failure, responds with [`SdkError<CreateTelemetryPipelineError>`](crate::operation::create_telemetry_pipeline::CreateTelemetryPipelineError)
12    pub fn create_telemetry_pipeline(&self) -> crate::operation::create_telemetry_pipeline::builders::CreateTelemetryPipelineFluentBuilder {
13        crate::operation::create_telemetry_pipeline::builders::CreateTelemetryPipelineFluentBuilder::new(self.handle.clone())
14    }
15}