Struct aws_sdk_securityhub::operation::batch_update_automation_rules::builders::BatchUpdateAutomationRulesFluentBuilder
source · pub struct BatchUpdateAutomationRulesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchUpdateAutomationRules
.
Updates one or more automation rules based on rule Amazon Resource Names (ARNs) and input parameters.
Implementations§
source§impl BatchUpdateAutomationRulesFluentBuilder
impl BatchUpdateAutomationRulesFluentBuilder
sourcepub fn as_input(&self) -> &BatchUpdateAutomationRulesInputBuilder
pub fn as_input(&self) -> &BatchUpdateAutomationRulesInputBuilder
Access the BatchUpdateAutomationRules as a reference.
sourcepub async fn send(
self
) -> Result<BatchUpdateAutomationRulesOutput, SdkError<BatchUpdateAutomationRulesError, HttpResponse>>
pub async fn send( self ) -> Result<BatchUpdateAutomationRulesOutput, SdkError<BatchUpdateAutomationRulesError, 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<BatchUpdateAutomationRulesOutput, BatchUpdateAutomationRulesError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchUpdateAutomationRulesOutput, BatchUpdateAutomationRulesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn update_automation_rules_request_items(
self,
input: UpdateAutomationRulesRequestItem
) -> Self
pub fn update_automation_rules_request_items( self, input: UpdateAutomationRulesRequestItem ) -> Self
Appends an item to UpdateAutomationRulesRequestItems
.
To override the contents of this collection use set_update_automation_rules_request_items
.
An array of ARNs for the rules that are to be updated. Optionally, you can also include RuleStatus
and RuleOrder
.
sourcepub fn set_update_automation_rules_request_items(
self,
input: Option<Vec<UpdateAutomationRulesRequestItem>>
) -> Self
pub fn set_update_automation_rules_request_items( self, input: Option<Vec<UpdateAutomationRulesRequestItem>> ) -> Self
An array of ARNs for the rules that are to be updated. Optionally, you can also include RuleStatus
and RuleOrder
.
sourcepub fn get_update_automation_rules_request_items(
&self
) -> &Option<Vec<UpdateAutomationRulesRequestItem>>
pub fn get_update_automation_rules_request_items( &self ) -> &Option<Vec<UpdateAutomationRulesRequestItem>>
An array of ARNs for the rules that are to be updated. Optionally, you can also include RuleStatus
and RuleOrder
.
Trait Implementations§
source§impl Clone for BatchUpdateAutomationRulesFluentBuilder
impl Clone for BatchUpdateAutomationRulesFluentBuilder
source§fn clone(&self) -> BatchUpdateAutomationRulesFluentBuilder
fn clone(&self) -> BatchUpdateAutomationRulesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more