libZSservicesZSamazonka-route53-domainsZSamazonka-route53-domains
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

Description

Transfers a domain from the current AWS account to another AWS account. Note the following:

When you transfer a domain from one AWS 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 AWS account, see Migrating a Hosted Zone to a Different AWS 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 AWS account to another account.

  • accountId :: Text

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

Instances

Instances details
Eq TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

Read TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

Show 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 #

NFData TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

Hashable TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

ToJSON TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

AWSRequest 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

type Rep TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

type Rep TransferDomainToAnotherAwsAccount = D1 ('MetaData "TransferDomainToAnotherAwsAccount" "Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount" "libZSservicesZSamazonka-route53-domainsZSamazonka-route53-domains" 'False) (C1 ('MetaCons "TransferDomainToAnotherAwsAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse TransferDomainToAnotherAwsAccount Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

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:

$sel:domainName:TransferDomainToAnotherAwsAccount', transferDomainToAnotherAwsAccount_domainName - The name of the domain that you want to transfer from the current AWS account to another account.

$sel:accountId:TransferDomainToAnotherAwsAccount', transferDomainToAnotherAwsAccount_accountId - The account ID of the AWS 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 AWS account to another account.

transferDomainToAnotherAwsAccount_accountId :: Lens' TransferDomainToAnotherAwsAccount Text Source #

The account ID of the AWS 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
Eq 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

Generic TransferDomainToAnotherAwsAccountResponse Source # 
Instance details

Defined in Amazonka.Route53Domains.TransferDomainToAnotherAwsAccount

NFData 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" "libZSservicesZSamazonka-route53-domainsZSamazonka-route53-domains" 'False) (C1 ('MetaCons "TransferDomainToAnotherAwsAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "operationId") '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:

$sel:password:TransferDomainToAnotherAwsAccountResponse', transferDomainToAnotherAwsAccountResponse_password - To finish transferring a domain to another AWS 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:operationId:TransferDomainToAnotherAwsAccountResponse', transferDomainToAnotherAwsAccountResponse_operationId - Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.

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

Response Lenses

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

To finish transferring a domain to another AWS 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.

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

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