enable_address_transfer
¶
enable_address_transfer(
*,
config_overrides: Optional[EC2ClientConfig] = None,
allocation_id: Optional[AllocationId] = None,
transfer_account_id: Optional[String] = None,
dry_run: Optional[Boolean] = None,
) -> EnableAddressTransferResult
Enables Elastic IP address transfer. For more information, see Transfer Elastic IP addresses in the Amazon VPC User Guide.
Parameters:
-
allocation_id(Optional[AllocationId], default:None) –The allocation ID of an Elastic IP address.
-
transfer_account_id(Optional[String], default:None) –The ID of the account that you want to transfer the Elastic IP address to.
-
dry_run(Optional[Boolean], default: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 isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
40765 40766 40767 40768 40769 40770 40771 40772 40773 40774 40775 40776 40777 40778 40779 40780 40781 40782 40783 40784 40785 40786 40787 40788 40789 40790 40791 40792 40793 40794 40795 40796 40797 40798 40799 40800 40801 40802 40803 40804 40805 40806 40807 40808 40809 40810 40811 40812 40813 40814 40815 | |