Struct aws_sdk_elasticloadbalancingv2::client::fluent_builders::ModifyRule [−][src]
pub struct ModifyRule<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ModifyRule
.
Replaces the specified properties of the specified rule. Any properties that you do not specify are unchanged.
To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action.
Implementations
impl<C, M, R> ModifyRule<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ModifyRule<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<ModifyRuleOutput, SdkError<ModifyRuleError>> where
R::Policy: SmithyRetryPolicy<ModifyRuleInputOperationOutputAlias, ModifyRuleOutput, ModifyRuleError, ModifyRuleInputOperationRetryAlias>,
pub async fn send(self) -> Result<ModifyRuleOutput, SdkError<ModifyRuleError>> where
R::Policy: SmithyRetryPolicy<ModifyRuleInputOperationOutputAlias, ModifyRuleOutput, ModifyRuleError, ModifyRuleInputOperationRetryAlias>,
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.
The Amazon Resource Name (ARN) of the rule.
The Amazon Resource Name (ARN) of the rule.
Appends an item to Conditions
.
To override the contents of this collection use set_conditions
.
The conditions.
The conditions.
Appends an item to Actions
.
To override the contents of this collection use set_actions
.
The actions.
The actions.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ModifyRule<C, M, R>
impl<C, M, R> Unpin for ModifyRule<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ModifyRule<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more