// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CancelDomainTransferToAnotherAwsAccount`](crate::operation::cancel_domain_transfer_to_another_aws_account::builders::CancelDomainTransferToAnotherAwsAccountFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_name(impl Into<String>)`](crate::operation::cancel_domain_transfer_to_another_aws_account::builders::CancelDomainTransferToAnotherAwsAccountFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::cancel_domain_transfer_to_another_aws_account::builders::CancelDomainTransferToAnotherAwsAccountFluentBuilder::set_domain_name):<br>required: **true**<br><p>The name of the domain for which you want to cancel the transfer to another Amazon Web Services account.</p><br>
/// - On success, responds with [`CancelDomainTransferToAnotherAwsAccountOutput`](crate::operation::cancel_domain_transfer_to_another_aws_account::CancelDomainTransferToAnotherAwsAccountOutput) with field(s):
/// - [`operation_id(Option<String>)`](crate::operation::cancel_domain_transfer_to_another_aws_account::CancelDomainTransferToAnotherAwsAccountOutput::operation_id): <p>The identifier that <code>TransferDomainToAnotherAwsAccount</code> 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 <code>GetOperationDetail</code> to query the operation status.</p>
/// - On failure, responds with [`SdkError<CancelDomainTransferToAnotherAwsAccountError>`](crate::operation::cancel_domain_transfer_to_another_aws_account::CancelDomainTransferToAnotherAwsAccountError)
pub fn cancel_domain_transfer_to_another_aws_account(
&self,
) -> crate::operation::cancel_domain_transfer_to_another_aws_account::builders::CancelDomainTransferToAnotherAwsAccountFluentBuilder {
crate::operation::cancel_domain_transfer_to_another_aws_account::builders::CancelDomainTransferToAnotherAwsAccountFluentBuilder::new(
self.handle.clone(),
)
}
}