aws_sdk_detective/client/
update_organization_configuration.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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:
    ///   - [`graph_arn(impl Into<String>)`](crate::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationFluentBuilder::graph_arn) / [`set_graph_arn(Option<String>)`](crate::operation::update_organization_configuration::builders::UpdateOrganizationConfigurationFluentBuilder::set_graph_arn):<br>required: **true**<br><p>The ARN of the organization behavior graph.</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>Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph.</p><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())
    }
}