Struct aws_sdk_route53domains::operation::transfer_domain_to_another_aws_account::builders::TransferDomainToAnotherAwsAccountFluentBuilder
source · pub struct TransferDomainToAnotherAwsAccountFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to TransferDomainToAnotherAwsAccount
.
Transfers a domain from the current Amazon Web Services account to another Amazon Web Services account. Note the following:
-
The Amazon Web Services 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 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
.
Implementations§
source§impl TransferDomainToAnotherAwsAccountFluentBuilder
impl TransferDomainToAnotherAwsAccountFluentBuilder
sourcepub fn as_input(&self) -> &TransferDomainToAnotherAwsAccountInputBuilder
pub fn as_input(&self) -> &TransferDomainToAnotherAwsAccountInputBuilder
Access the TransferDomainToAnotherAwsAccount as a reference.
sourcepub async fn send(
self
) -> Result<TransferDomainToAnotherAwsAccountOutput, SdkError<TransferDomainToAnotherAwsAccountError, HttpResponse>>
pub async fn send( self ) -> Result<TransferDomainToAnotherAwsAccountOutput, SdkError<TransferDomainToAnotherAwsAccountError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<TransferDomainToAnotherAwsAccountOutput, TransferDomainToAnotherAwsAccountError, Self>
pub fn customize( self ) -> CustomizableOperation<TransferDomainToAnotherAwsAccountOutput, TransferDomainToAnotherAwsAccountError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The name of the domain that you want to transfer from the current Amazon Web Services account to another account.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The name of the domain that you want to transfer from the current Amazon Web Services account to another account.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of the domain that you want to transfer from the current Amazon Web Services account to another account.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The account ID of the Amazon Web Services account that you want to transfer the domain to, for example, 111122223333
.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The account ID of the Amazon Web Services account that you want to transfer the domain to, for example, 111122223333
.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The account ID of the Amazon Web Services account that you want to transfer the domain to, for example, 111122223333
.
Trait Implementations§
source§impl Clone for TransferDomainToAnotherAwsAccountFluentBuilder
impl Clone for TransferDomainToAnotherAwsAccountFluentBuilder
source§fn clone(&self) -> TransferDomainToAnotherAwsAccountFluentBuilder
fn clone(&self) -> TransferDomainToAnotherAwsAccountFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for TransferDomainToAnotherAwsAccountFluentBuilder
impl !RefUnwindSafe for TransferDomainToAnotherAwsAccountFluentBuilder
impl Send for TransferDomainToAnotherAwsAccountFluentBuilder
impl Sync for TransferDomainToAnotherAwsAccountFluentBuilder
impl Unpin for TransferDomainToAnotherAwsAccountFluentBuilder
impl !UnwindSafe for TransferDomainToAnotherAwsAccountFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more