Struct aws_sdk_sfn::operation::update_state_machine_alias::builders::UpdateStateMachineAliasFluentBuilder
source · pub struct UpdateStateMachineAliasFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateStateMachineAlias.
Updates the configuration of an existing state machine alias by modifying its description or routingConfiguration.
You must specify at least one of the description or routingConfiguration parameters to update a state machine alias.
UpdateStateMachineAlias is an idempotent API. Step Functions bases the idempotency check on the stateMachineAliasArn, description, and routingConfiguration parameters. Requests with the same parameters return an idempotent response.
This operation is eventually consistent. All StartExecution requests made within a few seconds use the latest alias configuration. Executions started immediately after calling UpdateStateMachineAlias may use the previous routing configuration.
Related operations:
-
CreateStateMachineAlias -
DescribeStateMachineAlias -
ListStateMachineAliases -
DeleteStateMachineAlias
Implementations§
source§impl UpdateStateMachineAliasFluentBuilder
impl UpdateStateMachineAliasFluentBuilder
sourcepub fn as_input(&self) -> &UpdateStateMachineAliasInputBuilder
pub fn as_input(&self) -> &UpdateStateMachineAliasInputBuilder
Access the UpdateStateMachineAlias as a reference.
sourcepub async fn send(
self
) -> Result<UpdateStateMachineAliasOutput, SdkError<UpdateStateMachineAliasError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateStateMachineAliasOutput, SdkError<UpdateStateMachineAliasError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<UpdateStateMachineAliasOutput, UpdateStateMachineAliasError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateStateMachineAliasOutput, UpdateStateMachineAliasError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn state_machine_alias_arn(self, input: impl Into<String>) -> Self
pub fn state_machine_alias_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the state machine alias.
sourcepub fn set_state_machine_alias_arn(self, input: Option<String>) -> Self
pub fn set_state_machine_alias_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the state machine alias.
sourcepub fn get_state_machine_alias_arn(&self) -> &Option<String>
pub fn get_state_machine_alias_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the state machine alias.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the state machine alias.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the state machine alias.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the state machine alias.
sourcepub fn routing_configuration(self, input: RoutingConfigurationListItem) -> Self
pub fn routing_configuration(self, input: RoutingConfigurationListItem) -> Self
Appends an item to routingConfiguration.
To override the contents of this collection use set_routing_configuration.
The routing configuration of the state machine alias.
An array of RoutingConfig objects that specifies up to two state machine versions that the alias starts executions for.
sourcepub fn set_routing_configuration(
self,
input: Option<Vec<RoutingConfigurationListItem>>
) -> Self
pub fn set_routing_configuration( self, input: Option<Vec<RoutingConfigurationListItem>> ) -> Self
The routing configuration of the state machine alias.
An array of RoutingConfig objects that specifies up to two state machine versions that the alias starts executions for.
sourcepub fn get_routing_configuration(
&self
) -> &Option<Vec<RoutingConfigurationListItem>>
pub fn get_routing_configuration( &self ) -> &Option<Vec<RoutingConfigurationListItem>>
The routing configuration of the state machine alias.
An array of RoutingConfig objects that specifies up to two state machine versions that the alias starts executions for.
Trait Implementations§
source§impl Clone for UpdateStateMachineAliasFluentBuilder
impl Clone for UpdateStateMachineAliasFluentBuilder
source§fn clone(&self) -> UpdateStateMachineAliasFluentBuilder
fn clone(&self) -> UpdateStateMachineAliasFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for UpdateStateMachineAliasFluentBuilder
impl !RefUnwindSafe for UpdateStateMachineAliasFluentBuilder
impl Send for UpdateStateMachineAliasFluentBuilder
impl Sync for UpdateStateMachineAliasFluentBuilder
impl Unpin for UpdateStateMachineAliasFluentBuilder
impl !UnwindSafe for UpdateStateMachineAliasFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more