Copyright | (c) 2013-2021 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 |
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' {
- httpStatus :: Int
- operationId :: Text
- newEnableDomainTransferLockResponse :: Int -> Text -> EnableDomainTransferLockResponse
- enableDomainTransferLockResponse_httpStatus :: Lens' EnableDomainTransferLockResponse Int
- enableDomainTransferLockResponse_operationId :: Lens' EnableDomainTransferLockResponse Text
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:
$sel:domainName: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
Eq EnableDomainTransferLockResponse Source # | |
Read EnableDomainTransferLockResponse Source # | |
Show EnableDomainTransferLockResponse Source # | |
Generic EnableDomainTransferLockResponse Source # | |
NFData EnableDomainTransferLockResponse Source # | |
Defined in Amazonka.Route53Domains.EnableDomainTransferLock rnf :: EnableDomainTransferLockResponse -> () # | |
type Rep EnableDomainTransferLockResponse Source # | |
Defined in Amazonka.Route53Domains.EnableDomainTransferLock type Rep EnableDomainTransferLockResponse = D1 ('MetaData "EnableDomainTransferLockResponse" "Amazonka.Route53Domains.EnableDomainTransferLock" "libZSservicesZSamazonka-route53-domainsZSamazonka-route53-domains" 'False) (C1 ('MetaCons "EnableDomainTransferLockResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
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:
$sel:httpStatus:EnableDomainTransferLockResponse'
, enableDomainTransferLockResponse_httpStatus
- The response's http status code.
$sel:operationId:EnableDomainTransferLockResponse'
, enableDomainTransferLockResponse_operationId
- Identifier for tracking the progress of the request. To use this ID to
query the operation status, use GetOperationDetail.
Response Lenses
enableDomainTransferLockResponse_httpStatus :: Lens' EnableDomainTransferLockResponse Int Source #
The response's http status code.
enableDomainTransferLockResponse_operationId :: Lens' EnableDomainTransferLockResponse Text Source #
Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.