@aws-sdk/client-ssm 3.39.0 → 3.43.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/dist-cjs/commands/UpdateMaintenanceWindowCommand.js +1 -2
- package/dist-cjs/endpoints.js +151 -26
- package/dist-cjs/models/models_0.js +36 -18
- package/dist-cjs/models/models_1.js +29 -13
- package/dist-cjs/models/models_2.js +8 -1
- package/dist-cjs/protocols/Aws_json1_1.js +31 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/commands/UpdateMaintenanceWindowCommand.js +1 -2
- package/dist-es/endpoints.js +151 -26
- package/dist-es/models/models_0.js +25 -16
- package/dist-es/models/models_1.js +22 -16
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +41 -15
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/SSMClient.d.ts +8 -0
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +1 -1
- package/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts +1 -1
- package/dist-types/commands/CancelCommandCommand.d.ts +1 -1
- package/dist-types/commands/CancelMaintenanceWindowExecutionCommand.d.ts +1 -1
- package/dist-types/commands/CreateActivationCommand.d.ts +1 -1
- package/dist-types/commands/CreateAssociationBatchCommand.d.ts +1 -1
- package/dist-types/commands/CreateAssociationCommand.d.ts +1 -1
- package/dist-types/commands/CreateDocumentCommand.d.ts +1 -1
- package/dist-types/commands/CreateMaintenanceWindowCommand.d.ts +1 -1
- package/dist-types/commands/CreateOpsItemCommand.d.ts +1 -1
- package/dist-types/commands/CreateOpsMetadataCommand.d.ts +1 -1
- package/dist-types/commands/CreatePatchBaselineCommand.d.ts +1 -1
- package/dist-types/commands/CreateResourceDataSyncCommand.d.ts +1 -1
- package/dist-types/commands/DeleteActivationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDocumentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInventoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMaintenanceWindowCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOpsMetadataCommand.d.ts +1 -1
- package/dist-types/commands/DeleteParameterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteParametersCommand.d.ts +1 -1
- package/dist-types/commands/DeletePatchBaselineCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourceDataSyncCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterManagedInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterTaskFromMaintenanceWindowCommand.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/DescribeAssociationExecutionTargetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAssociationExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAvailablePatchesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDocumentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDocumentPermissionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceInformationCommand.d.ts +1 -1
- 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 +1 -1
- package/dist-types/commands/DescribeInventoryDeletionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOpsItemsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeParametersCommand.d.ts +1 -1
- package/dist-types/commands/DescribePatchBaselinesCommand.d.ts +1 -1
- package/dist-types/commands/DescribePatchGroupStateCommand.d.ts +1 -1
- package/dist-types/commands/DescribePatchGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribePatchPropertiesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSessionsCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts +1 -1
- package/dist-types/commands/GetAutomationExecutionCommand.d.ts +1 -1
- package/dist-types/commands/GetCalendarStateCommand.d.ts +1 -1
- package/dist-types/commands/GetCommandInvocationCommand.d.ts +1 -1
- package/dist-types/commands/GetConnectionStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetDefaultPatchBaselineCommand.d.ts +1 -1
- package/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +1 -1
- package/dist-types/commands/GetDocumentCommand.d.ts +1 -1
- package/dist-types/commands/GetInventoryCommand.d.ts +1 -1
- package/dist-types/commands/GetInventorySchemaCommand.d.ts +1 -1
- package/dist-types/commands/GetMaintenanceWindowCommand.d.ts +1 -1
- package/dist-types/commands/GetMaintenanceWindowExecutionCommand.d.ts +1 -1
- package/dist-types/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts +1 -1
- package/dist-types/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts +1 -1
- package/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts +1 -1
- package/dist-types/commands/GetOpsItemCommand.d.ts +1 -1
- package/dist-types/commands/GetOpsMetadataCommand.d.ts +1 -1
- package/dist-types/commands/GetOpsSummaryCommand.d.ts +1 -1
- package/dist-types/commands/GetParameterCommand.d.ts +1 -1
- package/dist-types/commands/GetParameterHistoryCommand.d.ts +1 -1
- package/dist-types/commands/GetParametersByPathCommand.d.ts +1 -1
- package/dist-types/commands/GetParametersCommand.d.ts +1 -1
- package/dist-types/commands/GetPatchBaselineCommand.d.ts +1 -1
- package/dist-types/commands/GetPatchBaselineForPatchGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetServiceSettingCommand.d.ts +1 -1
- package/dist-types/commands/LabelParameterVersionCommand.d.ts +1 -1
- package/dist-types/commands/ListAssociationVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListCommandInvocationsCommand.d.ts +1 -1
- package/dist-types/commands/ListCommandsCommand.d.ts +1 -1
- package/dist-types/commands/ListComplianceItemsCommand.d.ts +1 -1
- package/dist-types/commands/ListComplianceSummariesCommand.d.ts +1 -1
- package/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts +1 -1
- package/dist-types/commands/ListDocumentVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDocumentsCommand.d.ts +1 -1
- package/dist-types/commands/ListInventoryEntriesCommand.d.ts +1 -1
- package/dist-types/commands/ListOpsItemEventsCommand.d.ts +1 -1
- package/dist-types/commands/ListOpsItemRelatedItemsCommand.d.ts +1 -1
- package/dist-types/commands/ListOpsMetadataCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +1 -1
- package/dist-types/commands/ListResourceDataSyncCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyDocumentPermissionCommand.d.ts +1 -1
- package/dist-types/commands/PutComplianceItemsCommand.d.ts +1 -1
- package/dist-types/commands/PutInventoryCommand.d.ts +1 -1
- package/dist-types/commands/PutParameterCommand.d.ts +1 -1
- package/dist-types/commands/RegisterDefaultPatchBaselineCommand.d.ts +1 -1
- package/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +1 -1
- package/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +1 -1
- package/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +1 -1
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
- package/dist-types/commands/ResetServiceSettingCommand.d.ts +1 -1
- package/dist-types/commands/ResumeSessionCommand.d.ts +1 -1
- package/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
- package/dist-types/commands/SendCommandCommand.d.ts +1 -1
- package/dist-types/commands/StartAssociationsOnceCommand.d.ts +1 -1
- package/dist-types/commands/StartAutomationExecutionCommand.d.ts +1 -1
- package/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +1 -1
- package/dist-types/commands/StartSessionCommand.d.ts +1 -1
- package/dist-types/commands/StopAutomationExecutionCommand.d.ts +1 -1
- package/dist-types/commands/TerminateSessionCommand.d.ts +1 -1
- package/dist-types/commands/UnlabelParameterVersionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssociationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssociationStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDocumentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDocumentDefaultVersionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMaintenanceWindowCommand.d.ts +2 -3
- package/dist-types/commands/UpdateMaintenanceWindowTargetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMaintenanceWindowTaskCommand.d.ts +1 -1
- package/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOpsItemCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOpsMetadataCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePatchBaselineCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResourceDataSyncCommand.d.ts +1 -1
- package/dist-types/commands/UpdateServiceSettingCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +46 -81
- package/dist-types/models/models_1.d.ts +84 -87
- package/dist-types/models/models_2.d.ts +79 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/SSMClient.d.ts +4 -0
- package/dist-types/ts3.4/commands/UpdateMaintenanceWindowCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +24 -39
- package/dist-types/ts3.4/models/models_1.d.ts +36 -33
- package/dist-types/ts3.4/models/models_2.d.ts +32 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +24 -24
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetOpsSummaryRequest = exports.GetInventoryRequest = exports.OpsAggregator = exports.InventoryAggregator = exports.UpdateServiceSettingResult = exports.UpdateServiceSettingRequest = exports.UpdateResourceDataSyncResult = exports.UpdateResourceDataSyncRequest = exports.ResourceDataSyncConflictException = exports.UpdatePatchBaselineResult = exports.UpdatePatchBaselineRequest = exports.UpdateOpsMetadataResult = exports.UpdateOpsMetadataRequest = exports.OpsMetadataKeyLimitExceededException = exports.UpdateOpsItemResponse = exports.UpdateOpsItemRequest = exports.UpdateManagedInstanceRoleResult = exports.UpdateManagedInstanceRoleRequest = exports.UpdateMaintenanceWindowTaskResult = exports.UpdateMaintenanceWindowTaskRequest = exports.UpdateMaintenanceWindowTargetResult = exports.UpdateMaintenanceWindowTargetRequest = exports.UpdateMaintenanceWindowResult = void 0;
|
|
3
|
+
exports.GetOpsSummaryRequest = exports.GetInventoryRequest = exports.OpsAggregator = exports.InventoryAggregator = exports.UpdateServiceSettingResult = exports.UpdateServiceSettingRequest = exports.UpdateResourceDataSyncResult = exports.UpdateResourceDataSyncRequest = exports.ResourceDataSyncConflictException = exports.UpdatePatchBaselineResult = exports.UpdatePatchBaselineRequest = exports.UpdateOpsMetadataResult = exports.UpdateOpsMetadataRequest = exports.OpsMetadataKeyLimitExceededException = exports.UpdateOpsItemResponse = exports.UpdateOpsItemRequest = exports.UpdateManagedInstanceRoleResult = exports.UpdateManagedInstanceRoleRequest = exports.UpdateMaintenanceWindowTaskResult = exports.UpdateMaintenanceWindowTaskRequest = exports.UpdateMaintenanceWindowTargetResult = exports.UpdateMaintenanceWindowTargetRequest = exports.UpdateMaintenanceWindowResult = exports.UpdateMaintenanceWindowRequest = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const models_0_1 = require("./models_0");
|
|
6
6
|
const models_1_1 = require("./models_1");
|
|
7
|
+
var UpdateMaintenanceWindowRequest;
|
|
8
|
+
(function (UpdateMaintenanceWindowRequest) {
|
|
9
|
+
UpdateMaintenanceWindowRequest.filterSensitiveLog = (obj) => ({
|
|
10
|
+
...obj,
|
|
11
|
+
...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }),
|
|
12
|
+
});
|
|
13
|
+
})(UpdateMaintenanceWindowRequest = exports.UpdateMaintenanceWindowRequest || (exports.UpdateMaintenanceWindowRequest = {}));
|
|
7
14
|
var UpdateMaintenanceWindowResult;
|
|
8
15
|
(function (UpdateMaintenanceWindowResult) {
|
|
9
16
|
UpdateMaintenanceWindowResult.filterSensitiveLog = (obj) => ({
|
|
@@ -1674,6 +1674,14 @@ const deserializeAws_json1_1CreateActivationCommandError = async (output, contex
|
|
|
1674
1674
|
$metadata: deserializeMetadata(output),
|
|
1675
1675
|
};
|
|
1676
1676
|
break;
|
|
1677
|
+
case "InvalidParameters":
|
|
1678
|
+
case "com.amazonaws.ssm#InvalidParameters":
|
|
1679
|
+
response = {
|
|
1680
|
+
...(await deserializeAws_json1_1InvalidParametersResponse(parsedOutput, context)),
|
|
1681
|
+
name: errorCode,
|
|
1682
|
+
$metadata: deserializeMetadata(output),
|
|
1683
|
+
};
|
|
1684
|
+
break;
|
|
1677
1685
|
default:
|
|
1678
1686
|
const parsedBody = parsedOutput.body;
|
|
1679
1687
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -12302,6 +12310,10 @@ const serializeAws_json1_1CreateActivationRequest = (input, context) => {
|
|
|
12302
12310
|
...(input.IamRole !== undefined && input.IamRole !== null && { IamRole: input.IamRole }),
|
|
12303
12311
|
...(input.RegistrationLimit !== undefined &&
|
|
12304
12312
|
input.RegistrationLimit !== null && { RegistrationLimit: input.RegistrationLimit }),
|
|
12313
|
+
...(input.RegistrationMetadata !== undefined &&
|
|
12314
|
+
input.RegistrationMetadata !== null && {
|
|
12315
|
+
RegistrationMetadata: serializeAws_json1_1RegistrationMetadataList(input.RegistrationMetadata, context),
|
|
12316
|
+
}),
|
|
12305
12317
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
12306
12318
|
};
|
|
12307
12319
|
};
|
|
@@ -14357,6 +14369,22 @@ const serializeAws_json1_1RegisterTaskWithMaintenanceWindowRequest = (input, con
|
|
|
14357
14369
|
...(input.WindowId !== undefined && input.WindowId !== null && { WindowId: input.WindowId }),
|
|
14358
14370
|
};
|
|
14359
14371
|
};
|
|
14372
|
+
const serializeAws_json1_1RegistrationMetadataItem = (input, context) => {
|
|
14373
|
+
return {
|
|
14374
|
+
...(input.Key !== undefined && input.Key !== null && { Key: input.Key }),
|
|
14375
|
+
...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
|
|
14376
|
+
};
|
|
14377
|
+
};
|
|
14378
|
+
const serializeAws_json1_1RegistrationMetadataList = (input, context) => {
|
|
14379
|
+
return input
|
|
14380
|
+
.filter((e) => e != null)
|
|
14381
|
+
.map((entry) => {
|
|
14382
|
+
if (entry === null) {
|
|
14383
|
+
return null;
|
|
14384
|
+
}
|
|
14385
|
+
return serializeAws_json1_1RegistrationMetadataItem(entry, context);
|
|
14386
|
+
});
|
|
14387
|
+
};
|
|
14360
14388
|
const serializeAws_json1_1RelatedOpsItem = (input, context) => {
|
|
14361
14389
|
return {
|
|
14362
14390
|
...(input.OpsItemId !== undefined && input.OpsItemId !== null && { OpsItemId: input.OpsItemId }),
|
|
@@ -14668,6 +14696,7 @@ const serializeAws_json1_1StartSessionRequest = (input, context) => {
|
|
|
14668
14696
|
input.Parameters !== null && {
|
|
14669
14697
|
Parameters: serializeAws_json1_1SessionManagerParameters(input.Parameters, context),
|
|
14670
14698
|
}),
|
|
14699
|
+
...(input.Reason !== undefined && input.Reason !== null && { Reason: input.Reason }),
|
|
14671
14700
|
...(input.Target !== undefined && input.Target !== null && { Target: input.Target }),
|
|
14672
14701
|
};
|
|
14673
14702
|
};
|
|
@@ -19145,10 +19174,12 @@ const deserializeAws_json1_1Session = (output, context) => {
|
|
|
19145
19174
|
EndDate: output.EndDate !== undefined && output.EndDate !== null
|
|
19146
19175
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndDate)))
|
|
19147
19176
|
: undefined,
|
|
19177
|
+
MaxSessionDuration: smithy_client_1.expectString(output.MaxSessionDuration),
|
|
19148
19178
|
OutputUrl: output.OutputUrl !== undefined && output.OutputUrl !== null
|
|
19149
19179
|
? deserializeAws_json1_1SessionManagerOutputUrl(output.OutputUrl, context)
|
|
19150
19180
|
: undefined,
|
|
19151
19181
|
Owner: smithy_client_1.expectString(output.Owner),
|
|
19182
|
+
Reason: smithy_client_1.expectString(output.Reason),
|
|
19152
19183
|
SessionId: smithy_client_1.expectString(output.SessionId),
|
|
19153
19184
|
StartDate: output.StartDate !== undefined && output.StartDate !== null
|
|
19154
19185
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartDate)))
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
13
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
16
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
18
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
18
19
|
return {
|
|
19
20
|
...clientSharedValues,
|
|
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
|
|
31
32
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
32
33
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
37
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const getRuntimeConfig = (config) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
23
|
return {
|
|
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
|
|
|
35
35
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
36
36
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
37
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
39
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
40
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
41
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
40
42
|
};
|
|
41
43
|
};
|
|
42
44
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -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
|
@@ -1,33 +1,89 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
3
|
var regionHash = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
"ca-central-1": {
|
|
5
|
+
variants: [
|
|
6
|
+
{
|
|
7
|
+
hostname: "ssm.ca-central-1.amazonaws.com",
|
|
8
|
+
tags: [],
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
hostname: "ssm-fips.ca-central-1.amazonaws.com",
|
|
12
|
+
tags: ["fips"],
|
|
13
|
+
},
|
|
14
|
+
],
|
|
7
15
|
},
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
16
|
+
"us-east-1": {
|
|
17
|
+
variants: [
|
|
18
|
+
{
|
|
19
|
+
hostname: "ssm.us-east-1.amazonaws.com",
|
|
20
|
+
tags: [],
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
hostname: "ssm-fips.us-east-1.amazonaws.com",
|
|
24
|
+
tags: ["fips"],
|
|
25
|
+
},
|
|
26
|
+
],
|
|
11
27
|
},
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
28
|
+
"us-east-2": {
|
|
29
|
+
variants: [
|
|
30
|
+
{
|
|
31
|
+
hostname: "ssm.us-east-2.amazonaws.com",
|
|
32
|
+
tags: [],
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
hostname: "ssm-fips.us-east-2.amazonaws.com",
|
|
36
|
+
tags: ["fips"],
|
|
37
|
+
},
|
|
38
|
+
],
|
|
15
39
|
},
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
40
|
+
"us-gov-east-1": {
|
|
41
|
+
variants: [
|
|
42
|
+
{
|
|
43
|
+
hostname: "ssm.us-gov-east-1.amazonaws.com",
|
|
44
|
+
tags: [],
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
hostname: "ssm.us-gov-east-1.amazonaws.com",
|
|
48
|
+
tags: ["fips"],
|
|
49
|
+
},
|
|
50
|
+
],
|
|
19
51
|
},
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
52
|
+
"us-gov-west-1": {
|
|
53
|
+
variants: [
|
|
54
|
+
{
|
|
55
|
+
hostname: "ssm.us-gov-west-1.amazonaws.com",
|
|
56
|
+
tags: [],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
hostname: "ssm.us-gov-west-1.amazonaws.com",
|
|
60
|
+
tags: ["fips"],
|
|
61
|
+
},
|
|
62
|
+
],
|
|
23
63
|
},
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
64
|
+
"us-west-1": {
|
|
65
|
+
variants: [
|
|
66
|
+
{
|
|
67
|
+
hostname: "ssm.us-west-1.amazonaws.com",
|
|
68
|
+
tags: [],
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
hostname: "ssm-fips.us-west-1.amazonaws.com",
|
|
72
|
+
tags: ["fips"],
|
|
73
|
+
},
|
|
74
|
+
],
|
|
27
75
|
},
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
76
|
+
"us-west-2": {
|
|
77
|
+
variants: [
|
|
78
|
+
{
|
|
79
|
+
hostname: "ssm.us-west-2.amazonaws.com",
|
|
80
|
+
tags: [],
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
hostname: "ssm-fips.us-west-2.amazonaws.com",
|
|
84
|
+
tags: ["fips"],
|
|
85
|
+
},
|
|
86
|
+
],
|
|
31
87
|
},
|
|
32
88
|
};
|
|
33
89
|
var partitionHash = {
|
|
@@ -61,27 +117,96 @@ var partitionHash = {
|
|
|
61
117
|
"us-west-2",
|
|
62
118
|
],
|
|
63
119
|
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
64
|
-
|
|
120
|
+
variants: [
|
|
121
|
+
{
|
|
122
|
+
hostname: "ssm.{region}.amazonaws.com",
|
|
123
|
+
tags: [],
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
hostname: "ssm-fips.{region}.amazonaws.com",
|
|
127
|
+
tags: ["fips"],
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
hostname: "ssm-fips.{region}.api.aws",
|
|
131
|
+
tags: ["dualstack", "fips"],
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
hostname: "ssm.{region}.api.aws",
|
|
135
|
+
tags: ["dualstack"],
|
|
136
|
+
},
|
|
137
|
+
],
|
|
65
138
|
},
|
|
66
139
|
"aws-cn": {
|
|
67
140
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
68
141
|
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
69
|
-
|
|
142
|
+
variants: [
|
|
143
|
+
{
|
|
144
|
+
hostname: "ssm.{region}.amazonaws.com.cn",
|
|
145
|
+
tags: [],
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
hostname: "ssm-fips.{region}.amazonaws.com.cn",
|
|
149
|
+
tags: ["fips"],
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
hostname: "ssm-fips.{region}.api.amazonwebservices.com.cn",
|
|
153
|
+
tags: ["dualstack", "fips"],
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
hostname: "ssm.{region}.api.amazonwebservices.com.cn",
|
|
157
|
+
tags: ["dualstack"],
|
|
158
|
+
},
|
|
159
|
+
],
|
|
70
160
|
},
|
|
71
161
|
"aws-iso": {
|
|
72
162
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
73
163
|
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
74
|
-
|
|
164
|
+
variants: [
|
|
165
|
+
{
|
|
166
|
+
hostname: "ssm.{region}.c2s.ic.gov",
|
|
167
|
+
tags: [],
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
hostname: "ssm-fips.{region}.c2s.ic.gov",
|
|
171
|
+
tags: ["fips"],
|
|
172
|
+
},
|
|
173
|
+
],
|
|
75
174
|
},
|
|
76
175
|
"aws-iso-b": {
|
|
77
176
|
regions: ["us-isob-east-1"],
|
|
78
177
|
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
79
|
-
|
|
178
|
+
variants: [
|
|
179
|
+
{
|
|
180
|
+
hostname: "ssm.{region}.sc2s.sgov.gov",
|
|
181
|
+
tags: [],
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
hostname: "ssm-fips.{region}.sc2s.sgov.gov",
|
|
185
|
+
tags: ["fips"],
|
|
186
|
+
},
|
|
187
|
+
],
|
|
80
188
|
},
|
|
81
189
|
"aws-us-gov": {
|
|
82
190
|
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
83
191
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
84
|
-
|
|
192
|
+
variants: [
|
|
193
|
+
{
|
|
194
|
+
hostname: "ssm.{region}.amazonaws.com",
|
|
195
|
+
tags: [],
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
hostname: "ssm.{region}.amazonaws.com",
|
|
199
|
+
tags: ["fips"],
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
hostname: "ssm-fips.{region}.api.aws",
|
|
203
|
+
tags: ["dualstack", "fips"],
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
hostname: "ssm.{region}.api.aws",
|
|
207
|
+
tags: ["dualstack"],
|
|
208
|
+
},
|
|
209
|
+
],
|
|
85
210
|
},
|
|
86
211
|
};
|
|
87
212
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -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) {
|
|
@@ -457,6 +467,7 @@ export var OperatingSystem;
|
|
|
457
467
|
OperatingSystem["Debian"] = "DEBIAN";
|
|
458
468
|
OperatingSystem["MacOS"] = "MACOS";
|
|
459
469
|
OperatingSystem["OracleLinux"] = "ORACLE_LINUX";
|
|
470
|
+
OperatingSystem["Raspbian"] = "RASPBIAN";
|
|
460
471
|
OperatingSystem["RedhatEnterpriseLinux"] = "REDHAT_ENTERPRISE_LINUX";
|
|
461
472
|
OperatingSystem["Suse"] = "SUSE";
|
|
462
473
|
OperatingSystem["Ubuntu"] = "UBUNTU";
|
|
@@ -736,7 +747,9 @@ export var DescribeAssociationRequest;
|
|
|
736
747
|
})(DescribeAssociationRequest || (DescribeAssociationRequest = {}));
|
|
737
748
|
export var DescribeAssociationResult;
|
|
738
749
|
(function (DescribeAssociationResult) {
|
|
739
|
-
DescribeAssociationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)
|
|
750
|
+
DescribeAssociationResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AssociationDescription && {
|
|
751
|
+
AssociationDescription: AssociationDescription.filterSensitiveLog(obj.AssociationDescription),
|
|
752
|
+
}))); };
|
|
740
753
|
})(DescribeAssociationResult || (DescribeAssociationResult = {}));
|
|
741
754
|
export var InvalidAssociationVersion;
|
|
742
755
|
(function (InvalidAssociationVersion) {
|
|
@@ -1404,7 +1417,3 @@ export var ParameterType;
|
|
|
1404
1417
|
ParameterType["STRING"] = "String";
|
|
1405
1418
|
ParameterType["STRING_LIST"] = "StringList";
|
|
1406
1419
|
})(ParameterType || (ParameterType = {}));
|
|
1407
|
-
export var ParameterMetadata;
|
|
1408
|
-
(function (ParameterMetadata) {
|
|
1409
|
-
ParameterMetadata.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1410
|
-
})(ParameterMetadata || (ParameterMetadata = {}));
|
|
@@ -1,6 +1,10 @@
|
|
|
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 ParameterMetadata;
|
|
5
|
+
(function (ParameterMetadata) {
|
|
6
|
+
ParameterMetadata.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
7
|
+
})(ParameterMetadata || (ParameterMetadata = {}));
|
|
4
8
|
export var DescribeParametersResult;
|
|
5
9
|
(function (DescribeParametersResult) {
|
|
6
10
|
DescribeParametersResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -369,7 +373,7 @@ export var NotificationConfig;
|
|
|
369
373
|
})(NotificationConfig || (NotificationConfig = {}));
|
|
370
374
|
export var MaintenanceWindowRunCommandParameters;
|
|
371
375
|
(function (MaintenanceWindowRunCommandParameters) {
|
|
372
|
-
MaintenanceWindowRunCommandParameters.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
376
|
+
MaintenanceWindowRunCommandParameters.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: SENSITIVE_STRING }))); };
|
|
373
377
|
})(MaintenanceWindowRunCommandParameters || (MaintenanceWindowRunCommandParameters = {}));
|
|
374
378
|
export var MaintenanceWindowStepFunctionsParameters;
|
|
375
379
|
(function (MaintenanceWindowStepFunctionsParameters) {
|
|
@@ -377,7 +381,7 @@ export var MaintenanceWindowStepFunctionsParameters;
|
|
|
377
381
|
})(MaintenanceWindowStepFunctionsParameters || (MaintenanceWindowStepFunctionsParameters = {}));
|
|
378
382
|
export var MaintenanceWindowTaskInvocationParameters;
|
|
379
383
|
(function (MaintenanceWindowTaskInvocationParameters) {
|
|
380
|
-
MaintenanceWindowTaskInvocationParameters.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.StepFunctions && {
|
|
384
|
+
MaintenanceWindowTaskInvocationParameters.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.RunCommand && { RunCommand: MaintenanceWindowRunCommandParameters.filterSensitiveLog(obj.RunCommand) })), (obj.StepFunctions && {
|
|
381
385
|
StepFunctions: MaintenanceWindowStepFunctionsParameters.filterSensitiveLog(obj.StepFunctions),
|
|
382
386
|
})), (obj.Lambda && { Lambda: MaintenanceWindowLambdaParameters.filterSensitiveLog(obj.Lambda) }))); };
|
|
383
387
|
})(MaintenanceWindowTaskInvocationParameters || (MaintenanceWindowTaskInvocationParameters = {}));
|
|
@@ -561,11 +565,13 @@ export var ListAssociationVersionsRequest;
|
|
|
561
565
|
})(ListAssociationVersionsRequest || (ListAssociationVersionsRequest = {}));
|
|
562
566
|
export var AssociationVersionInfo;
|
|
563
567
|
(function (AssociationVersionInfo) {
|
|
564
|
-
AssociationVersionInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
568
|
+
AssociationVersionInfo.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: SENSITIVE_STRING }))); };
|
|
565
569
|
})(AssociationVersionInfo || (AssociationVersionInfo = {}));
|
|
566
570
|
export var ListAssociationVersionsResult;
|
|
567
571
|
(function (ListAssociationVersionsResult) {
|
|
568
|
-
ListAssociationVersionsResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)
|
|
572
|
+
ListAssociationVersionsResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AssociationVersions && {
|
|
573
|
+
AssociationVersions: obj.AssociationVersions.map(function (item) { return AssociationVersionInfo.filterSensitiveLog(item); }),
|
|
574
|
+
}))); };
|
|
569
575
|
})(ListAssociationVersionsResult || (ListAssociationVersionsResult = {}));
|
|
570
576
|
export var CommandFilterKey;
|
|
571
577
|
(function (CommandFilterKey) {
|
|
@@ -620,11 +626,11 @@ export var CommandStatus;
|
|
|
620
626
|
})(CommandStatus || (CommandStatus = {}));
|
|
621
627
|
export var Command;
|
|
622
628
|
(function (Command) {
|
|
623
|
-
Command.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
629
|
+
Command.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: SENSITIVE_STRING }))); };
|
|
624
630
|
})(Command || (Command = {}));
|
|
625
631
|
export var ListCommandsResult;
|
|
626
632
|
(function (ListCommandsResult) {
|
|
627
|
-
ListCommandsResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
633
|
+
ListCommandsResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Commands && { Commands: obj.Commands.map(function (item) { return Command.filterSensitiveLog(item); }) }))); };
|
|
628
634
|
})(ListCommandsResult || (ListCommandsResult = {}));
|
|
629
635
|
export var ComplianceQueryOperatorType;
|
|
630
636
|
(function (ComplianceQueryOperatorType) {
|
|
@@ -1116,11 +1122,11 @@ export var InvalidRole;
|
|
|
1116
1122
|
})(InvalidRole || (InvalidRole = {}));
|
|
1117
1123
|
export var SendCommandRequest;
|
|
1118
1124
|
(function (SendCommandRequest) {
|
|
1119
|
-
SendCommandRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1125
|
+
SendCommandRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: SENSITIVE_STRING }))); };
|
|
1120
1126
|
})(SendCommandRequest || (SendCommandRequest = {}));
|
|
1121
1127
|
export var SendCommandResult;
|
|
1122
1128
|
(function (SendCommandResult) {
|
|
1123
|
-
SendCommandResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1129
|
+
SendCommandResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Command && { Command: Command.filterSensitiveLog(obj.Command) }))); };
|
|
1124
1130
|
})(SendCommandResult || (SendCommandResult = {}));
|
|
1125
1131
|
export var InvalidAssociation;
|
|
1126
1132
|
(function (InvalidAssociation) {
|
|
@@ -1225,11 +1231,13 @@ export var InvalidUpdate;
|
|
|
1225
1231
|
})(InvalidUpdate || (InvalidUpdate = {}));
|
|
1226
1232
|
export var UpdateAssociationRequest;
|
|
1227
1233
|
(function (UpdateAssociationRequest) {
|
|
1228
|
-
UpdateAssociationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1234
|
+
UpdateAssociationRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Parameters && { Parameters: SENSITIVE_STRING }))); };
|
|
1229
1235
|
})(UpdateAssociationRequest || (UpdateAssociationRequest = {}));
|
|
1230
1236
|
export var UpdateAssociationResult;
|
|
1231
1237
|
(function (UpdateAssociationResult) {
|
|
1232
|
-
UpdateAssociationResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)
|
|
1238
|
+
UpdateAssociationResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AssociationDescription && {
|
|
1239
|
+
AssociationDescription: AssociationDescription.filterSensitiveLog(obj.AssociationDescription),
|
|
1240
|
+
}))); };
|
|
1233
1241
|
})(UpdateAssociationResult || (UpdateAssociationResult = {}));
|
|
1234
1242
|
export var StatusUnchanged;
|
|
1235
1243
|
(function (StatusUnchanged) {
|
|
@@ -1241,7 +1249,9 @@ export var UpdateAssociationStatusRequest;
|
|
|
1241
1249
|
})(UpdateAssociationStatusRequest || (UpdateAssociationStatusRequest = {}));
|
|
1242
1250
|
export var UpdateAssociationStatusResult;
|
|
1243
1251
|
(function (UpdateAssociationStatusResult) {
|
|
1244
|
-
UpdateAssociationStatusResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)
|
|
1252
|
+
UpdateAssociationStatusResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.AssociationDescription && {
|
|
1253
|
+
AssociationDescription: AssociationDescription.filterSensitiveLog(obj.AssociationDescription),
|
|
1254
|
+
}))); };
|
|
1245
1255
|
})(UpdateAssociationStatusResult || (UpdateAssociationStatusResult = {}));
|
|
1246
1256
|
export var DocumentVersionLimitExceeded;
|
|
1247
1257
|
(function (DocumentVersionLimitExceeded) {
|
|
@@ -1294,7 +1304,3 @@ export var UpdateDocumentMetadataResponse;
|
|
|
1294
1304
|
(function (UpdateDocumentMetadataResponse) {
|
|
1295
1305
|
UpdateDocumentMetadataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1296
1306
|
})(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,10 @@ 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 UpdateMaintenanceWindowRequest;
|
|
6
|
+
(function (UpdateMaintenanceWindowRequest) {
|
|
7
|
+
UpdateMaintenanceWindowRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
8
|
+
})(UpdateMaintenanceWindowRequest || (UpdateMaintenanceWindowRequest = {}));
|
|
5
9
|
export var UpdateMaintenanceWindowResult;
|
|
6
10
|
(function (UpdateMaintenanceWindowResult) {
|
|
7
11
|
UpdateMaintenanceWindowResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Description && { Description: SENSITIVE_STRING }))); };
|