Struct aws_sdk_securityhub::operation::batch_delete_automation_rules::builders::BatchDeleteAutomationRulesFluentBuilder
source · pub struct BatchDeleteAutomationRulesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchDeleteAutomationRules
.
Deletes one or more automation rules.
Implementations§
source§impl BatchDeleteAutomationRulesFluentBuilder
impl BatchDeleteAutomationRulesFluentBuilder
sourcepub fn as_input(&self) -> &BatchDeleteAutomationRulesInputBuilder
pub fn as_input(&self) -> &BatchDeleteAutomationRulesInputBuilder
Access the BatchDeleteAutomationRules as a reference.
sourcepub async fn send(
self
) -> Result<BatchDeleteAutomationRulesOutput, SdkError<BatchDeleteAutomationRulesError, HttpResponse>>
pub async fn send( self ) -> Result<BatchDeleteAutomationRulesOutput, SdkError<BatchDeleteAutomationRulesError, 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<BatchDeleteAutomationRulesOutput, BatchDeleteAutomationRulesError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchDeleteAutomationRulesOutput, BatchDeleteAutomationRulesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn automation_rules_arns(self, input: impl Into<String>) -> Self
pub fn automation_rules_arns(self, input: impl Into<String>) -> Self
Appends an item to AutomationRulesArns
.
To override the contents of this collection use set_automation_rules_arns
.
A list of Amazon Resource Names (ARNs) for the rules that are to be deleted.
sourcepub fn set_automation_rules_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_automation_rules_arns(self, input: Option<Vec<String>>) -> Self
A list of Amazon Resource Names (ARNs) for the rules that are to be deleted.
sourcepub fn get_automation_rules_arns(&self) -> &Option<Vec<String>>
pub fn get_automation_rules_arns(&self) -> &Option<Vec<String>>
A list of Amazon Resource Names (ARNs) for the rules that are to be deleted.
Trait Implementations§
source§impl Clone for BatchDeleteAutomationRulesFluentBuilder
impl Clone for BatchDeleteAutomationRulesFluentBuilder
source§fn clone(&self) -> BatchDeleteAutomationRulesFluentBuilder
fn clone(&self) -> BatchDeleteAutomationRulesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more