aws_sdk_controltower/client/enable_baseline.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`EnableBaseline`](crate::operation::enable_baseline::builders::EnableBaselineFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`baseline_version(impl Into<String>)`](crate::operation::enable_baseline::builders::EnableBaselineFluentBuilder::baseline_version) / [`set_baseline_version(Option<String>)`](crate::operation::enable_baseline::builders::EnableBaselineFluentBuilder::set_baseline_version):<br>required: **true**<br><p>The specific version to be enabled of the specified baseline.</p><br>
/// - [`parameters(EnabledBaselineParameter)`](crate::operation::enable_baseline::builders::EnableBaselineFluentBuilder::parameters) / [`set_parameters(Option<Vec::<EnabledBaselineParameter>>)`](crate::operation::enable_baseline::builders::EnableBaselineFluentBuilder::set_parameters):<br>required: **false**<br><p>A list of <code>key-value</code> objects that specify enablement parameters, where <code>key</code> is a string and <code>value</code> is a document of any type.</p><br>
/// - [`baseline_identifier(impl Into<String>)`](crate::operation::enable_baseline::builders::EnableBaselineFluentBuilder::baseline_identifier) / [`set_baseline_identifier(Option<String>)`](crate::operation::enable_baseline::builders::EnableBaselineFluentBuilder::set_baseline_identifier):<br>required: **true**<br><p>The ARN of the baseline to be enabled.</p><br>
/// - [`target_identifier(impl Into<String>)`](crate::operation::enable_baseline::builders::EnableBaselineFluentBuilder::target_identifier) / [`set_target_identifier(Option<String>)`](crate::operation::enable_baseline::builders::EnableBaselineFluentBuilder::set_target_identifier):<br>required: **true**<br><p>The ARN of the target on which the baseline will be enabled. Only OUs are supported as targets.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::enable_baseline::builders::EnableBaselineFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::enable_baseline::builders::EnableBaselineFluentBuilder::set_tags):<br>required: **false**<br><p>Tags associated with input to <code>EnableBaseline</code>.</p><br>
/// - On success, responds with [`EnableBaselineOutput`](crate::operation::enable_baseline::EnableBaselineOutput) with field(s):
/// - [`operation_identifier(String)`](crate::operation::enable_baseline::EnableBaselineOutput::operation_identifier): <p>The ID (in UUID format) of the asynchronous <code>EnableBaseline</code> operation. This <code>operationIdentifier</code> is used to track status through calls to the <code>GetBaselineOperation</code> API.</p>
/// - [`arn(String)`](crate::operation::enable_baseline::EnableBaselineOutput::arn): <p>The ARN of the <code>EnabledBaseline</code> resource.</p>
/// - On failure, responds with [`SdkError<EnableBaselineError>`](crate::operation::enable_baseline::EnableBaselineError)
pub fn enable_baseline(&self) -> crate::operation::enable_baseline::builders::EnableBaselineFluentBuilder {
crate::operation::enable_baseline::builders::EnableBaselineFluentBuilder::new(self.handle.clone())
}
}