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

Description

Accepts an Elastic IP address transfer. For more information, see Accept a transferred Elastic IP address in the Amazon Virtual Private Cloud User Guide.

Synopsis

Creating a Request

data AcceptAddressTransfer Source #

See: newAcceptAddressTransfer smart constructor.

Constructors

AcceptAddressTransfer' 

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.

  • tagSpecifications :: Maybe [TagSpecification]

    tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • address :: Text

    The Elastic IP address you are accepting for transfer.

Instances

Instances details
ToHeaders AcceptAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

ToPath AcceptAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

ToQuery AcceptAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

AWSRequest AcceptAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

Associated Types

type AWSResponse AcceptAddressTransfer #

Generic AcceptAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

Associated Types

type Rep AcceptAddressTransfer :: Type -> Type #

Read AcceptAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

Show AcceptAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

NFData AcceptAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

Methods

rnf :: AcceptAddressTransfer -> () #

Eq AcceptAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

Hashable AcceptAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

type AWSResponse AcceptAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

type Rep AcceptAddressTransfer Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

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

newAcceptAddressTransfer Source #

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

AcceptAddressTransfer, acceptAddressTransfer_tagSpecifications - tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

AcceptAddressTransfer, acceptAddressTransfer_address - The Elastic IP address you are accepting for transfer.

Request Lenses

acceptAddressTransfer_dryRun :: Lens' AcceptAddressTransfer (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.

acceptAddressTransfer_tagSpecifications :: Lens' AcceptAddressTransfer (Maybe [TagSpecification]) Source #

tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

acceptAddressTransfer_address :: Lens' AcceptAddressTransfer Text Source #

The Elastic IP address you are accepting for transfer.

Destructuring the Response

data AcceptAddressTransferResponse Source #

See: newAcceptAddressTransferResponse smart constructor.

Constructors

AcceptAddressTransferResponse' 

Fields

Instances

Instances details
Generic AcceptAddressTransferResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

Associated Types

type Rep AcceptAddressTransferResponse :: Type -> Type #

Read AcceptAddressTransferResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

Show AcceptAddressTransferResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

NFData AcceptAddressTransferResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

Eq AcceptAddressTransferResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

type Rep AcceptAddressTransferResponse Source # 
Instance details

Defined in Amazonka.EC2.AcceptAddressTransfer

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

newAcceptAddressTransferResponse Source #

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

$sel:httpStatus:AcceptAddressTransferResponse', acceptAddressTransferResponse_httpStatus - The response's http status code.

Response Lenses