Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@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.
Synopsis
- 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 the domain that you want to set the transfer lock for.
data EnableDomainTransferLock Source #
A request to set the transfer lock for the specified domain.
See: enableDomainTransferLock
smart constructor.
Instances
Request Lenses
edtlDomainName :: Lens' EnableDomainTransferLock Text Source #
The name of the domain that you want to set the transfer lock for.
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.
data EnableDomainTransferLockResponse Source #
The EnableDomainTransferLock response includes the following elements.
See: enableDomainTransferLockResponse
smart constructor.
Instances
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.