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

Description

Resets a network interface attribute. You can specify only one attribute at a time.

Synopsis

Creating a Request

data ResetNetworkInterfaceAttribute Source #

Contains the parameters for ResetNetworkInterfaceAttribute.

See: newResetNetworkInterfaceAttribute smart constructor.

Constructors

ResetNetworkInterfaceAttribute' 

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.

  • sourceDestCheck :: Maybe Text

    The source/destination checking attribute. Resets the value to true.

  • networkInterfaceId :: Text

    The ID of the network interface.

Instances

Instances details
ToHeaders ResetNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

ToPath ResetNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

ToQuery ResetNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

AWSRequest ResetNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

Generic ResetNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

Associated Types

type Rep ResetNetworkInterfaceAttribute :: Type -> Type #

Read ResetNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

Show ResetNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

NFData ResetNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

Eq ResetNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

Hashable ResetNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

type AWSResponse ResetNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

type Rep ResetNetworkInterfaceAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

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

newResetNetworkInterfaceAttribute Source #

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

ResetNetworkInterfaceAttribute, resetNetworkInterfaceAttribute_sourceDestCheck - The source/destination checking attribute. Resets the value to true.

ResetNetworkInterfaceAttribute, resetNetworkInterfaceAttribute_networkInterfaceId - The ID of the network interface.

Request Lenses

resetNetworkInterfaceAttribute_dryRun :: Lens' ResetNetworkInterfaceAttribute (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.

resetNetworkInterfaceAttribute_sourceDestCheck :: Lens' ResetNetworkInterfaceAttribute (Maybe Text) Source #

The source/destination checking attribute. Resets the value to true.

Destructuring the Response

data ResetNetworkInterfaceAttributeResponse Source #

Instances

Instances details
Generic ResetNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

Read ResetNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

Show ResetNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

NFData ResetNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

Eq ResetNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

type Rep ResetNetworkInterfaceAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetNetworkInterfaceAttribute

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

newResetNetworkInterfaceAttributeResponse :: ResetNetworkInterfaceAttributeResponse Source #

Create a value of ResetNetworkInterfaceAttributeResponse with all optional fields omitted.

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