amazonka-route53-domains-2.0: Amazon Route 53 Domains SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Route53Domains.EnableDomainTransferLock

Description

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

Creating a Request

data EnableDomainTransferLock Source #

A request to set the transfer lock for the specified domain.

See: newEnableDomainTransferLock smart constructor.

Constructors

EnableDomainTransferLock' 

Fields

  • domainName :: Text

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

Instances

Instances details
ToJSON EnableDomainTransferLock Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

ToHeaders EnableDomainTransferLock Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

ToPath EnableDomainTransferLock Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

ToQuery EnableDomainTransferLock Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

AWSRequest EnableDomainTransferLock Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

Generic EnableDomainTransferLock Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

Associated Types

type Rep EnableDomainTransferLock :: Type -> Type #

Read EnableDomainTransferLock Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

Show EnableDomainTransferLock Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

NFData EnableDomainTransferLock Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

Eq EnableDomainTransferLock Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

Hashable EnableDomainTransferLock Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

type AWSResponse EnableDomainTransferLock Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

type Rep EnableDomainTransferLock Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

type Rep EnableDomainTransferLock = D1 ('MetaData "EnableDomainTransferLock" "Amazonka.Route53Domains.EnableDomainTransferLock" "amazonka-route53-domains-2.0-6iruRSkjgLuDp958hFs0e" 'False) (C1 ('MetaCons "EnableDomainTransferLock'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

Constructors

EnableDomainTransferLockResponse' 

Fields

  • operationId :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic EnableDomainTransferLockResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

Associated Types

type Rep EnableDomainTransferLockResponse :: Type -> Type #

Read EnableDomainTransferLockResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

Show EnableDomainTransferLockResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

NFData EnableDomainTransferLockResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

Eq EnableDomainTransferLockResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.EnableDomainTransferLock

type Rep EnableDomainTransferLockResponse Source # 
Instance details

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.