@aws-sdk/client-ssm 3.556.0 → 3.563.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist-cjs/index.js +213 -73
- package/dist-es/SSM.js +2 -0
- package/dist-es/commands/DescribeInstancePropertiesCommand.js +24 -0
- package/dist-es/commands/DescribeMaintenanceWindowTargetsCommand.js +1 -1
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +30 -9
- package/dist-es/models/models_1.js +9 -43
- package/dist-es/models/models_2.js +43 -0
- package/dist-es/pagination/DescribeInstancePropertiesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +78 -3
- package/dist-types/SSM.d.ts +8 -0
- package/dist-types/SSMClient.d.ts +3 -2
- package/dist-types/commands/DescribeInstancePropertiesCommand.d.ts +151 -0
- package/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +2 -1
- package/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts +1 -2
- package/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +1 -1
- package/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +1 -1
- package/dist-types/commands/StartSessionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +334 -243
- package/dist-types/models/models_1.d.ts +219 -234
- package/dist-types/models/models_2.d.ts +246 -8
- package/dist-types/pagination/DescribeInstancePropertiesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/SSM.d.ts +18 -0
- package/dist-types/ts3.4/SSMClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/DescribeInstancePropertiesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeMaintenanceWindowTasksCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartChangeRequestExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +79 -49
- package/dist-types/ts3.4/models/models_1.d.ts +51 -60
- package/dist-types/ts3.4/models/models_2.d.ts +62 -1
- package/dist-types/ts3.4/pagination/DescribeInstancePropertiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -597,6 +597,14 @@ DescribeInstancePatchStatesForPatchGroup
|
|
|
597
597
|
|
|
598
598
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm/command/DescribeInstancePatchStatesForPatchGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/DescribeInstancePatchStatesForPatchGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/DescribeInstancePatchStatesForPatchGroupCommandOutput/)
|
|
599
599
|
|
|
600
|
+
</details>
|
|
601
|
+
<details>
|
|
602
|
+
<summary>
|
|
603
|
+
DescribeInstanceProperties
|
|
604
|
+
</summary>
|
|
605
|
+
|
|
606
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ssm/command/DescribeInstancePropertiesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/DescribeInstancePropertiesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ssm/Interface/DescribeInstancePropertiesCommandOutput/)
|
|
607
|
+
|
|
600
608
|
</details>
|
|
601
609
|
<details>
|
|
602
610
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -119,6 +119,7 @@ __export(src_exports, {
|
|
|
119
119
|
DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog: () => DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog,
|
|
120
120
|
DescribeInstancePatchStatesResultFilterSensitiveLog: () => DescribeInstancePatchStatesResultFilterSensitiveLog,
|
|
121
121
|
DescribeInstancePatchesCommand: () => DescribeInstancePatchesCommand,
|
|
122
|
+
DescribeInstancePropertiesCommand: () => DescribeInstancePropertiesCommand,
|
|
122
123
|
DescribeInventoryDeletionsCommand: () => DescribeInventoryDeletionsCommand,
|
|
123
124
|
DescribeMaintenanceWindowExecutionTaskInvocationsCommand: () => DescribeMaintenanceWindowExecutionTaskInvocationsCommand,
|
|
124
125
|
DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog: () => DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog,
|
|
@@ -205,6 +206,8 @@ __export(src_exports, {
|
|
|
205
206
|
InstanceInformationFilterKey: () => InstanceInformationFilterKey,
|
|
206
207
|
InstancePatchStateFilterSensitiveLog: () => InstancePatchStateFilterSensitiveLog,
|
|
207
208
|
InstancePatchStateOperatorType: () => InstancePatchStateOperatorType,
|
|
209
|
+
InstancePropertyFilterKey: () => InstancePropertyFilterKey,
|
|
210
|
+
InstancePropertyFilterOperator: () => InstancePropertyFilterOperator,
|
|
208
211
|
InternalServerError: () => InternalServerError,
|
|
209
212
|
InvalidActivation: () => InvalidActivation,
|
|
210
213
|
InvalidActivationId: () => InvalidActivationId,
|
|
@@ -230,6 +233,7 @@ __export(src_exports, {
|
|
|
230
233
|
InvalidFilterValue: () => InvalidFilterValue,
|
|
231
234
|
InvalidInstanceId: () => InvalidInstanceId,
|
|
232
235
|
InvalidInstanceInformationFilterValue: () => InvalidInstanceInformationFilterValue,
|
|
236
|
+
InvalidInstancePropertyFilterValue: () => InvalidInstancePropertyFilterValue,
|
|
233
237
|
InvalidInventoryGroupException: () => InvalidInventoryGroupException,
|
|
234
238
|
InvalidInventoryItemContextException: () => InvalidInventoryItemContextException,
|
|
235
239
|
InvalidInventoryRequestException: () => InvalidInventoryRequestException,
|
|
@@ -454,6 +458,7 @@ __export(src_exports, {
|
|
|
454
458
|
paginateDescribeInstancePatchStates: () => paginateDescribeInstancePatchStates,
|
|
455
459
|
paginateDescribeInstancePatchStatesForPatchGroup: () => paginateDescribeInstancePatchStatesForPatchGroup,
|
|
456
460
|
paginateDescribeInstancePatches: () => paginateDescribeInstancePatches,
|
|
461
|
+
paginateDescribeInstanceProperties: () => paginateDescribeInstanceProperties,
|
|
457
462
|
paginateDescribeInventoryDeletions: () => paginateDescribeInventoryDeletions,
|
|
458
463
|
paginateDescribeMaintenanceWindowExecutionTaskInvocations: () => paginateDescribeMaintenanceWindowExecutionTaskInvocations,
|
|
459
464
|
paginateDescribeMaintenanceWindowExecutionTasks: () => paginateDescribeMaintenanceWindowExecutionTasks,
|
|
@@ -2223,6 +2228,41 @@ var InstancePatchStateOperatorType = {
|
|
|
2223
2228
|
LESS_THAN: "LessThan",
|
|
2224
2229
|
NOT_EQUAL: "NotEqual"
|
|
2225
2230
|
};
|
|
2231
|
+
var InstancePropertyFilterOperator = {
|
|
2232
|
+
BEGIN_WITH: "BeginWith",
|
|
2233
|
+
EQUAL: "Equal",
|
|
2234
|
+
GREATER_THAN: "GreaterThan",
|
|
2235
|
+
LESS_THAN: "LessThan",
|
|
2236
|
+
NOT_EQUAL: "NotEqual"
|
|
2237
|
+
};
|
|
2238
|
+
var InstancePropertyFilterKey = {
|
|
2239
|
+
ACTIVATION_IDS: "ActivationIds",
|
|
2240
|
+
AGENT_VERSION: "AgentVersion",
|
|
2241
|
+
ASSOCIATION_STATUS: "AssociationStatus",
|
|
2242
|
+
DOCUMENT_NAME: "DocumentName",
|
|
2243
|
+
IAM_ROLE: "IamRole",
|
|
2244
|
+
INSTANCE_IDS: "InstanceIds",
|
|
2245
|
+
PING_STATUS: "PingStatus",
|
|
2246
|
+
PLATFORM_TYPES: "PlatformTypes",
|
|
2247
|
+
RESOURCE_TYPE: "ResourceType"
|
|
2248
|
+
};
|
|
2249
|
+
var _InvalidInstancePropertyFilterValue = class _InvalidInstancePropertyFilterValue extends SSMServiceException {
|
|
2250
|
+
/**
|
|
2251
|
+
* @internal
|
|
2252
|
+
*/
|
|
2253
|
+
constructor(opts) {
|
|
2254
|
+
super({
|
|
2255
|
+
name: "InvalidInstancePropertyFilterValue",
|
|
2256
|
+
$fault: "client",
|
|
2257
|
+
...opts
|
|
2258
|
+
});
|
|
2259
|
+
this.name = "InvalidInstancePropertyFilterValue";
|
|
2260
|
+
this.$fault = "client";
|
|
2261
|
+
Object.setPrototypeOf(this, _InvalidInstancePropertyFilterValue.prototype);
|
|
2262
|
+
}
|
|
2263
|
+
};
|
|
2264
|
+
__name(_InvalidInstancePropertyFilterValue, "InvalidInstancePropertyFilterValue");
|
|
2265
|
+
var InvalidInstancePropertyFilterValue = _InvalidInstancePropertyFilterValue;
|
|
2226
2266
|
var InventoryDeletionStatus = {
|
|
2227
2267
|
COMPLETE: "Complete",
|
|
2228
2268
|
IN_PROGRESS: "InProgress"
|
|
@@ -2355,15 +2395,6 @@ var DescribeMaintenanceWindowsResultFilterSensitiveLog = /* @__PURE__ */ __name(
|
|
|
2355
2395
|
WindowIdentities: obj.WindowIdentities.map((item) => MaintenanceWindowIdentityFilterSensitiveLog(item))
|
|
2356
2396
|
}
|
|
2357
2397
|
}), "DescribeMaintenanceWindowsResultFilterSensitiveLog");
|
|
2358
|
-
var MaintenanceWindowTargetFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2359
|
-
...obj,
|
|
2360
|
-
...obj.OwnerInformation && { OwnerInformation: import_smithy_client.SENSITIVE_STRING },
|
|
2361
|
-
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
2362
|
-
}), "MaintenanceWindowTargetFilterSensitiveLog");
|
|
2363
|
-
var DescribeMaintenanceWindowTargetsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2364
|
-
...obj,
|
|
2365
|
-
...obj.Targets && { Targets: obj.Targets.map((item) => MaintenanceWindowTargetFilterSensitiveLog(item)) }
|
|
2366
|
-
}), "DescribeMaintenanceWindowTargetsResultFilterSensitiveLog");
|
|
2367
2398
|
|
|
2368
2399
|
// src/models/models_1.ts
|
|
2369
2400
|
|
|
@@ -3492,64 +3523,15 @@ var _InvalidAutomationExecutionParametersException = class _InvalidAutomationExe
|
|
|
3492
3523
|
};
|
|
3493
3524
|
__name(_InvalidAutomationExecutionParametersException, "InvalidAutomationExecutionParametersException");
|
|
3494
3525
|
var InvalidAutomationExecutionParametersException = _InvalidAutomationExecutionParametersException;
|
|
3495
|
-
var
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
});
|
|
3505
|
-
this.name = "AutomationDefinitionNotApprovedException";
|
|
3506
|
-
this.$fault = "client";
|
|
3507
|
-
Object.setPrototypeOf(this, _AutomationDefinitionNotApprovedException.prototype);
|
|
3508
|
-
this.Message = opts.Message;
|
|
3509
|
-
}
|
|
3510
|
-
};
|
|
3511
|
-
__name(_AutomationDefinitionNotApprovedException, "AutomationDefinitionNotApprovedException");
|
|
3512
|
-
var AutomationDefinitionNotApprovedException = _AutomationDefinitionNotApprovedException;
|
|
3513
|
-
var _TargetNotConnected = class _TargetNotConnected extends SSMServiceException {
|
|
3514
|
-
/**
|
|
3515
|
-
* @internal
|
|
3516
|
-
*/
|
|
3517
|
-
constructor(opts) {
|
|
3518
|
-
super({
|
|
3519
|
-
name: "TargetNotConnected",
|
|
3520
|
-
$fault: "client",
|
|
3521
|
-
...opts
|
|
3522
|
-
});
|
|
3523
|
-
this.name = "TargetNotConnected";
|
|
3524
|
-
this.$fault = "client";
|
|
3525
|
-
Object.setPrototypeOf(this, _TargetNotConnected.prototype);
|
|
3526
|
-
this.Message = opts.Message;
|
|
3527
|
-
}
|
|
3528
|
-
};
|
|
3529
|
-
__name(_TargetNotConnected, "TargetNotConnected");
|
|
3530
|
-
var TargetNotConnected = _TargetNotConnected;
|
|
3531
|
-
var _InvalidAutomationStatusUpdateException = class _InvalidAutomationStatusUpdateException extends SSMServiceException {
|
|
3532
|
-
/**
|
|
3533
|
-
* @internal
|
|
3534
|
-
*/
|
|
3535
|
-
constructor(opts) {
|
|
3536
|
-
super({
|
|
3537
|
-
name: "InvalidAutomationStatusUpdateException",
|
|
3538
|
-
$fault: "client",
|
|
3539
|
-
...opts
|
|
3540
|
-
});
|
|
3541
|
-
this.name = "InvalidAutomationStatusUpdateException";
|
|
3542
|
-
this.$fault = "client";
|
|
3543
|
-
Object.setPrototypeOf(this, _InvalidAutomationStatusUpdateException.prototype);
|
|
3544
|
-
this.Message = opts.Message;
|
|
3545
|
-
}
|
|
3546
|
-
};
|
|
3547
|
-
__name(_InvalidAutomationStatusUpdateException, "InvalidAutomationStatusUpdateException");
|
|
3548
|
-
var InvalidAutomationStatusUpdateException = _InvalidAutomationStatusUpdateException;
|
|
3549
|
-
var StopType = {
|
|
3550
|
-
CANCEL: "Cancel",
|
|
3551
|
-
COMPLETE: "Complete"
|
|
3552
|
-
};
|
|
3526
|
+
var MaintenanceWindowTargetFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
3527
|
+
...obj,
|
|
3528
|
+
...obj.OwnerInformation && { OwnerInformation: import_smithy_client.SENSITIVE_STRING },
|
|
3529
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING }
|
|
3530
|
+
}), "MaintenanceWindowTargetFilterSensitiveLog");
|
|
3531
|
+
var DescribeMaintenanceWindowTargetsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
3532
|
+
...obj,
|
|
3533
|
+
...obj.Targets && { Targets: obj.Targets.map((item) => MaintenanceWindowTargetFilterSensitiveLog(item)) }
|
|
3534
|
+
}), "DescribeMaintenanceWindowTargetsResultFilterSensitiveLog");
|
|
3553
3535
|
var MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
3554
3536
|
...obj,
|
|
3555
3537
|
...obj.Values && { Values: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -3685,6 +3667,64 @@ var SendCommandResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
3685
3667
|
|
|
3686
3668
|
// src/models/models_2.ts
|
|
3687
3669
|
|
|
3670
|
+
var _AutomationDefinitionNotApprovedException = class _AutomationDefinitionNotApprovedException extends SSMServiceException {
|
|
3671
|
+
/**
|
|
3672
|
+
* @internal
|
|
3673
|
+
*/
|
|
3674
|
+
constructor(opts) {
|
|
3675
|
+
super({
|
|
3676
|
+
name: "AutomationDefinitionNotApprovedException",
|
|
3677
|
+
$fault: "client",
|
|
3678
|
+
...opts
|
|
3679
|
+
});
|
|
3680
|
+
this.name = "AutomationDefinitionNotApprovedException";
|
|
3681
|
+
this.$fault = "client";
|
|
3682
|
+
Object.setPrototypeOf(this, _AutomationDefinitionNotApprovedException.prototype);
|
|
3683
|
+
this.Message = opts.Message;
|
|
3684
|
+
}
|
|
3685
|
+
};
|
|
3686
|
+
__name(_AutomationDefinitionNotApprovedException, "AutomationDefinitionNotApprovedException");
|
|
3687
|
+
var AutomationDefinitionNotApprovedException = _AutomationDefinitionNotApprovedException;
|
|
3688
|
+
var _TargetNotConnected = class _TargetNotConnected extends SSMServiceException {
|
|
3689
|
+
/**
|
|
3690
|
+
* @internal
|
|
3691
|
+
*/
|
|
3692
|
+
constructor(opts) {
|
|
3693
|
+
super({
|
|
3694
|
+
name: "TargetNotConnected",
|
|
3695
|
+
$fault: "client",
|
|
3696
|
+
...opts
|
|
3697
|
+
});
|
|
3698
|
+
this.name = "TargetNotConnected";
|
|
3699
|
+
this.$fault = "client";
|
|
3700
|
+
Object.setPrototypeOf(this, _TargetNotConnected.prototype);
|
|
3701
|
+
this.Message = opts.Message;
|
|
3702
|
+
}
|
|
3703
|
+
};
|
|
3704
|
+
__name(_TargetNotConnected, "TargetNotConnected");
|
|
3705
|
+
var TargetNotConnected = _TargetNotConnected;
|
|
3706
|
+
var _InvalidAutomationStatusUpdateException = class _InvalidAutomationStatusUpdateException extends SSMServiceException {
|
|
3707
|
+
/**
|
|
3708
|
+
* @internal
|
|
3709
|
+
*/
|
|
3710
|
+
constructor(opts) {
|
|
3711
|
+
super({
|
|
3712
|
+
name: "InvalidAutomationStatusUpdateException",
|
|
3713
|
+
$fault: "client",
|
|
3714
|
+
...opts
|
|
3715
|
+
});
|
|
3716
|
+
this.name = "InvalidAutomationStatusUpdateException";
|
|
3717
|
+
this.$fault = "client";
|
|
3718
|
+
Object.setPrototypeOf(this, _InvalidAutomationStatusUpdateException.prototype);
|
|
3719
|
+
this.Message = opts.Message;
|
|
3720
|
+
}
|
|
3721
|
+
};
|
|
3722
|
+
__name(_InvalidAutomationStatusUpdateException, "InvalidAutomationStatusUpdateException");
|
|
3723
|
+
var InvalidAutomationStatusUpdateException = _InvalidAutomationStatusUpdateException;
|
|
3724
|
+
var StopType = {
|
|
3725
|
+
CANCEL: "Cancel",
|
|
3726
|
+
COMPLETE: "Complete"
|
|
3727
|
+
};
|
|
3688
3728
|
var _AssociationVersionLimitExceeded = class _AssociationVersionLimitExceeded extends SSMServiceException {
|
|
3689
3729
|
/**
|
|
3690
3730
|
* @internal
|
|
@@ -4163,6 +4203,12 @@ var se_DescribeInstancePatchStatesForPatchGroupCommand = /* @__PURE__ */ __name(
|
|
|
4163
4203
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
4164
4204
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
4165
4205
|
}, "se_DescribeInstancePatchStatesForPatchGroupCommand");
|
|
4206
|
+
var se_DescribeInstancePropertiesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
4207
|
+
const headers = sharedHeaders("DescribeInstanceProperties");
|
|
4208
|
+
let body;
|
|
4209
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
4210
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
4211
|
+
}, "se_DescribeInstancePropertiesCommand");
|
|
4166
4212
|
var se_DescribeInventoryDeletionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
4167
4213
|
const headers = sharedHeaders("DescribeInventoryDeletions");
|
|
4168
4214
|
let body;
|
|
@@ -5312,6 +5358,19 @@ var de_DescribeInstancePatchStatesForPatchGroupCommand = /* @__PURE__ */ __name(
|
|
|
5312
5358
|
};
|
|
5313
5359
|
return response;
|
|
5314
5360
|
}, "de_DescribeInstancePatchStatesForPatchGroupCommand");
|
|
5361
|
+
var de_DescribeInstancePropertiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5362
|
+
if (output.statusCode >= 300) {
|
|
5363
|
+
return de_CommandError(output, context);
|
|
5364
|
+
}
|
|
5365
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
5366
|
+
let contents = {};
|
|
5367
|
+
contents = de_DescribeInstancePropertiesResult(data, context);
|
|
5368
|
+
const response = {
|
|
5369
|
+
$metadata: deserializeMetadata(output),
|
|
5370
|
+
...contents
|
|
5371
|
+
};
|
|
5372
|
+
return response;
|
|
5373
|
+
}, "de_DescribeInstancePropertiesCommand");
|
|
5315
5374
|
var de_DescribeInventoryDeletionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
5316
5375
|
if (output.statusCode >= 300) {
|
|
5317
5376
|
return de_CommandError(output, context);
|
|
@@ -6751,6 +6810,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
6751
6810
|
case "InvalidInstanceInformationFilterValue":
|
|
6752
6811
|
case "com.amazonaws.ssm#InvalidInstanceInformationFilterValue":
|
|
6753
6812
|
throw await de_InvalidInstanceInformationFilterValueRes(parsedOutput, context);
|
|
6813
|
+
case "InvalidInstancePropertyFilterValue":
|
|
6814
|
+
case "com.amazonaws.ssm#InvalidInstancePropertyFilterValue":
|
|
6815
|
+
throw await de_InvalidInstancePropertyFilterValueRes(parsedOutput, context);
|
|
6754
6816
|
case "InvalidDeletionIdException":
|
|
6755
6817
|
case "com.amazonaws.ssm#InvalidDeletionIdException":
|
|
6756
6818
|
throw await de_InvalidDeletionIdExceptionRes(parsedOutput, context);
|
|
@@ -7423,6 +7485,15 @@ var de_InvalidInstanceInformationFilterValueRes = /* @__PURE__ */ __name(async (
|
|
|
7423
7485
|
});
|
|
7424
7486
|
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
7425
7487
|
}, "de_InvalidInstanceInformationFilterValueRes");
|
|
7488
|
+
var de_InvalidInstancePropertyFilterValueRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
7489
|
+
const body = parsedOutput.body;
|
|
7490
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
7491
|
+
const exception = new InvalidInstancePropertyFilterValue({
|
|
7492
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
7493
|
+
...deserialized
|
|
7494
|
+
});
|
|
7495
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
7496
|
+
}, "de_InvalidInstancePropertyFilterValueRes");
|
|
7426
7497
|
var de_InvalidInventoryGroupExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
7427
7498
|
const body = parsedOutput.body;
|
|
7428
7499
|
const deserialized = (0, import_smithy_client._json)(body);
|
|
@@ -8831,6 +8902,12 @@ var de_DescribeInstancePatchStatesResult = /* @__PURE__ */ __name((output, conte
|
|
|
8831
8902
|
NextToken: import_smithy_client.expectString
|
|
8832
8903
|
});
|
|
8833
8904
|
}, "de_DescribeInstancePatchStatesResult");
|
|
8905
|
+
var de_DescribeInstancePropertiesResult = /* @__PURE__ */ __name((output, context) => {
|
|
8906
|
+
return (0, import_smithy_client.take)(output, {
|
|
8907
|
+
InstanceProperties: (_) => de_InstanceProperties(_, context),
|
|
8908
|
+
NextToken: import_smithy_client.expectString
|
|
8909
|
+
});
|
|
8910
|
+
}, "de_DescribeInstancePropertiesResult");
|
|
8834
8911
|
var de_DescribeInventoryDeletionsResult = /* @__PURE__ */ __name((output, context) => {
|
|
8835
8912
|
return (0, import_smithy_client.take)(output, {
|
|
8836
8913
|
InventoryDeletions: (_) => de_InventoryDeletionsList(_, context),
|
|
@@ -9233,6 +9310,42 @@ var de_InstancePatchStatesList = /* @__PURE__ */ __name((output, context) => {
|
|
|
9233
9310
|
});
|
|
9234
9311
|
return retVal;
|
|
9235
9312
|
}, "de_InstancePatchStatesList");
|
|
9313
|
+
var de_InstanceProperties = /* @__PURE__ */ __name((output, context) => {
|
|
9314
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
9315
|
+
return de_InstanceProperty(entry, context);
|
|
9316
|
+
});
|
|
9317
|
+
return retVal;
|
|
9318
|
+
}, "de_InstanceProperties");
|
|
9319
|
+
var de_InstanceProperty = /* @__PURE__ */ __name((output, context) => {
|
|
9320
|
+
return (0, import_smithy_client.take)(output, {
|
|
9321
|
+
ActivationId: import_smithy_client.expectString,
|
|
9322
|
+
AgentVersion: import_smithy_client.expectString,
|
|
9323
|
+
Architecture: import_smithy_client.expectString,
|
|
9324
|
+
AssociationOverview: import_smithy_client._json,
|
|
9325
|
+
AssociationStatus: import_smithy_client.expectString,
|
|
9326
|
+
ComputerName: import_smithy_client.expectString,
|
|
9327
|
+
IPAddress: import_smithy_client.expectString,
|
|
9328
|
+
IamRole: import_smithy_client.expectString,
|
|
9329
|
+
InstanceId: import_smithy_client.expectString,
|
|
9330
|
+
InstanceRole: import_smithy_client.expectString,
|
|
9331
|
+
InstanceState: import_smithy_client.expectString,
|
|
9332
|
+
InstanceType: import_smithy_client.expectString,
|
|
9333
|
+
KeyName: import_smithy_client.expectString,
|
|
9334
|
+
LastAssociationExecutionDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
9335
|
+
LastPingDateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
9336
|
+
LastSuccessfulAssociationExecutionDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
9337
|
+
LaunchTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
9338
|
+
Name: import_smithy_client.expectString,
|
|
9339
|
+
PingStatus: import_smithy_client.expectString,
|
|
9340
|
+
PlatformName: import_smithy_client.expectString,
|
|
9341
|
+
PlatformType: import_smithy_client.expectString,
|
|
9342
|
+
PlatformVersion: import_smithy_client.expectString,
|
|
9343
|
+
RegistrationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
9344
|
+
ResourceType: import_smithy_client.expectString,
|
|
9345
|
+
SourceId: import_smithy_client.expectString,
|
|
9346
|
+
SourceType: import_smithy_client.expectString
|
|
9347
|
+
});
|
|
9348
|
+
}, "de_InstanceProperty");
|
|
9236
9349
|
var de_InventoryDeletionsList = /* @__PURE__ */ __name((output, context) => {
|
|
9237
9350
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
9238
9351
|
return de_InventoryDeletionStatusItem(entry, context);
|
|
@@ -10601,6 +10714,23 @@ var _DescribeInstancePatchStatesForPatchGroupCommand = class _DescribeInstancePa
|
|
|
10601
10714
|
__name(_DescribeInstancePatchStatesForPatchGroupCommand, "DescribeInstancePatchStatesForPatchGroupCommand");
|
|
10602
10715
|
var DescribeInstancePatchStatesForPatchGroupCommand = _DescribeInstancePatchStatesForPatchGroupCommand;
|
|
10603
10716
|
|
|
10717
|
+
// src/commands/DescribeInstancePropertiesCommand.ts
|
|
10718
|
+
|
|
10719
|
+
|
|
10720
|
+
|
|
10721
|
+
|
|
10722
|
+
var _DescribeInstancePropertiesCommand = class _DescribeInstancePropertiesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
10723
|
+
...commonParams
|
|
10724
|
+
}).m(function(Command2, cs, config, o) {
|
|
10725
|
+
return [
|
|
10726
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
10727
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command2.getEndpointParameterInstructions())
|
|
10728
|
+
];
|
|
10729
|
+
}).s("AmazonSSM", "DescribeInstanceProperties", {}).n("SSMClient", "DescribeInstancePropertiesCommand").f(void 0, void 0).ser(se_DescribeInstancePropertiesCommand).de(de_DescribeInstancePropertiesCommand).build() {
|
|
10730
|
+
};
|
|
10731
|
+
__name(_DescribeInstancePropertiesCommand, "DescribeInstancePropertiesCommand");
|
|
10732
|
+
var DescribeInstancePropertiesCommand = _DescribeInstancePropertiesCommand;
|
|
10733
|
+
|
|
10604
10734
|
// src/commands/DescribeInventoryDeletionsCommand.ts
|
|
10605
10735
|
|
|
10606
10736
|
|
|
@@ -12246,6 +12376,7 @@ var commands = {
|
|
|
12246
12376
|
DescribeInstancePatchesCommand,
|
|
12247
12377
|
DescribeInstancePatchStatesCommand,
|
|
12248
12378
|
DescribeInstancePatchStatesForPatchGroupCommand,
|
|
12379
|
+
DescribeInstancePropertiesCommand,
|
|
12249
12380
|
DescribeInventoryDeletionsCommand,
|
|
12250
12381
|
DescribeMaintenanceWindowExecutionsCommand,
|
|
12251
12382
|
DescribeMaintenanceWindowExecutionTaskInvocationsCommand,
|
|
@@ -12399,6 +12530,10 @@ var paginateDescribeInstancePatchStates = (0, import_core.createPaginator)(SSMCl
|
|
|
12399
12530
|
|
|
12400
12531
|
var paginateDescribeInstancePatches = (0, import_core.createPaginator)(SSMClient, DescribeInstancePatchesCommand, "NextToken", "NextToken", "MaxResults");
|
|
12401
12532
|
|
|
12533
|
+
// src/pagination/DescribeInstancePropertiesPaginator.ts
|
|
12534
|
+
|
|
12535
|
+
var paginateDescribeInstanceProperties = (0, import_core.createPaginator)(SSMClient, DescribeInstancePropertiesCommand, "NextToken", "NextToken", "MaxResults");
|
|
12536
|
+
|
|
12402
12537
|
// src/pagination/DescribeInventoryDeletionsPaginator.ts
|
|
12403
12538
|
|
|
12404
12539
|
var paginateDescribeInventoryDeletions = (0, import_core.createPaginator)(SSMClient, DescribeInventoryDeletionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -12684,6 +12819,7 @@ var waitUntilCommandExecuted = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
12684
12819
|
DescribeInstancePatchStatesCommand,
|
|
12685
12820
|
DescribeInstancePatchStatesForPatchGroupCommand,
|
|
12686
12821
|
DescribeInstancePatchesCommand,
|
|
12822
|
+
DescribeInstancePropertiesCommand,
|
|
12687
12823
|
DescribeInventoryDeletionsCommand,
|
|
12688
12824
|
DescribeMaintenanceWindowExecutionTaskInvocationsCommand,
|
|
12689
12825
|
DescribeMaintenanceWindowExecutionTasksCommand,
|
|
@@ -12791,6 +12927,7 @@ var waitUntilCommandExecuted = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
12791
12927
|
paginateDescribeInstancePatchStatesForPatchGroup,
|
|
12792
12928
|
paginateDescribeInstancePatchStates,
|
|
12793
12929
|
paginateDescribeInstancePatches,
|
|
12930
|
+
paginateDescribeInstanceProperties,
|
|
12794
12931
|
paginateDescribeInventoryDeletions,
|
|
12795
12932
|
paginateDescribeMaintenanceWindowExecutionTaskInvocations,
|
|
12796
12933
|
paginateDescribeMaintenanceWindowExecutionTasks,
|
|
@@ -12939,6 +13076,9 @@ var waitUntilCommandExecuted = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
12939
13076
|
PatchOperationType,
|
|
12940
13077
|
RebootOption,
|
|
12941
13078
|
InstancePatchStateOperatorType,
|
|
13079
|
+
InstancePropertyFilterOperator,
|
|
13080
|
+
InstancePropertyFilterKey,
|
|
13081
|
+
InvalidInstancePropertyFilterValue,
|
|
12942
13082
|
InventoryDeletionStatus,
|
|
12943
13083
|
InvalidDeletionIdException,
|
|
12944
13084
|
MaintenanceWindowExecutionStatus,
|
|
@@ -12962,8 +13102,6 @@ var waitUntilCommandExecuted = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
12962
13102
|
DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog,
|
|
12963
13103
|
MaintenanceWindowIdentityFilterSensitiveLog,
|
|
12964
13104
|
DescribeMaintenanceWindowsResultFilterSensitiveLog,
|
|
12965
|
-
MaintenanceWindowTargetFilterSensitiveLog,
|
|
12966
|
-
DescribeMaintenanceWindowTargetsResultFilterSensitiveLog,
|
|
12967
13105
|
MaintenanceWindowTaskCutoffBehavior,
|
|
12968
13106
|
OpsItemFilterKey,
|
|
12969
13107
|
OpsItemFilterOperator,
|
|
@@ -13051,10 +13189,8 @@ var waitUntilCommandExecuted = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
13051
13189
|
AutomationDefinitionVersionNotFoundException,
|
|
13052
13190
|
AutomationExecutionLimitExceededException,
|
|
13053
13191
|
InvalidAutomationExecutionParametersException,
|
|
13054
|
-
|
|
13055
|
-
|
|
13056
|
-
InvalidAutomationStatusUpdateException,
|
|
13057
|
-
StopType,
|
|
13192
|
+
MaintenanceWindowTargetFilterSensitiveLog,
|
|
13193
|
+
DescribeMaintenanceWindowTargetsResultFilterSensitiveLog,
|
|
13058
13194
|
MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog,
|
|
13059
13195
|
MaintenanceWindowTaskFilterSensitiveLog,
|
|
13060
13196
|
DescribeMaintenanceWindowTasksResultFilterSensitiveLog,
|
|
@@ -13084,6 +13220,10 @@ var waitUntilCommandExecuted = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
13084
13220
|
RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog,
|
|
13085
13221
|
SendCommandRequestFilterSensitiveLog,
|
|
13086
13222
|
SendCommandResultFilterSensitiveLog,
|
|
13223
|
+
AutomationDefinitionNotApprovedException,
|
|
13224
|
+
TargetNotConnected,
|
|
13225
|
+
InvalidAutomationStatusUpdateException,
|
|
13226
|
+
StopType,
|
|
13087
13227
|
AssociationVersionLimitExceeded,
|
|
13088
13228
|
InvalidUpdate,
|
|
13089
13229
|
StatusUnchanged,
|
package/dist-es/SSM.js
CHANGED
|
@@ -44,6 +44,7 @@ import { DescribeInstanceInformationCommand, } from "./commands/DescribeInstance
|
|
|
44
44
|
import { DescribeInstancePatchesCommand, } from "./commands/DescribeInstancePatchesCommand";
|
|
45
45
|
import { DescribeInstancePatchStatesCommand, } from "./commands/DescribeInstancePatchStatesCommand";
|
|
46
46
|
import { DescribeInstancePatchStatesForPatchGroupCommand, } from "./commands/DescribeInstancePatchStatesForPatchGroupCommand";
|
|
47
|
+
import { DescribeInstancePropertiesCommand, } from "./commands/DescribeInstancePropertiesCommand";
|
|
47
48
|
import { DescribeInventoryDeletionsCommand, } from "./commands/DescribeInventoryDeletionsCommand";
|
|
48
49
|
import { DescribeMaintenanceWindowExecutionsCommand, } from "./commands/DescribeMaintenanceWindowExecutionsCommand";
|
|
49
50
|
import { DescribeMaintenanceWindowExecutionTaskInvocationsCommand, } from "./commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand";
|
|
@@ -185,6 +186,7 @@ const commands = {
|
|
|
185
186
|
DescribeInstancePatchesCommand,
|
|
186
187
|
DescribeInstancePatchStatesCommand,
|
|
187
188
|
DescribeInstancePatchStatesForPatchGroupCommand,
|
|
189
|
+
DescribeInstancePropertiesCommand,
|
|
188
190
|
DescribeInventoryDeletionsCommand,
|
|
189
191
|
DescribeMaintenanceWindowExecutionsCommand,
|
|
190
192
|
DescribeMaintenanceWindowExecutionTaskInvocationsCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribeInstancePropertiesCommand, se_DescribeInstancePropertiesCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeInstancePropertiesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonSSM", "DescribeInstanceProperties", {})
|
|
19
|
+
.n("SSMClient", "DescribeInstancePropertiesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DescribeInstancePropertiesCommand)
|
|
22
|
+
.de(de_DescribeInstancePropertiesCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { DescribeMaintenanceWindowTargetsResultFilterSensitiveLog, } from "../models/
|
|
5
|
+
import { DescribeMaintenanceWindowTargetsResultFilterSensitiveLog, } from "../models/models_1";
|
|
6
6
|
import { de_DescribeMaintenanceWindowTargetsCommand, se_DescribeMaintenanceWindowTargetsCommand, } from "../protocols/Aws_json1_1";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class DescribeMaintenanceWindowTargetsCommand extends $Command
|
|
@@ -43,6 +43,7 @@ export * from "./DescribeInstanceInformationCommand";
|
|
|
43
43
|
export * from "./DescribeInstancePatchStatesCommand";
|
|
44
44
|
export * from "./DescribeInstancePatchStatesForPatchGroupCommand";
|
|
45
45
|
export * from "./DescribeInstancePatchesCommand";
|
|
46
|
+
export * from "./DescribeInstancePropertiesCommand";
|
|
46
47
|
export * from "./DescribeInventoryDeletionsCommand";
|
|
47
48
|
export * from "./DescribeMaintenanceWindowExecutionTaskInvocationsCommand";
|
|
48
49
|
export * from "./DescribeMaintenanceWindowExecutionTasksCommand";
|
|
@@ -1199,6 +1199,36 @@ export const InstancePatchStateOperatorType = {
|
|
|
1199
1199
|
LESS_THAN: "LessThan",
|
|
1200
1200
|
NOT_EQUAL: "NotEqual",
|
|
1201
1201
|
};
|
|
1202
|
+
export const InstancePropertyFilterOperator = {
|
|
1203
|
+
BEGIN_WITH: "BeginWith",
|
|
1204
|
+
EQUAL: "Equal",
|
|
1205
|
+
GREATER_THAN: "GreaterThan",
|
|
1206
|
+
LESS_THAN: "LessThan",
|
|
1207
|
+
NOT_EQUAL: "NotEqual",
|
|
1208
|
+
};
|
|
1209
|
+
export const InstancePropertyFilterKey = {
|
|
1210
|
+
ACTIVATION_IDS: "ActivationIds",
|
|
1211
|
+
AGENT_VERSION: "AgentVersion",
|
|
1212
|
+
ASSOCIATION_STATUS: "AssociationStatus",
|
|
1213
|
+
DOCUMENT_NAME: "DocumentName",
|
|
1214
|
+
IAM_ROLE: "IamRole",
|
|
1215
|
+
INSTANCE_IDS: "InstanceIds",
|
|
1216
|
+
PING_STATUS: "PingStatus",
|
|
1217
|
+
PLATFORM_TYPES: "PlatformTypes",
|
|
1218
|
+
RESOURCE_TYPE: "ResourceType",
|
|
1219
|
+
};
|
|
1220
|
+
export class InvalidInstancePropertyFilterValue extends __BaseException {
|
|
1221
|
+
constructor(opts) {
|
|
1222
|
+
super({
|
|
1223
|
+
name: "InvalidInstancePropertyFilterValue",
|
|
1224
|
+
$fault: "client",
|
|
1225
|
+
...opts,
|
|
1226
|
+
});
|
|
1227
|
+
this.name = "InvalidInstancePropertyFilterValue";
|
|
1228
|
+
this.$fault = "client";
|
|
1229
|
+
Object.setPrototypeOf(this, InvalidInstancePropertyFilterValue.prototype);
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1202
1232
|
export const InventoryDeletionStatus = {
|
|
1203
1233
|
COMPLETE: "Complete",
|
|
1204
1234
|
IN_PROGRESS: "InProgress",
|
|
@@ -1324,12 +1354,3 @@ export const DescribeMaintenanceWindowsResultFilterSensitiveLog = (obj) => ({
|
|
|
1324
1354
|
WindowIdentities: obj.WindowIdentities.map((item) => MaintenanceWindowIdentityFilterSensitiveLog(item)),
|
|
1325
1355
|
}),
|
|
1326
1356
|
});
|
|
1327
|
-
export const MaintenanceWindowTargetFilterSensitiveLog = (obj) => ({
|
|
1328
|
-
...obj,
|
|
1329
|
-
...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }),
|
|
1330
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
1331
|
-
});
|
|
1332
|
-
export const DescribeMaintenanceWindowTargetsResultFilterSensitiveLog = (obj) => ({
|
|
1333
|
-
...obj,
|
|
1334
|
-
...(obj.Targets && { Targets: obj.Targets.map((item) => MaintenanceWindowTargetFilterSensitiveLog(item)) }),
|
|
1335
|
-
});
|
|
@@ -881,49 +881,15 @@ export class InvalidAutomationExecutionParametersException extends __BaseExcepti
|
|
|
881
881
|
this.Message = opts.Message;
|
|
882
882
|
}
|
|
883
883
|
}
|
|
884
|
-
export
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
Object.setPrototypeOf(this, AutomationDefinitionNotApprovedException.prototype);
|
|
894
|
-
this.Message = opts.Message;
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
export class TargetNotConnected extends __BaseException {
|
|
898
|
-
constructor(opts) {
|
|
899
|
-
super({
|
|
900
|
-
name: "TargetNotConnected",
|
|
901
|
-
$fault: "client",
|
|
902
|
-
...opts,
|
|
903
|
-
});
|
|
904
|
-
this.name = "TargetNotConnected";
|
|
905
|
-
this.$fault = "client";
|
|
906
|
-
Object.setPrototypeOf(this, TargetNotConnected.prototype);
|
|
907
|
-
this.Message = opts.Message;
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
export class InvalidAutomationStatusUpdateException extends __BaseException {
|
|
911
|
-
constructor(opts) {
|
|
912
|
-
super({
|
|
913
|
-
name: "InvalidAutomationStatusUpdateException",
|
|
914
|
-
$fault: "client",
|
|
915
|
-
...opts,
|
|
916
|
-
});
|
|
917
|
-
this.name = "InvalidAutomationStatusUpdateException";
|
|
918
|
-
this.$fault = "client";
|
|
919
|
-
Object.setPrototypeOf(this, InvalidAutomationStatusUpdateException.prototype);
|
|
920
|
-
this.Message = opts.Message;
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
export const StopType = {
|
|
924
|
-
CANCEL: "Cancel",
|
|
925
|
-
COMPLETE: "Complete",
|
|
926
|
-
};
|
|
884
|
+
export const MaintenanceWindowTargetFilterSensitiveLog = (obj) => ({
|
|
885
|
+
...obj,
|
|
886
|
+
...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }),
|
|
887
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
888
|
+
});
|
|
889
|
+
export const DescribeMaintenanceWindowTargetsResultFilterSensitiveLog = (obj) => ({
|
|
890
|
+
...obj,
|
|
891
|
+
...(obj.Targets && { Targets: obj.Targets.map((item) => MaintenanceWindowTargetFilterSensitiveLog(item)) }),
|
|
892
|
+
});
|
|
927
893
|
export const MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog = (obj) => ({
|
|
928
894
|
...obj,
|
|
929
895
|
...(obj.Values && { Values: SENSITIVE_STRING }),
|