pub struct CreateScriptFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateScript
.
Transforms a directed acyclic graph (DAG) into code.
Implementations§
source§impl CreateScriptFluentBuilder
impl CreateScriptFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateScript, AwsResponseRetryClassifier>, SdkError<CreateScriptError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateScript, AwsResponseRetryClassifier>, SdkError<CreateScriptError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateScriptOutput, SdkError<CreateScriptError>>
pub async fn send( self ) -> Result<CreateScriptOutput, SdkError<CreateScriptError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn dag_nodes(self, input: CodeGenNode) -> Self
pub fn dag_nodes(self, input: CodeGenNode) -> Self
Appends an item to DagNodes
.
To override the contents of this collection use set_dag_nodes
.
A list of the nodes in the DAG.
sourcepub fn set_dag_nodes(self, input: Option<Vec<CodeGenNode>>) -> Self
pub fn set_dag_nodes(self, input: Option<Vec<CodeGenNode>>) -> Self
A list of the nodes in the DAG.
sourcepub fn dag_edges(self, input: CodeGenEdge) -> Self
pub fn dag_edges(self, input: CodeGenEdge) -> Self
Appends an item to DagEdges
.
To override the contents of this collection use set_dag_edges
.
A list of the edges in the DAG.
sourcepub fn set_dag_edges(self, input: Option<Vec<CodeGenEdge>>) -> Self
pub fn set_dag_edges(self, input: Option<Vec<CodeGenEdge>>) -> Self
A list of the edges in the DAG.
sourcepub fn language(self, input: Language) -> Self
pub fn language(self, input: Language) -> Self
The programming language of the resulting code from the DAG.
sourcepub fn set_language(self, input: Option<Language>) -> Self
pub fn set_language(self, input: Option<Language>) -> Self
The programming language of the resulting code from the DAG.
Trait Implementations§
source§impl Clone for CreateScriptFluentBuilder
impl Clone for CreateScriptFluentBuilder
source§fn clone(&self) -> CreateScriptFluentBuilder
fn clone(&self) -> CreateScriptFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more