enable_address_transfer
async
¶
enable_address_transfer(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
41316 41317 41318 41319 41320 41321 41322 41323 41324 41325 41326 41327 41328 41329 41330 41331 41332 41333 41334 41335 41336 41337 41338 41339 41340 41341 41342 41343 41344 41345 41346 41347 41348 41349 41350 41351 41352 41353 41354 41355 41356 41357 41358 41359 41360 41361 41362 41363 41364 41365 41366 41367 | |