AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Removes the specified subnet associations from the firewall. This removes the firewall endpoints from the subnets and removes any network filtering protections that the endpoints were providing.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginDisassociateSubnets and EndDisassociateSubnets.
Namespace: Amazon.NetworkFirewall
Assembly: AWSSDK.NetworkFirewall.dll
Version: 3.x.y.z
public virtual Task<DisassociateSubnetsResponse> DisassociateSubnetsAsync( DisassociateSubnetsRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the DisassociateSubnets service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exception | Condition |
---|---|
InternalServerErrorException | Your request is valid, but Network Firewall couldn't perform the operation because of a system problem. Retry your request. |
InvalidOperationException | The operation failed because it's not valid. For example, you might have tried to delete a rule group or firewall policy that's in use. |
InvalidRequestException | The operation failed because of a problem with your request. Examples include: You specified an unsupported parameter name or value. You tried to update a property with a value that isn't among the available types. Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the context of the request. |
InvalidTokenException | The token you provided is stale or isn't valid for the operation. |
ResourceNotFoundException | Unable to locate a resource using the parameters that you provided. |
ThrottlingException | Unable to process the request due to throttling limitations. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer