@aws-sdk/client-ssm 3.927.0 → 3.929.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/index.js +8788 -8207
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/SSMClient.js +2 -0
- package/dist-es/commands/AddTagsToResourceCommand.js +3 -9
- package/dist-es/commands/AssociateOpsItemRelatedItemCommand.js +3 -9
- package/dist-es/commands/CancelCommandCommand.js +3 -9
- package/dist-es/commands/CancelMaintenanceWindowExecutionCommand.js +3 -9
- package/dist-es/commands/CreateActivationCommand.js +3 -9
- package/dist-es/commands/CreateAssociationBatchCommand.js +3 -10
- package/dist-es/commands/CreateAssociationCommand.js +3 -10
- package/dist-es/commands/CreateDocumentCommand.js +3 -9
- package/dist-es/commands/CreateMaintenanceWindowCommand.js +3 -10
- package/dist-es/commands/CreateOpsItemCommand.js +3 -9
- package/dist-es/commands/CreateOpsMetadataCommand.js +3 -9
- package/dist-es/commands/CreatePatchBaselineCommand.js +3 -10
- package/dist-es/commands/CreateResourceDataSyncCommand.js +3 -9
- package/dist-es/commands/DeleteActivationCommand.js +3 -9
- package/dist-es/commands/DeleteAssociationCommand.js +3 -9
- package/dist-es/commands/DeleteDocumentCommand.js +3 -9
- package/dist-es/commands/DeleteInventoryCommand.js +3 -9
- package/dist-es/commands/DeleteMaintenanceWindowCommand.js +3 -9
- package/dist-es/commands/DeleteOpsItemCommand.js +3 -9
- package/dist-es/commands/DeleteOpsMetadataCommand.js +3 -9
- package/dist-es/commands/DeleteParameterCommand.js +3 -9
- package/dist-es/commands/DeleteParametersCommand.js +3 -9
- package/dist-es/commands/DeletePatchBaselineCommand.js +3 -9
- package/dist-es/commands/DeleteResourceDataSyncCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DeregisterManagedInstanceCommand.js +3 -9
- package/dist-es/commands/DeregisterPatchBaselineForPatchGroupCommand.js +3 -9
- package/dist-es/commands/DeregisterTargetFromMaintenanceWindowCommand.js +3 -9
- package/dist-es/commands/DeregisterTaskFromMaintenanceWindowCommand.js +3 -9
- package/dist-es/commands/DescribeActivationsCommand.js +3 -9
- package/dist-es/commands/DescribeAssociationCommand.js +3 -10
- package/dist-es/commands/DescribeAssociationExecutionTargetsCommand.js +3 -9
- package/dist-es/commands/DescribeAssociationExecutionsCommand.js +3 -9
- package/dist-es/commands/DescribeAutomationExecutionsCommand.js +3 -9
- package/dist-es/commands/DescribeAutomationStepExecutionsCommand.js +3 -9
- package/dist-es/commands/DescribeAvailablePatchesCommand.js +3 -9
- package/dist-es/commands/DescribeDocumentCommand.js +3 -9
- package/dist-es/commands/DescribeDocumentPermissionCommand.js +3 -9
- package/dist-es/commands/DescribeEffectiveInstanceAssociationsCommand.js +3 -9
- package/dist-es/commands/DescribeEffectivePatchesForPatchBaselineCommand.js +3 -9
- package/dist-es/commands/DescribeInstanceAssociationsStatusCommand.js +3 -9
- package/dist-es/commands/DescribeInstanceInformationCommand.js +3 -10
- package/dist-es/commands/DescribeInstancePatchStatesCommand.js +3 -10
- package/dist-es/commands/DescribeInstancePatchStatesForPatchGroupCommand.js +3 -10
- package/dist-es/commands/DescribeInstancePatchesCommand.js +3 -9
- package/dist-es/commands/DescribeInstancePropertiesCommand.js +3 -10
- package/dist-es/commands/DescribeInventoryDeletionsCommand.js +3 -9
- package/dist-es/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.js +3 -10
- package/dist-es/commands/DescribeMaintenanceWindowExecutionTasksCommand.js +3 -9
- package/dist-es/commands/DescribeMaintenanceWindowExecutionsCommand.js +3 -9
- package/dist-es/commands/DescribeMaintenanceWindowScheduleCommand.js +3 -9
- package/dist-es/commands/DescribeMaintenanceWindowTargetsCommand.js +3 -10
- package/dist-es/commands/DescribeMaintenanceWindowTasksCommand.js +3 -10
- package/dist-es/commands/DescribeMaintenanceWindowsCommand.js +3 -10
- package/dist-es/commands/DescribeMaintenanceWindowsForTargetCommand.js +3 -9
- package/dist-es/commands/DescribeOpsItemsCommand.js +3 -9
- package/dist-es/commands/DescribeParametersCommand.js +3 -9
- package/dist-es/commands/DescribePatchBaselinesCommand.js +3 -9
- package/dist-es/commands/DescribePatchGroupStateCommand.js +3 -9
- package/dist-es/commands/DescribePatchGroupsCommand.js +3 -9
- package/dist-es/commands/DescribePatchPropertiesCommand.js +3 -9
- package/dist-es/commands/DescribeSessionsCommand.js +3 -9
- package/dist-es/commands/DisassociateOpsItemRelatedItemCommand.js +3 -9
- package/dist-es/commands/GetAccessTokenCommand.js +3 -10
- package/dist-es/commands/GetAutomationExecutionCommand.js +3 -9
- package/dist-es/commands/GetCalendarStateCommand.js +3 -9
- package/dist-es/commands/GetCommandInvocationCommand.js +3 -9
- package/dist-es/commands/GetConnectionStatusCommand.js +3 -9
- package/dist-es/commands/GetDefaultPatchBaselineCommand.js +3 -9
- package/dist-es/commands/GetDeployablePatchSnapshotForInstanceCommand.js +3 -10
- package/dist-es/commands/GetDocumentCommand.js +3 -9
- package/dist-es/commands/GetExecutionPreviewCommand.js +3 -9
- package/dist-es/commands/GetInventoryCommand.js +3 -9
- package/dist-es/commands/GetInventorySchemaCommand.js +3 -9
- package/dist-es/commands/GetMaintenanceWindowCommand.js +3 -10
- package/dist-es/commands/GetMaintenanceWindowExecutionCommand.js +3 -9
- package/dist-es/commands/GetMaintenanceWindowExecutionTaskCommand.js +3 -10
- package/dist-es/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.js +3 -10
- package/dist-es/commands/GetMaintenanceWindowTaskCommand.js +3 -10
- package/dist-es/commands/GetOpsItemCommand.js +3 -9
- package/dist-es/commands/GetOpsMetadataCommand.js +3 -9
- package/dist-es/commands/GetOpsSummaryCommand.js +3 -9
- package/dist-es/commands/GetParameterCommand.js +3 -10
- package/dist-es/commands/GetParameterHistoryCommand.js +3 -10
- package/dist-es/commands/GetParametersByPathCommand.js +3 -10
- package/dist-es/commands/GetParametersCommand.js +3 -10
- package/dist-es/commands/GetPatchBaselineCommand.js +3 -10
- package/dist-es/commands/GetPatchBaselineForPatchGroupCommand.js +3 -9
- package/dist-es/commands/GetResourcePoliciesCommand.js +3 -9
- package/dist-es/commands/GetServiceSettingCommand.js +3 -9
- package/dist-es/commands/LabelParameterVersionCommand.js +3 -9
- package/dist-es/commands/ListAssociationVersionsCommand.js +3 -10
- package/dist-es/commands/ListAssociationsCommand.js +3 -9
- package/dist-es/commands/ListCommandInvocationsCommand.js +3 -9
- package/dist-es/commands/ListCommandsCommand.js +3 -10
- package/dist-es/commands/ListComplianceItemsCommand.js +3 -9
- package/dist-es/commands/ListComplianceSummariesCommand.js +3 -9
- package/dist-es/commands/ListDocumentMetadataHistoryCommand.js +3 -9
- package/dist-es/commands/ListDocumentVersionsCommand.js +3 -9
- package/dist-es/commands/ListDocumentsCommand.js +3 -9
- package/dist-es/commands/ListInventoryEntriesCommand.js +3 -9
- package/dist-es/commands/ListNodesCommand.js +3 -10
- package/dist-es/commands/ListNodesSummaryCommand.js +3 -9
- package/dist-es/commands/ListOpsItemEventsCommand.js +3 -9
- package/dist-es/commands/ListOpsItemRelatedItemsCommand.js +3 -9
- package/dist-es/commands/ListOpsMetadataCommand.js +3 -9
- package/dist-es/commands/ListResourceComplianceSummariesCommand.js +3 -9
- package/dist-es/commands/ListResourceDataSyncCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ModifyDocumentPermissionCommand.js +3 -9
- package/dist-es/commands/PutComplianceItemsCommand.js +3 -9
- package/dist-es/commands/PutInventoryCommand.js +3 -9
- package/dist-es/commands/PutParameterCommand.js +3 -10
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
- package/dist-es/commands/RegisterDefaultPatchBaselineCommand.js +3 -9
- package/dist-es/commands/RegisterPatchBaselineForPatchGroupCommand.js +3 -9
- package/dist-es/commands/RegisterTargetWithMaintenanceWindowCommand.js +3 -10
- package/dist-es/commands/RegisterTaskWithMaintenanceWindowCommand.js +3 -10
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +3 -9
- package/dist-es/commands/ResetServiceSettingCommand.js +3 -9
- package/dist-es/commands/ResumeSessionCommand.js +3 -9
- package/dist-es/commands/SendAutomationSignalCommand.js +3 -9
- package/dist-es/commands/SendCommandCommand.js +3 -10
- package/dist-es/commands/StartAccessRequestCommand.js +3 -9
- package/dist-es/commands/StartAssociationsOnceCommand.js +3 -9
- package/dist-es/commands/StartAutomationExecutionCommand.js +3 -9
- package/dist-es/commands/StartChangeRequestExecutionCommand.js +3 -9
- package/dist-es/commands/StartExecutionPreviewCommand.js +3 -9
- package/dist-es/commands/StartSessionCommand.js +3 -9
- package/dist-es/commands/StopAutomationExecutionCommand.js +3 -9
- package/dist-es/commands/TerminateSessionCommand.js +3 -9
- package/dist-es/commands/UnlabelParameterVersionCommand.js +3 -9
- package/dist-es/commands/UpdateAssociationCommand.js +3 -10
- package/dist-es/commands/UpdateAssociationStatusCommand.js +3 -10
- package/dist-es/commands/UpdateDocumentCommand.js +3 -9
- package/dist-es/commands/UpdateDocumentDefaultVersionCommand.js +3 -9
- package/dist-es/commands/UpdateDocumentMetadataCommand.js +3 -9
- package/dist-es/commands/UpdateMaintenanceWindowCommand.js +3 -10
- package/dist-es/commands/UpdateMaintenanceWindowTargetCommand.js +3 -10
- package/dist-es/commands/UpdateMaintenanceWindowTaskCommand.js +3 -10
- package/dist-es/commands/UpdateManagedInstanceRoleCommand.js +3 -9
- package/dist-es/commands/UpdateOpsItemCommand.js +3 -9
- package/dist-es/commands/UpdateOpsMetadataCommand.js +3 -9
- package/dist-es/commands/UpdatePatchBaselineCommand.js +3 -10
- package/dist-es/commands/UpdateResourceDataSyncCommand.js +3 -9
- package/dist-es/commands/UpdateServiceSettingCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -99
- package/dist-es/models/models_1.js +0 -159
- package/dist-es/models/models_2.js +0 -82
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +8146 -0
- package/dist-types/SSMClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -80
- package/dist-types/models/models_1.d.ts +0 -140
- package/dist-types/models/models_2.d.ts +0 -60
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +957 -0
- package/dist-types/ts3.4/SSMClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -58
- package/dist-types/ts3.4/models/models_1.d.ts +0 -93
- package/dist-types/ts3.4/models/models_2.d.ts +0 -45
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +964 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_1.js +0 -6370
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -1316
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -1757
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateMaintenanceWindowCommand, se_UpdateMaintenanceWindowCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { UpdateMaintenanceWindow } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateMaintenanceWindowCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonSSM", "UpdateMaintenanceWindow", {})
|
|
18
13
|
.n("SSMClient", "UpdateMaintenanceWindowCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateMaintenanceWindowCommand)
|
|
21
|
-
.de(de_UpdateMaintenanceWindowCommand)
|
|
14
|
+
.sc(UpdateMaintenanceWindow)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateMaintenanceWindowTargetCommand, se_UpdateMaintenanceWindowTargetCommand, } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { UpdateMaintenanceWindowTarget } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateMaintenanceWindowTargetCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonSSM", "UpdateMaintenanceWindowTarget", {})
|
|
18
13
|
.n("SSMClient", "UpdateMaintenanceWindowTargetCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateMaintenanceWindowTargetCommand)
|
|
21
|
-
.de(de_UpdateMaintenanceWindowTargetCommand)
|
|
14
|
+
.sc(UpdateMaintenanceWindowTarget)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateMaintenanceWindowTaskCommand, se_UpdateMaintenanceWindowTaskCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { UpdateMaintenanceWindowTask } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateMaintenanceWindowTaskCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonSSM", "UpdateMaintenanceWindowTask", {})
|
|
18
13
|
.n("SSMClient", "UpdateMaintenanceWindowTaskCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateMaintenanceWindowTaskCommand)
|
|
21
|
-
.de(de_UpdateMaintenanceWindowTaskCommand)
|
|
14
|
+
.sc(UpdateMaintenanceWindowTask)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateManagedInstanceRole } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateManagedInstanceRoleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonSSM", "UpdateManagedInstanceRole", {})
|
|
17
13
|
.n("SSMClient", "UpdateManagedInstanceRoleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateManagedInstanceRoleCommand)
|
|
20
|
-
.de(de_UpdateManagedInstanceRoleCommand)
|
|
14
|
+
.sc(UpdateManagedInstanceRole)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateOpsItem } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateOpsItemCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonSSM", "UpdateOpsItem", {})
|
|
17
13
|
.n("SSMClient", "UpdateOpsItemCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateOpsItemCommand)
|
|
20
|
-
.de(de_UpdateOpsItemCommand)
|
|
14
|
+
.sc(UpdateOpsItem)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateOpsMetadata } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateOpsMetadataCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonSSM", "UpdateOpsMetadata", {})
|
|
17
13
|
.n("SSMClient", "UpdateOpsMetadataCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateOpsMetadataCommand)
|
|
20
|
-
.de(de_UpdateOpsMetadataCommand)
|
|
14
|
+
.sc(UpdateOpsMetadata)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdatePatchBaselineCommand, se_UpdatePatchBaselineCommand } from "../protocols/Aws_json1_1";
|
|
4
|
+
import { UpdatePatchBaseline } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdatePatchBaselineCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AmazonSSM", "UpdatePatchBaseline", {})
|
|
18
13
|
.n("SSMClient", "UpdatePatchBaselineCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdatePatchBaselineCommand)
|
|
21
|
-
.de(de_UpdatePatchBaselineCommand)
|
|
14
|
+
.sc(UpdatePatchBaseline)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateResourceDataSync } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateResourceDataSyncCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonSSM", "UpdateResourceDataSync", {})
|
|
17
13
|
.n("SSMClient", "UpdateResourceDataSyncCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateResourceDataSyncCommand)
|
|
20
|
-
.de(de_UpdateResourceDataSyncCommand)
|
|
14
|
+
.sc(UpdateResourceDataSync)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateServiceSetting } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateServiceSettingCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonSSM", "UpdateServiceSetting", {})
|
|
17
13
|
.n("SSMClient", "UpdateServiceSettingCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateServiceSettingCommand)
|
|
20
|
-
.de(de_UpdateServiceSettingCommand)
|
|
14
|
+
.sc(UpdateServiceSetting)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -1374,101 +1373,3 @@ export const MaintenanceWindowTaskType = {
|
|
|
1374
1373
|
RunCommand: "RUN_COMMAND",
|
|
1375
1374
|
StepFunctions: "STEP_FUNCTIONS",
|
|
1376
1375
|
};
|
|
1377
|
-
export const CreateAssociationRequestFilterSensitiveLog = (obj) => ({
|
|
1378
|
-
...obj,
|
|
1379
|
-
...(obj.Parameters && { Parameters: SENSITIVE_STRING }),
|
|
1380
|
-
});
|
|
1381
|
-
export const AssociationDescriptionFilterSensitiveLog = (obj) => ({
|
|
1382
|
-
...obj,
|
|
1383
|
-
...(obj.Parameters && { Parameters: SENSITIVE_STRING }),
|
|
1384
|
-
});
|
|
1385
|
-
export const CreateAssociationResultFilterSensitiveLog = (obj) => ({
|
|
1386
|
-
...obj,
|
|
1387
|
-
...(obj.AssociationDescription && {
|
|
1388
|
-
AssociationDescription: AssociationDescriptionFilterSensitiveLog(obj.AssociationDescription),
|
|
1389
|
-
}),
|
|
1390
|
-
});
|
|
1391
|
-
export const CreateAssociationBatchRequestEntryFilterSensitiveLog = (obj) => ({
|
|
1392
|
-
...obj,
|
|
1393
|
-
...(obj.Parameters && { Parameters: SENSITIVE_STRING }),
|
|
1394
|
-
});
|
|
1395
|
-
export const CreateAssociationBatchRequestFilterSensitiveLog = (obj) => ({
|
|
1396
|
-
...obj,
|
|
1397
|
-
...(obj.Entries && {
|
|
1398
|
-
Entries: obj.Entries.map((item) => CreateAssociationBatchRequestEntryFilterSensitiveLog(item)),
|
|
1399
|
-
}),
|
|
1400
|
-
});
|
|
1401
|
-
export const FailedCreateAssociationFilterSensitiveLog = (obj) => ({
|
|
1402
|
-
...obj,
|
|
1403
|
-
...(obj.Entry && { Entry: CreateAssociationBatchRequestEntryFilterSensitiveLog(obj.Entry) }),
|
|
1404
|
-
});
|
|
1405
|
-
export const CreateAssociationBatchResultFilterSensitiveLog = (obj) => ({
|
|
1406
|
-
...obj,
|
|
1407
|
-
...(obj.Successful && { Successful: obj.Successful.map((item) => AssociationDescriptionFilterSensitiveLog(item)) }),
|
|
1408
|
-
...(obj.Failed && { Failed: obj.Failed.map((item) => FailedCreateAssociationFilterSensitiveLog(item)) }),
|
|
1409
|
-
});
|
|
1410
|
-
export const CreateMaintenanceWindowRequestFilterSensitiveLog = (obj) => ({
|
|
1411
|
-
...obj,
|
|
1412
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
1413
|
-
});
|
|
1414
|
-
export const PatchSourceFilterSensitiveLog = (obj) => ({
|
|
1415
|
-
...obj,
|
|
1416
|
-
...(obj.Configuration && { Configuration: SENSITIVE_STRING }),
|
|
1417
|
-
});
|
|
1418
|
-
export const CreatePatchBaselineRequestFilterSensitiveLog = (obj) => ({
|
|
1419
|
-
...obj,
|
|
1420
|
-
...(obj.Sources && { Sources: obj.Sources.map((item) => PatchSourceFilterSensitiveLog(item)) }),
|
|
1421
|
-
});
|
|
1422
|
-
export const DescribeAssociationResultFilterSensitiveLog = (obj) => ({
|
|
1423
|
-
...obj,
|
|
1424
|
-
...(obj.AssociationDescription && {
|
|
1425
|
-
AssociationDescription: AssociationDescriptionFilterSensitiveLog(obj.AssociationDescription),
|
|
1426
|
-
}),
|
|
1427
|
-
});
|
|
1428
|
-
export const InstanceInformationFilterSensitiveLog = (obj) => ({
|
|
1429
|
-
...obj,
|
|
1430
|
-
...(obj.IPAddress && { IPAddress: SENSITIVE_STRING }),
|
|
1431
|
-
});
|
|
1432
|
-
export const DescribeInstanceInformationResultFilterSensitiveLog = (obj) => ({
|
|
1433
|
-
...obj,
|
|
1434
|
-
...(obj.InstanceInformationList && {
|
|
1435
|
-
InstanceInformationList: obj.InstanceInformationList.map((item) => InstanceInformationFilterSensitiveLog(item)),
|
|
1436
|
-
}),
|
|
1437
|
-
});
|
|
1438
|
-
export const InstancePatchStateFilterSensitiveLog = (obj) => ({
|
|
1439
|
-
...obj,
|
|
1440
|
-
...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }),
|
|
1441
|
-
});
|
|
1442
|
-
export const DescribeInstancePatchStatesResultFilterSensitiveLog = (obj) => ({
|
|
1443
|
-
...obj,
|
|
1444
|
-
...(obj.InstancePatchStates && {
|
|
1445
|
-
InstancePatchStates: obj.InstancePatchStates.map((item) => InstancePatchStateFilterSensitiveLog(item)),
|
|
1446
|
-
}),
|
|
1447
|
-
});
|
|
1448
|
-
export const DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog = (obj) => ({
|
|
1449
|
-
...obj,
|
|
1450
|
-
...(obj.InstancePatchStates && {
|
|
1451
|
-
InstancePatchStates: obj.InstancePatchStates.map((item) => InstancePatchStateFilterSensitiveLog(item)),
|
|
1452
|
-
}),
|
|
1453
|
-
});
|
|
1454
|
-
export const InstancePropertyFilterSensitiveLog = (obj) => ({
|
|
1455
|
-
...obj,
|
|
1456
|
-
...(obj.IPAddress && { IPAddress: SENSITIVE_STRING }),
|
|
1457
|
-
});
|
|
1458
|
-
export const DescribeInstancePropertiesResultFilterSensitiveLog = (obj) => ({
|
|
1459
|
-
...obj,
|
|
1460
|
-
...(obj.InstanceProperties && {
|
|
1461
|
-
InstanceProperties: obj.InstanceProperties.map((item) => InstancePropertyFilterSensitiveLog(item)),
|
|
1462
|
-
}),
|
|
1463
|
-
});
|
|
1464
|
-
export const MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog = (obj) => ({
|
|
1465
|
-
...obj,
|
|
1466
|
-
...(obj.Parameters && { Parameters: SENSITIVE_STRING }),
|
|
1467
|
-
...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }),
|
|
1468
|
-
});
|
|
1469
|
-
export const DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog = (obj) => ({
|
|
1470
|
-
...obj,
|
|
1471
|
-
...(obj.WindowExecutionTaskInvocationIdentities && {
|
|
1472
|
-
WindowExecutionTaskInvocationIdentities: obj.WindowExecutionTaskInvocationIdentities.map((item) => MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog(item)),
|
|
1473
|
-
}),
|
|
1474
|
-
});
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
-
import { PatchSourceFilterSensitiveLog, } from "./models_0";
|
|
3
1
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
4
2
|
export const MaintenanceWindowResourceType = {
|
|
5
3
|
Instance: "INSTANCE",
|
|
@@ -889,160 +887,3 @@ export class ResourcePolicyLimitExceededException extends __BaseException {
|
|
|
889
887
|
this.Message = opts.Message;
|
|
890
888
|
}
|
|
891
889
|
}
|
|
892
|
-
export const MaintenanceWindowIdentityFilterSensitiveLog = (obj) => ({
|
|
893
|
-
...obj,
|
|
894
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
895
|
-
});
|
|
896
|
-
export const DescribeMaintenanceWindowsResultFilterSensitiveLog = (obj) => ({
|
|
897
|
-
...obj,
|
|
898
|
-
...(obj.WindowIdentities && {
|
|
899
|
-
WindowIdentities: obj.WindowIdentities.map((item) => MaintenanceWindowIdentityFilterSensitiveLog(item)),
|
|
900
|
-
}),
|
|
901
|
-
});
|
|
902
|
-
export const MaintenanceWindowTargetFilterSensitiveLog = (obj) => ({
|
|
903
|
-
...obj,
|
|
904
|
-
...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }),
|
|
905
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
906
|
-
});
|
|
907
|
-
export const DescribeMaintenanceWindowTargetsResultFilterSensitiveLog = (obj) => ({
|
|
908
|
-
...obj,
|
|
909
|
-
...(obj.Targets && { Targets: obj.Targets.map((item) => MaintenanceWindowTargetFilterSensitiveLog(item)) }),
|
|
910
|
-
});
|
|
911
|
-
export const MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog = (obj) => ({
|
|
912
|
-
...obj,
|
|
913
|
-
...(obj.Values && { Values: SENSITIVE_STRING }),
|
|
914
|
-
});
|
|
915
|
-
export const MaintenanceWindowTaskFilterSensitiveLog = (obj) => ({
|
|
916
|
-
...obj,
|
|
917
|
-
...(obj.TaskParameters && { TaskParameters: SENSITIVE_STRING }),
|
|
918
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
919
|
-
});
|
|
920
|
-
export const DescribeMaintenanceWindowTasksResultFilterSensitiveLog = (obj) => ({
|
|
921
|
-
...obj,
|
|
922
|
-
...(obj.Tasks && { Tasks: obj.Tasks.map((item) => MaintenanceWindowTaskFilterSensitiveLog(item)) }),
|
|
923
|
-
});
|
|
924
|
-
export const CredentialsFilterSensitiveLog = (obj) => ({
|
|
925
|
-
...obj,
|
|
926
|
-
...(obj.SecretAccessKey && { SecretAccessKey: SENSITIVE_STRING }),
|
|
927
|
-
...(obj.SessionToken && { SessionToken: SENSITIVE_STRING }),
|
|
928
|
-
});
|
|
929
|
-
export const GetAccessTokenResponseFilterSensitiveLog = (obj) => ({
|
|
930
|
-
...obj,
|
|
931
|
-
...(obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) }),
|
|
932
|
-
});
|
|
933
|
-
export const BaselineOverrideFilterSensitiveLog = (obj) => ({
|
|
934
|
-
...obj,
|
|
935
|
-
...(obj.Sources && { Sources: obj.Sources.map((item) => PatchSourceFilterSensitiveLog(item)) }),
|
|
936
|
-
});
|
|
937
|
-
export const GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
938
|
-
...obj,
|
|
939
|
-
});
|
|
940
|
-
export const GetMaintenanceWindowResultFilterSensitiveLog = (obj) => ({
|
|
941
|
-
...obj,
|
|
942
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
943
|
-
});
|
|
944
|
-
export const GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog = (obj) => ({
|
|
945
|
-
...obj,
|
|
946
|
-
...(obj.TaskParameters && { TaskParameters: SENSITIVE_STRING }),
|
|
947
|
-
});
|
|
948
|
-
export const GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog = (obj) => ({
|
|
949
|
-
...obj,
|
|
950
|
-
...(obj.Parameters && { Parameters: SENSITIVE_STRING }),
|
|
951
|
-
...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }),
|
|
952
|
-
});
|
|
953
|
-
export const MaintenanceWindowLambdaParametersFilterSensitiveLog = (obj) => ({
|
|
954
|
-
...obj,
|
|
955
|
-
...(obj.Payload && { Payload: SENSITIVE_STRING }),
|
|
956
|
-
});
|
|
957
|
-
export const MaintenanceWindowRunCommandParametersFilterSensitiveLog = (obj) => ({
|
|
958
|
-
...obj,
|
|
959
|
-
...(obj.Parameters && { Parameters: SENSITIVE_STRING }),
|
|
960
|
-
});
|
|
961
|
-
export const MaintenanceWindowStepFunctionsParametersFilterSensitiveLog = (obj) => ({
|
|
962
|
-
...obj,
|
|
963
|
-
...(obj.Input && { Input: SENSITIVE_STRING }),
|
|
964
|
-
});
|
|
965
|
-
export const MaintenanceWindowTaskInvocationParametersFilterSensitiveLog = (obj) => ({
|
|
966
|
-
...obj,
|
|
967
|
-
...(obj.RunCommand && { RunCommand: MaintenanceWindowRunCommandParametersFilterSensitiveLog(obj.RunCommand) }),
|
|
968
|
-
...(obj.StepFunctions && {
|
|
969
|
-
StepFunctions: MaintenanceWindowStepFunctionsParametersFilterSensitiveLog(obj.StepFunctions),
|
|
970
|
-
}),
|
|
971
|
-
...(obj.Lambda && { Lambda: MaintenanceWindowLambdaParametersFilterSensitiveLog(obj.Lambda) }),
|
|
972
|
-
});
|
|
973
|
-
export const GetMaintenanceWindowTaskResultFilterSensitiveLog = (obj) => ({
|
|
974
|
-
...obj,
|
|
975
|
-
...(obj.TaskParameters && { TaskParameters: SENSITIVE_STRING }),
|
|
976
|
-
...(obj.TaskInvocationParameters && {
|
|
977
|
-
TaskInvocationParameters: MaintenanceWindowTaskInvocationParametersFilterSensitiveLog(obj.TaskInvocationParameters),
|
|
978
|
-
}),
|
|
979
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
980
|
-
});
|
|
981
|
-
export const ParameterFilterSensitiveLog = (obj) => ({
|
|
982
|
-
...obj,
|
|
983
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
984
|
-
});
|
|
985
|
-
export const GetParameterResultFilterSensitiveLog = (obj) => ({
|
|
986
|
-
...obj,
|
|
987
|
-
...(obj.Parameter && { Parameter: ParameterFilterSensitiveLog(obj.Parameter) }),
|
|
988
|
-
});
|
|
989
|
-
export const ParameterHistoryFilterSensitiveLog = (obj) => ({
|
|
990
|
-
...obj,
|
|
991
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
992
|
-
});
|
|
993
|
-
export const GetParameterHistoryResultFilterSensitiveLog = (obj) => ({
|
|
994
|
-
...obj,
|
|
995
|
-
...(obj.Parameters && { Parameters: obj.Parameters.map((item) => ParameterHistoryFilterSensitiveLog(item)) }),
|
|
996
|
-
});
|
|
997
|
-
export const GetParametersResultFilterSensitiveLog = (obj) => ({
|
|
998
|
-
...obj,
|
|
999
|
-
...(obj.Parameters && { Parameters: obj.Parameters.map((item) => ParameterFilterSensitiveLog(item)) }),
|
|
1000
|
-
});
|
|
1001
|
-
export const GetParametersByPathResultFilterSensitiveLog = (obj) => ({
|
|
1002
|
-
...obj,
|
|
1003
|
-
...(obj.Parameters && { Parameters: obj.Parameters.map((item) => ParameterFilterSensitiveLog(item)) }),
|
|
1004
|
-
});
|
|
1005
|
-
export const GetPatchBaselineResultFilterSensitiveLog = (obj) => ({
|
|
1006
|
-
...obj,
|
|
1007
|
-
...(obj.Sources && { Sources: obj.Sources.map((item) => PatchSourceFilterSensitiveLog(item)) }),
|
|
1008
|
-
});
|
|
1009
|
-
export const AssociationVersionInfoFilterSensitiveLog = (obj) => ({
|
|
1010
|
-
...obj,
|
|
1011
|
-
...(obj.Parameters && { Parameters: SENSITIVE_STRING }),
|
|
1012
|
-
});
|
|
1013
|
-
export const ListAssociationVersionsResultFilterSensitiveLog = (obj) => ({
|
|
1014
|
-
...obj,
|
|
1015
|
-
...(obj.AssociationVersions && {
|
|
1016
|
-
AssociationVersions: obj.AssociationVersions.map((item) => AssociationVersionInfoFilterSensitiveLog(item)),
|
|
1017
|
-
}),
|
|
1018
|
-
});
|
|
1019
|
-
export const CommandFilterSensitiveLog = (obj) => ({
|
|
1020
|
-
...obj,
|
|
1021
|
-
...(obj.Parameters && { Parameters: SENSITIVE_STRING }),
|
|
1022
|
-
});
|
|
1023
|
-
export const ListCommandsResultFilterSensitiveLog = (obj) => ({
|
|
1024
|
-
...obj,
|
|
1025
|
-
...(obj.Commands && { Commands: obj.Commands.map((item) => CommandFilterSensitiveLog(item)) }),
|
|
1026
|
-
});
|
|
1027
|
-
export const InstanceInfoFilterSensitiveLog = (obj) => ({
|
|
1028
|
-
...obj,
|
|
1029
|
-
...(obj.IpAddress && { IpAddress: SENSITIVE_STRING }),
|
|
1030
|
-
});
|
|
1031
|
-
export const NodeTypeFilterSensitiveLog = (obj) => {
|
|
1032
|
-
if (obj.Instance !== undefined)
|
|
1033
|
-
return { Instance: InstanceInfoFilterSensitiveLog(obj.Instance) };
|
|
1034
|
-
if (obj.$unknown !== undefined)
|
|
1035
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1036
|
-
};
|
|
1037
|
-
export const NodeFilterSensitiveLog = (obj) => ({
|
|
1038
|
-
...obj,
|
|
1039
|
-
...(obj.NodeType && { NodeType: NodeTypeFilterSensitiveLog(obj.NodeType) }),
|
|
1040
|
-
});
|
|
1041
|
-
export const ListNodesResultFilterSensitiveLog = (obj) => ({
|
|
1042
|
-
...obj,
|
|
1043
|
-
...(obj.Nodes && { Nodes: obj.Nodes.map((item) => NodeFilterSensitiveLog(item)) }),
|
|
1044
|
-
});
|
|
1045
|
-
export const PutParameterRequestFilterSensitiveLog = (obj) => ({
|
|
1046
|
-
...obj,
|
|
1047
|
-
...(obj.Value && { Value: SENSITIVE_STRING }),
|
|
1048
|
-
});
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
-
import { AssociationDescriptionFilterSensitiveLog, PatchSourceFilterSensitiveLog, } from "./models_0";
|
|
3
|
-
import { CommandFilterSensitiveLog, MaintenanceWindowTaskInvocationParametersFilterSensitiveLog, } from "./models_1";
|
|
4
1
|
import { SSMServiceException as __BaseException } from "./SSMServiceException";
|
|
5
2
|
export class FeatureNotAvailableException extends __BaseException {
|
|
6
3
|
name = "FeatureNotAvailableException";
|
|
@@ -352,82 +349,3 @@ export class ResourceDataSyncConflictException extends __BaseException {
|
|
|
352
349
|
this.Message = opts.Message;
|
|
353
350
|
}
|
|
354
351
|
}
|
|
355
|
-
export const RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog = (obj) => ({
|
|
356
|
-
...obj,
|
|
357
|
-
...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }),
|
|
358
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
359
|
-
});
|
|
360
|
-
export const RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog = (obj) => ({
|
|
361
|
-
...obj,
|
|
362
|
-
...(obj.TaskParameters && { TaskParameters: SENSITIVE_STRING }),
|
|
363
|
-
...(obj.TaskInvocationParameters && {
|
|
364
|
-
TaskInvocationParameters: MaintenanceWindowTaskInvocationParametersFilterSensitiveLog(obj.TaskInvocationParameters),
|
|
365
|
-
}),
|
|
366
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
367
|
-
});
|
|
368
|
-
export const SendCommandRequestFilterSensitiveLog = (obj) => ({
|
|
369
|
-
...obj,
|
|
370
|
-
...(obj.Parameters && { Parameters: SENSITIVE_STRING }),
|
|
371
|
-
});
|
|
372
|
-
export const SendCommandResultFilterSensitiveLog = (obj) => ({
|
|
373
|
-
...obj,
|
|
374
|
-
...(obj.Command && { Command: CommandFilterSensitiveLog(obj.Command) }),
|
|
375
|
-
});
|
|
376
|
-
export const UpdateAssociationRequestFilterSensitiveLog = (obj) => ({
|
|
377
|
-
...obj,
|
|
378
|
-
...(obj.Parameters && { Parameters: SENSITIVE_STRING }),
|
|
379
|
-
});
|
|
380
|
-
export const UpdateAssociationResultFilterSensitiveLog = (obj) => ({
|
|
381
|
-
...obj,
|
|
382
|
-
...(obj.AssociationDescription && {
|
|
383
|
-
AssociationDescription: AssociationDescriptionFilterSensitiveLog(obj.AssociationDescription),
|
|
384
|
-
}),
|
|
385
|
-
});
|
|
386
|
-
export const UpdateAssociationStatusResultFilterSensitiveLog = (obj) => ({
|
|
387
|
-
...obj,
|
|
388
|
-
...(obj.AssociationDescription && {
|
|
389
|
-
AssociationDescription: AssociationDescriptionFilterSensitiveLog(obj.AssociationDescription),
|
|
390
|
-
}),
|
|
391
|
-
});
|
|
392
|
-
export const UpdateMaintenanceWindowRequestFilterSensitiveLog = (obj) => ({
|
|
393
|
-
...obj,
|
|
394
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
395
|
-
});
|
|
396
|
-
export const UpdateMaintenanceWindowResultFilterSensitiveLog = (obj) => ({
|
|
397
|
-
...obj,
|
|
398
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
399
|
-
});
|
|
400
|
-
export const UpdateMaintenanceWindowTargetRequestFilterSensitiveLog = (obj) => ({
|
|
401
|
-
...obj,
|
|
402
|
-
...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }),
|
|
403
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
404
|
-
});
|
|
405
|
-
export const UpdateMaintenanceWindowTargetResultFilterSensitiveLog = (obj) => ({
|
|
406
|
-
...obj,
|
|
407
|
-
...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }),
|
|
408
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
409
|
-
});
|
|
410
|
-
export const UpdateMaintenanceWindowTaskRequestFilterSensitiveLog = (obj) => ({
|
|
411
|
-
...obj,
|
|
412
|
-
...(obj.TaskParameters && { TaskParameters: SENSITIVE_STRING }),
|
|
413
|
-
...(obj.TaskInvocationParameters && {
|
|
414
|
-
TaskInvocationParameters: MaintenanceWindowTaskInvocationParametersFilterSensitiveLog(obj.TaskInvocationParameters),
|
|
415
|
-
}),
|
|
416
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
417
|
-
});
|
|
418
|
-
export const UpdateMaintenanceWindowTaskResultFilterSensitiveLog = (obj) => ({
|
|
419
|
-
...obj,
|
|
420
|
-
...(obj.TaskParameters && { TaskParameters: SENSITIVE_STRING }),
|
|
421
|
-
...(obj.TaskInvocationParameters && {
|
|
422
|
-
TaskInvocationParameters: MaintenanceWindowTaskInvocationParametersFilterSensitiveLog(obj.TaskInvocationParameters),
|
|
423
|
-
}),
|
|
424
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
425
|
-
});
|
|
426
|
-
export const UpdatePatchBaselineRequestFilterSensitiveLog = (obj) => ({
|
|
427
|
-
...obj,
|
|
428
|
-
...(obj.Sources && { Sources: obj.Sources.map((item) => PatchSourceFilterSensitiveLog(item)) }),
|
|
429
|
-
});
|
|
430
|
-
export const UpdatePatchBaselineResultFilterSensitiveLog = (obj) => ({
|
|
431
|
-
...obj,
|
|
432
|
-
...(obj.Sources && { Sources: obj.Sources.map((item) => PatchSourceFilterSensitiveLog(item)) }),
|
|
433
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.ssm",
|
|
29
|
+
serviceTarget: "AmazonSSM",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "SSM",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|