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 |
Cancels the transfer of a domain from the current AWS account to another AWS account. You initiate a transfer between AWS accounts using TransferDomainToAnotherAwsAccount.
You must cancel the transfer before the other AWS account accepts the transfer using AcceptDomainTransferFromAnotherAwsAccount.
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 CancelDomainTransferToAnotherAwsAccount = CancelDomainTransferToAnotherAwsAccount' {
- domainName :: Text
- newCancelDomainTransferToAnotherAwsAccount :: Text -> CancelDomainTransferToAnotherAwsAccount
- cancelDomainTransferToAnotherAwsAccount_domainName :: Lens' CancelDomainTransferToAnotherAwsAccount Text
- data CancelDomainTransferToAnotherAwsAccountResponse = CancelDomainTransferToAnotherAwsAccountResponse' {
- operationId :: Maybe Text
- httpStatus :: Int
- newCancelDomainTransferToAnotherAwsAccountResponse :: Int -> CancelDomainTransferToAnotherAwsAccountResponse
- cancelDomainTransferToAnotherAwsAccountResponse_operationId :: Lens' CancelDomainTransferToAnotherAwsAccountResponse (Maybe Text)
- cancelDomainTransferToAnotherAwsAccountResponse_httpStatus :: Lens' CancelDomainTransferToAnotherAwsAccountResponse Int
Creating a Request
data CancelDomainTransferToAnotherAwsAccount Source #
The CancelDomainTransferToAnotherAwsAccount request includes the following element.
See: newCancelDomainTransferToAnotherAwsAccount
smart constructor.
CancelDomainTransferToAnotherAwsAccount' | |
|
Instances
newCancelDomainTransferToAnotherAwsAccount Source #
Create a value of CancelDomainTransferToAnotherAwsAccount
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:CancelDomainTransferToAnotherAwsAccount'
, cancelDomainTransferToAnotherAwsAccount_domainName
- The name of the domain for which you want to cancel the transfer to
another AWS account.
Request Lenses
cancelDomainTransferToAnotherAwsAccount_domainName :: Lens' CancelDomainTransferToAnotherAwsAccount Text Source #
The name of the domain for which you want to cancel the transfer to another AWS account.
Destructuring the Response
data CancelDomainTransferToAnotherAwsAccountResponse Source #
The CancelDomainTransferToAnotherAwsAccount
response includes the
following element.
See: newCancelDomainTransferToAnotherAwsAccountResponse
smart constructor.
CancelDomainTransferToAnotherAwsAccountResponse' | |
|
Instances
newCancelDomainTransferToAnotherAwsAccountResponse Source #
:: Int |
|
-> CancelDomainTransferToAnotherAwsAccountResponse |
Create a value of CancelDomainTransferToAnotherAwsAccountResponse
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:CancelDomainTransferToAnotherAwsAccountResponse'
, cancelDomainTransferToAnotherAwsAccountResponse_operationId
- The identifier that TransferDomainToAnotherAwsAccount
returned to
track the progress of the request. Because the transfer request was
canceled, the value is no longer valid, and you can't use
GetOperationDetail
to query the operation status.
$sel:httpStatus:CancelDomainTransferToAnotherAwsAccountResponse'
, cancelDomainTransferToAnotherAwsAccountResponse_httpStatus
- The response's http status code.
Response Lenses
cancelDomainTransferToAnotherAwsAccountResponse_operationId :: Lens' CancelDomainTransferToAnotherAwsAccountResponse (Maybe Text) Source #
The identifier that TransferDomainToAnotherAwsAccount
returned to
track the progress of the request. Because the transfer request was
canceled, the value is no longer valid, and you can't use
GetOperationDetail
to query the operation status.
cancelDomainTransferToAnotherAwsAccountResponse_httpStatus :: Lens' CancelDomainTransferToAnotherAwsAccountResponse Int Source #
The response's http status code.