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.TransferDomainToAnotherAwsAccount

Description

Transfers a domain from the current Amazon Web Services account to another Amazon Web Services account. Note the following:

When you transfer a domain from one Amazon Web Services account to another, Route 53 doesn't transfer the hosted zone that is associated with the domain. DNS resolution isn't affected if the domain and the hosted zone are owned by separate accounts, so transferring the hosted zone is optional. For information about transferring the hosted zone to another Amazon Web Services account, see Migrating a Hosted Zone to a Different Amazon Web Services Account in the Amazon Route 53 Developer Guide.

Use either ListOperations or GetOperationDetail to determine whether the operation succeeded. GetOperationDetail provides additional information, for example, Domain Transfer from Aws Account 111122223333 has been cancelled.

Synopsis

Creating a Request

data TransferDomainToAnotherAwsAccount Source #

The TransferDomainToAnotherAwsAccount request includes the following elements.

See: newTransferDomainToAnotherAwsAccount smart constructor.

Constructors

TransferDomainToAnotherAwsAccount' 

Fields

  • domainName :: Text

    The name of the domain that you want to transfer from the current Amazon Web Services account to another account.

  • accountId :: Text

    The account ID of the Amazon Web Services account that you want to transfer the domain to, for example, 111122223333.

Instances

Instances details
ToJSON TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

ToHeaders TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

ToPath TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

ToQuery TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

AWSRequest TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

Generic TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

Associated Types

type Rep TransferDomainToAnotherAwsAccount :: Type -> Type #

Read TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

Show TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

NFData TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

Eq TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

Hashable TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

type AWSResponse TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

type Rep TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

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

newTransferDomainToAnotherAwsAccount Source #

Create a value of TransferDomainToAnotherAwsAccount 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:

TransferDomainToAnotherAwsAccount, transferDomainToAnotherAwsAccount_domainName - The name of the domain that you want to transfer from the current Amazon Web Services account to another account.

$sel:accountId:TransferDomainToAnotherAwsAccount', transferDomainToAnotherAwsAccount_accountId - The account ID of the Amazon Web Services account that you want to transfer the domain to, for example, 111122223333.

Request Lenses

transferDomainToAnotherAwsAccount_domainName :: Lens' TransferDomainToAnotherAwsAccount Text Source #

The name of the domain that you want to transfer from the current Amazon Web Services account to another account.

transferDomainToAnotherAwsAccount_accountId :: Lens' TransferDomainToAnotherAwsAccount Text Source #

The account ID of the Amazon Web Services account that you want to transfer the domain to, for example, 111122223333.

Destructuring the Response

data TransferDomainToAnotherAwsAccountResponse Source #

The TransferDomainToAnotherAwsAccount response includes the following elements.

See: newTransferDomainToAnotherAwsAccountResponse smart constructor.

Constructors

TransferDomainToAnotherAwsAccountResponse' 

Fields

Instances

Instances details
Generic TransferDomainToAnotherAwsAccountResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

Read TransferDomainToAnotherAwsAccountResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

Show TransferDomainToAnotherAwsAccountResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

NFData TransferDomainToAnotherAwsAccountResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

Eq TransferDomainToAnotherAwsAccountResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

type Rep TransferDomainToAnotherAwsAccountResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

type Rep TransferDomainToAnotherAwsAccountResponse = D1 ('MetaData "TransferDomainToAnotherAwsAccountResponse" "Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount" "amazonka-route53-domains-2.0-6iruRSkjgLuDp958hFs0e" 'False) (C1 ('MetaCons "TransferDomainToAnotherAwsAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newTransferDomainToAnotherAwsAccountResponse Source #

Create a value of TransferDomainToAnotherAwsAccountResponse 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:

TransferDomainToAnotherAwsAccountResponse, transferDomainToAnotherAwsAccountResponse_operationId - Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.

$sel:password:TransferDomainToAnotherAwsAccountResponse', transferDomainToAnotherAwsAccountResponse_password - To finish transferring a domain to another Amazon Web Services account, the account that the domain is being transferred to must submit an AcceptDomainTransferFromAnotherAwsAccount request. The request must include the value of the Password element that was returned in the TransferDomainToAnotherAwsAccount response.

$sel:httpStatus:TransferDomainToAnotherAwsAccountResponse', transferDomainToAnotherAwsAccountResponse_httpStatus - The response's http status code.

Response Lenses

transferDomainToAnotherAwsAccountResponse_operationId :: Lens' TransferDomainToAnotherAwsAccountResponse (Maybe Text) Source #

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

transferDomainToAnotherAwsAccountResponse_password :: Lens' TransferDomainToAnotherAwsAccountResponse (Maybe Text) Source #

To finish transferring a domain to another Amazon Web Services account, the account that the domain is being transferred to must submit an AcceptDomainTransferFromAnotherAwsAccount request. The request must include the value of the Password element that was returned in the TransferDomainToAnotherAwsAccount response.