@aws-sdk/client-ssm 3.41.0 → 3.45.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/CHANGELOG.md +49 -0
- package/README.md +12 -6
- package/dist-cjs/commands/UpdateDocumentMetadataCommand.js +2 -1
- package/dist-cjs/commands/UpdateMaintenanceWindowCommand.js +1 -2
- package/dist-cjs/endpoints.js +9 -0
- package/dist-cjs/models/models_0.js +43 -24
- package/dist-cjs/models/models_1.js +35 -19
- package/dist-cjs/models/models_2.js +14 -1
- package/dist-cjs/protocols/Aws_json1_1.js +33 -0
- package/dist-es/commands/UpdateDocumentMetadataCommand.js +2 -1
- package/dist-es/commands/UpdateMaintenanceWindowCommand.js +1 -2
- package/dist-es/endpoints.js +9 -0
- package/dist-es/models/models_0.js +32 -22
- package/dist-es/models/models_1.js +28 -20
- package/dist-es/models/models_2.js +8 -0
- package/dist-es/protocols/Aws_json1_1.js +43 -15
- package/dist-types/SSM.d.ts +87 -81
- package/dist-types/SSMClient.d.ts +12 -6
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +5 -5
- package/dist-types/commands/CreateActivationCommand.d.ts +6 -6
- package/dist-types/commands/CreateAssociationBatchCommand.d.ts +6 -6
- package/dist-types/commands/CreateAssociationCommand.d.ts +10 -10
- package/dist-types/commands/CreateDocumentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteActivationCommand.d.ts +2 -3
- package/dist-types/commands/DeleteAssociationCommand.d.ts +4 -4
- package/dist-types/commands/DeleteDocumentCommand.d.ts +2 -2
- package/dist-types/commands/DeleteResourceDataSyncCommand.d.ts +2 -2
- package/dist-types/commands/DeregisterManagedInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeActivationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceInformationCommand.d.ts +7 -6
- package/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstancePatchesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +1 -1
- package/dist-types/commands/GetCommandInvocationCommand.d.ts +2 -2
- package/dist-types/commands/GetConnectionStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +2 -2
- package/dist-types/commands/GetInventoryCommand.d.ts +1 -1
- package/dist-types/commands/ListAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListCommandInvocationsCommand.d.ts +4 -4
- package/dist-types/commands/PutComplianceItemsCommand.d.ts +1 -1
- package/dist-types/commands/PutInventoryCommand.d.ts +1 -1
- package/dist-types/commands/ResumeSessionCommand.d.ts +1 -1
- package/dist-types/commands/SendCommandCommand.d.ts +1 -1
- package/dist-types/commands/StartSessionCommand.d.ts +1 -1
- package/dist-types/commands/TerminateSessionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssociationStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +2 -1
- package/dist-types/commands/UpdateMaintenanceWindowCommand.d.ts +1 -2
- package/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +240 -273
- package/dist-types/models/models_1.d.ts +271 -280
- package/dist-types/models/models_2.d.ts +100 -13
- package/dist-types/ts3.4/commands/UpdateDocumentMetadataCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateMaintenanceWindowCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +34 -44
- package/dist-types/ts3.4/models/models_1.d.ts +41 -39
- package/dist-types/ts3.4/models/models_2.d.ts +38 -0
- package/package.json +5 -5
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateDocumentMetadataRequest
|
|
4
|
+
import { UpdateDocumentMetadataRequest } from "../models/models_1";
|
|
5
|
+
import { UpdateDocumentMetadataResponse } from "../models/models_2";
|
|
5
6
|
import { deserializeAws_json1_1UpdateDocumentMetadataCommand, serializeAws_json1_1UpdateDocumentMetadataCommand, } from "../protocols/Aws_json1_1";
|
|
6
7
|
var UpdateDocumentMetadataCommand = (function (_super) {
|
|
7
8
|
__extends(UpdateDocumentMetadataCommand, _super);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateMaintenanceWindowRequest } from "../models/
|
|
5
|
-
import { UpdateMaintenanceWindowResult } from "../models/models_2";
|
|
4
|
+
import { UpdateMaintenanceWindowRequest, UpdateMaintenanceWindowResult } from "../models/models_2";
|
|
6
5
|
import { deserializeAws_json1_1UpdateMaintenanceWindowCommand, serializeAws_json1_1UpdateMaintenanceWindowCommand, } from "../protocols/Aws_json1_1";
|
|
7
6
|
var UpdateMaintenanceWindowCommand = (function (_super) {
|
|
8
7
|
__extends(UpdateMaintenanceWindowCommand, _super);
|
package/dist-es/endpoints.js
CHANGED
|
@@ -97,6 +97,7 @@ var partitionHash = {
|
|
|
97
97
|
"ap-south-1",
|
|
98
98
|
"ap-southeast-1",
|
|
99
99
|
"ap-southeast-2",
|
|
100
|
+
"ap-southeast-3",
|
|
100
101
|
"ca-central-1",
|
|
101
102
|
"eu-central-1",
|
|
102
103
|
"eu-north-1",
|
|
@@ -198,6 +199,14 @@ var partitionHash = {
|
|
|
198
199
|
hostname: "ssm.{region}.amazonaws.com",
|
|
199
200
|
tags: ["fips"],
|
|
200
201
|
},
|
|
202
|
+
{
|
|
203
|
+
hostname: "ssm-fips.{region}.api.aws",
|
|
204
|
+
tags: ["dualstack", "fips"],
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
hostname: "ssm.{region}.api.aws",
|
|
208
|
+
tags: ["dualstack"],
|
|
209
|
+
},
|
|
201
210
|
],
|
|
202
211
|
},
|
|
203
212
|
};
|
|
@@ -110,6 +110,10 @@ export var DoesNotExistException;
|
|
|
110
110
|
(function (DoesNotExistException) {
|
|
111
111
|
DoesNotExistException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
112
112
|
})(DoesNotExistException || (DoesNotExistException = {}));
|
|
113
|
+
export var RegistrationMetadataItem;
|
|
114
|
+
(function (RegistrationMetadataItem) {
|
|
115
|
+
RegistrationMetadataItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
116
|
+
})(RegistrationMetadataItem || (RegistrationMetadataItem = {}));
|
|
113
117
|
export var CreateActivationRequest;
|
|
114
118
|
(function (CreateActivationRequest) {
|
|
115
119
|
CreateActivationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -118,6 +122,10 @@ export var CreateActivationResult;
|
|
|
118
122
|
(function (CreateActivationResult) {
|
|
119
123
|
CreateActivationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
120
124
|
})(CreateActivationResult || (CreateActivationResult = {}));
|
|
125
|
+
export var InvalidParameters;
|
|
126
|
+
(function (InvalidParameters) {
|
|
127
|
+
InvalidParameters.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
128
|
+
})(InvalidParameters || (InvalidParameters = {}));
|
|
121
129
|
export var AssociationAlreadyExists;
|
|
122
130
|
(function (AssociationAlreadyExists) {
|
|
123
131
|
AssociationAlreadyExists.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -157,7 +165,7 @@ export var Target;
|
|
|
157
165
|
})(Target || (Target = {}));
|
|
158
166
|
export var CreateAssociationRequest;
|
|
159
167
|
(function (CreateAssociationRequest) {
|
|
160
|
-
CreateAssociationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
168
|
+
CreateAssociationRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: SENSITIVE_STRING }))); };
|
|
161
169
|
})(CreateAssociationRequest || (CreateAssociationRequest = {}));
|
|
162
170
|
export var AssociationOverview;
|
|
163
171
|
(function (AssociationOverview) {
|
|
@@ -175,11 +183,13 @@ export var AssociationStatus;
|
|
|
175
183
|
})(AssociationStatus || (AssociationStatus = {}));
|
|
176
184
|
export var AssociationDescription;
|
|
177
185
|
(function (AssociationDescription) {
|
|
178
|
-
AssociationDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
186
|
+
AssociationDescription.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: SENSITIVE_STRING }))); };
|
|
179
187
|
})(AssociationDescription || (AssociationDescription = {}));
|
|
180
188
|
export var CreateAssociationResult;
|
|
181
189
|
(function (CreateAssociationResult) {
|
|
182
|
-
CreateAssociationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)
|
|
190
|
+
CreateAssociationResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AssociationDescription && {
|
|
191
|
+
AssociationDescription: AssociationDescription.filterSensitiveLog(obj.AssociationDescription),
|
|
192
|
+
}))); };
|
|
183
193
|
})(CreateAssociationResult || (CreateAssociationResult = {}));
|
|
184
194
|
export var InvalidDocument;
|
|
185
195
|
(function (InvalidDocument) {
|
|
@@ -193,10 +203,6 @@ export var InvalidOutputLocation;
|
|
|
193
203
|
(function (InvalidOutputLocation) {
|
|
194
204
|
InvalidOutputLocation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
205
|
})(InvalidOutputLocation || (InvalidOutputLocation = {}));
|
|
196
|
-
export var InvalidParameters;
|
|
197
|
-
(function (InvalidParameters) {
|
|
198
|
-
InvalidParameters.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
199
|
-
})(InvalidParameters || (InvalidParameters = {}));
|
|
200
206
|
export var InvalidSchedule;
|
|
201
207
|
(function (InvalidSchedule) {
|
|
202
208
|
InvalidSchedule.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -211,19 +217,23 @@ export var UnsupportedPlatformType;
|
|
|
211
217
|
})(UnsupportedPlatformType || (UnsupportedPlatformType = {}));
|
|
212
218
|
export var CreateAssociationBatchRequestEntry;
|
|
213
219
|
(function (CreateAssociationBatchRequestEntry) {
|
|
214
|
-
CreateAssociationBatchRequestEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
220
|
+
CreateAssociationBatchRequestEntry.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: SENSITIVE_STRING }))); };
|
|
215
221
|
})(CreateAssociationBatchRequestEntry || (CreateAssociationBatchRequestEntry = {}));
|
|
216
222
|
export var CreateAssociationBatchRequest;
|
|
217
223
|
(function (CreateAssociationBatchRequest) {
|
|
218
|
-
CreateAssociationBatchRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)
|
|
224
|
+
CreateAssociationBatchRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Entries && {
|
|
225
|
+
Entries: obj.Entries.map(function (item) { return CreateAssociationBatchRequestEntry.filterSensitiveLog(item); }),
|
|
226
|
+
}))); };
|
|
219
227
|
})(CreateAssociationBatchRequest || (CreateAssociationBatchRequest = {}));
|
|
220
228
|
export var FailedCreateAssociation;
|
|
221
229
|
(function (FailedCreateAssociation) {
|
|
222
|
-
FailedCreateAssociation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
230
|
+
FailedCreateAssociation.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Entry && { Entry: CreateAssociationBatchRequestEntry.filterSensitiveLog(obj.Entry) }))); };
|
|
223
231
|
})(FailedCreateAssociation || (FailedCreateAssociation = {}));
|
|
224
232
|
export var CreateAssociationBatchResult;
|
|
225
233
|
(function (CreateAssociationBatchResult) {
|
|
226
|
-
CreateAssociationBatchResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)
|
|
234
|
+
CreateAssociationBatchResult.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Successful && {
|
|
235
|
+
Successful: obj.Successful.map(function (item) { return AssociationDescription.filterSensitiveLog(item); }),
|
|
236
|
+
})), (obj.Failed && { Failed: obj.Failed.map(function (item) { return FailedCreateAssociation.filterSensitiveLog(item); }) }))); };
|
|
227
237
|
})(CreateAssociationBatchResult || (CreateAssociationBatchResult = {}));
|
|
228
238
|
export var AttachmentsSourceKey;
|
|
229
239
|
(function (AttachmentsSourceKey) {
|
|
@@ -280,6 +290,7 @@ export var DocumentParameter;
|
|
|
280
290
|
export var PlatformType;
|
|
281
291
|
(function (PlatformType) {
|
|
282
292
|
PlatformType["LINUX"] = "Linux";
|
|
293
|
+
PlatformType["MACOS"] = "MacOS";
|
|
283
294
|
PlatformType["WINDOWS"] = "Windows";
|
|
284
295
|
})(PlatformType || (PlatformType = {}));
|
|
285
296
|
export var ReviewStatus;
|
|
@@ -457,6 +468,7 @@ export var OperatingSystem;
|
|
|
457
468
|
OperatingSystem["Debian"] = "DEBIAN";
|
|
458
469
|
OperatingSystem["MacOS"] = "MACOS";
|
|
459
470
|
OperatingSystem["OracleLinux"] = "ORACLE_LINUX";
|
|
471
|
+
OperatingSystem["Raspbian"] = "RASPBIAN";
|
|
460
472
|
OperatingSystem["RedhatEnterpriseLinux"] = "REDHAT_ENTERPRISE_LINUX";
|
|
461
473
|
OperatingSystem["Suse"] = "SUSE";
|
|
462
474
|
OperatingSystem["Ubuntu"] = "UBUNTU";
|
|
@@ -736,7 +748,9 @@ export var DescribeAssociationRequest;
|
|
|
736
748
|
})(DescribeAssociationRequest || (DescribeAssociationRequest = {}));
|
|
737
749
|
export var DescribeAssociationResult;
|
|
738
750
|
(function (DescribeAssociationResult) {
|
|
739
|
-
DescribeAssociationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)
|
|
751
|
+
DescribeAssociationResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AssociationDescription && {
|
|
752
|
+
AssociationDescription: AssociationDescription.filterSensitiveLog(obj.AssociationDescription),
|
|
753
|
+
}))); };
|
|
740
754
|
})(DescribeAssociationResult || (DescribeAssociationResult = {}));
|
|
741
755
|
export var InvalidAssociationVersion;
|
|
742
756
|
(function (InvalidAssociationVersion) {
|
|
@@ -1053,6 +1067,12 @@ export var ResourceType;
|
|
|
1053
1067
|
ResourceType["EC2_INSTANCE"] = "EC2Instance";
|
|
1054
1068
|
ResourceType["MANAGED_INSTANCE"] = "ManagedInstance";
|
|
1055
1069
|
})(ResourceType || (ResourceType = {}));
|
|
1070
|
+
export var SourceType;
|
|
1071
|
+
(function (SourceType) {
|
|
1072
|
+
SourceType["AWS_EC2_INSTANCE"] = "AWS::EC2::Instance";
|
|
1073
|
+
SourceType["AWS_IOT_THING"] = "AWS::IoT::Thing";
|
|
1074
|
+
SourceType["AWS_SSM_MANAGEDINSTANCE"] = "AWS::SSM::ManagedInstance";
|
|
1075
|
+
})(SourceType || (SourceType = {}));
|
|
1056
1076
|
export var InstanceInformation;
|
|
1057
1077
|
(function (InstanceInformation) {
|
|
1058
1078
|
InstanceInformation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1398,13 +1418,3 @@ export var ParameterTier;
|
|
|
1398
1418
|
ParameterTier["INTELLIGENT_TIERING"] = "Intelligent-Tiering";
|
|
1399
1419
|
ParameterTier["STANDARD"] = "Standard";
|
|
1400
1420
|
})(ParameterTier || (ParameterTier = {}));
|
|
1401
|
-
export var ParameterType;
|
|
1402
|
-
(function (ParameterType) {
|
|
1403
|
-
ParameterType["SECURE_STRING"] = "SecureString";
|
|
1404
|
-
ParameterType["STRING"] = "String";
|
|
1405
|
-
ParameterType["STRING_LIST"] = "StringList";
|
|
1406
|
-
})(ParameterType || (ParameterType = {}));
|
|
1407
|
-
export var ParameterMetadata;
|
|
1408
|
-
(function (ParameterMetadata) {
|
|
1409
|
-
ParameterMetadata.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1410
|
-
})(ParameterMetadata || (ParameterMetadata = {}));
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { PatchSource, } from "./models_0";
|
|
3
|
+
import { AssociationDescription, PatchSource, } from "./models_0";
|
|
4
|
+
export var ParameterType;
|
|
5
|
+
(function (ParameterType) {
|
|
6
|
+
ParameterType["SECURE_STRING"] = "SecureString";
|
|
7
|
+
ParameterType["STRING"] = "String";
|
|
8
|
+
ParameterType["STRING_LIST"] = "StringList";
|
|
9
|
+
})(ParameterType || (ParameterType = {}));
|
|
10
|
+
export var ParameterMetadata;
|
|
11
|
+
(function (ParameterMetadata) {
|
|
12
|
+
ParameterMetadata.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
|
+
})(ParameterMetadata || (ParameterMetadata = {}));
|
|
4
14
|
export var DescribeParametersResult;
|
|
5
15
|
(function (DescribeParametersResult) {
|
|
6
16
|
DescribeParametersResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -369,7 +379,7 @@ export var NotificationConfig;
|
|
|
369
379
|
})(NotificationConfig || (NotificationConfig = {}));
|
|
370
380
|
export var MaintenanceWindowRunCommandParameters;
|
|
371
381
|
(function (MaintenanceWindowRunCommandParameters) {
|
|
372
|
-
MaintenanceWindowRunCommandParameters.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
382
|
+
MaintenanceWindowRunCommandParameters.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: SENSITIVE_STRING }))); };
|
|
373
383
|
})(MaintenanceWindowRunCommandParameters || (MaintenanceWindowRunCommandParameters = {}));
|
|
374
384
|
export var MaintenanceWindowStepFunctionsParameters;
|
|
375
385
|
(function (MaintenanceWindowStepFunctionsParameters) {
|
|
@@ -377,7 +387,7 @@ export var MaintenanceWindowStepFunctionsParameters;
|
|
|
377
387
|
})(MaintenanceWindowStepFunctionsParameters || (MaintenanceWindowStepFunctionsParameters = {}));
|
|
378
388
|
export var MaintenanceWindowTaskInvocationParameters;
|
|
379
389
|
(function (MaintenanceWindowTaskInvocationParameters) {
|
|
380
|
-
MaintenanceWindowTaskInvocationParameters.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.StepFunctions && {
|
|
390
|
+
MaintenanceWindowTaskInvocationParameters.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.RunCommand && { RunCommand: MaintenanceWindowRunCommandParameters.filterSensitiveLog(obj.RunCommand) })), (obj.StepFunctions && {
|
|
381
391
|
StepFunctions: MaintenanceWindowStepFunctionsParameters.filterSensitiveLog(obj.StepFunctions),
|
|
382
392
|
})), (obj.Lambda && { Lambda: MaintenanceWindowLambdaParameters.filterSensitiveLog(obj.Lambda) }))); };
|
|
383
393
|
})(MaintenanceWindowTaskInvocationParameters || (MaintenanceWindowTaskInvocationParameters = {}));
|
|
@@ -561,11 +571,13 @@ export var ListAssociationVersionsRequest;
|
|
|
561
571
|
})(ListAssociationVersionsRequest || (ListAssociationVersionsRequest = {}));
|
|
562
572
|
export var AssociationVersionInfo;
|
|
563
573
|
(function (AssociationVersionInfo) {
|
|
564
|
-
AssociationVersionInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
574
|
+
AssociationVersionInfo.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: SENSITIVE_STRING }))); };
|
|
565
575
|
})(AssociationVersionInfo || (AssociationVersionInfo = {}));
|
|
566
576
|
export var ListAssociationVersionsResult;
|
|
567
577
|
(function (ListAssociationVersionsResult) {
|
|
568
|
-
ListAssociationVersionsResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)
|
|
578
|
+
ListAssociationVersionsResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AssociationVersions && {
|
|
579
|
+
AssociationVersions: obj.AssociationVersions.map(function (item) { return AssociationVersionInfo.filterSensitiveLog(item); }),
|
|
580
|
+
}))); };
|
|
569
581
|
})(ListAssociationVersionsResult || (ListAssociationVersionsResult = {}));
|
|
570
582
|
export var CommandFilterKey;
|
|
571
583
|
(function (CommandFilterKey) {
|
|
@@ -620,11 +632,11 @@ export var CommandStatus;
|
|
|
620
632
|
})(CommandStatus || (CommandStatus = {}));
|
|
621
633
|
export var Command;
|
|
622
634
|
(function (Command) {
|
|
623
|
-
Command.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
635
|
+
Command.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: SENSITIVE_STRING }))); };
|
|
624
636
|
})(Command || (Command = {}));
|
|
625
637
|
export var ListCommandsResult;
|
|
626
638
|
(function (ListCommandsResult) {
|
|
627
|
-
ListCommandsResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
639
|
+
ListCommandsResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Commands && { Commands: obj.Commands.map(function (item) { return Command.filterSensitiveLog(item); }) }))); };
|
|
628
640
|
})(ListCommandsResult || (ListCommandsResult = {}));
|
|
629
641
|
export var ComplianceQueryOperatorType;
|
|
630
642
|
(function (ComplianceQueryOperatorType) {
|
|
@@ -1116,11 +1128,11 @@ export var InvalidRole;
|
|
|
1116
1128
|
})(InvalidRole || (InvalidRole = {}));
|
|
1117
1129
|
export var SendCommandRequest;
|
|
1118
1130
|
(function (SendCommandRequest) {
|
|
1119
|
-
SendCommandRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1131
|
+
SendCommandRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: SENSITIVE_STRING }))); };
|
|
1120
1132
|
})(SendCommandRequest || (SendCommandRequest = {}));
|
|
1121
1133
|
export var SendCommandResult;
|
|
1122
1134
|
(function (SendCommandResult) {
|
|
1123
|
-
SendCommandResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1135
|
+
SendCommandResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Command && { Command: Command.filterSensitiveLog(obj.Command) }))); };
|
|
1124
1136
|
})(SendCommandResult || (SendCommandResult = {}));
|
|
1125
1137
|
export var InvalidAssociation;
|
|
1126
1138
|
(function (InvalidAssociation) {
|
|
@@ -1225,11 +1237,13 @@ export var InvalidUpdate;
|
|
|
1225
1237
|
})(InvalidUpdate || (InvalidUpdate = {}));
|
|
1226
1238
|
export var UpdateAssociationRequest;
|
|
1227
1239
|
(function (UpdateAssociationRequest) {
|
|
1228
|
-
UpdateAssociationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1240
|
+
UpdateAssociationRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: SENSITIVE_STRING }))); };
|
|
1229
1241
|
})(UpdateAssociationRequest || (UpdateAssociationRequest = {}));
|
|
1230
1242
|
export var UpdateAssociationResult;
|
|
1231
1243
|
(function (UpdateAssociationResult) {
|
|
1232
|
-
UpdateAssociationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)
|
|
1244
|
+
UpdateAssociationResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AssociationDescription && {
|
|
1245
|
+
AssociationDescription: AssociationDescription.filterSensitiveLog(obj.AssociationDescription),
|
|
1246
|
+
}))); };
|
|
1233
1247
|
})(UpdateAssociationResult || (UpdateAssociationResult = {}));
|
|
1234
1248
|
export var StatusUnchanged;
|
|
1235
1249
|
(function (StatusUnchanged) {
|
|
@@ -1241,7 +1255,9 @@ export var UpdateAssociationStatusRequest;
|
|
|
1241
1255
|
})(UpdateAssociationStatusRequest || (UpdateAssociationStatusRequest = {}));
|
|
1242
1256
|
export var UpdateAssociationStatusResult;
|
|
1243
1257
|
(function (UpdateAssociationStatusResult) {
|
|
1244
|
-
UpdateAssociationStatusResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)
|
|
1258
|
+
UpdateAssociationStatusResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AssociationDescription && {
|
|
1259
|
+
AssociationDescription: AssociationDescription.filterSensitiveLog(obj.AssociationDescription),
|
|
1260
|
+
}))); };
|
|
1245
1261
|
})(UpdateAssociationStatusResult || (UpdateAssociationStatusResult = {}));
|
|
1246
1262
|
export var DocumentVersionLimitExceeded;
|
|
1247
1263
|
(function (DocumentVersionLimitExceeded) {
|
|
@@ -1290,11 +1306,3 @@ export var UpdateDocumentMetadataRequest;
|
|
|
1290
1306
|
(function (UpdateDocumentMetadataRequest) {
|
|
1291
1307
|
UpdateDocumentMetadataRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1292
1308
|
})(UpdateDocumentMetadataRequest || (UpdateDocumentMetadataRequest = {}));
|
|
1293
|
-
export var UpdateDocumentMetadataResponse;
|
|
1294
|
-
(function (UpdateDocumentMetadataResponse) {
|
|
1295
|
-
UpdateDocumentMetadataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1296
|
-
})(UpdateDocumentMetadataResponse || (UpdateDocumentMetadataResponse = {}));
|
|
1297
|
-
export var UpdateMaintenanceWindowRequest;
|
|
1298
|
-
(function (UpdateMaintenanceWindowRequest) {
|
|
1299
|
-
UpdateMaintenanceWindowRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
1300
|
-
})(UpdateMaintenanceWindowRequest || (UpdateMaintenanceWindowRequest = {}));
|
|
@@ -2,6 +2,14 @@ import { __assign } from "tslib";
|
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { PatchSource, } from "./models_0";
|
|
4
4
|
import { MaintenanceWindowTaskInvocationParameters, } from "./models_1";
|
|
5
|
+
export var UpdateDocumentMetadataResponse;
|
|
6
|
+
(function (UpdateDocumentMetadataResponse) {
|
|
7
|
+
UpdateDocumentMetadataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
8
|
+
})(UpdateDocumentMetadataResponse || (UpdateDocumentMetadataResponse = {}));
|
|
9
|
+
export var UpdateMaintenanceWindowRequest;
|
|
10
|
+
(function (UpdateMaintenanceWindowRequest) {
|
|
11
|
+
UpdateMaintenanceWindowRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
12
|
+
})(UpdateMaintenanceWindowRequest || (UpdateMaintenanceWindowRequest = {}));
|
|
5
13
|
export var UpdateMaintenanceWindowResult;
|
|
6
14
|
(function (UpdateMaintenanceWindowResult) {
|
|
7
15
|
UpdateMaintenanceWindowResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
@@ -1826,36 +1826,44 @@ export var deserializeAws_json1_1CreateActivationCommand = function (output, con
|
|
|
1826
1826
|
});
|
|
1827
1827
|
}); };
|
|
1828
1828
|
var deserializeAws_json1_1CreateActivationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1829
|
-
var parsedOutput, _a, response, errorCode, _b, _c, parsedBody, message;
|
|
1830
|
-
var
|
|
1831
|
-
return __generator(this, function (
|
|
1832
|
-
switch (
|
|
1829
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, parsedBody, message;
|
|
1830
|
+
var _e;
|
|
1831
|
+
return __generator(this, function (_f) {
|
|
1832
|
+
switch (_f.label) {
|
|
1833
1833
|
case 0:
|
|
1834
1834
|
_a = [__assign({}, output)];
|
|
1835
|
-
|
|
1835
|
+
_e = {};
|
|
1836
1836
|
return [4, parseBody(output.body, context)];
|
|
1837
1837
|
case 1:
|
|
1838
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1838
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
1839
1839
|
errorCode = "UnknownError";
|
|
1840
1840
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1841
1841
|
_b = errorCode;
|
|
1842
1842
|
switch (_b) {
|
|
1843
1843
|
case "InternalServerError": return [3, 2];
|
|
1844
1844
|
case "com.amazonaws.ssm#InternalServerError": return [3, 2];
|
|
1845
|
+
case "InvalidParameters": return [3, 4];
|
|
1846
|
+
case "com.amazonaws.ssm#InvalidParameters": return [3, 4];
|
|
1845
1847
|
}
|
|
1846
|
-
return [3,
|
|
1848
|
+
return [3, 6];
|
|
1847
1849
|
case 2:
|
|
1848
1850
|
_c = [{}];
|
|
1849
1851
|
return [4, deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)];
|
|
1850
1852
|
case 3:
|
|
1851
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
1852
|
-
return [3,
|
|
1853
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1854
|
+
return [3, 7];
|
|
1853
1855
|
case 4:
|
|
1856
|
+
_d = [{}];
|
|
1857
|
+
return [4, deserializeAws_json1_1InvalidParametersResponse(parsedOutput, context)];
|
|
1858
|
+
case 5:
|
|
1859
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1860
|
+
return [3, 7];
|
|
1861
|
+
case 6:
|
|
1854
1862
|
parsedBody = parsedOutput.body;
|
|
1855
1863
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
1856
1864
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
1857
|
-
|
|
1858
|
-
case
|
|
1865
|
+
_f.label = 7;
|
|
1866
|
+
case 7:
|
|
1859
1867
|
message = response.message || response.Message || errorCode;
|
|
1860
1868
|
response.message = message;
|
|
1861
1869
|
delete response.Message;
|
|
@@ -13324,10 +13332,13 @@ var serializeAws_json1_1ComplianceStringFilterValueList = function (input, conte
|
|
|
13324
13332
|
});
|
|
13325
13333
|
};
|
|
13326
13334
|
var serializeAws_json1_1CreateActivationRequest = function (input, context) {
|
|
13327
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DefaultInstanceName !== undefined &&
|
|
13335
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DefaultInstanceName !== undefined &&
|
|
13328
13336
|
input.DefaultInstanceName !== null && { DefaultInstanceName: input.DefaultInstanceName })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.ExpirationDate !== undefined &&
|
|
13329
13337
|
input.ExpirationDate !== null && { ExpirationDate: Math.round(input.ExpirationDate.getTime() / 1000) })), (input.IamRole !== undefined && input.IamRole !== null && { IamRole: input.IamRole })), (input.RegistrationLimit !== undefined &&
|
|
13330
|
-
input.RegistrationLimit !== null && { RegistrationLimit: input.RegistrationLimit })), (input.
|
|
13338
|
+
input.RegistrationLimit !== null && { RegistrationLimit: input.RegistrationLimit })), (input.RegistrationMetadata !== undefined &&
|
|
13339
|
+
input.RegistrationMetadata !== null && {
|
|
13340
|
+
RegistrationMetadata: serializeAws_json1_1RegistrationMetadataList(input.RegistrationMetadata, context),
|
|
13341
|
+
})), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
13331
13342
|
};
|
|
13332
13343
|
var serializeAws_json1_1CreateAssociationBatchRequest = function (input, context) {
|
|
13333
13344
|
return __assign({}, (input.Entries !== undefined &&
|
|
@@ -14707,6 +14718,19 @@ var serializeAws_json1_1RegisterTaskWithMaintenanceWindowRequest = function (inp
|
|
|
14707
14718
|
TaskParameters: serializeAws_json1_1MaintenanceWindowTaskParameters(input.TaskParameters, context),
|
|
14708
14719
|
})), (input.TaskType !== undefined && input.TaskType !== null && { TaskType: input.TaskType })), (input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId }));
|
|
14709
14720
|
};
|
|
14721
|
+
var serializeAws_json1_1RegistrationMetadataItem = function (input, context) {
|
|
14722
|
+
return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
14723
|
+
};
|
|
14724
|
+
var serializeAws_json1_1RegistrationMetadataList = function (input, context) {
|
|
14725
|
+
return input
|
|
14726
|
+
.filter(function (e) { return e != null; })
|
|
14727
|
+
.map(function (entry) {
|
|
14728
|
+
if (entry === null) {
|
|
14729
|
+
return null;
|
|
14730
|
+
}
|
|
14731
|
+
return serializeAws_json1_1RegistrationMetadataItem(entry, context);
|
|
14732
|
+
});
|
|
14733
|
+
};
|
|
14710
14734
|
var serializeAws_json1_1RelatedOpsItem = function (input, context) {
|
|
14711
14735
|
return __assign({}, (input.OpsItemId !== undefined && input.OpsItemId !== null && { OpsItemId: input.OpsItemId }));
|
|
14712
14736
|
};
|
|
@@ -14914,10 +14938,10 @@ var serializeAws_json1_1StartChangeRequestExecutionRequest = function (input, co
|
|
|
14914
14938
|
input.ScheduledTime !== null && { ScheduledTime: Math.round(input.ScheduledTime.getTime() / 1000) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
14915
14939
|
};
|
|
14916
14940
|
var serializeAws_json1_1StartSessionRequest = function (input, context) {
|
|
14917
|
-
return __assign(__assign(__assign({}, (input.DocumentName !== undefined && input.DocumentName !== null && { DocumentName: input.DocumentName })), (input.Parameters !== undefined &&
|
|
14941
|
+
return __assign(__assign(__assign(__assign({}, (input.DocumentName !== undefined && input.DocumentName !== null && { DocumentName: input.DocumentName })), (input.Parameters !== undefined &&
|
|
14918
14942
|
input.Parameters !== null && {
|
|
14919
14943
|
Parameters: serializeAws_json1_1SessionManagerParameters(input.Parameters, context),
|
|
14920
|
-
})), (input.Target !== undefined && input.Target !== null && { Target: input.Target }));
|
|
14944
|
+
})), (input.Reason !== undefined && input.Reason !== null && { Reason: input.Reason })), (input.Target !== undefined && input.Target !== null && { Target: input.Target }));
|
|
14921
14945
|
};
|
|
14922
14946
|
var serializeAws_json1_1StepExecutionFilter = function (input, context) {
|
|
14923
14947
|
return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Values !== undefined &&
|
|
@@ -17103,6 +17127,8 @@ var deserializeAws_json1_1InstanceInformation = function (output, context) {
|
|
|
17103
17127
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.RegistrationDate)))
|
|
17104
17128
|
: undefined,
|
|
17105
17129
|
ResourceType: __expectString(output.ResourceType),
|
|
17130
|
+
SourceId: __expectString(output.SourceId),
|
|
17131
|
+
SourceType: __expectString(output.SourceType),
|
|
17106
17132
|
};
|
|
17107
17133
|
};
|
|
17108
17134
|
var deserializeAws_json1_1InstanceInformationList = function (output, context) {
|
|
@@ -19235,10 +19261,12 @@ var deserializeAws_json1_1Session = function (output, context) {
|
|
|
19235
19261
|
EndDate: output.EndDate !== undefined && output.EndDate !== null
|
|
19236
19262
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndDate)))
|
|
19237
19263
|
: undefined,
|
|
19264
|
+
MaxSessionDuration: __expectString(output.MaxSessionDuration),
|
|
19238
19265
|
OutputUrl: output.OutputUrl !== undefined && output.OutputUrl !== null
|
|
19239
19266
|
? deserializeAws_json1_1SessionManagerOutputUrl(output.OutputUrl, context)
|
|
19240
19267
|
: undefined,
|
|
19241
19268
|
Owner: __expectString(output.Owner),
|
|
19269
|
+
Reason: __expectString(output.Reason),
|
|
19242
19270
|
SessionId: __expectString(output.SessionId),
|
|
19243
19271
|
StartDate: output.StartDate !== undefined && output.StartDate !== null
|
|
19244
19272
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartDate)))
|