Route53Domains / Client / enable_domain_transfer_lock

enable_domain_transfer_lock#

Route53Domains.Client.enable_domain_transfer_lock(**kwargs)#

This operation sets the transfer lock on the domain (specifically the clientTransferProhibited status) to prevent domain transfers. Successful submission returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.

See also: AWS API Documentation

Request Syntax

response = client.enable_domain_transfer_lock(
    DomainName='string'
)
Parameters:

DomainName (string) –

[REQUIRED]

The name of the domain that you want to set the transfer lock for.

Return type:

dict

Returns:

Response Syntax

{
    'OperationId': 'string'
}

Response Structure

  • (dict) –

    The EnableDomainTransferLock response includes the following elements.

    • OperationId (string) –

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

Exceptions

  • Route53Domains.Client.exceptions.InvalidInput

  • Route53Domains.Client.exceptions.DuplicateRequest

  • Route53Domains.Client.exceptions.TLDRulesViolation

  • Route53Domains.Client.exceptions.OperationLimitExceeded

  • Route53Domains.Client.exceptions.UnsupportedTLD