AWS Route53 で、別のAWSアカウントへドメイン移管したい場合の話です。
AWS CLIでregion指定忘れると
aws route53domains transfer-domain-to-another-aws-account --domain-name example.com --account-id 123456789012
下記のエラー。
Could not connect to the endpoint URL: "https://route53domains.ap-northeast-1.amazonaws.com/"
Route53のドメイン登録のリクエスト関連のAPI ENDPOINTは 米国東部 (バージニア北部)にしかない。という事らしい。
https://docs.aws.amazon.com/ja_jp/general/latest/gr/r53.html
なので、Regionとしてus-east-1を指定しましょう、というお話でした。
aws route53domains transfer-domain-to-another-aws-account --domain-name example.com --account-id 123456789012 --region us-east-1