Struct aws_sdk_route53domains::operation::cancel_domain_transfer_to_another_aws_account::builders::CancelDomainTransferToAnotherAwsAccountFluentBuilder
source · pub struct CancelDomainTransferToAnotherAwsAccountFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CancelDomainTransferToAnotherAwsAccount
.
Cancels the transfer of a domain from the current Amazon Web Services account to another Amazon Web Services account. You initiate a transfer betweenAmazon Web Services accounts using TransferDomainToAnotherAwsAccount.
You must cancel the transfer before the other Amazon Web Services 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
.
Implementations§
source§impl CancelDomainTransferToAnotherAwsAccountFluentBuilder
impl CancelDomainTransferToAnotherAwsAccountFluentBuilder
sourcepub fn as_input(&self) -> &CancelDomainTransferToAnotherAwsAccountInputBuilder
pub fn as_input(&self) -> &CancelDomainTransferToAnotherAwsAccountInputBuilder
Access the CancelDomainTransferToAnotherAwsAccount as a reference.
sourcepub async fn send(
self
) -> Result<CancelDomainTransferToAnotherAwsAccountOutput, SdkError<CancelDomainTransferToAnotherAwsAccountError, HttpResponse>>
pub async fn send( self ) -> Result<CancelDomainTransferToAnotherAwsAccountOutput, SdkError<CancelDomainTransferToAnotherAwsAccountError, 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<CancelDomainTransferToAnotherAwsAccountOutput, CancelDomainTransferToAnotherAwsAccountError, Self>
pub fn customize( self ) -> CustomizableOperation<CancelDomainTransferToAnotherAwsAccountOutput, CancelDomainTransferToAnotherAwsAccountError, 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 for which you want to cancel the transfer to another Amazon Web Services 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 for which you want to cancel the transfer to another Amazon Web Services account.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of the domain for which you want to cancel the transfer to another Amazon Web Services account.
Trait Implementations§
source§impl Clone for CancelDomainTransferToAnotherAwsAccountFluentBuilder
impl Clone for CancelDomainTransferToAnotherAwsAccountFluentBuilder
source§fn clone(&self) -> CancelDomainTransferToAnotherAwsAccountFluentBuilder
fn clone(&self) -> CancelDomainTransferToAnotherAwsAccountFluentBuilder
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 CancelDomainTransferToAnotherAwsAccountFluentBuilder
impl !RefUnwindSafe for CancelDomainTransferToAnotherAwsAccountFluentBuilder
impl Send for CancelDomainTransferToAnotherAwsAccountFluentBuilder
impl Sync for CancelDomainTransferToAnotherAwsAccountFluentBuilder
impl Unpin for CancelDomainTransferToAnotherAwsAccountFluentBuilder
impl !UnwindSafe for CancelDomainTransferToAnotherAwsAccountFluentBuilder
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