1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutAdminAccount`](crate::operation::put_admin_account::builders::PutAdminAccountFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`admin_account(impl Into<String>)`](crate::operation::put_admin_account::builders::PutAdminAccountFluentBuilder::admin_account) / [`set_admin_account(Option<String>)`](crate::operation::put_admin_account::builders::PutAdminAccountFluentBuilder::set_admin_account):<br>required: **true**<br><p>The Amazon Web Services account ID to add as an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by <code>AssociateAdminAccount</code>. For more information about Organizations, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts.html">Managing the Amazon Web Services Accounts in Your Organization</a>.</p><br>
    ///   - [`admin_scope(AdminScope)`](crate::operation::put_admin_account::builders::PutAdminAccountFluentBuilder::admin_scope) / [`set_admin_scope(Option<AdminScope>)`](crate::operation::put_admin_account::builders::PutAdminAccountFluentBuilder::set_admin_scope):<br>required: **false**<br><p>Configures the resources that the specified Firewall Manager administrator can manage. As a best practice, set the administrative scope according to the principles of least privilege. Only grant the administrator the specific resources or permissions that they need to perform the duties of their role.</p><br>
    /// - On success, responds with [`PutAdminAccountOutput`](crate::operation::put_admin_account::PutAdminAccountOutput)
    /// - On failure, responds with [`SdkError<PutAdminAccountError>`](crate::operation::put_admin_account::PutAdminAccountError)
    pub fn put_admin_account(&self) -> crate::operation::put_admin_account::builders::PutAdminAccountFluentBuilder {
        crate::operation::put_admin_account::builders::PutAdminAccountFluentBuilder::new(self.handle.clone())
    }
}