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.DeleteNetworkAclEntry

Description

Deletes the specified ingress or egress entry (rule) from the specified network ACL.

Synopsis

Creating a Request

data DeleteNetworkAclEntry Source #

See: newDeleteNetworkAclEntry smart constructor.

Constructors

DeleteNetworkAclEntry' 

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.

  • egress :: Bool

    Indicates whether the rule is an egress rule.

  • networkAclId :: Text

    The ID of the network ACL.

  • ruleNumber :: Int

    The rule number of the entry to delete.

Instances

Instances details
ToHeaders DeleteNetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

ToPath DeleteNetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

ToQuery DeleteNetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

AWSRequest DeleteNetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

Associated Types

type AWSResponse DeleteNetworkAclEntry #

Generic DeleteNetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

Associated Types

type Rep DeleteNetworkAclEntry :: Type -> Type #

Read DeleteNetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

Show DeleteNetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

NFData DeleteNetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

Methods

rnf :: DeleteNetworkAclEntry -> () #

Eq DeleteNetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

Hashable DeleteNetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

type AWSResponse DeleteNetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

type Rep DeleteNetworkAclEntry Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

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

newDeleteNetworkAclEntry Source #

Create a value of DeleteNetworkAclEntry 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:DeleteNetworkAclEntry', deleteNetworkAclEntry_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.

DeleteNetworkAclEntry, deleteNetworkAclEntry_egress - Indicates whether the rule is an egress rule.

DeleteNetworkAclEntry, deleteNetworkAclEntry_networkAclId - The ID of the network ACL.

DeleteNetworkAclEntry, deleteNetworkAclEntry_ruleNumber - The rule number of the entry to delete.

Request Lenses

deleteNetworkAclEntry_dryRun :: Lens' DeleteNetworkAclEntry (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.

deleteNetworkAclEntry_egress :: Lens' DeleteNetworkAclEntry Bool Source #

Indicates whether the rule is an egress rule.

deleteNetworkAclEntry_ruleNumber :: Lens' DeleteNetworkAclEntry Int Source #

The rule number of the entry to delete.

Destructuring the Response

data DeleteNetworkAclEntryResponse Source #

See: newDeleteNetworkAclEntryResponse smart constructor.

Instances

Instances details
Generic DeleteNetworkAclEntryResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

Associated Types

type Rep DeleteNetworkAclEntryResponse :: Type -> Type #

Read DeleteNetworkAclEntryResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

Show DeleteNetworkAclEntryResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

NFData DeleteNetworkAclEntryResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

Eq DeleteNetworkAclEntryResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

type Rep DeleteNetworkAclEntryResponse Source # 
Instance details

Defined in Amazonka.EC2.DeleteNetworkAclEntry

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

newDeleteNetworkAclEntryResponse :: DeleteNetworkAclEntryResponse Source #

Create a value of DeleteNetworkAclEntryResponse with all optional fields omitted.

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