Skip to content

Commit 645466c

Browse files
author
awstools
committed
feat(client-ssm): This release adds the AvailableSecurityUpdatesComplianceStatus field to patch baseline operations, as well as the AvailableSecurityUpdateCount and InstancesWithAvailableSecurityUpdates to patch state operations. Applies to Windows Server managed nodes only.
1 parent 31b766e commit 645466c

14 files changed

+281
-102
lines changed

clients/client-ssm/src/commands/CreatePatchBaselineCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export interface CreatePatchBaselineCommandOutput extends CreatePatchBaselineRes
9595
* Configuration: "STRING_VALUE", // required
9696
* },
9797
* ],
98+
* AvailableSecurityUpdatesComplianceStatus: "COMPLIANT" || "NON_COMPLIANT",
9899
* ClientToken: "STRING_VALUE",
99100
* Tags: [ // TagList
100101
* { // Tag

clients/client-ssm/src/commands/DescribeInstancePatchStatesCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export interface DescribeInstancePatchStatesCommandOutput extends DescribeInstan
6565
* // FailedCount: Number("int"),
6666
* // UnreportedNotApplicableCount: Number("int"),
6767
* // NotApplicableCount: Number("int"),
68+
* // AvailableSecurityUpdateCount: Number("int"),
6869
* // OperationStartTime: new Date("TIMESTAMP"), // required
6970
* // OperationEndTime: new Date("TIMESTAMP"), // required
7071
* // Operation: "Scan" || "Install", // required

clients/client-ssm/src/commands/DescribeInstancePatchStatesForPatchGroupCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export interface DescribeInstancePatchStatesForPatchGroupCommandOutput
7979
* // FailedCount: Number("int"),
8080
* // UnreportedNotApplicableCount: Number("int"),
8181
* // NotApplicableCount: Number("int"),
82+
* // AvailableSecurityUpdateCount: Number("int"),
8283
* // OperationStartTime: new Date("TIMESTAMP"), // required
8384
* // OperationEndTime: new Date("TIMESTAMP"), // required
8485
* // Operation: "Scan" || "Install", // required

clients/client-ssm/src/commands/DescribeInstancePatchesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export interface DescribeInstancePatchesCommandOutput extends DescribeInstancePa
5858
* // KBId: "STRING_VALUE", // required
5959
* // Classification: "STRING_VALUE", // required
6060
* // Severity: "STRING_VALUE", // required
61-
* // State: "INSTALLED" || "INSTALLED_OTHER" || "INSTALLED_PENDING_REBOOT" || "INSTALLED_REJECTED" || "MISSING" || "NOT_APPLICABLE" || "FAILED", // required
61+
* // State: "INSTALLED" || "INSTALLED_OTHER" || "INSTALLED_PENDING_REBOOT" || "INSTALLED_REJECTED" || "MISSING" || "NOT_APPLICABLE" || "FAILED" || "AVAILABLE_SECURITY_UPDATE", // required
6262
* // InstalledTime: new Date("TIMESTAMP"), // required
6363
* // CVEIds: "STRING_VALUE",
6464
* // },

clients/client-ssm/src/commands/DescribePatchGroupStateCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export interface DescribePatchGroupStateCommandOutput extends DescribePatchGroup
5353
* // InstancesWithCriticalNonCompliantPatches: Number("int"),
5454
* // InstancesWithSecurityNonCompliantPatches: Number("int"),
5555
* // InstancesWithOtherNonCompliantPatches: Number("int"),
56+
* // InstancesWithAvailableSecurityUpdates: Number("int"),
5657
* // };
5758
*
5859
* ```

clients/client-ssm/src/commands/GetDeployablePatchSnapshotForInstanceCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ export interface GetDeployablePatchSnapshotForInstanceCommandOutput
106106
* Configuration: "STRING_VALUE", // required
107107
* },
108108
* ],
109+
* AvailableSecurityUpdatesComplianceStatus: "COMPLIANT" || "NON_COMPLIANT",
109110
* },
110111
* };
111112
* const command = new GetDeployablePatchSnapshotForInstanceCommand(input);

clients/client-ssm/src/commands/GetPatchBaselineCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export interface GetPatchBaselineCommandOutput extends GetPatchBaselineResult, _
102102
* // Configuration: "STRING_VALUE", // required
103103
* // },
104104
* // ],
105+
* // AvailableSecurityUpdatesComplianceStatus: "COMPLIANT" || "NON_COMPLIANT",
105106
* // };
106107
*
107108
* ```

clients/client-ssm/src/commands/ResetServiceSettingCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { ResetServiceSettingRequest } from "../models/models_1";
9-
import { ResetServiceSettingResult } from "../models/models_2";
8+
import { ResetServiceSettingRequest, ResetServiceSettingResult } from "../models/models_2";
109
import { de_ResetServiceSettingCommand, se_ResetServiceSettingCommand } from "../protocols/Aws_json1_1";
1110
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
1211

clients/client-ssm/src/commands/UpdatePatchBaselineCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export interface UpdatePatchBaselineCommandOutput extends UpdatePatchBaselineRes
9797
* Configuration: "STRING_VALUE", // required
9898
* },
9999
* ],
100+
* AvailableSecurityUpdatesComplianceStatus: "COMPLIANT" || "NON_COMPLIANT",
100101
* Replace: true || false,
101102
* };
102103
* const command = new UpdatePatchBaselineCommand(input);
@@ -156,6 +157,7 @@ export interface UpdatePatchBaselineCommandOutput extends UpdatePatchBaselineRes
156157
* // Configuration: "STRING_VALUE", // required
157158
* // },
158159
* // ],
160+
* // AvailableSecurityUpdatesComplianceStatus: "COMPLIANT" || "NON_COMPLIANT",
159161
* // };
160162
*
161163
* ```

clients/client-ssm/src/models/models_0.ts

Lines changed: 38 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3762,6 +3762,20 @@ export interface PatchRuleGroup {
37623762
PatchRules: PatchRule[] | undefined;
37633763
}
37643764

3765+
/**
3766+
* @public
3767+
* @enum
3768+
*/
3769+
export const PatchComplianceStatus = {
3770+
Compliant: "COMPLIANT",
3771+
NonCompliant: "NON_COMPLIANT",
3772+
} as const;
3773+
3774+
/**
3775+
* @public
3776+
*/
3777+
export type PatchComplianceStatus = (typeof PatchComplianceStatus)[keyof typeof PatchComplianceStatus];
3778+
37653779
/**
37663780
* @public
37673781
* @enum
@@ -3958,6 +3972,20 @@ export interface CreatePatchBaselineRequest {
39583972
*/
39593973
Sources?: PatchSource[] | undefined;
39603974

3975+
/**
3976+
* <p>Indicates the status you want to assign to security patches that are available but not
3977+
* approved because they don't meet the installation criteria specified in the patch
3978+
* baseline.</p>
3979+
* <p>Example scenario: Security patches that you might want installed can be skipped if you have
3980+
* specified a long period to wait after a patch is released before installation. If an update to
3981+
* the patch is released during your specified waiting period, the waiting period for installing the
3982+
* patch starts over. If the waiting period is too long, multiple versions of the patch could be
3983+
* released but never installed.</p>
3984+
* <p>Supported for Windows Server managed nodes only.</p>
3985+
* @public
3986+
*/
3987+
AvailableSecurityUpdatesComplianceStatus?: PatchComplianceStatus | undefined;
3988+
39613989
/**
39623990
* <p>User-provided idempotency token.</p>
39633991
* @public
@@ -7985,6 +8013,7 @@ export interface DescribeInstancePatchesRequest {
79858013
* @enum
79868014
*/
79878015
export const PatchComplianceDataState = {
8016+
AvailableSecurityUpdate: "AVAILABLE_SECURITY_UPDATE",
79888017
Failed: "FAILED",
79898018
Installed: "INSTALLED",
79908019
InstalledOther: "INSTALLED_OTHER",
@@ -8267,6 +8296,15 @@ export interface InstancePatchState {
82678296
*/
82688297
NotApplicableCount?: number | undefined;
82698298

8299+
/**
8300+
* <p>The number of security-related patches that are available but not approved because they
8301+
* didn't meet the patch baseline requirements. For example, an updated version of a patch might
8302+
* have been released before the specified auto-approval period was over.</p>
8303+
* <p>Applies to Windows Server managed nodes only.</p>
8304+
* @public
8305+
*/
8306+
AvailableSecurityUpdateCount?: number | undefined;
8307+
82708308
/**
82718309
* <p>The time the most recent patching operation was started on the managed node.</p>
82728310
* @public
@@ -9624,31 +9662,6 @@ export interface DescribeMaintenanceWindowScheduleRequest {
96249662
NextToken?: string | undefined;
96259663
}
96269664

9627-
/**
9628-
* <p>Information about a scheduled execution for a maintenance window.</p>
9629-
* @public
9630-
*/
9631-
export interface ScheduledWindowExecution {
9632-
/**
9633-
* <p>The ID of the maintenance window to be run.</p>
9634-
* @public
9635-
*/
9636-
WindowId?: string | undefined;
9637-
9638-
/**
9639-
* <p>The name of the maintenance window to be run.</p>
9640-
* @public
9641-
*/
9642-
Name?: string | undefined;
9643-
9644-
/**
9645-
* <p>The time, in ISO-8601 Extended format, that the maintenance window is scheduled to be
9646-
* run.</p>
9647-
* @public
9648-
*/
9649-
ExecutionTime?: string | undefined;
9650-
}
9651-
96529665
/**
96539666
* @internal
96549667
*/

0 commit comments

Comments
 (0)