@aws-sdk/client-ssm 3.772.0 → 3.775.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +28 -18
- package/dist-es/SSMClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +4 -0
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/CreatePatchBaselineCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstancePatchesCommand.d.ts +1 -1
- package/dist-types/commands/DescribePatchGroupStateCommand.d.ts +1 -0
- package/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +1 -0
- package/dist-types/commands/GetPatchBaselineCommand.d.ts +1 -0
- package/dist-types/commands/ResetServiceSettingCommand.d.ts +1 -2
- package/dist-types/commands/UpdatePatchBaselineCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +34 -22
- package/dist-types/models/models_1.d.ts +60 -69
- package/dist-types/models/models_2.d.ts +83 -1
- package/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +9 -5
- package/dist-types/ts3.4/models/models_1.d.ts +9 -4
- package/dist-types/ts3.4/models/models_2.d.ts +6 -0
- package/package.json +34 -34
|
@@ -40,8 +40,6 @@ const defaultSSMHttpAuthSchemeProvider = (authParameters) => {
|
|
|
40
40
|
exports.defaultSSMHttpAuthSchemeProvider = defaultSSMHttpAuthSchemeProvider;
|
|
41
41
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
42
42
|
const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
|
|
43
|
-
return {
|
|
44
|
-
...config_0,
|
|
45
|
-
};
|
|
43
|
+
return Object.assign(config_0, {});
|
|
46
44
|
};
|
|
47
45
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/index.js
CHANGED
|
@@ -365,6 +365,7 @@ __export(index_exports, {
|
|
|
365
365
|
PatchAction: () => PatchAction,
|
|
366
366
|
PatchComplianceDataState: () => PatchComplianceDataState,
|
|
367
367
|
PatchComplianceLevel: () => PatchComplianceLevel,
|
|
368
|
+
PatchComplianceStatus: () => PatchComplianceStatus,
|
|
368
369
|
PatchDeploymentStatus: () => PatchDeploymentStatus,
|
|
369
370
|
PatchFilterKey: () => PatchFilterKey,
|
|
370
371
|
PatchOperationType: () => PatchOperationType,
|
|
@@ -540,12 +541,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
|
540
541
|
|
|
541
542
|
// src/endpoint/EndpointParameters.ts
|
|
542
543
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
543
|
-
return {
|
|
544
|
-
...options,
|
|
544
|
+
return Object.assign(options, {
|
|
545
545
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
546
546
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
547
547
|
defaultSigningName: "ssm"
|
|
548
|
-
};
|
|
548
|
+
});
|
|
549
549
|
}, "resolveClientEndpointParameters");
|
|
550
550
|
var commonParams = {
|
|
551
551
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -602,22 +602,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
|
602
602
|
}, "resolveHttpAuthRuntimeConfig");
|
|
603
603
|
|
|
604
604
|
// src/runtimeExtensions.ts
|
|
605
|
-
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
606
605
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
607
|
-
const extensionConfiguration =
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
606
|
+
const extensionConfiguration = Object.assign(
|
|
607
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
608
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
609
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
610
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
611
|
+
);
|
|
613
612
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
614
|
-
return
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
613
|
+
return Object.assign(
|
|
614
|
+
runtimeConfig,
|
|
615
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
616
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
617
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
618
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
619
|
+
);
|
|
621
620
|
}, "resolveRuntimeExtensions");
|
|
622
621
|
|
|
623
622
|
// src/SSMClient.ts
|
|
@@ -631,6 +630,8 @@ var SSMClient = class extends import_smithy_client.Client {
|
|
|
631
630
|
config;
|
|
632
631
|
constructor(...[configuration]) {
|
|
633
632
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
633
|
+
super(_config_0);
|
|
634
|
+
this.initConfig = _config_0;
|
|
634
635
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
635
636
|
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
636
637
|
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
@@ -639,7 +640,6 @@ var SSMClient = class extends import_smithy_client.Client {
|
|
|
639
640
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
640
641
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
641
642
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
642
|
-
super(_config_8);
|
|
643
643
|
this.config = _config_8;
|
|
644
644
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
645
645
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
@@ -1601,6 +1601,10 @@ var PatchFilterKey = {
|
|
|
1601
1601
|
Severity: "SEVERITY",
|
|
1602
1602
|
Version: "VERSION"
|
|
1603
1603
|
};
|
|
1604
|
+
var PatchComplianceStatus = {
|
|
1605
|
+
Compliant: "COMPLIANT",
|
|
1606
|
+
NonCompliant: "NON_COMPLIANT"
|
|
1607
|
+
};
|
|
1604
1608
|
var OperatingSystem = {
|
|
1605
1609
|
AlmaLinux: "ALMA_LINUX",
|
|
1606
1610
|
AmazonLinux: "AMAZON_LINUX",
|
|
@@ -2376,6 +2380,7 @@ var InvalidInstanceInformationFilterValue = class _InvalidInstanceInformationFil
|
|
|
2376
2380
|
}
|
|
2377
2381
|
};
|
|
2378
2382
|
var PatchComplianceDataState = {
|
|
2383
|
+
AvailableSecurityUpdate: "AVAILABLE_SECURITY_UPDATE",
|
|
2379
2384
|
Failed: "FAILED",
|
|
2380
2385
|
Installed: "INSTALLED",
|
|
2381
2386
|
InstalledOther: "INSTALLED_OTHER",
|
|
@@ -8806,6 +8811,7 @@ var se_CreatePatchBaselineRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
8806
8811
|
ApprovedPatches: import_smithy_client._json,
|
|
8807
8812
|
ApprovedPatchesComplianceLevel: [],
|
|
8808
8813
|
ApprovedPatchesEnableNonSecurity: [],
|
|
8814
|
+
AvailableSecurityUpdatesComplianceStatus: [],
|
|
8809
8815
|
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
8810
8816
|
Description: [],
|
|
8811
8817
|
GlobalFilters: import_smithy_client._json,
|
|
@@ -9767,6 +9773,7 @@ var de_GetPatchBaselineResult = /* @__PURE__ */ __name((output, context) => {
|
|
|
9767
9773
|
ApprovedPatches: import_smithy_client._json,
|
|
9768
9774
|
ApprovedPatchesComplianceLevel: import_smithy_client.expectString,
|
|
9769
9775
|
ApprovedPatchesEnableNonSecurity: import_smithy_client.expectBoolean,
|
|
9776
|
+
AvailableSecurityUpdatesComplianceStatus: import_smithy_client.expectString,
|
|
9770
9777
|
BaselineId: import_smithy_client.expectString,
|
|
9771
9778
|
CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedDate"),
|
|
9772
9779
|
Description: import_smithy_client.expectString,
|
|
@@ -9840,6 +9847,7 @@ var de_InstanceInformationList = /* @__PURE__ */ __name((output, context) => {
|
|
|
9840
9847
|
}, "de_InstanceInformationList");
|
|
9841
9848
|
var de_InstancePatchState = /* @__PURE__ */ __name((output, context) => {
|
|
9842
9849
|
return (0, import_smithy_client.take)(output, {
|
|
9850
|
+
AvailableSecurityUpdateCount: import_smithy_client.expectInt32,
|
|
9843
9851
|
BaselineId: import_smithy_client.expectString,
|
|
9844
9852
|
CriticalNonCompliantCount: import_smithy_client.expectInt32,
|
|
9845
9853
|
FailedCount: import_smithy_client.expectInt32,
|
|
@@ -10495,6 +10503,7 @@ var de_UpdatePatchBaselineResult = /* @__PURE__ */ __name((output, context) => {
|
|
|
10495
10503
|
ApprovedPatches: import_smithy_client._json,
|
|
10496
10504
|
ApprovedPatchesComplianceLevel: import_smithy_client.expectString,
|
|
10497
10505
|
ApprovedPatchesEnableNonSecurity: import_smithy_client.expectBoolean,
|
|
10506
|
+
AvailableSecurityUpdatesComplianceStatus: import_smithy_client.expectString,
|
|
10498
10507
|
BaselineId: import_smithy_client.expectString,
|
|
10499
10508
|
CreatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedDate"),
|
|
10500
10509
|
Description: import_smithy_client.expectString,
|
|
@@ -13407,6 +13416,7 @@ var waitUntilCommandExecuted = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
13407
13416
|
OpsMetadataTooManyUpdatesException,
|
|
13408
13417
|
PatchComplianceLevel,
|
|
13409
13418
|
PatchFilterKey,
|
|
13419
|
+
PatchComplianceStatus,
|
|
13410
13420
|
OperatingSystem,
|
|
13411
13421
|
PatchAction,
|
|
13412
13422
|
ResourceDataSyncS3Format,
|
package/dist-es/SSMClient.js
CHANGED
|
@@ -17,6 +17,8 @@ export class SSMClient extends __Client {
|
|
|
17
17
|
config;
|
|
18
18
|
constructor(...[configuration]) {
|
|
19
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
20
|
+
super(_config_0);
|
|
21
|
+
this.initConfig = _config_0;
|
|
20
22
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
23
|
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
22
24
|
const _config_3 = resolveRetryConfig(_config_2);
|
|
@@ -25,7 +27,6 @@ export class SSMClient extends __Client {
|
|
|
25
27
|
const _config_6 = resolveEndpointConfig(_config_5);
|
|
26
28
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
27
29
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
28
|
-
super(_config_8);
|
|
29
30
|
this.config = _config_8;
|
|
30
31
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
31
32
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
@@ -35,7 +35,5 @@ export const defaultSSMHttpAuthSchemeProvider = (authParameters) => {
|
|
|
35
35
|
};
|
|
36
36
|
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
37
37
|
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
38
|
-
return {
|
|
39
|
-
...config_0,
|
|
40
|
-
};
|
|
38
|
+
return Object.assign(config_0, {});
|
|
41
39
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
-
return {
|
|
3
|
-
...options,
|
|
2
|
+
return Object.assign(options, {
|
|
4
3
|
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
5
4
|
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
6
5
|
defaultSigningName: "ssm",
|
|
7
|
-
};
|
|
6
|
+
});
|
|
8
7
|
};
|
|
9
8
|
export const commonParams = {
|
|
10
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -658,6 +658,10 @@ export const PatchFilterKey = {
|
|
|
658
658
|
Severity: "SEVERITY",
|
|
659
659
|
Version: "VERSION",
|
|
660
660
|
};
|
|
661
|
+
export const PatchComplianceStatus = {
|
|
662
|
+
Compliant: "COMPLIANT",
|
|
663
|
+
NonCompliant: "NON_COMPLIANT",
|
|
664
|
+
};
|
|
661
665
|
export const OperatingSystem = {
|
|
662
666
|
AlmaLinux: "ALMA_LINUX",
|
|
663
667
|
AmazonLinux: "AMAZON_LINUX",
|
|
@@ -1241,6 +1245,7 @@ export class InvalidInstanceInformationFilterValue extends __BaseException {
|
|
|
1241
1245
|
}
|
|
1242
1246
|
}
|
|
1243
1247
|
export const PatchComplianceDataState = {
|
|
1248
|
+
AvailableSecurityUpdate: "AVAILABLE_SECURITY_UPDATE",
|
|
1244
1249
|
Failed: "FAILED",
|
|
1245
1250
|
Installed: "INSTALLED",
|
|
1246
1251
|
InstalledOther: "INSTALLED_OTHER",
|
|
@@ -4446,6 +4446,7 @@ const se_CreatePatchBaselineRequest = (input, context) => {
|
|
|
4446
4446
|
ApprovedPatches: _json,
|
|
4447
4447
|
ApprovedPatchesComplianceLevel: [],
|
|
4448
4448
|
ApprovedPatchesEnableNonSecurity: [],
|
|
4449
|
+
AvailableSecurityUpdatesComplianceStatus: [],
|
|
4449
4450
|
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
4450
4451
|
Description: [],
|
|
4451
4452
|
GlobalFilters: _json,
|
|
@@ -5443,6 +5444,7 @@ const de_GetPatchBaselineResult = (output, context) => {
|
|
|
5443
5444
|
ApprovedPatches: _json,
|
|
5444
5445
|
ApprovedPatchesComplianceLevel: __expectString,
|
|
5445
5446
|
ApprovedPatchesEnableNonSecurity: __expectBoolean,
|
|
5447
|
+
AvailableSecurityUpdatesComplianceStatus: __expectString,
|
|
5446
5448
|
BaselineId: __expectString,
|
|
5447
5449
|
CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5448
5450
|
Description: __expectString,
|
|
@@ -5520,6 +5522,7 @@ const de_InstanceInformationList = (output, context) => {
|
|
|
5520
5522
|
};
|
|
5521
5523
|
const de_InstancePatchState = (output, context) => {
|
|
5522
5524
|
return take(output, {
|
|
5525
|
+
AvailableSecurityUpdateCount: __expectInt32,
|
|
5523
5526
|
BaselineId: __expectString,
|
|
5524
5527
|
CriticalNonCompliantCount: __expectInt32,
|
|
5525
5528
|
FailedCount: __expectInt32,
|
|
@@ -6219,6 +6222,7 @@ const de_UpdatePatchBaselineResult = (output, context) => {
|
|
|
6219
6222
|
ApprovedPatches: _json,
|
|
6220
6223
|
ApprovedPatchesComplianceLevel: __expectString,
|
|
6221
6224
|
ApprovedPatchesEnableNonSecurity: __expectBoolean,
|
|
6225
|
+
AvailableSecurityUpdatesComplianceStatus: __expectString,
|
|
6222
6226
|
BaselineId: __expectString,
|
|
6223
6227
|
CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
6224
6228
|
Description: __expectString,
|
|
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
|
|
|
2
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
-
const asPartial = (t) => t;
|
|
6
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
-
const extensionConfiguration =
|
|
8
|
-
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
9
|
-
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
10
|
-
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
11
|
-
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
|
12
|
-
};
|
|
6
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
13
7
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
14
|
-
return
|
|
15
|
-
...runtimeConfig,
|
|
16
|
-
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
17
|
-
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
18
|
-
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
19
|
-
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
|
20
|
-
};
|
|
8
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
21
9
|
};
|
|
@@ -90,6 +90,7 @@ declare const CreatePatchBaselineCommand_base: {
|
|
|
90
90
|
* Configuration: "STRING_VALUE", // required
|
|
91
91
|
* },
|
|
92
92
|
* ],
|
|
93
|
+
* AvailableSecurityUpdatesComplianceStatus: "COMPLIANT" || "NON_COMPLIANT",
|
|
93
94
|
* ClientToken: "STRING_VALUE",
|
|
94
95
|
* Tags: [ // TagList
|
|
95
96
|
* { // Tag
|
|
@@ -60,6 +60,7 @@ declare const DescribeInstancePatchStatesCommand_base: {
|
|
|
60
60
|
* // FailedCount: Number("int"),
|
|
61
61
|
* // UnreportedNotApplicableCount: Number("int"),
|
|
62
62
|
* // NotApplicableCount: Number("int"),
|
|
63
|
+
* // AvailableSecurityUpdateCount: Number("int"),
|
|
63
64
|
* // OperationStartTime: new Date("TIMESTAMP"), // required
|
|
64
65
|
* // OperationEndTime: new Date("TIMESTAMP"), // required
|
|
65
66
|
* // Operation: "Scan" || "Install", // required
|
|
@@ -68,6 +68,7 @@ declare const DescribeInstancePatchStatesForPatchGroupCommand_base: {
|
|
|
68
68
|
* // FailedCount: Number("int"),
|
|
69
69
|
* // UnreportedNotApplicableCount: Number("int"),
|
|
70
70
|
* // NotApplicableCount: Number("int"),
|
|
71
|
+
* // AvailableSecurityUpdateCount: Number("int"),
|
|
71
72
|
* // OperationStartTime: new Date("TIMESTAMP"), // required
|
|
72
73
|
* // OperationEndTime: new Date("TIMESTAMP"), // required
|
|
73
74
|
* // Operation: "Scan" || "Install", // required
|
|
@@ -57,7 +57,7 @@ declare const DescribeInstancePatchesCommand_base: {
|
|
|
57
57
|
* // KBId: "STRING_VALUE", // required
|
|
58
58
|
* // Classification: "STRING_VALUE", // required
|
|
59
59
|
* // Severity: "STRING_VALUE", // required
|
|
60
|
-
* // State: "INSTALLED" || "INSTALLED_OTHER" || "INSTALLED_PENDING_REBOOT" || "INSTALLED_REJECTED" || "MISSING" || "NOT_APPLICABLE" || "FAILED", // required
|
|
60
|
+
* // State: "INSTALLED" || "INSTALLED_OTHER" || "INSTALLED_PENDING_REBOOT" || "INSTALLED_REJECTED" || "MISSING" || "NOT_APPLICABLE" || "FAILED" || "AVAILABLE_SECURITY_UPDATE", // required
|
|
61
61
|
* // InstalledTime: new Date("TIMESTAMP"), // required
|
|
62
62
|
* // CVEIds: "STRING_VALUE",
|
|
63
63
|
* // },
|
|
@@ -52,6 +52,7 @@ declare const DescribePatchGroupStateCommand_base: {
|
|
|
52
52
|
* // InstancesWithCriticalNonCompliantPatches: Number("int"),
|
|
53
53
|
* // InstancesWithSecurityNonCompliantPatches: Number("int"),
|
|
54
54
|
* // InstancesWithOtherNonCompliantPatches: Number("int"),
|
|
55
|
+
* // InstancesWithAvailableSecurityUpdates: Number("int"),
|
|
55
56
|
* // };
|
|
56
57
|
*
|
|
57
58
|
* ```
|
|
@@ -95,6 +95,7 @@ declare const GetDeployablePatchSnapshotForInstanceCommand_base: {
|
|
|
95
95
|
* Configuration: "STRING_VALUE", // required
|
|
96
96
|
* },
|
|
97
97
|
* ],
|
|
98
|
+
* AvailableSecurityUpdatesComplianceStatus: "COMPLIANT" || "NON_COMPLIANT",
|
|
98
99
|
* },
|
|
99
100
|
* };
|
|
100
101
|
* const command = new GetDeployablePatchSnapshotForInstanceCommand(input);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ResetServiceSettingRequest } from "../models/
|
|
4
|
-
import { ResetServiceSettingResult } from "../models/models_2";
|
|
3
|
+
import { ResetServiceSettingRequest, ResetServiceSettingResult } from "../models/models_2";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -91,6 +91,7 @@ declare const UpdatePatchBaselineCommand_base: {
|
|
|
91
91
|
* Configuration: "STRING_VALUE", // required
|
|
92
92
|
* },
|
|
93
93
|
* ],
|
|
94
|
+
* AvailableSecurityUpdatesComplianceStatus: "COMPLIANT" || "NON_COMPLIANT",
|
|
94
95
|
* Replace: true || false,
|
|
95
96
|
* };
|
|
96
97
|
* const command = new UpdatePatchBaselineCommand(input);
|
|
@@ -150,6 +151,7 @@ declare const UpdatePatchBaselineCommand_base: {
|
|
|
150
151
|
* // Configuration: "STRING_VALUE", // required
|
|
151
152
|
* // },
|
|
152
153
|
* // ],
|
|
154
|
+
* // AvailableSecurityUpdatesComplianceStatus: "COMPLIANT" || "NON_COMPLIANT",
|
|
153
155
|
* // };
|
|
154
156
|
*
|
|
155
157
|
* ```
|
|
@@ -3130,6 +3130,18 @@ export interface PatchRuleGroup {
|
|
|
3130
3130
|
*/
|
|
3131
3131
|
PatchRules: PatchRule[] | undefined;
|
|
3132
3132
|
}
|
|
3133
|
+
/**
|
|
3134
|
+
* @public
|
|
3135
|
+
* @enum
|
|
3136
|
+
*/
|
|
3137
|
+
export declare const PatchComplianceStatus: {
|
|
3138
|
+
readonly Compliant: "COMPLIANT";
|
|
3139
|
+
readonly NonCompliant: "NON_COMPLIANT";
|
|
3140
|
+
};
|
|
3141
|
+
/**
|
|
3142
|
+
* @public
|
|
3143
|
+
*/
|
|
3144
|
+
export type PatchComplianceStatus = (typeof PatchComplianceStatus)[keyof typeof PatchComplianceStatus];
|
|
3133
3145
|
/**
|
|
3134
3146
|
* @public
|
|
3135
3147
|
* @enum
|
|
@@ -3308,6 +3320,19 @@ export interface CreatePatchBaselineRequest {
|
|
|
3308
3320
|
* @public
|
|
3309
3321
|
*/
|
|
3310
3322
|
Sources?: PatchSource[] | undefined;
|
|
3323
|
+
/**
|
|
3324
|
+
* <p>Indicates the status you want to assign to security patches that are available but not
|
|
3325
|
+
* approved because they don't meet the installation criteria specified in the patch
|
|
3326
|
+
* baseline.</p>
|
|
3327
|
+
* <p>Example scenario: Security patches that you might want installed can be skipped if you have
|
|
3328
|
+
* specified a long period to wait after a patch is released before installation. If an update to
|
|
3329
|
+
* the patch is released during your specified waiting period, the waiting period for installing the
|
|
3330
|
+
* patch starts over. If the waiting period is too long, multiple versions of the patch could be
|
|
3331
|
+
* released but never installed.</p>
|
|
3332
|
+
* <p>Supported for Windows Server managed nodes only.</p>
|
|
3333
|
+
* @public
|
|
3334
|
+
*/
|
|
3335
|
+
AvailableSecurityUpdatesComplianceStatus?: PatchComplianceStatus | undefined;
|
|
3311
3336
|
/**
|
|
3312
3337
|
* <p>User-provided idempotency token.</p>
|
|
3313
3338
|
* @public
|
|
@@ -6677,6 +6702,7 @@ export interface DescribeInstancePatchesRequest {
|
|
|
6677
6702
|
* @enum
|
|
6678
6703
|
*/
|
|
6679
6704
|
export declare const PatchComplianceDataState: {
|
|
6705
|
+
readonly AvailableSecurityUpdate: "AVAILABLE_SECURITY_UPDATE";
|
|
6680
6706
|
readonly Failed: "FAILED";
|
|
6681
6707
|
readonly Installed: "INSTALLED";
|
|
6682
6708
|
readonly InstalledOther: "INSTALLED_OTHER";
|
|
@@ -6927,6 +6953,14 @@ export interface InstancePatchState {
|
|
|
6927
6953
|
* @public
|
|
6928
6954
|
*/
|
|
6929
6955
|
NotApplicableCount?: number | undefined;
|
|
6956
|
+
/**
|
|
6957
|
+
* <p>The number of security-related patches that are available but not approved because they
|
|
6958
|
+
* didn't meet the patch baseline requirements. For example, an updated version of a patch might
|
|
6959
|
+
* have been released before the specified auto-approval period was over.</p>
|
|
6960
|
+
* <p>Applies to Windows Server managed nodes only.</p>
|
|
6961
|
+
* @public
|
|
6962
|
+
*/
|
|
6963
|
+
AvailableSecurityUpdateCount?: number | undefined;
|
|
6930
6964
|
/**
|
|
6931
6965
|
* <p>The time the most recent patching operation was started on the managed node.</p>
|
|
6932
6966
|
* @public
|
|
@@ -8109,28 +8143,6 @@ export interface DescribeMaintenanceWindowScheduleRequest {
|
|
|
8109
8143
|
*/
|
|
8110
8144
|
NextToken?: string | undefined;
|
|
8111
8145
|
}
|
|
8112
|
-
/**
|
|
8113
|
-
* <p>Information about a scheduled execution for a maintenance window.</p>
|
|
8114
|
-
* @public
|
|
8115
|
-
*/
|
|
8116
|
-
export interface ScheduledWindowExecution {
|
|
8117
|
-
/**
|
|
8118
|
-
* <p>The ID of the maintenance window to be run.</p>
|
|
8119
|
-
* @public
|
|
8120
|
-
*/
|
|
8121
|
-
WindowId?: string | undefined;
|
|
8122
|
-
/**
|
|
8123
|
-
* <p>The name of the maintenance window to be run.</p>
|
|
8124
|
-
* @public
|
|
8125
|
-
*/
|
|
8126
|
-
Name?: string | undefined;
|
|
8127
|
-
/**
|
|
8128
|
-
* <p>The time, in ISO-8601 Extended format, that the maintenance window is scheduled to be
|
|
8129
|
-
* run.</p>
|
|
8130
|
-
* @public
|
|
8131
|
-
*/
|
|
8132
|
-
ExecutionTime?: string | undefined;
|
|
8133
|
-
}
|
|
8134
8146
|
/**
|
|
8135
8147
|
* @internal
|
|
8136
8148
|
*/
|
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { AlarmConfiguration, AlarmStateInformation, AssociationComplianceSeverity, AssociationOverview, AssociationSyncCompliance, AutomationExecutionStatus, AutomationSubtype, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, MaintenanceWindowExecutionStatus, MaintenanceWindowFilter, MaintenanceWindowResourceType, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchOrchestratorFilter, PatchRuleGroup, PatchSource, PlatformType, RelatedOpsItem, ResolvedTargets, ResourceDataSyncAwsOrganizationsSource, ResourceDataSyncS3Destination, ResourceType, ResourceTypeForTagging, ReviewStatus, Runbook,
|
|
2
|
+
import { AlarmConfiguration, AlarmStateInformation, AssociationComplianceSeverity, AssociationOverview, AssociationSyncCompliance, AutomationExecutionStatus, AutomationSubtype, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, MaintenanceWindowExecutionStatus, MaintenanceWindowFilter, MaintenanceWindowResourceType, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchComplianceStatus, PatchFilterGroup, PatchOrchestratorFilter, PatchRuleGroup, PatchSource, PlatformType, RelatedOpsItem, ResolvedTargets, ResourceDataSyncAwsOrganizationsSource, ResourceDataSyncS3Destination, ResourceType, ResourceTypeForTagging, ReviewStatus, Runbook, StepExecution, Tag, Target, TargetLocation } from "./models_0";
|
|
3
3
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Information about a scheduled execution for a maintenance window.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface ScheduledWindowExecution {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The ID of the maintenance window to be run.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
WindowId?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The name of the maintenance window to be run.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
Name?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The time, in ISO-8601 Extended format, that the maintenance window is scheduled to be
|
|
21
|
+
* run.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
ExecutionTime?: string | undefined;
|
|
25
|
+
}
|
|
4
26
|
/**
|
|
5
27
|
* @public
|
|
6
28
|
*/
|
|
@@ -1257,6 +1279,15 @@ export interface DescribePatchGroupStateResult {
|
|
|
1257
1279
|
* @public
|
|
1258
1280
|
*/
|
|
1259
1281
|
InstancesWithOtherNonCompliantPatches?: number | undefined;
|
|
1282
|
+
/**
|
|
1283
|
+
* <p>The number of managed nodes for which security-related patches are available but not
|
|
1284
|
+
* approved because because they didn't meet the patch baseline requirements. For example, an
|
|
1285
|
+
* updated version of a patch might have been released before the specified auto-approval period was
|
|
1286
|
+
* over.</p>
|
|
1287
|
+
* <p>Applies to Windows Server managed nodes only.</p>
|
|
1288
|
+
* @public
|
|
1289
|
+
*/
|
|
1290
|
+
InstancesWithAvailableSecurityUpdates?: number | undefined;
|
|
1260
1291
|
}
|
|
1261
1292
|
/**
|
|
1262
1293
|
* @public
|
|
@@ -2315,6 +2346,15 @@ export interface BaselineOverride {
|
|
|
2315
2346
|
* @public
|
|
2316
2347
|
*/
|
|
2317
2348
|
Sources?: PatchSource[] | undefined;
|
|
2349
|
+
/**
|
|
2350
|
+
* <p>Indicates whether managed nodes for which there are available security-related patches that
|
|
2351
|
+
* have not been approved by the baseline are being defined as <code>COMPLIANT</code> or
|
|
2352
|
+
* <code>NON_COMPLIANT</code>. This option is specified when the <code>CreatePatchBaseline</code>
|
|
2353
|
+
* or <code>UpdatePatchBaseline</code> commands are run.</p>
|
|
2354
|
+
* <p>Applies to Windows Server managed nodes only.</p>
|
|
2355
|
+
* @public
|
|
2356
|
+
*/
|
|
2357
|
+
AvailableSecurityUpdatesComplianceStatus?: PatchComplianceStatus | undefined;
|
|
2318
2358
|
}
|
|
2319
2359
|
/**
|
|
2320
2360
|
* @public
|
|
@@ -4573,6 +4613,14 @@ export interface GetPatchBaselineResult {
|
|
|
4573
4613
|
* @public
|
|
4574
4614
|
*/
|
|
4575
4615
|
Sources?: PatchSource[] | undefined;
|
|
4616
|
+
/**
|
|
4617
|
+
* <p>Indicates the compliance status of managed nodes for which security-related patches are
|
|
4618
|
+
* available but were not approved. This preference is specified when the
|
|
4619
|
+
* <code>CreatePatchBaseline</code> or <code>UpdatePatchBaseline</code> commands are run.</p>
|
|
4620
|
+
* <p>Applies to Windows Server managed nodes only.</p>
|
|
4621
|
+
* @public
|
|
4622
|
+
*/
|
|
4623
|
+
AvailableSecurityUpdatesComplianceStatus?: PatchComplianceStatus | undefined;
|
|
4576
4624
|
}
|
|
4577
4625
|
/**
|
|
4578
4626
|
* @public
|
|
@@ -8081,7 +8129,8 @@ export interface ModifyDocumentPermissionRequest {
|
|
|
8081
8129
|
PermissionType: DocumentPermissionType | undefined;
|
|
8082
8130
|
/**
|
|
8083
8131
|
* <p>The Amazon Web Services users that should have access to the document. The account IDs can either be a
|
|
8084
|
-
* group of account IDs or <i>All</i>.
|
|
8132
|
+
* group of account IDs or <i>All</i>. You must specify a value for this parameter or
|
|
8133
|
+
* the <code>AccountIdsToRemove</code> parameter.</p>
|
|
8085
8134
|
* @public
|
|
8086
8135
|
*/
|
|
8087
8136
|
AccountIdsToAdd?: string[] | undefined;
|
|
@@ -8089,7 +8138,8 @@ export interface ModifyDocumentPermissionRequest {
|
|
|
8089
8138
|
* <p>The Amazon Web Services users that should no longer have access to the document. The Amazon Web Services user
|
|
8090
8139
|
* can either be a group of account IDs or <i>All</i>. This action has a higher
|
|
8091
8140
|
* priority than <code>AccountIdsToAdd</code>. If you specify an ID to add and the same ID to
|
|
8092
|
-
* remove, the system removes access to the document.
|
|
8141
|
+
* remove, the system removes access to the document. You must specify a value for this parameter or
|
|
8142
|
+
* the <code>AccountIdsToAdd</code> parameter.</p>
|
|
8093
8143
|
* @public
|
|
8094
8144
|
*/
|
|
8095
8145
|
AccountIdsToRemove?: string[] | undefined;
|
|
@@ -8621,10 +8671,13 @@ export interface PutParameterRequest {
|
|
|
8621
8671
|
* </ul>
|
|
8622
8672
|
* <p>For additional information about valid values for parameter names, see <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-su-create.html">Creating Systems Manager parameters</a> in the <i>Amazon Web Services Systems Manager User Guide</i>.</p>
|
|
8623
8673
|
* <note>
|
|
8624
|
-
* <p>The maximum length
|
|
8625
|
-
* reserved for internal use by Systems Manager. The maximum length for a parameter name
|
|
8626
|
-
*
|
|
8627
|
-
*
|
|
8674
|
+
* <p>The reported maximum length of 2048 characters for a parameter name includes 1037
|
|
8675
|
+
* characters that are reserved for internal use by Systems Manager. The maximum length for a parameter name
|
|
8676
|
+
* that you specify is 1011 characters.</p>
|
|
8677
|
+
* <p>This count of 1011 characters includes the characters in the ARN that precede the name you
|
|
8678
|
+
* specify. This ARN length will vary depending on your partition and Region. For example, the
|
|
8679
|
+
* following 45 characters count toward the 1011 character maximum for a parameter created in the
|
|
8680
|
+
* US East (Ohio) Region: <code>arn:aws:ssm:us-east-2:111122223333:parameter/</code>.</p>
|
|
8628
8681
|
* </note>
|
|
8629
8682
|
* @public
|
|
8630
8683
|
*/
|
|
@@ -9326,68 +9379,6 @@ export interface RemoveTagsFromResourceRequest {
|
|
|
9326
9379
|
*/
|
|
9327
9380
|
export interface RemoveTagsFromResourceResult {
|
|
9328
9381
|
}
|
|
9329
|
-
/**
|
|
9330
|
-
* <p>The request body of the ResetServiceSetting API operation.</p>
|
|
9331
|
-
* @public
|
|
9332
|
-
*/
|
|
9333
|
-
export interface ResetServiceSettingRequest {
|
|
9334
|
-
/**
|
|
9335
|
-
* <p>The Amazon Resource Name (ARN) of the service setting to reset. The setting ID can be one of
|
|
9336
|
-
* the following.</p>
|
|
9337
|
-
* <ul>
|
|
9338
|
-
* <li>
|
|
9339
|
-
* <p>
|
|
9340
|
-
* <code>/ssm/appmanager/appmanager-enabled</code>
|
|
9341
|
-
* </p>
|
|
9342
|
-
* </li>
|
|
9343
|
-
* <li>
|
|
9344
|
-
* <p>
|
|
9345
|
-
* <code>/ssm/automation/customer-script-log-destination</code>
|
|
9346
|
-
* </p>
|
|
9347
|
-
* </li>
|
|
9348
|
-
* <li>
|
|
9349
|
-
* <p>
|
|
9350
|
-
* <code>/ssm/automation/customer-script-log-group-name</code>
|
|
9351
|
-
* </p>
|
|
9352
|
-
* </li>
|
|
9353
|
-
* <li>
|
|
9354
|
-
* <p>/ssm/automation/enable-adaptive-concurrency</p>
|
|
9355
|
-
* </li>
|
|
9356
|
-
* <li>
|
|
9357
|
-
* <p>
|
|
9358
|
-
* <code>/ssm/documents/console/public-sharing-permission</code>
|
|
9359
|
-
* </p>
|
|
9360
|
-
* </li>
|
|
9361
|
-
* <li>
|
|
9362
|
-
* <p>
|
|
9363
|
-
* <code>/ssm/managed-instance/activation-tier</code>
|
|
9364
|
-
* </p>
|
|
9365
|
-
* </li>
|
|
9366
|
-
* <li>
|
|
9367
|
-
* <p>
|
|
9368
|
-
* <code>/ssm/managed-instance/default-ec2-instance-management-role</code>
|
|
9369
|
-
* </p>
|
|
9370
|
-
* </li>
|
|
9371
|
-
* <li>
|
|
9372
|
-
* <p>
|
|
9373
|
-
* <code>/ssm/opsinsights/opscenter</code>
|
|
9374
|
-
* </p>
|
|
9375
|
-
* </li>
|
|
9376
|
-
* <li>
|
|
9377
|
-
* <p>
|
|
9378
|
-
* <code>/ssm/parameter-store/default-parameter-tier</code>
|
|
9379
|
-
* </p>
|
|
9380
|
-
* </li>
|
|
9381
|
-
* <li>
|
|
9382
|
-
* <p>
|
|
9383
|
-
* <code>/ssm/parameter-store/high-throughput-enabled</code>
|
|
9384
|
-
* </p>
|
|
9385
|
-
* </li>
|
|
9386
|
-
* </ul>
|
|
9387
|
-
* @public
|
|
9388
|
-
*/
|
|
9389
|
-
SettingId: string | undefined;
|
|
9390
|
-
}
|
|
9391
9382
|
/**
|
|
9392
9383
|
* @internal
|
|
9393
9384
|
*/
|
|
@@ -1,7 +1,69 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { AlarmConfiguration, AssociationComplianceSeverity, AssociationDescription, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, DocumentDescription, DocumentFormat, DocumentHashType, ExecutionMode, InstanceAssociationOutputLocation, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Runbook, Tag, Target, TargetLocation } from "./models_0";
|
|
2
|
+
import { AlarmConfiguration, AssociationComplianceSeverity, AssociationDescription, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, DocumentDescription, DocumentFormat, DocumentHashType, ExecutionMode, InstanceAssociationOutputLocation, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchComplianceStatus, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Runbook, Tag, Target, TargetLocation } from "./models_0";
|
|
3
3
|
import { CloudWatchOutputConfig, Command, DocumentReviewCommentSource, InventoryFilter, InventoryGroup, LoggingInfo, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskInvocationParameters, MaintenanceWindowTaskParameterValueExpression, NodeAggregatorType, NodeAttributeName, NodeFilter, NodeTypeName, NotificationConfig, OpsFilter, OpsItemStatus, OpsResultAttribute, ResultAttribute, ServiceSetting } from "./models_1";
|
|
4
4
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* <p>The request body of the ResetServiceSetting API operation.</p>
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export interface ResetServiceSettingRequest {
|
|
10
|
+
/**
|
|
11
|
+
* <p>The Amazon Resource Name (ARN) of the service setting to reset. The setting ID can be one of
|
|
12
|
+
* the following.</p>
|
|
13
|
+
* <ul>
|
|
14
|
+
* <li>
|
|
15
|
+
* <p>
|
|
16
|
+
* <code>/ssm/appmanager/appmanager-enabled</code>
|
|
17
|
+
* </p>
|
|
18
|
+
* </li>
|
|
19
|
+
* <li>
|
|
20
|
+
* <p>
|
|
21
|
+
* <code>/ssm/automation/customer-script-log-destination</code>
|
|
22
|
+
* </p>
|
|
23
|
+
* </li>
|
|
24
|
+
* <li>
|
|
25
|
+
* <p>
|
|
26
|
+
* <code>/ssm/automation/customer-script-log-group-name</code>
|
|
27
|
+
* </p>
|
|
28
|
+
* </li>
|
|
29
|
+
* <li>
|
|
30
|
+
* <p>/ssm/automation/enable-adaptive-concurrency</p>
|
|
31
|
+
* </li>
|
|
32
|
+
* <li>
|
|
33
|
+
* <p>
|
|
34
|
+
* <code>/ssm/documents/console/public-sharing-permission</code>
|
|
35
|
+
* </p>
|
|
36
|
+
* </li>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>
|
|
39
|
+
* <code>/ssm/managed-instance/activation-tier</code>
|
|
40
|
+
* </p>
|
|
41
|
+
* </li>
|
|
42
|
+
* <li>
|
|
43
|
+
* <p>
|
|
44
|
+
* <code>/ssm/managed-instance/default-ec2-instance-management-role</code>
|
|
45
|
+
* </p>
|
|
46
|
+
* </li>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>
|
|
49
|
+
* <code>/ssm/opsinsights/opscenter</code>
|
|
50
|
+
* </p>
|
|
51
|
+
* </li>
|
|
52
|
+
* <li>
|
|
53
|
+
* <p>
|
|
54
|
+
* <code>/ssm/parameter-store/default-parameter-tier</code>
|
|
55
|
+
* </p>
|
|
56
|
+
* </li>
|
|
57
|
+
* <li>
|
|
58
|
+
* <p>
|
|
59
|
+
* <code>/ssm/parameter-store/high-throughput-enabled</code>
|
|
60
|
+
* </p>
|
|
61
|
+
* </li>
|
|
62
|
+
* </ul>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
SettingId: string | undefined;
|
|
66
|
+
}
|
|
5
67
|
/**
|
|
6
68
|
* <p>The result body of the ResetServiceSetting API operation.</p>
|
|
7
69
|
* @public
|
|
@@ -2311,6 +2373,18 @@ export interface UpdatePatchBaselineRequest {
|
|
|
2311
2373
|
* @public
|
|
2312
2374
|
*/
|
|
2313
2375
|
Sources?: PatchSource[] | undefined;
|
|
2376
|
+
/**
|
|
2377
|
+
* <p>Indicates the status to be assigned to security patches that are available but not approved
|
|
2378
|
+
* because they don't meet the installation criteria specified in the patch baseline.</p>
|
|
2379
|
+
* <p>Example scenario: Security patches that you might want installed can be skipped if you have
|
|
2380
|
+
* specified a long period to wait after a patch is released before installation. If an update to
|
|
2381
|
+
* the patch is released during your specified waiting period, the waiting period for installing the
|
|
2382
|
+
* patch starts over. If the waiting period is too long, multiple versions of the patch could be
|
|
2383
|
+
* released but never installed.</p>
|
|
2384
|
+
* <p>Supported for Windows Server managed nodes only.</p>
|
|
2385
|
+
* @public
|
|
2386
|
+
*/
|
|
2387
|
+
AvailableSecurityUpdatesComplianceStatus?: PatchComplianceStatus | undefined;
|
|
2314
2388
|
/**
|
|
2315
2389
|
* <p>If True, then all fields that are required by the <a>CreatePatchBaseline</a>
|
|
2316
2390
|
* operation are also required for this API request. Optional fields that aren't specified are set
|
|
@@ -2399,6 +2473,14 @@ export interface UpdatePatchBaselineResult {
|
|
|
2399
2473
|
* @public
|
|
2400
2474
|
*/
|
|
2401
2475
|
Sources?: PatchSource[] | undefined;
|
|
2476
|
+
/**
|
|
2477
|
+
* <p>Indicates the compliance status of managed nodes for which security-related patches are
|
|
2478
|
+
* available but were not approved. This preference is specified when the
|
|
2479
|
+
* <code>CreatePatchBaseline</code> or <code>UpdatePatchBaseline</code> commands are run.</p>
|
|
2480
|
+
* <p>Applies to Windows Server managed nodes only.</p>
|
|
2481
|
+
* @public
|
|
2482
|
+
*/
|
|
2483
|
+
AvailableSecurityUpdatesComplianceStatus?: PatchComplianceStatus | undefined;
|
|
2402
2484
|
}
|
|
2403
2485
|
/**
|
|
2404
2486
|
* <p>Another <code>UpdateResourceDataSync</code> request is being processed. Wait a few minutes
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import {
|
|
4
|
+
ResetServiceSettingRequest,
|
|
5
|
+
ResetServiceSettingResult,
|
|
6
|
+
} from "../models/models_2";
|
|
5
7
|
import {
|
|
6
8
|
ServiceInputTypes,
|
|
7
9
|
ServiceOutputTypes,
|
|
@@ -805,6 +805,12 @@ export interface PatchRule {
|
|
|
805
805
|
export interface PatchRuleGroup {
|
|
806
806
|
PatchRules: PatchRule[] | undefined;
|
|
807
807
|
}
|
|
808
|
+
export declare const PatchComplianceStatus: {
|
|
809
|
+
readonly Compliant: "COMPLIANT";
|
|
810
|
+
readonly NonCompliant: "NON_COMPLIANT";
|
|
811
|
+
};
|
|
812
|
+
export type PatchComplianceStatus =
|
|
813
|
+
(typeof PatchComplianceStatus)[keyof typeof PatchComplianceStatus];
|
|
808
814
|
export declare const OperatingSystem: {
|
|
809
815
|
readonly AlmaLinux: "ALMA_LINUX";
|
|
810
816
|
readonly AmazonLinux: "AMAZON_LINUX";
|
|
@@ -846,6 +852,7 @@ export interface CreatePatchBaselineRequest {
|
|
|
846
852
|
RejectedPatchesAction?: PatchAction | undefined;
|
|
847
853
|
Description?: string | undefined;
|
|
848
854
|
Sources?: PatchSource[] | undefined;
|
|
855
|
+
AvailableSecurityUpdatesComplianceStatus?: PatchComplianceStatus | undefined;
|
|
849
856
|
ClientToken?: string | undefined;
|
|
850
857
|
Tags?: Tag[] | undefined;
|
|
851
858
|
}
|
|
@@ -1787,6 +1794,7 @@ export interface DescribeInstancePatchesRequest {
|
|
|
1787
1794
|
MaxResults?: number | undefined;
|
|
1788
1795
|
}
|
|
1789
1796
|
export declare const PatchComplianceDataState: {
|
|
1797
|
+
readonly AvailableSecurityUpdate: "AVAILABLE_SECURITY_UPDATE";
|
|
1790
1798
|
readonly Failed: "FAILED";
|
|
1791
1799
|
readonly Installed: "INSTALLED";
|
|
1792
1800
|
readonly InstalledOther: "INSTALLED_OTHER";
|
|
@@ -1841,6 +1849,7 @@ export interface InstancePatchState {
|
|
|
1841
1849
|
FailedCount?: number | undefined;
|
|
1842
1850
|
UnreportedNotApplicableCount?: number | undefined;
|
|
1843
1851
|
NotApplicableCount?: number | undefined;
|
|
1852
|
+
AvailableSecurityUpdateCount?: number | undefined;
|
|
1844
1853
|
OperationStartTime: Date | undefined;
|
|
1845
1854
|
OperationEndTime: Date | undefined;
|
|
1846
1855
|
Operation: PatchOperationType | undefined;
|
|
@@ -2118,11 +2127,6 @@ export interface DescribeMaintenanceWindowScheduleRequest {
|
|
|
2118
2127
|
MaxResults?: number | undefined;
|
|
2119
2128
|
NextToken?: string | undefined;
|
|
2120
2129
|
}
|
|
2121
|
-
export interface ScheduledWindowExecution {
|
|
2122
|
-
WindowId?: string | undefined;
|
|
2123
|
-
Name?: string | undefined;
|
|
2124
|
-
ExecutionTime?: string | undefined;
|
|
2125
|
-
}
|
|
2126
2130
|
export declare const CreateAssociationRequestFilterSensitiveLog: (
|
|
2127
2131
|
obj: CreateAssociationRequest
|
|
2128
2132
|
) => any;
|
|
@@ -25,6 +25,7 @@ import {
|
|
|
25
25
|
OpsItemNotification,
|
|
26
26
|
PatchAction,
|
|
27
27
|
PatchComplianceLevel,
|
|
28
|
+
PatchComplianceStatus,
|
|
28
29
|
PatchFilterGroup,
|
|
29
30
|
PatchOrchestratorFilter,
|
|
30
31
|
PatchRuleGroup,
|
|
@@ -38,13 +39,17 @@ import {
|
|
|
38
39
|
ResourceTypeForTagging,
|
|
39
40
|
ReviewStatus,
|
|
40
41
|
Runbook,
|
|
41
|
-
ScheduledWindowExecution,
|
|
42
42
|
StepExecution,
|
|
43
43
|
Tag,
|
|
44
44
|
Target,
|
|
45
45
|
TargetLocation,
|
|
46
46
|
} from "./models_0";
|
|
47
47
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
48
|
+
export interface ScheduledWindowExecution {
|
|
49
|
+
WindowId?: string | undefined;
|
|
50
|
+
Name?: string | undefined;
|
|
51
|
+
ExecutionTime?: string | undefined;
|
|
52
|
+
}
|
|
48
53
|
export interface DescribeMaintenanceWindowScheduleResult {
|
|
49
54
|
ScheduledWindowExecutions?: ScheduledWindowExecution[] | undefined;
|
|
50
55
|
NextToken?: string | undefined;
|
|
@@ -330,6 +335,7 @@ export interface DescribePatchGroupStateResult {
|
|
|
330
335
|
InstancesWithCriticalNonCompliantPatches?: number | undefined;
|
|
331
336
|
InstancesWithSecurityNonCompliantPatches?: number | undefined;
|
|
332
337
|
InstancesWithOtherNonCompliantPatches?: number | undefined;
|
|
338
|
+
InstancesWithAvailableSecurityUpdates?: number | undefined;
|
|
333
339
|
}
|
|
334
340
|
export declare const PatchSet: {
|
|
335
341
|
readonly Application: "APPLICATION";
|
|
@@ -589,6 +595,7 @@ export interface BaselineOverride {
|
|
|
589
595
|
RejectedPatchesAction?: PatchAction | undefined;
|
|
590
596
|
ApprovedPatchesEnableNonSecurity?: boolean | undefined;
|
|
591
597
|
Sources?: PatchSource[] | undefined;
|
|
598
|
+
AvailableSecurityUpdatesComplianceStatus?: PatchComplianceStatus | undefined;
|
|
592
599
|
}
|
|
593
600
|
export interface GetDeployablePatchSnapshotForInstanceRequest {
|
|
594
601
|
InstanceId: string | undefined;
|
|
@@ -1105,6 +1112,7 @@ export interface GetPatchBaselineResult {
|
|
|
1105
1112
|
ModifiedDate?: Date | undefined;
|
|
1106
1113
|
Description?: string | undefined;
|
|
1107
1114
|
Sources?: PatchSource[] | undefined;
|
|
1115
|
+
AvailableSecurityUpdatesComplianceStatus?: PatchComplianceStatus | undefined;
|
|
1108
1116
|
}
|
|
1109
1117
|
export interface GetPatchBaselineForPatchGroupRequest {
|
|
1110
1118
|
PatchGroup: string | undefined;
|
|
@@ -2194,9 +2202,6 @@ export interface RemoveTagsFromResourceRequest {
|
|
|
2194
2202
|
TagKeys: string[] | undefined;
|
|
2195
2203
|
}
|
|
2196
2204
|
export interface RemoveTagsFromResourceResult {}
|
|
2197
|
-
export interface ResetServiceSettingRequest {
|
|
2198
|
-
SettingId: string | undefined;
|
|
2199
|
-
}
|
|
2200
2205
|
export declare const MaintenanceWindowTargetFilterSensitiveLog: (
|
|
2201
2206
|
obj: MaintenanceWindowTarget
|
|
2202
2207
|
) => any;
|
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
OpsItemNotification,
|
|
18
18
|
PatchAction,
|
|
19
19
|
PatchComplianceLevel,
|
|
20
|
+
PatchComplianceStatus,
|
|
20
21
|
PatchFilterGroup,
|
|
21
22
|
PatchRuleGroup,
|
|
22
23
|
PatchSource,
|
|
@@ -49,6 +50,9 @@ import {
|
|
|
49
50
|
ServiceSetting,
|
|
50
51
|
} from "./models_1";
|
|
51
52
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
53
|
+
export interface ResetServiceSettingRequest {
|
|
54
|
+
SettingId: string | undefined;
|
|
55
|
+
}
|
|
52
56
|
export interface ResetServiceSettingResult {
|
|
53
57
|
ServiceSetting?: ServiceSetting | undefined;
|
|
54
58
|
}
|
|
@@ -602,6 +606,7 @@ export interface UpdatePatchBaselineRequest {
|
|
|
602
606
|
RejectedPatchesAction?: PatchAction | undefined;
|
|
603
607
|
Description?: string | undefined;
|
|
604
608
|
Sources?: PatchSource[] | undefined;
|
|
609
|
+
AvailableSecurityUpdatesComplianceStatus?: PatchComplianceStatus | undefined;
|
|
605
610
|
Replace?: boolean | undefined;
|
|
606
611
|
}
|
|
607
612
|
export interface UpdatePatchBaselineResult {
|
|
@@ -619,6 +624,7 @@ export interface UpdatePatchBaselineResult {
|
|
|
619
624
|
ModifiedDate?: Date | undefined;
|
|
620
625
|
Description?: string | undefined;
|
|
621
626
|
Sources?: PatchSource[] | undefined;
|
|
627
|
+
AvailableSecurityUpdatesComplianceStatus?: PatchComplianceStatus | undefined;
|
|
622
628
|
}
|
|
623
629
|
export declare class ResourceDataSyncConflictException extends __BaseException {
|
|
624
630
|
readonly name: "ResourceDataSyncConflictException";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.775.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ssm",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.0
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.0.
|
|
37
|
-
"@smithy/hash-node": "^4.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0
|
|
41
|
-
"@smithy/middleware-retry": "^4.0
|
|
42
|
-
"@smithy/middleware-serde": "^4.0.
|
|
43
|
-
"@smithy/middleware-stack": "^4.0.
|
|
44
|
-
"@smithy/node-config-provider": "^4.0.
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
46
|
-
"@smithy/protocol-http": "^5.0
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.0.
|
|
23
|
+
"@aws-sdk/core": "3.775.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.775.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.775.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
|
+
"@aws-sdk/types": "3.775.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.775.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.775.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.1.0",
|
|
35
|
+
"@smithy/core": "^3.2.0",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.0.2",
|
|
37
|
+
"@smithy/hash-node": "^4.0.2",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.0.2",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.0.2",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.0",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.0",
|
|
42
|
+
"@smithy/middleware-serde": "^4.0.3",
|
|
43
|
+
"@smithy/middleware-stack": "^4.0.2",
|
|
44
|
+
"@smithy/node-config-provider": "^4.0.2",
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.4",
|
|
46
|
+
"@smithy/protocol-http": "^5.1.0",
|
|
47
|
+
"@smithy/smithy-client": "^4.2.0",
|
|
48
|
+
"@smithy/types": "^4.2.0",
|
|
49
|
+
"@smithy/url-parser": "^4.0.2",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
55
|
-
"@smithy/util-endpoints": "^3.0.
|
|
56
|
-
"@smithy/util-middleware": "^4.0.
|
|
57
|
-
"@smithy/util-retry": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.8",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.8",
|
|
55
|
+
"@smithy/util-endpoints": "^3.0.2",
|
|
56
|
+
"@smithy/util-middleware": "^4.0.2",
|
|
57
|
+
"@smithy/util-retry": "^4.0.2",
|
|
58
58
|
"@smithy/util-utf8": "^4.0.0",
|
|
59
|
-
"@smithy/util-waiter": "^4.0.
|
|
59
|
+
"@smithy/util-waiter": "^4.0.3",
|
|
60
60
|
"@types/uuid": "^9.0.1",
|
|
61
61
|
"tslib": "^2.6.2",
|
|
62
62
|
"uuid": "^9.0.1"
|