// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateOrganizationConfiguration`](crate::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`detector_id(impl Into<String>)`](crate::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationFluentBuilder::set_detector_id):<br>required: **true**<br><p>The ID of the detector that configures the delegated administrator.</p><br>
/// - [`auto_enable(bool)`](crate::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationFluentBuilder::auto_enable) / [`set_auto_enable(Option<bool>)`](crate::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationFluentBuilder::set_auto_enable):<br>required: **false**<br><p>Represents whether or not to automatically enable member accounts in the organization.</p> <p>Even though this is still supported, we recommend using <code>AutoEnableOrganizationMembers</code> to achieve the similar results. You must provide a value for either <code>autoEnableOrganizationMembers</code> or <code>autoEnable</code>.</p><br>
/// - [`data_sources(OrganizationDataSourceConfigurations)`](crate::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationFluentBuilder::data_sources) / [`set_data_sources(Option<OrganizationDataSourceConfigurations>)`](crate::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationFluentBuilder::set_data_sources):<br>required: **false**<br><p>Describes which data sources will be updated.</p><br>
/// - [`features(OrganizationFeatureConfiguration)`](crate::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationFluentBuilder::features) / [`set_features(Option<Vec::<OrganizationFeatureConfiguration>>)`](crate::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationFluentBuilder::set_features):<br>required: **false**<br><p>A list of features that will be configured for the organization.</p><br>
/// - [`auto_enable_organization_members(AutoEnableMembers)`](crate::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationFluentBuilder::auto_enable_organization_members) / [`set_auto_enable_organization_members(Option<AutoEnableMembers>)`](crate::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationFluentBuilder::set_auto_enable_organization_members):<br>required: **false**<br><p>Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization. You must provide a value for either <code>autoEnableOrganizationMembers</code> or <code>autoEnable</code>. </p> <p>Use one of the following configuration values for <code>autoEnableOrganizationMembers</code>:</p> <ul> <li> <p> <code>NEW</code>: Indicates that when a new account joins the organization, they will have GuardDuty enabled automatically. </p> </li> <li> <p> <code>ALL</code>: Indicates that all accounts in the organization have GuardDuty enabled automatically. This includes <code>NEW</code> accounts that join the organization and accounts that may have been suspended or removed from the organization in GuardDuty.</p> <p>It may take up to 24 hours to update the configuration for all the member accounts.</p> </li> <li> <p> <code>NONE</code>: Indicates that GuardDuty will not be automatically enabled for any account in the organization. The administrator must manage GuardDuty for each account in the organization individually.</p> </li> </ul><br>
/// - On success, responds with [`UpdateOrganizationConfigurationOutput`](crate::operation::update_organization_configuration::UpdateOrganizationConfigurationOutput)
/// - On failure, responds with [`SdkError<UpdateOrganizationConfigurationError>`](crate::operation::update_organization_configuration::UpdateOrganizationConfigurationError)
pub fn update_organization_configuration(
&self,
) -> crate::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationFluentBuilder {
crate::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationFluentBuilder::new(self.handle.clone())
}
}