accept_domain_transfer_from_another_aws_account

Route53Domains.Client.accept_domain_transfer_from_another_aws_account(**kwargs)

Accepts the transfer of a domain from another Amazon Web Services account to the currentAmazon Web Services account. You initiate a transfer between Amazon Web Services accounts using TransferDomainToAnotherAwsAccount.

If you use the CLI command at accept-domain-transfer-from-another-aws-account, use JSON format as input instead of text because otherwise CLI will throw an error from domain transfer input that includes single quotes.

Use either ListOperations or GetOperationDetail to determine whether the operation succeeded. GetOperationDetail provides additional information, for example, Domain Transfer from Aws Account 111122223333 has been cancelled .

See also: AWS API Documentation

Request Syntax

response = client.accept_domain_transfer_from_another_aws_account(
    DomainName='string',
    Password='string'
)
Parameters
Return type

dict

Returns

Response Syntax

{
    'OperationId': 'string'
}

Response Structure

  • (dict) --

    The AcceptDomainTransferFromAnotherAwsAccount response includes the following element.

    • OperationId (string) --

      Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.

Exceptions

  • Route53Domains.Client.exceptions.InvalidInput
  • Route53Domains.Client.exceptions.OperationLimitExceeded
  • Route53Domains.Client.exceptions.DomainLimitExceeded
  • Route53Domains.Client.exceptions.UnsupportedTLD