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 |
Accepts the transfer of a domain from another AWS account to the current AWS account. You initiate a transfer between AWS accounts using TransferDomainToAnotherAwsAccount.
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
- data AcceptDomainTransferFromAnotherAwsAccount = AcceptDomainTransferFromAnotherAwsAccount' {
- domainName :: Text
- password :: Text
- newAcceptDomainTransferFromAnotherAwsAccount :: Text -> Text -> AcceptDomainTransferFromAnotherAwsAccount
- acceptDomainTransferFromAnotherAwsAccount_domainName :: Lens' AcceptDomainTransferFromAnotherAwsAccount Text
- acceptDomainTransferFromAnotherAwsAccount_password :: Lens' AcceptDomainTransferFromAnotherAwsAccount Text
- data AcceptDomainTransferFromAnotherAwsAccountResponse = AcceptDomainTransferFromAnotherAwsAccountResponse' {
- operationId :: Maybe Text
- httpStatus :: Int
- newAcceptDomainTransferFromAnotherAwsAccountResponse :: Int -> AcceptDomainTransferFromAnotherAwsAccountResponse
- acceptDomainTransferFromAnotherAwsAccountResponse_operationId :: Lens' AcceptDomainTransferFromAnotherAwsAccountResponse (Maybe Text)
- acceptDomainTransferFromAnotherAwsAccountResponse_httpStatus :: Lens' AcceptDomainTransferFromAnotherAwsAccountResponse Int
Creating a Request
data AcceptDomainTransferFromAnotherAwsAccount Source #
The AcceptDomainTransferFromAnotherAwsAccount request includes the following elements.
See: newAcceptDomainTransferFromAnotherAwsAccount
smart constructor.
AcceptDomainTransferFromAnotherAwsAccount' | |
|
Instances
newAcceptDomainTransferFromAnotherAwsAccount Source #
Create a value of AcceptDomainTransferFromAnotherAwsAccount
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:AcceptDomainTransferFromAnotherAwsAccount'
, acceptDomainTransferFromAnotherAwsAccount_domainName
- The name of the domain that was specified when another AWS account
submitted a
TransferDomainToAnotherAwsAccount
request.
$sel:password:AcceptDomainTransferFromAnotherAwsAccount'
, acceptDomainTransferFromAnotherAwsAccount_password
- The password that was returned by the
TransferDomainToAnotherAwsAccount
request.
Request Lenses
acceptDomainTransferFromAnotherAwsAccount_domainName :: Lens' AcceptDomainTransferFromAnotherAwsAccount Text Source #
The name of the domain that was specified when another AWS account submitted a TransferDomainToAnotherAwsAccount request.
acceptDomainTransferFromAnotherAwsAccount_password :: Lens' AcceptDomainTransferFromAnotherAwsAccount Text Source #
The password that was returned by the TransferDomainToAnotherAwsAccount request.
Destructuring the Response
data AcceptDomainTransferFromAnotherAwsAccountResponse Source #
The AcceptDomainTransferFromAnotherAwsAccount response includes the following element.
See: newAcceptDomainTransferFromAnotherAwsAccountResponse
smart constructor.
AcceptDomainTransferFromAnotherAwsAccountResponse' | |
|
Instances
newAcceptDomainTransferFromAnotherAwsAccountResponse Source #
:: Int |
|
-> AcceptDomainTransferFromAnotherAwsAccountResponse |
Create a value of AcceptDomainTransferFromAnotherAwsAccountResponse
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:operationId:AcceptDomainTransferFromAnotherAwsAccountResponse'
, acceptDomainTransferFromAnotherAwsAccountResponse_operationId
- Identifier for tracking the progress of the request. To query the
operation status, use
GetOperationDetail.
$sel:httpStatus:AcceptDomainTransferFromAnotherAwsAccountResponse'
, acceptDomainTransferFromAnotherAwsAccountResponse_httpStatus
- The response's http status code.
Response Lenses
acceptDomainTransferFromAnotherAwsAccountResponse_operationId :: Lens' AcceptDomainTransferFromAnotherAwsAccountResponse (Maybe Text) Source #
Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.
acceptDomainTransferFromAnotherAwsAccountResponse_httpStatus :: Lens' AcceptDomainTransferFromAnotherAwsAccountResponse Int Source #
The response's http status code.