Route53Domains / Client / reject_domain_transfer_from_another_aws_account
reject_domain_transfer_from_another_aws_account#
- Route53Domains.Client.reject_domain_transfer_from_another_aws_account(**kwargs)#
Rejects the transfer of a domain from another Amazon Web Services account to the current Amazon Web Services account. You initiate a transfer betweenAmazon Web Services accounts using TransferDomainToAnotherAwsAccount.
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.reject_domain_transfer_from_another_aws_account( DomainName='string' )
- Parameters:
DomainName (string) –
[REQUIRED]
The name of the domain that was specified when another Amazon Web Services account submitted a TransferDomainToAnotherAwsAccount request.
- Return type:
dict
- Returns:
Response Syntax
{ 'OperationId': 'string' }
Response Structure
(dict) –
The RejectDomainTransferFromAnotherAwsAccount response includes the following element.
OperationId (string) –
The identifier that
TransferDomainToAnotherAwsAccount
returned to track the progress of the request. Because the transfer request was rejected, the value is no longer valid, and you can’t useGetOperationDetail
to query the operation status.
Exceptions
Route53Domains.Client.exceptions.InvalidInput
Route53Domains.Client.exceptions.OperationLimitExceeded
Route53Domains.Client.exceptions.UnsupportedTLD