Skip to content

EC2  >  Operations  >  accept_address_transfer

accept_address_transfer

Operation

accept_address_transfer async

accept_address_transfer(input: AcceptAddressTransferInput, plugins: list[Plugin] | None = None) -> AcceptAddressTransferOutput

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

Parameters:

Name Type Description Default
input AcceptAddressTransferInput

An instance of AcceptAddressTransferInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
AcceptAddressTransferOutput

An instance of AcceptAddressTransferOutput.

Input

AcceptAddressTransferInput dataclass

Bases: _SerdeShape

Dataclass for AcceptAddressTransferInput structure.

Attributes

address class-attribute instance-attribute
address: str | None = ...

The Elastic IP address you are accepting for transfer.

dry_run class-attribute instance-attribute
dry_run: bool | None = ...

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.

tag_specifications class-attribute instance-attribute
tag_specifications: list[TagSpecification] | None = ...

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.

Output

AcceptAddressTransferOutput dataclass

Bases: _SerdeShape

Dataclass for AcceptAddressTransferOutput structure.

Attributes

address_transfer class-attribute instance-attribute
address_transfer: AddressTransfer | None = ...

An Elastic IP address transfer.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.