aws_sdk_ssm/client/
describe_patch_group_state.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 [`DescribePatchGroupState`](crate::operation::describe_patch_group_state::builders::DescribePatchGroupStateFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`patch_group(impl Into<String>)`](crate::operation::describe_patch_group_state::builders::DescribePatchGroupStateFluentBuilder::patch_group) / [`set_patch_group(Option<String>)`](crate::operation::describe_patch_group_state::builders::DescribePatchGroupStateFluentBuilder::set_patch_group):<br>required: **true**<br><p>The name of the patch group whose patch snapshot should be retrieved.</p><br>
7    /// - On success, responds with [`DescribePatchGroupStateOutput`](crate::operation::describe_patch_group_state::DescribePatchGroupStateOutput) with field(s):
8    ///   - [`instances(i32)`](crate::operation::describe_patch_group_state::DescribePatchGroupStateOutput::instances): <p>The number of managed nodes in the patch group.</p>
9    ///   - [`instances_with_installed_patches(i32)`](crate::operation::describe_patch_group_state::DescribePatchGroupStateOutput::instances_with_installed_patches): <p>The number of managed nodes with installed patches.</p>
10    ///   - [`instances_with_installed_other_patches(i32)`](crate::operation::describe_patch_group_state::DescribePatchGroupStateOutput::instances_with_installed_other_patches): <p>The number of managed nodes with patches installed that aren't defined in the patch baseline.</p>
11    ///   - [`instances_with_installed_pending_reboot_patches(Option<i32>)`](crate::operation::describe_patch_group_state::DescribePatchGroupStateOutput::instances_with_installed_pending_reboot_patches): <p>The number of managed nodes with patches installed by Patch Manager that haven't been rebooted after the patch installation. The status of these managed nodes is <code>NON_COMPLIANT</code>.</p>
12    ///   - [`instances_with_installed_rejected_patches(Option<i32>)`](crate::operation::describe_patch_group_state::DescribePatchGroupStateOutput::instances_with_installed_rejected_patches): <p>The number of managed nodes with patches installed that are specified in a <code>RejectedPatches</code> list. Patches with a status of <code>INSTALLED_REJECTED</code> were typically installed before they were added to a <code>RejectedPatches</code> list.</p><note>  <p>If <code>ALLOW_AS_DEPENDENCY</code> is the specified option for <code>RejectedPatchesAction</code>, the value of <code>InstancesWithInstalledRejectedPatches</code> will always be <code>0</code> (zero).</p> </note>
13    ///   - [`instances_with_missing_patches(i32)`](crate::operation::describe_patch_group_state::DescribePatchGroupStateOutput::instances_with_missing_patches): <p>The number of managed nodes with missing patches from the patch baseline.</p>
14    ///   - [`instances_with_failed_patches(i32)`](crate::operation::describe_patch_group_state::DescribePatchGroupStateOutput::instances_with_failed_patches): <p>The number of managed nodes with patches from the patch baseline that failed to install.</p>
15    ///   - [`instances_with_not_applicable_patches(i32)`](crate::operation::describe_patch_group_state::DescribePatchGroupStateOutput::instances_with_not_applicable_patches): <p>The number of managed nodes with patches that aren't applicable.</p>
16    ///   - [`instances_with_unreported_not_applicable_patches(Option<i32>)`](crate::operation::describe_patch_group_state::DescribePatchGroupStateOutput::instances_with_unreported_not_applicable_patches): <p>The number of managed nodes with <code>NotApplicable</code> patches beyond the supported limit, which aren't reported by name to Inventory. Inventory is a tool in Amazon Web Services Systems Manager.</p>
17    ///   - [`instances_with_critical_non_compliant_patches(Option<i32>)`](crate::operation::describe_patch_group_state::DescribePatchGroupStateOutput::instances_with_critical_non_compliant_patches): <p>The number of managed nodes where patches that are specified as <code>Critical</code> for compliance reporting in the patch baseline aren't installed. These patches might be missing, have failed installation, were rejected, or were installed but awaiting a required managed node reboot. The status of these managed nodes is <code>NON_COMPLIANT</code>.</p>
18    ///   - [`instances_with_security_non_compliant_patches(Option<i32>)`](crate::operation::describe_patch_group_state::DescribePatchGroupStateOutput::instances_with_security_non_compliant_patches): <p>The number of managed nodes where patches that are specified as <code>Security</code> in a patch advisory aren't installed. These patches might be missing, have failed installation, were rejected, or were installed but awaiting a required managed node reboot. The status of these managed nodes is <code>NON_COMPLIANT</code>.</p>
19    ///   - [`instances_with_other_non_compliant_patches(Option<i32>)`](crate::operation::describe_patch_group_state::DescribePatchGroupStateOutput::instances_with_other_non_compliant_patches): <p>The number of managed nodes with patches installed that are specified as other than <code>Critical</code> or <code>Security</code> but aren't compliant with the patch baseline. The status of these managed nodes is <code>NON_COMPLIANT</code>.</p>
20    ///   - [`instances_with_available_security_updates(Option<i32>)`](crate::operation::describe_patch_group_state::DescribePatchGroupStateOutput::instances_with_available_security_updates): <p>The number of managed nodes for which security-related patches are available but not approved because because they didn't meet the patch baseline requirements. For example, an updated version of a patch might have been released before the specified auto-approval period was over.</p> <p>Applies to Windows Server managed nodes only.</p>
21    /// - On failure, responds with [`SdkError<DescribePatchGroupStateError>`](crate::operation::describe_patch_group_state::DescribePatchGroupStateError)
22    pub fn describe_patch_group_state(&self) -> crate::operation::describe_patch_group_state::builders::DescribePatchGroupStateFluentBuilder {
23        crate::operation::describe_patch_group_state::builders::DescribePatchGroupStateFluentBuilder::new(self.handle.clone())
24    }
25}