1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeHub`](crate::operation::describe_hub::builders::DescribeHubFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`hub_arn(impl Into<String>)`](crate::operation::describe_hub::builders::DescribeHubFluentBuilder::hub_arn) / [`set_hub_arn(Option<String>)`](crate::operation::describe_hub::builders::DescribeHubFluentBuilder::set_hub_arn): <p>The ARN of the Hub resource to retrieve.</p>
    /// - On success, responds with [`DescribeHubOutput`](crate::operation::describe_hub::DescribeHubOutput) with field(s):
    ///   - [`hub_arn(Option<String>)`](crate::operation::describe_hub::DescribeHubOutput::hub_arn): <p>The ARN of the Hub resource that was retrieved.</p>
    ///   - [`subscribed_at(Option<String>)`](crate::operation::describe_hub::DescribeHubOutput::subscribed_at): <p>The date and time when Security Hub was enabled in the account.</p>
    ///   - [`auto_enable_controls(bool)`](crate::operation::describe_hub::DescribeHubOutput::auto_enable_controls): <p>Whether to automatically enable new controls when they are added to standards that are enabled.</p>  <p>If set to <code>true</code>, then new controls for enabled standards are enabled automatically. If set to <code>false</code>, then new controls are not enabled.</p>
    /// - On failure, responds with [`SdkError<DescribeHubError>`](crate::operation::describe_hub::DescribeHubError)
    pub fn describe_hub(
        &self,
    ) -> crate::operation::describe_hub::builders::DescribeHubFluentBuilder {
        crate::operation::describe_hub::builders::DescribeHubFluentBuilder::new(self.handle.clone())
    }
}