aws_sdk_elastictranscoder/client/read_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 [`ReadPipeline`](crate::operation::read_pipeline::builders::ReadPipelineFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::read_pipeline::builders::ReadPipelineFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::read_pipeline::builders::ReadPipelineFluentBuilder::set_id):<br>required: **true**<br><p>The identifier of the pipeline to read.</p><br>
7 /// - On success, responds with [`ReadPipelineOutput`](crate::operation::read_pipeline::ReadPipelineOutput) with field(s):
8 /// - [`pipeline(Option<Pipeline>)`](crate::operation::read_pipeline::ReadPipelineOutput::pipeline): <p>A section of the response body that provides information about the pipeline.</p>
9 /// - [`warnings(Option<Vec::<Warning>>)`](crate::operation::read_pipeline::ReadPipelineOutput::warnings): <p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p> <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>
10 /// - On failure, responds with [`SdkError<ReadPipelineError>`](crate::operation::read_pipeline::ReadPipelineError)
11 pub fn read_pipeline(&self) -> crate::operation::read_pipeline::builders::ReadPipelineFluentBuilder {
12 crate::operation::read_pipeline::builders::ReadPipelineFluentBuilder::new(self.handle.clone())
13 }
14}