@aws-sdk/client-ssm 3.42.0 → 3.46.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 +50 -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 +1 -0
- package/dist-cjs/models/models_0.js +42 -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 +30 -0
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/commands/UpdateDocumentMetadataCommand.js +2 -1
- package/dist-es/commands/UpdateMaintenanceWindowCommand.js +1 -2
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +31 -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 +39 -13
- package/dist-es/runtimeConfig.js +0 -2
- 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 +232 -266
- package/dist-types/models/models_1.d.ts +257 -278
- 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 +33 -44
- package/dist-types/ts3.4/models/models_1.d.ts +35 -39
- package/dist-types/ts3.4/models/models_2.d.ts +38 -0
- package/package.json +37 -44
package/dist-es/endpoints.js
CHANGED
|
@@ -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;
|
|
@@ -737,7 +748,9 @@ export var DescribeAssociationRequest;
|
|
|
737
748
|
})(DescribeAssociationRequest || (DescribeAssociationRequest = {}));
|
|
738
749
|
export var DescribeAssociationResult;
|
|
739
750
|
(function (DescribeAssociationResult) {
|
|
740
|
-
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
|
+
}))); };
|
|
741
754
|
})(DescribeAssociationResult || (DescribeAssociationResult = {}));
|
|
742
755
|
export var InvalidAssociationVersion;
|
|
743
756
|
(function (InvalidAssociationVersion) {
|
|
@@ -1054,6 +1067,12 @@ export var ResourceType;
|
|
|
1054
1067
|
ResourceType["EC2_INSTANCE"] = "EC2Instance";
|
|
1055
1068
|
ResourceType["MANAGED_INSTANCE"] = "ManagedInstance";
|
|
1056
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 = {}));
|
|
1057
1076
|
export var InstanceInformation;
|
|
1058
1077
|
(function (InstanceInformation) {
|
|
1059
1078
|
InstanceInformation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1399,13 +1418,3 @@ export var ParameterTier;
|
|
|
1399
1418
|
ParameterTier["INTELLIGENT_TIERING"] = "Intelligent-Tiering";
|
|
1400
1419
|
ParameterTier["STANDARD"] = "Standard";
|
|
1401
1420
|
})(ParameterTier || (ParameterTier = {}));
|
|
1402
|
-
export var ParameterType;
|
|
1403
|
-
(function (ParameterType) {
|
|
1404
|
-
ParameterType["SECURE_STRING"] = "SecureString";
|
|
1405
|
-
ParameterType["STRING"] = "String";
|
|
1406
|
-
ParameterType["STRING_LIST"] = "StringList";
|
|
1407
|
-
})(ParameterType || (ParameterType = {}));
|
|
1408
|
-
export var ParameterMetadata;
|
|
1409
|
-
(function (ParameterMetadata) {
|
|
1410
|
-
ParameterMetadata.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1411
|
-
})(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
|
};
|
|
@@ -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) {
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -12,10 +12,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
15
|
export var getRuntimeConfig = function (config) {
|
|
17
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
19
17
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
18
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
19
|
};
|