aws_sdk_inspector2/client/
update_ec2_deep_inspection_configuration.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 [`UpdateEc2DeepInspectionConfiguration`](crate::operation::update_ec2_deep_inspection_configuration::builders::UpdateEc2DeepInspectionConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`activate_deep_inspection(bool)`](crate::operation::update_ec2_deep_inspection_configuration::builders::UpdateEc2DeepInspectionConfigurationFluentBuilder::activate_deep_inspection) / [`set_activate_deep_inspection(Option<bool>)`](crate::operation::update_ec2_deep_inspection_configuration::builders::UpdateEc2DeepInspectionConfigurationFluentBuilder::set_activate_deep_inspection):<br>required: **false**<br><p>Specify <code>TRUE</code> to activate Amazon Inspector deep inspection in your account, or <code>FALSE</code> to deactivate. Member accounts in an organization cannot deactivate deep inspection, instead the delegated administrator for the organization can deactivate a member account using <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_BatchUpdateMemberEc2DeepInspectionStatus.html">BatchUpdateMemberEc2DeepInspectionStatus</a>.</p><br>
7    ///   - [`package_paths(impl Into<String>)`](crate::operation::update_ec2_deep_inspection_configuration::builders::UpdateEc2DeepInspectionConfigurationFluentBuilder::package_paths) / [`set_package_paths(Option<Vec::<String>>)`](crate::operation::update_ec2_deep_inspection_configuration::builders::UpdateEc2DeepInspectionConfigurationFluentBuilder::set_package_paths):<br>required: **false**<br><p>The Amazon Inspector deep inspection custom paths you are adding for your account.</p><br>
8    /// - On success, responds with [`UpdateEc2DeepInspectionConfigurationOutput`](crate::operation::update_ec2_deep_inspection_configuration::UpdateEc2DeepInspectionConfigurationOutput) with field(s):
9    ///   - [`package_paths(Option<Vec::<String>>)`](crate::operation::update_ec2_deep_inspection_configuration::UpdateEc2DeepInspectionConfigurationOutput::package_paths): <p>The current Amazon Inspector deep inspection custom paths for your account.</p>
10    ///   - [`org_package_paths(Option<Vec::<String>>)`](crate::operation::update_ec2_deep_inspection_configuration::UpdateEc2DeepInspectionConfigurationOutput::org_package_paths): <p>The current Amazon Inspector deep inspection custom paths for the organization.</p>
11    ///   - [`status(Option<Ec2DeepInspectionStatus>)`](crate::operation::update_ec2_deep_inspection_configuration::UpdateEc2DeepInspectionConfigurationOutput::status): <p>The status of Amazon Inspector deep inspection in your account.</p>
12    ///   - [`error_message(Option<String>)`](crate::operation::update_ec2_deep_inspection_configuration::UpdateEc2DeepInspectionConfigurationOutput::error_message): <p>An error message explaining why new Amazon Inspector deep inspection custom paths could not be added.</p>
13    /// - On failure, responds with [`SdkError<UpdateEc2DeepInspectionConfigurationError>`](crate::operation::update_ec2_deep_inspection_configuration::UpdateEc2DeepInspectionConfigurationError)
14    pub fn update_ec2_deep_inspection_configuration(
15        &self,
16    ) -> crate::operation::update_ec2_deep_inspection_configuration::builders::UpdateEc2DeepInspectionConfigurationFluentBuilder {
17        crate::operation::update_ec2_deep_inspection_configuration::builders::UpdateEc2DeepInspectionConfigurationFluentBuilder::new(
18            self.handle.clone(),
19        )
20    }
21}