libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.NetworkFirewall.DeleteFirewall

Description

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.

Synopsis

Creating a Request

data DeleteFirewall Source #

See: newDeleteFirewall smart constructor.

Constructors

DeleteFirewall' 

Fields

  • firewallArn :: Maybe Text

    The Amazon Resource Name (ARN) of the firewall.

    You must specify the ARN or the name, and you can specify both.

  • firewallName :: Maybe Text

    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.

Instances

Instances details
Eq DeleteFirewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

Read DeleteFirewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

Show DeleteFirewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

Generic DeleteFirewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

Associated Types

type Rep DeleteFirewall :: Type -> Type #

NFData DeleteFirewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

Methods

rnf :: DeleteFirewall -> () #

Hashable DeleteFirewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

ToJSON DeleteFirewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

AWSRequest DeleteFirewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

Associated Types

type AWSResponse DeleteFirewall #

ToHeaders DeleteFirewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

ToPath DeleteFirewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

ToQuery DeleteFirewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

type Rep DeleteFirewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

type Rep DeleteFirewall = D1 ('MetaData "DeleteFirewall" "Amazonka.NetworkFirewall.DeleteFirewall" "libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall" 'False) (C1 ('MetaCons "DeleteFirewall'" 'PrefixI 'True) (S1 ('MetaSel ('Just "firewallArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "firewallName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse DeleteFirewall Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

newDeleteFirewall :: DeleteFirewall Source #

Create a value of DeleteFirewall with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:firewallArn:DeleteFirewall', deleteFirewall_firewallArn - The Amazon Resource Name (ARN) of the firewall.

You must specify the ARN or the name, and you can specify both.

$sel:firewallName:DeleteFirewall', deleteFirewall_firewallName - 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.

Request Lenses

deleteFirewall_firewallArn :: Lens' DeleteFirewall (Maybe Text) Source #

The Amazon Resource Name (ARN) of the firewall.

You must specify the ARN or the name, and you can specify both.

deleteFirewall_firewallName :: Lens' DeleteFirewall (Maybe Text) Source #

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.

Destructuring the Response

data DeleteFirewallResponse Source #

See: newDeleteFirewallResponse smart constructor.

Constructors

DeleteFirewallResponse' 

Fields

Instances

Instances details
Eq DeleteFirewallResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

Read DeleteFirewallResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

Show DeleteFirewallResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

Generic DeleteFirewallResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

Associated Types

type Rep DeleteFirewallResponse :: Type -> Type #

NFData DeleteFirewallResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

Methods

rnf :: DeleteFirewallResponse -> () #

type Rep DeleteFirewallResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteFirewall

type Rep DeleteFirewallResponse = D1 ('MetaData "DeleteFirewallResponse" "Amazonka.NetworkFirewall.DeleteFirewall" "libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall" 'False) (C1 ('MetaCons "DeleteFirewallResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "firewallStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FirewallStatus)) :*: (S1 ('MetaSel ('Just "firewall") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Firewall)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteFirewallResponse Source #

Create a value of DeleteFirewallResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:firewallStatus:DeleteFirewallResponse', deleteFirewallResponse_firewallStatus - Undocumented member.

$sel:firewall:DeleteFirewallResponse', deleteFirewallResponse_firewall - Undocumented member.

$sel:httpStatus:DeleteFirewallResponse', deleteFirewallResponse_httpStatus - The response's http status code.

Response Lenses