Skip to main content

aws_sdk_securityhub/client/
disable_security_hub_feature_v2.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 [`DisableSecurityHubFeatureV2`](crate::operation::disable_security_hub_feature_v2::builders::DisableSecurityHubFeatureV2FluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`feature_name(FeatureName)`](crate::operation::disable_security_hub_feature_v2::builders::DisableSecurityHubFeatureV2FluentBuilder::feature_name) / [`set_feature_name(Option<FeatureName>)`](crate::operation::disable_security_hub_feature_v2::builders::DisableSecurityHubFeatureV2FluentBuilder::set_feature_name):<br>required: **true**<br><p>The name of the feature to disable.</p><br>
7    /// - On success, responds with [`DisableSecurityHubFeatureV2Output`](crate::operation::disable_security_hub_feature_v2::DisableSecurityHubFeatureV2Output)
8    /// - On failure, responds with [`SdkError<DisableSecurityHubFeatureV2Error>`](crate::operation::disable_security_hub_feature_v2::DisableSecurityHubFeatureV2Error)
9    pub fn disable_security_hub_feature_v2(
10        &self,
11    ) -> crate::operation::disable_security_hub_feature_v2::builders::DisableSecurityHubFeatureV2FluentBuilder {
12        crate::operation::disable_security_hub_feature_v2::builders::DisableSecurityHubFeatureV2FluentBuilder::new(self.handle.clone())
13    }
14}