aws_sdk_elastictranscoder/client/
read_pipeline.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ReadPipeline`](crate::operation::read_pipeline::builders::ReadPipelineFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`ReadPipelineOutput`](crate::operation::read_pipeline::ReadPipelineOutput) with field(s):
    ///   - [`pipeline(Option<Pipeline>)`](crate::operation::read_pipeline::ReadPipelineOutput::pipeline): <p>A section of the response body that provides information about the pipeline.</p>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<ReadPipelineError>`](crate::operation::read_pipeline::ReadPipelineError)
    pub fn read_pipeline(&self) -> crate::operation::read_pipeline::builders::ReadPipelineFluentBuilder {
        crate::operation::read_pipeline::builders::ReadPipelineFluentBuilder::new(self.handle.clone())
    }
}