1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetConfigurationPolicy`](crate::operation::get_configuration_policy::builders::GetConfigurationPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`identifier(impl Into<String>)`](crate::operation::get_configuration_policy::builders::GetConfigurationPolicyFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_configuration_policy::builders::GetConfigurationPolicyFluentBuilder::set_identifier):<br>required: **true**<br><p> The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy. </p><br>
    /// - On success, responds with [`GetConfigurationPolicyOutput`](crate::operation::get_configuration_policy::GetConfigurationPolicyOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::get_configuration_policy::GetConfigurationPolicyOutput::arn): <p> The ARN of the configuration policy. </p>
    ///   - [`id(Option<String>)`](crate::operation::get_configuration_policy::GetConfigurationPolicyOutput::id): <p> The UUID of the configuration policy. </p>
    ///   - [`name(Option<String>)`](crate::operation::get_configuration_policy::GetConfigurationPolicyOutput::name): <p> The name of the configuration policy. </p>
    ///   - [`description(Option<String>)`](crate::operation::get_configuration_policy::GetConfigurationPolicyOutput::description): <p> The description of the configuration policy. </p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_configuration_policy::GetConfigurationPolicyOutput::updated_at): <p> The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated. </p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_configuration_policy::GetConfigurationPolicyOutput::created_at): <p> The date and time, in UTC and ISO 8601 format, that the configuration policy was created. </p>
    ///   - [`configuration_policy(Option<Policy>)`](crate::operation::get_configuration_policy::GetConfigurationPolicyOutput::configuration_policy): <p> An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If the policy includes a list of security controls that are enabled, Security Hub disables all other controls (including newly released controls). If the policy includes a list of security controls that are disabled, Security Hub enables all other controls (including newly released controls). </p>
    /// - On failure, responds with [`SdkError<GetConfigurationPolicyError>`](crate::operation::get_configuration_policy::GetConfigurationPolicyError)
    pub fn get_configuration_policy(&self) -> crate::operation::get_configuration_policy::builders::GetConfigurationPolicyFluentBuilder {
        crate::operation::get_configuration_policy::builders::GetConfigurationPolicyFluentBuilder::new(self.handle.clone())
    }
}