Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
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
- data EnableDomainTransferLock = EnableDomainTransferLock' {
- domainName :: Text
- newEnableDomainTransferLock :: Text -> EnableDomainTransferLock
- enableDomainTransferLock_domainName :: Lens' EnableDomainTransferLock Text
- data EnableDomainTransferLockResponse = EnableDomainTransferLockResponse' {
- operationId :: Maybe Text
- httpStatus :: Int
- newEnableDomainTransferLockResponse :: Int -> EnableDomainTransferLockResponse
- enableDomainTransferLockResponse_operationId :: Lens' EnableDomainTransferLockResponse (Maybe Text)
- enableDomainTransferLockResponse_httpStatus :: Lens' EnableDomainTransferLockResponse Int
Creating a Request
data EnableDomainTransferLock Source #
A request to set the transfer lock for the specified domain.
See: newEnableDomainTransferLock
smart constructor.
EnableDomainTransferLock' | |
|
Instances
newEnableDomainTransferLock Source #
Create a value of EnableDomainTransferLock
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
EnableDomainTransferLock
, enableDomainTransferLock_domainName
- The name of the domain that you want to set the transfer lock for.
Request Lenses
enableDomainTransferLock_domainName :: Lens' EnableDomainTransferLock Text Source #
The name of the domain that you want to set the transfer lock for.
Destructuring the Response
data EnableDomainTransferLockResponse Source #
The EnableDomainTransferLock response includes the following elements.
See: newEnableDomainTransferLockResponse
smart constructor.
EnableDomainTransferLockResponse' | |
|
Instances
Generic EnableDomainTransferLockResponse Source # | |
Read EnableDomainTransferLockResponse Source # | |
Show EnableDomainTransferLockResponse Source # | |
NFData EnableDomainTransferLockResponse Source # | |
Defined in Amazonka.Route53Domains.EnableDomainTransferLock rnf :: EnableDomainTransferLockResponse -> () # | |
Eq EnableDomainTransferLockResponse Source # | |
type Rep EnableDomainTransferLockResponse Source # | |
Defined in Amazonka.Route53Domains.EnableDomainTransferLock type Rep EnableDomainTransferLockResponse = D1 ('MetaData "EnableDomainTransferLockResponse" "Amazonka.Route53Domains.EnableDomainTransferLock" "amazonka-route53-domains-2.0-6iruRSkjgLuDp958hFs0e" 'False) (C1 ('MetaCons "EnableDomainTransferLockResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newEnableDomainTransferLockResponse Source #
Create a value of EnableDomainTransferLockResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
EnableDomainTransferLockResponse
, enableDomainTransferLockResponse_operationId
- Identifier for tracking the progress of the request. To use this ID to
query the operation status, use GetOperationDetail.
$sel:httpStatus:EnableDomainTransferLockResponse'
, enableDomainTransferLockResponse_httpStatus
- The response's http status code.
Response Lenses
enableDomainTransferLockResponse_operationId :: Lens' EnableDomainTransferLockResponse (Maybe Text) Source #
Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.
enableDomainTransferLockResponse_httpStatus :: Lens' EnableDomainTransferLockResponse Int Source #
The response's http status code.