#[non_exhaustive]pub struct StartFlowInputBuilder { /* private fields */ }
Expand description
A builder for StartFlowInput
.
Implementations§
source§impl StartFlowInputBuilder
impl StartFlowInputBuilder
sourcepub fn flow_name(self, input: impl Into<String>) -> Self
pub fn flow_name(self, input: impl Into<String>) -> Self
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
This field is required.sourcepub fn set_flow_name(self, input: Option<String>) -> Self
pub fn set_flow_name(self, input: Option<String>) -> Self
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
sourcepub fn get_flow_name(&self) -> &Option<String>
pub fn get_flow_name(&self) -> &Option<String>
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The clientToken
parameter is an idempotency token. It ensures that your StartFlow
request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken
parameter value.
If you omit a clientToken
value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.
If you specify input parameters that differ from your first request, an error occurs for flows that run on a schedule or based on an event. However, the error doesn't occur for flows that run on demand. You set the conditions that initiate your flow for the triggerConfig
parameter.
If you use a different value for clientToken
, Amazon AppFlow considers it a new call to StartFlow
. The token is active for 8 hours.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The clientToken
parameter is an idempotency token. It ensures that your StartFlow
request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken
parameter value.
If you omit a clientToken
value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.
If you specify input parameters that differ from your first request, an error occurs for flows that run on a schedule or based on an event. However, the error doesn't occur for flows that run on demand. You set the conditions that initiate your flow for the triggerConfig
parameter.
If you use a different value for clientToken
, Amazon AppFlow considers it a new call to StartFlow
. The token is active for 8 hours.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The clientToken
parameter is an idempotency token. It ensures that your StartFlow
request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the same clientToken
parameter value.
If you omit a clientToken
value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.
If you specify input parameters that differ from your first request, an error occurs for flows that run on a schedule or based on an event. However, the error doesn't occur for flows that run on demand. You set the conditions that initiate your flow for the triggerConfig
parameter.
If you use a different value for clientToken
, Amazon AppFlow considers it a new call to StartFlow
. The token is active for 8 hours.
sourcepub fn build(self) -> Result<StartFlowInput, BuildError>
pub fn build(self) -> Result<StartFlowInput, BuildError>
Consumes the builder and constructs a StartFlowInput
.
source§impl StartFlowInputBuilder
impl StartFlowInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartFlowOutput, SdkError<StartFlowError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartFlowOutput, SdkError<StartFlowError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartFlowInputBuilder
impl Clone for StartFlowInputBuilder
source§fn clone(&self) -> StartFlowInputBuilder
fn clone(&self) -> StartFlowInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartFlowInputBuilder
impl Debug for StartFlowInputBuilder
source§impl Default for StartFlowInputBuilder
impl Default for StartFlowInputBuilder
source§fn default() -> StartFlowInputBuilder
fn default() -> StartFlowInputBuilder
source§impl PartialEq for StartFlowInputBuilder
impl PartialEq for StartFlowInputBuilder
source§fn eq(&self, other: &StartFlowInputBuilder) -> bool
fn eq(&self, other: &StartFlowInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.