Struct aws_sdk_route53domains::client::fluent_builders::TransferDomainToAnotherAwsAccount [−][src]
pub struct TransferDomainToAnotherAwsAccount<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to TransferDomainToAnotherAwsAccount
.
Transfers a domain from the current AWS account to another AWS account. Note the following:
-
The AWS account that you're transferring the domain to must accept the transfer. If the other account doesn't accept the transfer within 3 days, we cancel the transfer. See AcceptDomainTransferFromAnotherAwsAccount.
-
You can cancel the transfer before the other account accepts it. See CancelDomainTransferToAnotherAwsAccount.
-
The other account can reject the transfer. See RejectDomainTransferFromAnotherAwsAccount.
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
.
Implementations
impl<C, M, R> TransferDomainToAnotherAwsAccount<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> TransferDomainToAnotherAwsAccount<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<TransferDomainToAnotherAwsAccountOutput, SdkError<TransferDomainToAnotherAwsAccountError>> where
R::Policy: SmithyRetryPolicy<TransferDomainToAnotherAwsAccountInputOperationOutputAlias, TransferDomainToAnotherAwsAccountOutput, TransferDomainToAnotherAwsAccountError, TransferDomainToAnotherAwsAccountInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<TransferDomainToAnotherAwsAccountOutput, SdkError<TransferDomainToAnotherAwsAccountError>> where
R::Policy: SmithyRetryPolicy<TransferDomainToAnotherAwsAccountInputOperationOutputAlias, TransferDomainToAnotherAwsAccountOutput, TransferDomainToAnotherAwsAccountError, TransferDomainToAnotherAwsAccountInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the domain that you want to transfer from the current AWS account to another account.
The name of the domain that you want to transfer from the current AWS account to another account.
The account ID of the AWS account that you want to transfer the domain to, for example, 111122223333
.
The account ID of the AWS account that you want to transfer the domain to, for example, 111122223333
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for TransferDomainToAnotherAwsAccount<C, M, R>
impl<C, M, R> Send for TransferDomainToAnotherAwsAccount<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for TransferDomainToAnotherAwsAccount<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for TransferDomainToAnotherAwsAccount<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for TransferDomainToAnotherAwsAccount<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more