aws-sdk-securityhub 1.110.0

AWS SDK for AWS SecurityHub
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`EnableSecurityHubV2`](crate::operation::enable_security_hub_v2::builders::EnableSecurityHubV2FluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::enable_security_hub_v2::builders::EnableSecurityHubV2FluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::enable_security_hub_v2::builders::EnableSecurityHubV2FluentBuilder::set_tags):<br>required: **false**<br><p>The tags to add to the hub V2 resource when you enable Security Hub.</p><br>
    /// - On success, responds with [`EnableSecurityHubV2Output`](crate::operation::enable_security_hub_v2::EnableSecurityHubV2Output) with field(s):
    ///   - [`hub_v2_arn(Option<String>)`](crate::operation::enable_security_hub_v2::EnableSecurityHubV2Output::hub_v2_arn): <p>The ARN of the V2 resource that was created.</p>
    /// - On failure, responds with [`SdkError<EnableSecurityHubV2Error>`](crate::operation::enable_security_hub_v2::EnableSecurityHubV2Error)
    pub fn enable_security_hub_v2(&self) -> crate::operation::enable_security_hub_v2::builders::EnableSecurityHubV2FluentBuilder {
        crate::operation::enable_security_hub_v2::builders::EnableSecurityHubV2FluentBuilder::new(self.handle.clone())
    }
}