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 [`GetTransformerJob`](crate::operation::get_transformer_job::builders::GetTransformerJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`transformer_job_id(impl Into<String>)`](crate::operation::get_transformer_job::builders::GetTransformerJobFluentBuilder::transformer_job_id) / [`set_transformer_job_id(Option<String>)`](crate::operation::get_transformer_job::builders::GetTransformerJobFluentBuilder::set_transformer_job_id):<br>required: **true**<br><p>Specifies the unique, system-generated identifier for a transformer run.</p><br>
    ///   - [`transformer_id(impl Into<String>)`](crate::operation::get_transformer_job::builders::GetTransformerJobFluentBuilder::transformer_id) / [`set_transformer_id(Option<String>)`](crate::operation::get_transformer_job::builders::GetTransformerJobFluentBuilder::set_transformer_id):<br>required: **true**<br><p>Specifies the system-assigned unique identifier for the transformer.</p><br>
    /// - On success, responds with [`GetTransformerJobOutput`](crate::operation::get_transformer_job::GetTransformerJobOutput) with field(s):
    ///   - [`status(TransformerJobStatus)`](crate::operation::get_transformer_job::GetTransformerJobOutput::status): <p>Returns the current state of the transformer job, either <code>running</code>, <code>succeeded</code>, or <code>failed</code>.</p>
    ///   - [`output_files(Option<Vec::<S3Location>>)`](crate::operation::get_transformer_job::GetTransformerJobOutput::output_files): <p>Returns the location for the output files. If the caller specified a directory for the output, then this contains the full path to the output file, including the file name generated by the service.</p>
    ///   - [`message(Option<String>)`](crate::operation::get_transformer_job::GetTransformerJobOutput::message): <p>Returns an optional error message, which gets populated when the job is not run successfully.</p>
    /// - On failure, responds with [`SdkError<GetTransformerJobError>`](crate::operation::get_transformer_job::GetTransformerJobError)
    pub fn get_transformer_job(&self) -> crate::operation::get_transformer_job::builders::GetTransformerJobFluentBuilder {
        crate::operation::get_transformer_job::builders::GetTransformerJobFluentBuilder::new(self.handle.clone())
    }
}