// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`TransferDomainToAnotherAwsAccount`](crate::operation::transfer_domain_to_another_aws_account::builders::TransferDomainToAnotherAwsAccountFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_name(impl Into<String>)`](crate::operation::transfer_domain_to_another_aws_account::builders::TransferDomainToAnotherAwsAccountFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::transfer_domain_to_another_aws_account::builders::TransferDomainToAnotherAwsAccountFluentBuilder::set_domain_name):<br>required: **true**<br><p>The name of the domain that you want to transfer from the current Amazon Web Services account to another account.</p><br>
/// - [`account_id(impl Into<String>)`](crate::operation::transfer_domain_to_another_aws_account::builders::TransferDomainToAnotherAwsAccountFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::transfer_domain_to_another_aws_account::builders::TransferDomainToAnotherAwsAccountFluentBuilder::set_account_id):<br>required: **true**<br><p>The account ID of the Amazon Web Services account that you want to transfer the domain to, for example, <code>111122223333</code>.</p><br>
/// - On success, responds with [`TransferDomainToAnotherAwsAccountOutput`](crate::operation::transfer_domain_to_another_aws_account::TransferDomainToAnotherAwsAccountOutput) with field(s):
/// - [`operation_id(Option<String>)`](crate::operation::transfer_domain_to_another_aws_account::TransferDomainToAnotherAwsAccountOutput::operation_id): <p>Identifier for tracking the progress of the request. To query the operation status, use <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html">GetOperationDetail</a>.</p>
/// - [`password(Option<String>)`](crate::operation::transfer_domain_to_another_aws_account::TransferDomainToAnotherAwsAccountOutput::password): <p>To finish transferring a domain to another Amazon Web Services account, the account that the domain is being transferred to must submit an <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html">AcceptDomainTransferFromAnotherAwsAccount</a> request. The request must include the value of the <code>Password</code> element that was returned in the <code>TransferDomainToAnotherAwsAccount</code> response.</p>
/// - On failure, responds with [`SdkError<TransferDomainToAnotherAwsAccountError>`](crate::operation::transfer_domain_to_another_aws_account::TransferDomainToAnotherAwsAccountError)
pub fn transfer_domain_to_another_aws_account(
&self,
) -> crate::operation::transfer_domain_to_another_aws_account::builders::TransferDomainToAnotherAwsAccountFluentBuilder {
crate::operation::transfer_domain_to_another_aws_account::builders::TransferDomainToAnotherAwsAccountFluentBuilder::new(self.handle.clone())
}
}