Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- enableDomainTransferLock :: Text -> EnableDomainTransferLock
- data EnableDomainTransferLock
- edtlDomainName :: Lens' EnableDomainTransferLock Text
- enableDomainTransferLockResponse :: Int -> Text -> EnableDomainTransferLockResponse
- data EnableDomainTransferLockResponse
- edtlrsResponseStatus :: Lens' EnableDomainTransferLockResponse Int
- edtlrsOperationId :: Lens' EnableDomainTransferLockResponse Text
Creating a Request
enableDomainTransferLock Source #
Creates a value of EnableDomainTransferLock
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
edtlDomainName
- The name of a domain. Type: String Default: None Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported. Required: Yes
data EnableDomainTransferLock Source #
The EnableDomainTransferLock request includes the following element.
See: enableDomainTransferLock
smart constructor.
Request Lenses
edtlDomainName :: Lens' EnableDomainTransferLock Text Source #
The name of a domain. Type: String Default: None Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported. Required: Yes
Destructuring the Response
enableDomainTransferLockResponse Source #
Creates a value of EnableDomainTransferLockResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
edtlrsResponseStatus
- -- | The response status code.edtlrsOperationId
- Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail. Type: String Default: None Constraints: Maximum 255 characters.
data EnableDomainTransferLockResponse Source #
The EnableDomainTransferLock response includes the following elements.
See: enableDomainTransferLockResponse
smart constructor.
Response Lenses
edtlrsResponseStatus :: Lens' EnableDomainTransferLockResponse Int Source #
- - | The response status code.
edtlrsOperationId :: Lens' EnableDomainTransferLockResponse Text Source #
Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail. Type: String Default: None Constraints: Maximum 255 characters.