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