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

Description

Resets the attribute of the specified IP address. For requirements, see Using reverse DNS for email applications.

Synopsis

Creating a Request

data ResetAddressAttribute Source #

See: newResetAddressAttribute smart constructor.

Constructors

ResetAddressAttribute' 

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.

  • allocationId :: Text
    EC2-VPC
    The allocation ID.
  • attribute :: AddressAttributeName

    The attribute of the IP address.

Instances

Instances details
ToHeaders ResetAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

ToPath ResetAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

ToQuery ResetAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

AWSRequest ResetAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

Associated Types

type AWSResponse ResetAddressAttribute #

Generic ResetAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

Associated Types

type Rep ResetAddressAttribute :: Type -> Type #

Read ResetAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

Show ResetAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

NFData ResetAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

Methods

rnf :: ResetAddressAttribute -> () #

Eq ResetAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

Hashable ResetAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

type AWSResponse ResetAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

type Rep ResetAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

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

newResetAddressAttribute Source #

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

ResetAddressAttribute, resetAddressAttribute_allocationId - [EC2-VPC] The allocation ID.

$sel:attribute:ResetAddressAttribute', resetAddressAttribute_attribute - The attribute of the IP address.

Request Lenses

resetAddressAttribute_dryRun :: Lens' ResetAddressAttribute (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 ResetAddressAttributeResponse Source #

See: newResetAddressAttributeResponse smart constructor.

Constructors

ResetAddressAttributeResponse' 

Fields

Instances

Instances details
Generic ResetAddressAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

Associated Types

type Rep ResetAddressAttributeResponse :: Type -> Type #

Read ResetAddressAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

Show ResetAddressAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

NFData ResetAddressAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

Eq ResetAddressAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

type Rep ResetAddressAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ResetAddressAttribute

type Rep ResetAddressAttributeResponse = D1 ('MetaData "ResetAddressAttributeResponse" "Amazonka.EC2.ResetAddressAttribute" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ResetAddressAttributeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AddressAttribute)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newResetAddressAttributeResponse Source #

Create a value of ResetAddressAttributeResponse 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:

ResetAddressAttributeResponse, resetAddressAttributeResponse_address - Information about the IP address.

$sel:httpStatus:ResetAddressAttributeResponse', resetAddressAttributeResponse_httpStatus - The response's http status code.

Response Lenses