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 [`CreateScript`](crate::operation::create_script::builders::CreateScriptFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dag_nodes(CodeGenNode)`](crate::operation::create_script::builders::CreateScriptFluentBuilder::dag_nodes) / [`set_dag_nodes(Option<Vec::<CodeGenNode>>)`](crate::operation::create_script::builders::CreateScriptFluentBuilder::set_dag_nodes):<br>required: **false**<br><p>A list of the nodes in the DAG.</p><br>
    ///   - [`dag_edges(CodeGenEdge)`](crate::operation::create_script::builders::CreateScriptFluentBuilder::dag_edges) / [`set_dag_edges(Option<Vec::<CodeGenEdge>>)`](crate::operation::create_script::builders::CreateScriptFluentBuilder::set_dag_edges):<br>required: **false**<br><p>A list of the edges in the DAG.</p><br>
    ///   - [`language(Language)`](crate::operation::create_script::builders::CreateScriptFluentBuilder::language) / [`set_language(Option<Language>)`](crate::operation::create_script::builders::CreateScriptFluentBuilder::set_language):<br>required: **false**<br><p>The programming language of the resulting code from the DAG.</p><br>
    /// - On success, responds with [`CreateScriptOutput`](crate::operation::create_script::CreateScriptOutput) with field(s):
    ///   - [`python_script(Option<String>)`](crate::operation::create_script::CreateScriptOutput::python_script): <p>The Python script generated from the DAG.</p>
    ///   - [`scala_code(Option<String>)`](crate::operation::create_script::CreateScriptOutput::scala_code): <p>The Scala code generated from the DAG.</p>
    /// - On failure, responds with [`SdkError<CreateScriptError>`](crate::operation::create_script::CreateScriptError)
    pub fn create_script(&self) -> crate::operation::create_script::builders::CreateScriptFluentBuilder {
        crate::operation::create_script::builders::CreateScriptFluentBuilder::new(self.handle.clone())
    }
}