pub struct DeleteFirewall<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DeleteFirewall
.
Deletes the specified Firewall
and its FirewallStatus
. This operation requires the firewall's DeleteProtection
flag to be FALSE
. You can't revert this operation.
You can check whether a firewall is in use by reviewing the route tables for the Availability Zones where you have firewall subnet mappings. Retrieve the subnet mappings by calling DescribeFirewall
. You define and update the route tables through Amazon VPC. As needed, update the route tables for the zones to remove the firewall endpoints. When the route tables no longer use the firewall endpoints, you can remove the firewall safely.
To delete a firewall, remove the delete protection if you need to using UpdateFirewallDeleteProtection
, then delete the firewall by calling DeleteFirewall
.
Implementations
impl<C, M, R> DeleteFirewall<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteFirewall<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteFirewallOutput, SdkError<DeleteFirewallError>> where
R::Policy: SmithyRetryPolicy<DeleteFirewallInputOperationOutputAlias, DeleteFirewallOutput, DeleteFirewallError, DeleteFirewallInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteFirewallOutput, SdkError<DeleteFirewallError>> where
R::Policy: SmithyRetryPolicy<DeleteFirewallInputOperationOutputAlias, DeleteFirewallOutput, DeleteFirewallError, DeleteFirewallInputOperationRetryAlias>,
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 descriptive name of the firewall. You can't change the name of a firewall after you create it.
You must specify the ARN or the name, and you can specify both.
The descriptive name of the firewall. You can't change the name of a firewall after you create it.
You must specify the ARN or the name, and you can specify both.
The Amazon Resource Name (ARN) of the firewall.
You must specify the ARN or the name, and you can specify both.
The Amazon Resource Name (ARN) of the firewall.
You must specify the ARN or the name, and you can specify both.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteFirewall<C, M, R>
impl<C, M, R> Send for DeleteFirewall<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteFirewall<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteFirewall<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteFirewall<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