aws_sdk_ssm/client/get_patch_baseline_for_patch_group.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetPatchBaselineForPatchGroup`](crate::operation::get_patch_baseline_for_patch_group::builders::GetPatchBaselineForPatchGroupFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`patch_group(impl Into<String>)`](crate::operation::get_patch_baseline_for_patch_group::builders::GetPatchBaselineForPatchGroupFluentBuilder::patch_group) / [`set_patch_group(Option<String>)`](crate::operation::get_patch_baseline_for_patch_group::builders::GetPatchBaselineForPatchGroupFluentBuilder::set_patch_group):<br>required: **true**<br><p>The name of the patch group whose patch baseline should be retrieved.</p><br>
/// - [`operating_system(OperatingSystem)`](crate::operation::get_patch_baseline_for_patch_group::builders::GetPatchBaselineForPatchGroupFluentBuilder::operating_system) / [`set_operating_system(Option<OperatingSystem>)`](crate::operation::get_patch_baseline_for_patch_group::builders::GetPatchBaselineForPatchGroupFluentBuilder::set_operating_system):<br>required: **false**<br><p>Returns the operating system rule specified for patch groups using the patch baseline.</p><br>
/// - On success, responds with [`GetPatchBaselineForPatchGroupOutput`](crate::operation::get_patch_baseline_for_patch_group::GetPatchBaselineForPatchGroupOutput) with field(s):
/// - [`baseline_id(Option<String>)`](crate::operation::get_patch_baseline_for_patch_group::GetPatchBaselineForPatchGroupOutput::baseline_id): <p>The ID of the patch baseline that should be used for the patch group.</p>
/// - [`patch_group(Option<String>)`](crate::operation::get_patch_baseline_for_patch_group::GetPatchBaselineForPatchGroupOutput::patch_group): <p>The name of the patch group.</p>
/// - [`operating_system(Option<OperatingSystem>)`](crate::operation::get_patch_baseline_for_patch_group::GetPatchBaselineForPatchGroupOutput::operating_system): <p>The operating system rule specified for patch groups using the patch baseline.</p>
/// - On failure, responds with [`SdkError<GetPatchBaselineForPatchGroupError>`](crate::operation::get_patch_baseline_for_patch_group::GetPatchBaselineForPatchGroupError)
pub fn get_patch_baseline_for_patch_group(
&self,
) -> crate::operation::get_patch_baseline_for_patch_group::builders::GetPatchBaselineForPatchGroupFluentBuilder {
crate::operation::get_patch_baseline_for_patch_group::builders::GetPatchBaselineForPatchGroupFluentBuilder::new(self.handle.clone())
}
}