Struct aws_sdk_wafv2::operation::delete_firewall_manager_rule_groups::builders::DeleteFirewallManagerRuleGroupsFluentBuilder
source · pub struct DeleteFirewallManagerRuleGroupsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteFirewallManagerRuleGroups
.
Deletes all rule groups that are managed by Firewall Manager for the specified web ACL.
You can only use this if ManagedByFirewallManager
is false in the specified WebACL
.
Implementations§
source§impl DeleteFirewallManagerRuleGroupsFluentBuilder
impl DeleteFirewallManagerRuleGroupsFluentBuilder
sourcepub fn as_input(&self) -> &DeleteFirewallManagerRuleGroupsInputBuilder
pub fn as_input(&self) -> &DeleteFirewallManagerRuleGroupsInputBuilder
Access the DeleteFirewallManagerRuleGroups as a reference.
sourcepub async fn send(
self
) -> Result<DeleteFirewallManagerRuleGroupsOutput, SdkError<DeleteFirewallManagerRuleGroupsError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteFirewallManagerRuleGroupsOutput, SdkError<DeleteFirewallManagerRuleGroupsError, 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<DeleteFirewallManagerRuleGroupsOutput, DeleteFirewallManagerRuleGroupsError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteFirewallManagerRuleGroupsOutput, DeleteFirewallManagerRuleGroupsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn web_acl_arn(self, input: impl Into<String>) -> Self
pub fn web_acl_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the web ACL.
sourcepub fn set_web_acl_arn(self, input: Option<String>) -> Self
pub fn set_web_acl_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the web ACL.
sourcepub fn get_web_acl_arn(&self) -> &Option<String>
pub fn get_web_acl_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the web ACL.
sourcepub fn web_acl_lock_token(self, input: impl Into<String>) -> Self
pub fn web_acl_lock_token(self, input: impl Into<String>) -> Self
A token used for optimistic locking. WAF returns a token to your get
and list
requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update
and delete
. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException
. If this happens, perform another get
, and use the new token returned by that operation.
sourcepub fn set_web_acl_lock_token(self, input: Option<String>) -> Self
pub fn set_web_acl_lock_token(self, input: Option<String>) -> Self
A token used for optimistic locking. WAF returns a token to your get
and list
requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update
and delete
. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException
. If this happens, perform another get
, and use the new token returned by that operation.
sourcepub fn get_web_acl_lock_token(&self) -> &Option<String>
pub fn get_web_acl_lock_token(&self) -> &Option<String>
A token used for optimistic locking. WAF returns a token to your get
and list
requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update
and delete
. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException
. If this happens, perform another get
, and use the new token returned by that operation.
Trait Implementations§
source§impl Clone for DeleteFirewallManagerRuleGroupsFluentBuilder
impl Clone for DeleteFirewallManagerRuleGroupsFluentBuilder
source§fn clone(&self) -> DeleteFirewallManagerRuleGroupsFluentBuilder
fn clone(&self) -> DeleteFirewallManagerRuleGroupsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more