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

Description

Disables Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the Amazon Virtual Private Cloud User Guide.

Synopsis

Creating a Request

data DisableAddressTransfer Source #

See: newDisableAddressTransfer smart constructor.

Constructors

DisableAddressTransfer' 

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

    The allocation ID of an Elastic IP address.

Instances

Instances details
ToHeaders DisableAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

ToPath DisableAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

ToQuery DisableAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

AWSRequest DisableAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

Associated Types

type AWSResponse DisableAddressTransfer #

Generic DisableAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

Associated Types

type Rep DisableAddressTransfer :: Type -> Type #

Read DisableAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

Show DisableAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

NFData DisableAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

Methods

rnf :: DisableAddressTransfer -> () #

Eq DisableAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

Hashable DisableAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

type AWSResponse DisableAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

type Rep DisableAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

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

newDisableAddressTransfer Source #

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

DisableAddressTransfer, disableAddressTransfer_allocationId - The allocation ID of an Elastic IP address.

Request Lenses

disableAddressTransfer_dryRun :: Lens' DisableAddressTransfer (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.

disableAddressTransfer_allocationId :: Lens' DisableAddressTransfer Text Source #

The allocation ID of an Elastic IP address.

Destructuring the Response

data DisableAddressTransferResponse Source #

See: newDisableAddressTransferResponse smart constructor.

Constructors

DisableAddressTransferResponse' 

Fields

Instances

Instances details
Generic DisableAddressTransferResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

Associated Types

type Rep DisableAddressTransferResponse :: Type -> Type #

Read DisableAddressTransferResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

Show DisableAddressTransferResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

NFData DisableAddressTransferResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

Eq DisableAddressTransferResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

type Rep DisableAddressTransferResponse Source # 
Instance details

Defined in Amazonka.EC2.DisableAddressTransfer

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

newDisableAddressTransferResponse Source #

Create a value of DisableAddressTransferResponse 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:addressTransfer:DisableAddressTransferResponse', disableAddressTransferResponse_addressTransfer - An Elastic IP address transfer.

$sel:httpStatus:DisableAddressTransferResponse', disableAddressTransferResponse_httpStatus - The response's http status code.

Response Lenses