@aws-sdk/client-ssm 3.696.0 → 3.699.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/README.md +39 -7
- package/dist-cjs/index.js +834 -437
- package/dist-es/SSM.js +8 -0
- package/dist-es/commands/GetExecutionPreviewCommand.js +22 -0
- package/dist-es/commands/ListNodesCommand.js +23 -0
- package/dist-es/commands/ListNodesSummaryCommand.js +22 -0
- package/dist-es/commands/SendCommandCommand.js +1 -1
- package/dist-es/commands/StartExecutionPreviewCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_1.js +99 -144
- package/dist-es/models/models_2.js +167 -1
- package/dist-es/pagination/ListNodesPaginator.js +4 -0
- package/dist-es/pagination/ListNodesSummaryPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +159 -3
- package/dist-types/SSM.d.ts +29 -0
- package/dist-types/SSMClient.d.ts +6 -2
- package/dist-types/commands/CreateResourceDataSyncCommand.d.ts +1 -1
- package/dist-types/commands/DeleteActivationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeActivationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancePatchesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancePropertiesCommand.d.ts +1 -1
- package/dist-types/commands/GetExecutionPreviewCommand.d.ts +127 -0
- package/dist-types/commands/GetInventoryCommand.d.ts +3 -4
- package/dist-types/commands/GetOpsSummaryCommand.d.ts +3 -4
- package/dist-types/commands/ListComplianceItemsCommand.d.ts +1 -1
- package/dist-types/commands/ListComplianceSummariesCommand.d.ts +1 -1
- package/dist-types/commands/ListInventoryEntriesCommand.d.ts +1 -1
- package/dist-types/commands/ListNodesCommand.d.ts +175 -0
- package/dist-types/commands/ListNodesSummaryCommand.d.ts +166 -0
- package/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +1 -1
- package/dist-types/commands/ResetServiceSettingCommand.d.ts +2 -1
- package/dist-types/commands/ResumeSessionCommand.d.ts +1 -1
- package/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
- package/dist-types/commands/SendCommandCommand.d.ts +1 -1
- package/dist-types/commands/StartAssociationsOnceCommand.d.ts +1 -1
- package/dist-types/commands/StartAutomationExecutionCommand.d.ts +1 -1
- package/dist-types/commands/StartExecutionPreviewCommand.d.ts +157 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +9 -4
- package/dist-types/models/models_1.d.ts +955 -989
- package/dist-types/models/models_2.d.ts +770 -5
- package/dist-types/pagination/ListNodesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNodesSummaryPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/SSM.d.ts +69 -0
- package/dist-types/ts3.4/SSMClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/GetExecutionPreviewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListNodesSummaryCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendCommandCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartExecutionPreviewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_1.d.ts +176 -170
- package/dist-types/ts3.4/models/models_2.d.ts +236 -0
- package/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNodesSummaryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/package.json +4 -4
package/dist-es/SSM.js
CHANGED
|
@@ -69,6 +69,7 @@ import { GetConnectionStatusCommand, } from "./commands/GetConnectionStatusComma
|
|
|
69
69
|
import { GetDefaultPatchBaselineCommand, } from "./commands/GetDefaultPatchBaselineCommand";
|
|
70
70
|
import { GetDeployablePatchSnapshotForInstanceCommand, } from "./commands/GetDeployablePatchSnapshotForInstanceCommand";
|
|
71
71
|
import { GetDocumentCommand } from "./commands/GetDocumentCommand";
|
|
72
|
+
import { GetExecutionPreviewCommand, } from "./commands/GetExecutionPreviewCommand";
|
|
72
73
|
import { GetInventoryCommand, } from "./commands/GetInventoryCommand";
|
|
73
74
|
import { GetInventorySchemaCommand, } from "./commands/GetInventorySchemaCommand";
|
|
74
75
|
import { GetMaintenanceWindowCommand, } from "./commands/GetMaintenanceWindowCommand";
|
|
@@ -98,6 +99,8 @@ import { ListDocumentMetadataHistoryCommand, } from "./commands/ListDocumentMeta
|
|
|
98
99
|
import { ListDocumentsCommand, } from "./commands/ListDocumentsCommand";
|
|
99
100
|
import { ListDocumentVersionsCommand, } from "./commands/ListDocumentVersionsCommand";
|
|
100
101
|
import { ListInventoryEntriesCommand, } from "./commands/ListInventoryEntriesCommand";
|
|
102
|
+
import { ListNodesCommand } from "./commands/ListNodesCommand";
|
|
103
|
+
import { ListNodesSummaryCommand, } from "./commands/ListNodesSummaryCommand";
|
|
101
104
|
import { ListOpsItemEventsCommand, } from "./commands/ListOpsItemEventsCommand";
|
|
102
105
|
import { ListOpsItemRelatedItemsCommand, } from "./commands/ListOpsItemRelatedItemsCommand";
|
|
103
106
|
import { ListOpsMetadataCommand, } from "./commands/ListOpsMetadataCommand";
|
|
@@ -121,6 +124,7 @@ import { SendCommandCommand } from "./commands/SendCommandCommand";
|
|
|
121
124
|
import { StartAssociationsOnceCommand, } from "./commands/StartAssociationsOnceCommand";
|
|
122
125
|
import { StartAutomationExecutionCommand, } from "./commands/StartAutomationExecutionCommand";
|
|
123
126
|
import { StartChangeRequestExecutionCommand, } from "./commands/StartChangeRequestExecutionCommand";
|
|
127
|
+
import { StartExecutionPreviewCommand, } from "./commands/StartExecutionPreviewCommand";
|
|
124
128
|
import { StartSessionCommand, } from "./commands/StartSessionCommand";
|
|
125
129
|
import { StopAutomationExecutionCommand, } from "./commands/StopAutomationExecutionCommand";
|
|
126
130
|
import { TerminateSessionCommand, } from "./commands/TerminateSessionCommand";
|
|
@@ -211,6 +215,7 @@ const commands = {
|
|
|
211
215
|
GetDefaultPatchBaselineCommand,
|
|
212
216
|
GetDeployablePatchSnapshotForInstanceCommand,
|
|
213
217
|
GetDocumentCommand,
|
|
218
|
+
GetExecutionPreviewCommand,
|
|
214
219
|
GetInventoryCommand,
|
|
215
220
|
GetInventorySchemaCommand,
|
|
216
221
|
GetMaintenanceWindowCommand,
|
|
@@ -240,6 +245,8 @@ const commands = {
|
|
|
240
245
|
ListDocumentsCommand,
|
|
241
246
|
ListDocumentVersionsCommand,
|
|
242
247
|
ListInventoryEntriesCommand,
|
|
248
|
+
ListNodesCommand,
|
|
249
|
+
ListNodesSummaryCommand,
|
|
243
250
|
ListOpsItemEventsCommand,
|
|
244
251
|
ListOpsItemRelatedItemsCommand,
|
|
245
252
|
ListOpsMetadataCommand,
|
|
@@ -263,6 +270,7 @@ const commands = {
|
|
|
263
270
|
StartAssociationsOnceCommand,
|
|
264
271
|
StartAutomationExecutionCommand,
|
|
265
272
|
StartChangeRequestExecutionCommand,
|
|
273
|
+
StartExecutionPreviewCommand,
|
|
266
274
|
StartSessionCommand,
|
|
267
275
|
StopAutomationExecutionCommand,
|
|
268
276
|
TerminateSessionCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetExecutionPreviewCommand, se_GetExecutionPreviewCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetExecutionPreviewCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonSSM", "GetExecutionPreview", {})
|
|
17
|
+
.n("SSMClient", "GetExecutionPreviewCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetExecutionPreviewCommand)
|
|
20
|
+
.de(de_GetExecutionPreviewCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ListNodesResultFilterSensitiveLog } from "../models/models_1";
|
|
6
|
+
import { de_ListNodesCommand, se_ListNodesCommand } from "../protocols/Aws_json1_1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ListNodesCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonSSM", "ListNodes", {})
|
|
18
|
+
.n("SSMClient", "ListNodesCommand")
|
|
19
|
+
.f(void 0, ListNodesResultFilterSensitiveLog)
|
|
20
|
+
.ser(se_ListNodesCommand)
|
|
21
|
+
.de(de_ListNodesCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListNodesSummaryCommand, se_ListNodesSummaryCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListNodesSummaryCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonSSM", "ListNodesSummary", {})
|
|
17
|
+
.n("SSMClient", "ListNodesSummaryCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListNodesSummaryCommand)
|
|
20
|
+
.de(de_ListNodesSummaryCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { SendCommandRequestFilterSensitiveLog, SendCommandResultFilterSensitiveLog, } from "../models/
|
|
5
|
+
import { SendCommandRequestFilterSensitiveLog, SendCommandResultFilterSensitiveLog, } from "../models/models_2";
|
|
6
6
|
import { de_SendCommandCommand, se_SendCommandCommand } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class SendCommandCommand extends $Command
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StartExecutionPreviewCommand, se_StartExecutionPreviewCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartExecutionPreviewCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonSSM", "StartExecutionPreview", {})
|
|
17
|
+
.n("SSMClient", "StartExecutionPreviewCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StartExecutionPreviewCommand)
|
|
20
|
+
.de(de_StartExecutionPreviewCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -68,6 +68,7 @@ export * from "./GetConnectionStatusCommand";
|
|
|
68
68
|
export * from "./GetDefaultPatchBaselineCommand";
|
|
69
69
|
export * from "./GetDeployablePatchSnapshotForInstanceCommand";
|
|
70
70
|
export * from "./GetDocumentCommand";
|
|
71
|
+
export * from "./GetExecutionPreviewCommand";
|
|
71
72
|
export * from "./GetInventoryCommand";
|
|
72
73
|
export * from "./GetInventorySchemaCommand";
|
|
73
74
|
export * from "./GetMaintenanceWindowCommand";
|
|
@@ -97,6 +98,8 @@ export * from "./ListDocumentMetadataHistoryCommand";
|
|
|
97
98
|
export * from "./ListDocumentVersionsCommand";
|
|
98
99
|
export * from "./ListDocumentsCommand";
|
|
99
100
|
export * from "./ListInventoryEntriesCommand";
|
|
101
|
+
export * from "./ListNodesCommand";
|
|
102
|
+
export * from "./ListNodesSummaryCommand";
|
|
100
103
|
export * from "./ListOpsItemEventsCommand";
|
|
101
104
|
export * from "./ListOpsItemRelatedItemsCommand";
|
|
102
105
|
export * from "./ListOpsMetadataCommand";
|
|
@@ -120,6 +123,7 @@ export * from "./SendCommandCommand";
|
|
|
120
123
|
export * from "./StartAssociationsOnceCommand";
|
|
121
124
|
export * from "./StartAutomationExecutionCommand";
|
|
122
125
|
export * from "./StartChangeRequestExecutionCommand";
|
|
126
|
+
export * from "./StartExecutionPreviewCommand";
|
|
123
127
|
export * from "./StartSessionCommand";
|
|
124
128
|
export * from "./StopAutomationExecutionCommand";
|
|
125
129
|
export * from "./TerminateSessionCommand";
|
|
@@ -218,6 +218,25 @@ export class UnsupportedFeatureRequiredException extends __BaseException {
|
|
|
218
218
|
export const AttachmentHashType = {
|
|
219
219
|
SHA256: "Sha256",
|
|
220
220
|
};
|
|
221
|
+
export const ImpactType = {
|
|
222
|
+
MUTATING: "Mutating",
|
|
223
|
+
NON_MUTATING: "NonMutating",
|
|
224
|
+
UNDETERMINED: "Undetermined",
|
|
225
|
+
};
|
|
226
|
+
export var ExecutionPreview;
|
|
227
|
+
(function (ExecutionPreview) {
|
|
228
|
+
ExecutionPreview.visit = (value, visitor) => {
|
|
229
|
+
if (value.Automation !== undefined)
|
|
230
|
+
return visitor.Automation(value.Automation);
|
|
231
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
232
|
+
};
|
|
233
|
+
})(ExecutionPreview || (ExecutionPreview = {}));
|
|
234
|
+
export const ExecutionPreviewStatus = {
|
|
235
|
+
FAILED: "Failed",
|
|
236
|
+
IN_PROGRESS: "InProgress",
|
|
237
|
+
PENDING: "Pending",
|
|
238
|
+
SUCCESS: "Success",
|
|
239
|
+
};
|
|
221
240
|
export const InventoryQueryOperatorType = {
|
|
222
241
|
BEGIN_WITH: "BeginWith",
|
|
223
242
|
EQUAL: "Equal",
|
|
@@ -403,6 +422,68 @@ export const DocumentFilterKey = {
|
|
|
403
422
|
Owner: "Owner",
|
|
404
423
|
PlatformTypes: "PlatformTypes",
|
|
405
424
|
};
|
|
425
|
+
export const NodeFilterKey = {
|
|
426
|
+
ACCOUNT_ID: "AccountId",
|
|
427
|
+
AGENT_TYPE: "AgentType",
|
|
428
|
+
AGENT_VERSION: "AgentVersion",
|
|
429
|
+
COMPUTER_NAME: "ComputerName",
|
|
430
|
+
INSTANCE_ID: "InstanceId",
|
|
431
|
+
INSTANCE_STATUS: "InstanceStatus",
|
|
432
|
+
IP_ADDRESS: "IpAddress",
|
|
433
|
+
MANAGED_STATUS: "ManagedStatus",
|
|
434
|
+
ORGANIZATIONAL_UNIT_ID: "OrganizationalUnitId",
|
|
435
|
+
ORGANIZATIONAL_UNIT_PATH: "OrganizationalUnitPath",
|
|
436
|
+
PLATFORM_NAME: "PlatformName",
|
|
437
|
+
PLATFORM_TYPE: "PlatformType",
|
|
438
|
+
PLATFORM_VERSION: "PlatformVersion",
|
|
439
|
+
REGION: "Region",
|
|
440
|
+
RESOURCE_TYPE: "ResourceType",
|
|
441
|
+
};
|
|
442
|
+
export const NodeFilterOperatorType = {
|
|
443
|
+
BEGIN_WITH: "BeginWith",
|
|
444
|
+
EQUAL: "Equal",
|
|
445
|
+
NOT_EQUAL: "NotEqual",
|
|
446
|
+
};
|
|
447
|
+
export const ManagedStatus = {
|
|
448
|
+
ALL: "All",
|
|
449
|
+
MANAGED: "Managed",
|
|
450
|
+
UNMANAGED: "Unmanaged",
|
|
451
|
+
};
|
|
452
|
+
export var NodeType;
|
|
453
|
+
(function (NodeType) {
|
|
454
|
+
NodeType.visit = (value, visitor) => {
|
|
455
|
+
if (value.Instance !== undefined)
|
|
456
|
+
return visitor.Instance(value.Instance);
|
|
457
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
458
|
+
};
|
|
459
|
+
})(NodeType || (NodeType = {}));
|
|
460
|
+
export class UnsupportedOperationException extends __BaseException {
|
|
461
|
+
constructor(opts) {
|
|
462
|
+
super({
|
|
463
|
+
name: "UnsupportedOperationException",
|
|
464
|
+
$fault: "client",
|
|
465
|
+
...opts,
|
|
466
|
+
});
|
|
467
|
+
this.name = "UnsupportedOperationException";
|
|
468
|
+
this.$fault = "client";
|
|
469
|
+
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
470
|
+
this.Message = opts.Message;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
export const NodeAggregatorType = {
|
|
474
|
+
COUNT: "Count",
|
|
475
|
+
};
|
|
476
|
+
export const NodeAttributeName = {
|
|
477
|
+
AGENT_VERSION: "AgentVersion",
|
|
478
|
+
PLATFORM_NAME: "PlatformName",
|
|
479
|
+
PLATFORM_TYPE: "PlatformType",
|
|
480
|
+
PLATFORM_VERSION: "PlatformVersion",
|
|
481
|
+
REGION: "Region",
|
|
482
|
+
RESOURCE_TYPE: "ResourceType",
|
|
483
|
+
};
|
|
484
|
+
export const NodeTypeName = {
|
|
485
|
+
INSTANCE: "Instance",
|
|
486
|
+
};
|
|
406
487
|
export const OpsItemEventFilterKey = {
|
|
407
488
|
OPSITEM_ID: "OpsItemId",
|
|
408
489
|
};
|
|
@@ -745,142 +826,6 @@ export class FeatureNotAvailableException extends __BaseException {
|
|
|
745
826
|
this.Message = opts.Message;
|
|
746
827
|
}
|
|
747
828
|
}
|
|
748
|
-
export class AutomationStepNotFoundException extends __BaseException {
|
|
749
|
-
constructor(opts) {
|
|
750
|
-
super({
|
|
751
|
-
name: "AutomationStepNotFoundException",
|
|
752
|
-
$fault: "client",
|
|
753
|
-
...opts,
|
|
754
|
-
});
|
|
755
|
-
this.name = "AutomationStepNotFoundException";
|
|
756
|
-
this.$fault = "client";
|
|
757
|
-
Object.setPrototypeOf(this, AutomationStepNotFoundException.prototype);
|
|
758
|
-
this.Message = opts.Message;
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
export class InvalidAutomationSignalException extends __BaseException {
|
|
762
|
-
constructor(opts) {
|
|
763
|
-
super({
|
|
764
|
-
name: "InvalidAutomationSignalException",
|
|
765
|
-
$fault: "client",
|
|
766
|
-
...opts,
|
|
767
|
-
});
|
|
768
|
-
this.name = "InvalidAutomationSignalException";
|
|
769
|
-
this.$fault = "client";
|
|
770
|
-
Object.setPrototypeOf(this, InvalidAutomationSignalException.prototype);
|
|
771
|
-
this.Message = opts.Message;
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
export const SignalType = {
|
|
775
|
-
APPROVE: "Approve",
|
|
776
|
-
REJECT: "Reject",
|
|
777
|
-
RESUME: "Resume",
|
|
778
|
-
START_STEP: "StartStep",
|
|
779
|
-
STOP_STEP: "StopStep",
|
|
780
|
-
};
|
|
781
|
-
export class InvalidNotificationConfig extends __BaseException {
|
|
782
|
-
constructor(opts) {
|
|
783
|
-
super({
|
|
784
|
-
name: "InvalidNotificationConfig",
|
|
785
|
-
$fault: "client",
|
|
786
|
-
...opts,
|
|
787
|
-
});
|
|
788
|
-
this.name = "InvalidNotificationConfig";
|
|
789
|
-
this.$fault = "client";
|
|
790
|
-
Object.setPrototypeOf(this, InvalidNotificationConfig.prototype);
|
|
791
|
-
this.Message = opts.Message;
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
export class InvalidOutputFolder extends __BaseException {
|
|
795
|
-
constructor(opts) {
|
|
796
|
-
super({
|
|
797
|
-
name: "InvalidOutputFolder",
|
|
798
|
-
$fault: "client",
|
|
799
|
-
...opts,
|
|
800
|
-
});
|
|
801
|
-
this.name = "InvalidOutputFolder";
|
|
802
|
-
this.$fault = "client";
|
|
803
|
-
Object.setPrototypeOf(this, InvalidOutputFolder.prototype);
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
export class InvalidRole extends __BaseException {
|
|
807
|
-
constructor(opts) {
|
|
808
|
-
super({
|
|
809
|
-
name: "InvalidRole",
|
|
810
|
-
$fault: "client",
|
|
811
|
-
...opts,
|
|
812
|
-
});
|
|
813
|
-
this.name = "InvalidRole";
|
|
814
|
-
this.$fault = "client";
|
|
815
|
-
Object.setPrototypeOf(this, InvalidRole.prototype);
|
|
816
|
-
this.Message = opts.Message;
|
|
817
|
-
}
|
|
818
|
-
}
|
|
819
|
-
export class InvalidAssociation extends __BaseException {
|
|
820
|
-
constructor(opts) {
|
|
821
|
-
super({
|
|
822
|
-
name: "InvalidAssociation",
|
|
823
|
-
$fault: "client",
|
|
824
|
-
...opts,
|
|
825
|
-
});
|
|
826
|
-
this.name = "InvalidAssociation";
|
|
827
|
-
this.$fault = "client";
|
|
828
|
-
Object.setPrototypeOf(this, InvalidAssociation.prototype);
|
|
829
|
-
this.Message = opts.Message;
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
export class AutomationDefinitionNotFoundException extends __BaseException {
|
|
833
|
-
constructor(opts) {
|
|
834
|
-
super({
|
|
835
|
-
name: "AutomationDefinitionNotFoundException",
|
|
836
|
-
$fault: "client",
|
|
837
|
-
...opts,
|
|
838
|
-
});
|
|
839
|
-
this.name = "AutomationDefinitionNotFoundException";
|
|
840
|
-
this.$fault = "client";
|
|
841
|
-
Object.setPrototypeOf(this, AutomationDefinitionNotFoundException.prototype);
|
|
842
|
-
this.Message = opts.Message;
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
export class AutomationDefinitionVersionNotFoundException extends __BaseException {
|
|
846
|
-
constructor(opts) {
|
|
847
|
-
super({
|
|
848
|
-
name: "AutomationDefinitionVersionNotFoundException",
|
|
849
|
-
$fault: "client",
|
|
850
|
-
...opts,
|
|
851
|
-
});
|
|
852
|
-
this.name = "AutomationDefinitionVersionNotFoundException";
|
|
853
|
-
this.$fault = "client";
|
|
854
|
-
Object.setPrototypeOf(this, AutomationDefinitionVersionNotFoundException.prototype);
|
|
855
|
-
this.Message = opts.Message;
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
export class AutomationExecutionLimitExceededException extends __BaseException {
|
|
859
|
-
constructor(opts) {
|
|
860
|
-
super({
|
|
861
|
-
name: "AutomationExecutionLimitExceededException",
|
|
862
|
-
$fault: "client",
|
|
863
|
-
...opts,
|
|
864
|
-
});
|
|
865
|
-
this.name = "AutomationExecutionLimitExceededException";
|
|
866
|
-
this.$fault = "client";
|
|
867
|
-
Object.setPrototypeOf(this, AutomationExecutionLimitExceededException.prototype);
|
|
868
|
-
this.Message = opts.Message;
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
|
-
export class InvalidAutomationExecutionParametersException extends __BaseException {
|
|
872
|
-
constructor(opts) {
|
|
873
|
-
super({
|
|
874
|
-
name: "InvalidAutomationExecutionParametersException",
|
|
875
|
-
$fault: "client",
|
|
876
|
-
...opts,
|
|
877
|
-
});
|
|
878
|
-
this.name = "InvalidAutomationExecutionParametersException";
|
|
879
|
-
this.$fault = "client";
|
|
880
|
-
Object.setPrototypeOf(this, InvalidAutomationExecutionParametersException.prototype);
|
|
881
|
-
this.Message = opts.Message;
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
829
|
export const MaintenanceWindowTargetFilterSensitiveLog = (obj) => ({
|
|
885
830
|
...obj,
|
|
886
831
|
...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }),
|
|
@@ -997,6 +942,24 @@ export const ListCommandsResultFilterSensitiveLog = (obj) => ({
|
|
|
997
942
|
...obj,
|
|
998
943
|
...(obj.Commands && { Commands: obj.Commands.map((item) => CommandFilterSensitiveLog(item)) }),
|
|
999
944
|
});
|
|
945
|
+
export const InstanceInfoFilterSensitiveLog = (obj) => ({
|
|
946
|
+
...obj,
|
|
947
|
+
...(obj.IpAddress && { IpAddress: SENSITIVE_STRING }),
|
|
948
|
+
});
|
|
949
|
+
export const NodeTypeFilterSensitiveLog = (obj) => {
|
|
950
|
+
if (obj.Instance !== undefined)
|
|
951
|
+
return { Instance: InstanceInfoFilterSensitiveLog(obj.Instance) };
|
|
952
|
+
if (obj.$unknown !== undefined)
|
|
953
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
954
|
+
};
|
|
955
|
+
export const NodeFilterSensitiveLog = (obj) => ({
|
|
956
|
+
...obj,
|
|
957
|
+
...(obj.NodeType && { NodeType: NodeTypeFilterSensitiveLog(obj.NodeType) }),
|
|
958
|
+
});
|
|
959
|
+
export const ListNodesResultFilterSensitiveLog = (obj) => ({
|
|
960
|
+
...obj,
|
|
961
|
+
...(obj.Nodes && { Nodes: obj.Nodes.map((item) => NodeFilterSensitiveLog(item)) }),
|
|
962
|
+
});
|
|
1000
963
|
export const PutParameterRequestFilterSensitiveLog = (obj) => ({
|
|
1001
964
|
...obj,
|
|
1002
965
|
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
@@ -1014,11 +977,3 @@ export const RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog = (obj)
|
|
|
1014
977
|
}),
|
|
1015
978
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
1016
979
|
});
|
|
1017
|
-
export const SendCommandRequestFilterSensitiveLog = (obj) => ({
|
|
1018
|
-
...obj,
|
|
1019
|
-
...(obj.Parameters && { Parameters: SENSITIVE_STRING }),
|
|
1020
|
-
});
|
|
1021
|
-
export const SendCommandResultFilterSensitiveLog = (obj) => ({
|
|
1022
|
-
...obj,
|
|
1023
|
-
...(obj.Command && { Command: CommandFilterSensitiveLog(obj.Command) }),
|
|
1024
|
-
});
|
|
@@ -1,7 +1,143 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { AssociationDescriptionFilterSensitiveLog, PatchSourceFilterSensitiveLog, } from "./models_0";
|
|
3
|
-
import { MaintenanceWindowTaskInvocationParametersFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
import { CommandFilterSensitiveLog, MaintenanceWindowTaskInvocationParametersFilterSensitiveLog, } from "./models_1";
|
|
4
4
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
5
|
+
export class AutomationStepNotFoundException extends __BaseException {
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AutomationStepNotFoundException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
this.name = "AutomationStepNotFoundException";
|
|
13
|
+
this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(this, AutomationStepNotFoundException.prototype);
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export class InvalidAutomationSignalException extends __BaseException {
|
|
19
|
+
constructor(opts) {
|
|
20
|
+
super({
|
|
21
|
+
name: "InvalidAutomationSignalException",
|
|
22
|
+
$fault: "client",
|
|
23
|
+
...opts,
|
|
24
|
+
});
|
|
25
|
+
this.name = "InvalidAutomationSignalException";
|
|
26
|
+
this.$fault = "client";
|
|
27
|
+
Object.setPrototypeOf(this, InvalidAutomationSignalException.prototype);
|
|
28
|
+
this.Message = opts.Message;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
export const SignalType = {
|
|
32
|
+
APPROVE: "Approve",
|
|
33
|
+
REJECT: "Reject",
|
|
34
|
+
RESUME: "Resume",
|
|
35
|
+
START_STEP: "StartStep",
|
|
36
|
+
STOP_STEP: "StopStep",
|
|
37
|
+
};
|
|
38
|
+
export class InvalidNotificationConfig extends __BaseException {
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "InvalidNotificationConfig",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
this.name = "InvalidNotificationConfig";
|
|
46
|
+
this.$fault = "client";
|
|
47
|
+
Object.setPrototypeOf(this, InvalidNotificationConfig.prototype);
|
|
48
|
+
this.Message = opts.Message;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
export class InvalidOutputFolder extends __BaseException {
|
|
52
|
+
constructor(opts) {
|
|
53
|
+
super({
|
|
54
|
+
name: "InvalidOutputFolder",
|
|
55
|
+
$fault: "client",
|
|
56
|
+
...opts,
|
|
57
|
+
});
|
|
58
|
+
this.name = "InvalidOutputFolder";
|
|
59
|
+
this.$fault = "client";
|
|
60
|
+
Object.setPrototypeOf(this, InvalidOutputFolder.prototype);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export class InvalidRole extends __BaseException {
|
|
64
|
+
constructor(opts) {
|
|
65
|
+
super({
|
|
66
|
+
name: "InvalidRole",
|
|
67
|
+
$fault: "client",
|
|
68
|
+
...opts,
|
|
69
|
+
});
|
|
70
|
+
this.name = "InvalidRole";
|
|
71
|
+
this.$fault = "client";
|
|
72
|
+
Object.setPrototypeOf(this, InvalidRole.prototype);
|
|
73
|
+
this.Message = opts.Message;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
export class InvalidAssociation extends __BaseException {
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "InvalidAssociation",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
this.name = "InvalidAssociation";
|
|
84
|
+
this.$fault = "client";
|
|
85
|
+
Object.setPrototypeOf(this, InvalidAssociation.prototype);
|
|
86
|
+
this.Message = opts.Message;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
export class AutomationDefinitionNotFoundException extends __BaseException {
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "AutomationDefinitionNotFoundException",
|
|
93
|
+
$fault: "client",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
this.name = "AutomationDefinitionNotFoundException";
|
|
97
|
+
this.$fault = "client";
|
|
98
|
+
Object.setPrototypeOf(this, AutomationDefinitionNotFoundException.prototype);
|
|
99
|
+
this.Message = opts.Message;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export class AutomationDefinitionVersionNotFoundException extends __BaseException {
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "AutomationDefinitionVersionNotFoundException",
|
|
106
|
+
$fault: "client",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
this.name = "AutomationDefinitionVersionNotFoundException";
|
|
110
|
+
this.$fault = "client";
|
|
111
|
+
Object.setPrototypeOf(this, AutomationDefinitionVersionNotFoundException.prototype);
|
|
112
|
+
this.Message = opts.Message;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
export class AutomationExecutionLimitExceededException extends __BaseException {
|
|
116
|
+
constructor(opts) {
|
|
117
|
+
super({
|
|
118
|
+
name: "AutomationExecutionLimitExceededException",
|
|
119
|
+
$fault: "client",
|
|
120
|
+
...opts,
|
|
121
|
+
});
|
|
122
|
+
this.name = "AutomationExecutionLimitExceededException";
|
|
123
|
+
this.$fault = "client";
|
|
124
|
+
Object.setPrototypeOf(this, AutomationExecutionLimitExceededException.prototype);
|
|
125
|
+
this.Message = opts.Message;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
export class InvalidAutomationExecutionParametersException extends __BaseException {
|
|
129
|
+
constructor(opts) {
|
|
130
|
+
super({
|
|
131
|
+
name: "InvalidAutomationExecutionParametersException",
|
|
132
|
+
$fault: "client",
|
|
133
|
+
...opts,
|
|
134
|
+
});
|
|
135
|
+
this.name = "InvalidAutomationExecutionParametersException";
|
|
136
|
+
this.$fault = "client";
|
|
137
|
+
Object.setPrototypeOf(this, InvalidAutomationExecutionParametersException.prototype);
|
|
138
|
+
this.Message = opts.Message;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
5
141
|
export class AutomationDefinitionNotApprovedException extends __BaseException {
|
|
6
142
|
constructor(opts) {
|
|
7
143
|
super({
|
|
@@ -15,6 +151,28 @@ export class AutomationDefinitionNotApprovedException extends __BaseException {
|
|
|
15
151
|
this.Message = opts.Message;
|
|
16
152
|
}
|
|
17
153
|
}
|
|
154
|
+
export var ExecutionInputs;
|
|
155
|
+
(function (ExecutionInputs) {
|
|
156
|
+
ExecutionInputs.visit = (value, visitor) => {
|
|
157
|
+
if (value.Automation !== undefined)
|
|
158
|
+
return visitor.Automation(value.Automation);
|
|
159
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
160
|
+
};
|
|
161
|
+
})(ExecutionInputs || (ExecutionInputs = {}));
|
|
162
|
+
export class ValidationException extends __BaseException {
|
|
163
|
+
constructor(opts) {
|
|
164
|
+
super({
|
|
165
|
+
name: "ValidationException",
|
|
166
|
+
$fault: "client",
|
|
167
|
+
...opts,
|
|
168
|
+
});
|
|
169
|
+
this.name = "ValidationException";
|
|
170
|
+
this.$fault = "client";
|
|
171
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
172
|
+
this.Message = opts.Message;
|
|
173
|
+
this.ReasonCode = opts.ReasonCode;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
18
176
|
export class TargetNotConnected extends __BaseException {
|
|
19
177
|
constructor(opts) {
|
|
20
178
|
super({
|
|
@@ -153,6 +311,14 @@ export class ResourceDataSyncConflictException extends __BaseException {
|
|
|
153
311
|
this.Message = opts.Message;
|
|
154
312
|
}
|
|
155
313
|
}
|
|
314
|
+
export const SendCommandRequestFilterSensitiveLog = (obj) => ({
|
|
315
|
+
...obj,
|
|
316
|
+
...(obj.Parameters && { Parameters: SENSITIVE_STRING }),
|
|
317
|
+
});
|
|
318
|
+
export const SendCommandResultFilterSensitiveLog = (obj) => ({
|
|
319
|
+
...obj,
|
|
320
|
+
...(obj.Command && { Command: CommandFilterSensitiveLog(obj.Command) }),
|
|
321
|
+
});
|
|
156
322
|
export const UpdateAssociationRequestFilterSensitiveLog = (obj) => ({
|
|
157
323
|
...obj,
|
|
158
324
|
...(obj.Parameters && { Parameters: SENSITIVE_STRING }),
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListNodesCommand } from "../commands/ListNodesCommand";
|
|
3
|
+
import { SSMClient } from "../SSMClient";
|
|
4
|
+
export const paginateListNodes = createPaginator(SSMClient, ListNodesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListNodesSummaryCommand, } from "../commands/ListNodesSummaryCommand";
|
|
3
|
+
import { SSMClient } from "../SSMClient";
|
|
4
|
+
export const paginateListNodesSummary = createPaginator(SSMClient, ListNodesSummaryCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -42,6 +42,8 @@ export * from "./ListComplianceItemsPaginator";
|
|
|
42
42
|
export * from "./ListComplianceSummariesPaginator";
|
|
43
43
|
export * from "./ListDocumentVersionsPaginator";
|
|
44
44
|
export * from "./ListDocumentsPaginator";
|
|
45
|
+
export * from "./ListNodesPaginator";
|
|
46
|
+
export * from "./ListNodesSummaryPaginator";
|
|
45
47
|
export * from "./ListOpsItemEventsPaginator";
|
|
46
48
|
export * from "./ListOpsItemRelatedItemsPaginator";
|
|
47
49
|
export * from "./ListOpsMetadataPaginator";
|