aws_sdk_ssm/client/get_patch_baseline_for_patch_group.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetPatchBaselineForPatchGroup`](crate::operation::get_patch_baseline_for_patch_group::builders::GetPatchBaselineForPatchGroupFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`GetPatchBaselineForPatchGroupOutput`](crate::operation::get_patch_baseline_for_patch_group::GetPatchBaselineForPatchGroupOutput) with field(s):
9 /// - [`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>
10 /// - [`patch_group(Option<String>)`](crate::operation::get_patch_baseline_for_patch_group::GetPatchBaselineForPatchGroupOutput::patch_group): <p>The name of the patch group.</p>
11 /// - [`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>
12 /// - On failure, responds with [`SdkError<GetPatchBaselineForPatchGroupError>`](crate::operation::get_patch_baseline_for_patch_group::GetPatchBaselineForPatchGroupError)
13 pub fn get_patch_baseline_for_patch_group(
14 &self,
15 ) -> crate::operation::get_patch_baseline_for_patch_group::builders::GetPatchBaselineForPatchGroupFluentBuilder {
16 crate::operation::get_patch_baseline_for_patch_group::builders::GetPatchBaselineForPatchGroupFluentBuilder::new(self.handle.clone())
17 }
18}