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 [`DescribeSecurityHubV2`](crate::operation::describe_security_hub_v2::builders::DescribeSecurityHubV2FluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::describe_security_hub_v2::builders::DescribeSecurityHubV2FluentBuilder::send) it.
    /// - On success, responds with [`DescribeSecurityHubV2Output`](crate::operation::describe_security_hub_v2::DescribeSecurityHubV2Output) with field(s):
    ///   - [`hub_v2_arn(Option<String>)`](crate::operation::describe_security_hub_v2::DescribeSecurityHubV2Output::hub_v2_arn): <p>The ARN of the service resource.</p>
    ///   - [`subscribed_at(Option<String>)`](crate::operation::describe_security_hub_v2::DescribeSecurityHubV2Output::subscribed_at): <p>The date and time when the service was enabled in the account.</p>
    /// - On failure, responds with [`SdkError<DescribeSecurityHubV2Error>`](crate::operation::describe_security_hub_v2::DescribeSecurityHubV2Error)
    pub fn describe_security_hub_v2(&self) -> crate::operation::describe_security_hub_v2::builders::DescribeSecurityHubV2FluentBuilder {
        crate::operation::describe_security_hub_v2::builders::DescribeSecurityHubV2FluentBuilder::new(self.handle.clone())
    }
}