aws_sdk_datazone/client/
update_root_domain_unit_owner.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateRootDomainUnitOwner`](crate::operation::update_root_domain_unit_owner::builders::UpdateRootDomainUnitOwnerFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::update_root_domain_unit_owner::builders::UpdateRootDomainUnitOwnerFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::update_root_domain_unit_owner::builders::UpdateRootDomainUnitOwnerFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain where the root domain unit owner is to be updated.</p><br>
7    ///   - [`current_owner(impl Into<String>)`](crate::operation::update_root_domain_unit_owner::builders::UpdateRootDomainUnitOwnerFluentBuilder::current_owner) / [`set_current_owner(Option<String>)`](crate::operation::update_root_domain_unit_owner::builders::UpdateRootDomainUnitOwnerFluentBuilder::set_current_owner):<br>required: **true**<br><p>The current owner of the root domain unit.</p><br>
8    ///   - [`new_owner(impl Into<String>)`](crate::operation::update_root_domain_unit_owner::builders::UpdateRootDomainUnitOwnerFluentBuilder::new_owner) / [`set_new_owner(Option<String>)`](crate::operation::update_root_domain_unit_owner::builders::UpdateRootDomainUnitOwnerFluentBuilder::set_new_owner):<br>required: **true**<br><p>The new owner of the root domain unit.</p><br>
9    ///   - [`client_token(impl Into<String>)`](crate::operation::update_root_domain_unit_owner::builders::UpdateRootDomainUnitOwnerFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_root_domain_unit_owner::builders::UpdateRootDomainUnitOwnerFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.</p><br>
10    /// - On success, responds with [`UpdateRootDomainUnitOwnerOutput`](crate::operation::update_root_domain_unit_owner::UpdateRootDomainUnitOwnerOutput)
11    /// - On failure, responds with [`SdkError<UpdateRootDomainUnitOwnerError>`](crate::operation::update_root_domain_unit_owner::UpdateRootDomainUnitOwnerError)
12    pub fn update_root_domain_unit_owner(&self) -> crate::operation::update_root_domain_unit_owner::builders::UpdateRootDomainUnitOwnerFluentBuilder {
13        crate::operation::update_root_domain_unit_owner::builders::UpdateRootDomainUnitOwnerFluentBuilder::new(self.handle.clone())
14    }
15}