【发布时间】:2020-10-28 07:17:38
【问题描述】:
我正在尝试将我的域从一个 AWS 账户转移到另一个 AWS 账户。我已经尝试过这里给出的 boto3 SDK Route53domains 客户端:https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/route53domains.html#Route53Domains.Client.transfer_domain_to_another_aws_account 但我的代码返回了这个错误:
'Route53Domains' object has no attribute 'transfer_domain_to_another_aws_account'。除了联系 AWS Support 之外,我如何尝试转移我的域。
import boto3
client = boto3.client('route53domains')
if __name__ == "__main__":
response = client.transfer_domain_to_another_aws_account(
DomainName='domain.com',
AccountId='MY_ACCOUNT_ID'
)
print(response)
【问题讨论】:
标签: python-3.x amazon-web-services boto3 amazon-route53