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

Description

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

Synopsis

Creating a Request

data ModifyAddressAttribute Source #

See: newModifyAddressAttribute smart constructor.

Constructors

ModifyAddressAttribute' 

Fields

  • domainName :: Maybe Text

    The domain name to modify for the IP address.

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

Instances

Instances details
ToHeaders ModifyAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

ToPath ModifyAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

ToQuery ModifyAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

AWSRequest ModifyAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

Associated Types

type AWSResponse ModifyAddressAttribute #

Generic ModifyAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

Associated Types

type Rep ModifyAddressAttribute :: Type -> Type #

Read ModifyAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

Show ModifyAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

NFData ModifyAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

Methods

rnf :: ModifyAddressAttribute -> () #

Eq ModifyAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

Hashable ModifyAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

type AWSResponse ModifyAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

type Rep ModifyAddressAttribute Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

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

newModifyAddressAttribute Source #

Create a value of ModifyAddressAttribute 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:domainName:ModifyAddressAttribute', modifyAddressAttribute_domainName - The domain name to modify for the IP address.

$sel:dryRun:ModifyAddressAttribute', modifyAddressAttribute_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.

ModifyAddressAttribute, modifyAddressAttribute_allocationId - [EC2-VPC] The allocation ID.

Request Lenses

modifyAddressAttribute_domainName :: Lens' ModifyAddressAttribute (Maybe Text) Source #

The domain name to modify for the IP address.

modifyAddressAttribute_dryRun :: Lens' ModifyAddressAttribute (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 ModifyAddressAttributeResponse Source #

See: newModifyAddressAttributeResponse smart constructor.

Constructors

ModifyAddressAttributeResponse' 

Fields

Instances

Instances details
Generic ModifyAddressAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

Associated Types

type Rep ModifyAddressAttributeResponse :: Type -> Type #

Read ModifyAddressAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

Show ModifyAddressAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

NFData ModifyAddressAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

Eq ModifyAddressAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

type Rep ModifyAddressAttributeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyAddressAttribute

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

newModifyAddressAttributeResponse Source #

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

ModifyAddressAttributeResponse, modifyAddressAttributeResponse_address - Information about the Elastic IP address.

$sel:httpStatus:ModifyAddressAttributeResponse', modifyAddressAttributeResponse_httpStatus - The response's http status code.

Response Lenses