amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.DeleteNetworkAcl

Description

Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL.

Synopsis

Creating a Request

data DeleteNetworkAcl Source #

See: newDeleteNetworkAcl smart constructor.

Constructors

DeleteNetworkAcl' 

Fields

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • networkAclId :: Text

    The ID of the network ACL.

Instances

Instances details
ToHeaders DeleteNetworkAcl Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

ToPath DeleteNetworkAcl Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

ToQuery DeleteNetworkAcl Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

AWSRequest DeleteNetworkAcl Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

Associated Types

type AWSResponse DeleteNetworkAcl #

Generic DeleteNetworkAcl Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

Associated Types

type Rep DeleteNetworkAcl :: Type -> Type #

Read DeleteNetworkAcl Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

Show DeleteNetworkAcl Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

NFData DeleteNetworkAcl Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

Methods

rnf :: DeleteNetworkAcl -> () #

Eq DeleteNetworkAcl Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

Hashable DeleteNetworkAcl Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

type AWSResponse DeleteNetworkAcl Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

type Rep DeleteNetworkAcl Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

type Rep DeleteNetworkAcl = D1 ('MetaData "DeleteNetworkAcl" "Amazonka.EC2.DeleteNetworkAcl" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeleteNetworkAcl'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "networkAclId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteNetworkAcl Source #

Create a value of DeleteNetworkAcl 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:dryRun:DeleteNetworkAcl', deleteNetworkAcl_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

DeleteNetworkAcl, deleteNetworkAcl_networkAclId - The ID of the network ACL.

Request Lenses

deleteNetworkAcl_dryRun :: Lens' DeleteNetworkAcl (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Destructuring the Response

data DeleteNetworkAclResponse Source #

See: newDeleteNetworkAclResponse smart constructor.

Instances

Instances details
Generic DeleteNetworkAclResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

Associated Types

type Rep DeleteNetworkAclResponse :: Type -> Type #

Read DeleteNetworkAclResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

Show DeleteNetworkAclResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

NFData DeleteNetworkAclResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

Eq DeleteNetworkAclResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

type Rep DeleteNetworkAclResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAcl

type Rep DeleteNetworkAclResponse = D1 ('MetaData "DeleteNetworkAclResponse" "Amazonka.EC2.DeleteNetworkAcl" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DeleteNetworkAclResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteNetworkAclResponse :: DeleteNetworkAclResponse Source #

Create a value of DeleteNetworkAclResponse with all optional fields omitted.

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