@aws-sdk/client-ssm 3.211.0 → 3.213.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/SSM.js +45 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +46 -0
- package/dist-cjs/commands/DescribeOpsItemsCommand.js +3 -3
- package/dist-cjs/commands/GetResourcePoliciesCommand.js +46 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +46 -0
- package/dist-cjs/commands/UpdateAssociationCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssociationStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateDocumentCommand.js +3 -3
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +58 -44
- package/dist-cjs/models/models_1.js +80 -106
- package/dist-cjs/models/models_2.js +101 -1
- package/dist-cjs/pagination/GetResourcePoliciesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +356 -115
- package/dist-es/SSM.js +45 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +42 -0
- package/dist-es/commands/DescribeOpsItemsCommand.js +1 -1
- package/dist-es/commands/GetResourcePoliciesCommand.js +42 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +42 -0
- package/dist-es/commands/UpdateAssociationCommand.js +1 -1
- package/dist-es/commands/UpdateAssociationStatusCommand.js +1 -1
- package/dist-es/commands/UpdateDocumentCommand.js +1 -1
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +47 -34
- package/dist-es/models/models_1.js +65 -90
- package/dist-es/models/models_2.js +90 -1
- package/dist-es/pagination/GetResourcePoliciesPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +342 -107
- package/dist-types/SSM.d.ts +28 -0
- package/dist-types/SSMClient.d.ts +5 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +40 -0
- package/dist-types/commands/DescribeOpsItemsCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePoliciesCommand.d.ts +37 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +41 -0
- 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/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +105 -223
- package/dist-types/models/models_1.d.ts +385 -324
- package/dist-types/models/models_2.d.ts +343 -3
- package/dist-types/pagination/GetResourcePoliciesPaginator.d.ts +4 -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 +51 -0
- package/dist-types/ts3.4/SSMClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeOpsItemsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAssociationStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +46 -66
- package/dist-types/ts3.4/models/models_1.d.ts +122 -104
- package/dist-types/ts3.4/models/models_2.d.ts +110 -1
- package/dist-types/ts3.4/pagination/GetResourcePoliciesPaginator.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 +36 -0
- package/package.json +29 -29
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.deserializeAws_json1_1UpdateServiceSettingCommand = exports.deserializeAws_json1_1UpdateResourceDataSyncCommand = exports.deserializeAws_json1_1UpdatePatchBaselineCommand = exports.deserializeAws_json1_1UpdateOpsMetadataCommand = exports.deserializeAws_json1_1UpdateOpsItemCommand = exports.deserializeAws_json1_1UpdateManagedInstanceRoleCommand = exports.deserializeAws_json1_1UpdateMaintenanceWindowTaskCommand = exports.deserializeAws_json1_1UpdateMaintenanceWindowTargetCommand = exports.deserializeAws_json1_1UpdateMaintenanceWindowCommand = exports.deserializeAws_json1_1UpdateDocumentMetadataCommand = exports.deserializeAws_json1_1UpdateDocumentDefaultVersionCommand = exports.deserializeAws_json1_1UpdateDocumentCommand = exports.deserializeAws_json1_1UpdateAssociationStatusCommand = exports.deserializeAws_json1_1UpdateAssociationCommand = exports.deserializeAws_json1_1UnlabelParameterVersionCommand = exports.deserializeAws_json1_1TerminateSessionCommand = exports.deserializeAws_json1_1StopAutomationExecutionCommand = exports.deserializeAws_json1_1StartSessionCommand = exports.deserializeAws_json1_1StartChangeRequestExecutionCommand = exports.deserializeAws_json1_1StartAutomationExecutionCommand = void 0;
|
|
3
|
+
exports.serializeAws_json1_1DescribeMaintenanceWindowScheduleCommand = exports.serializeAws_json1_1DescribeMaintenanceWindowsCommand = exports.serializeAws_json1_1DescribeMaintenanceWindowExecutionTasksCommand = exports.serializeAws_json1_1DescribeMaintenanceWindowExecutionTaskInvocationsCommand = exports.serializeAws_json1_1DescribeMaintenanceWindowExecutionsCommand = exports.serializeAws_json1_1DescribeInventoryDeletionsCommand = exports.serializeAws_json1_1DescribeInstancePatchStatesForPatchGroupCommand = exports.serializeAws_json1_1DescribeInstancePatchStatesCommand = exports.serializeAws_json1_1DescribeInstancePatchesCommand = exports.serializeAws_json1_1DescribeInstanceInformationCommand = exports.serializeAws_json1_1DescribeInstanceAssociationsStatusCommand = exports.serializeAws_json1_1DescribeEffectivePatchesForPatchBaselineCommand = exports.serializeAws_json1_1DescribeEffectiveInstanceAssociationsCommand = exports.serializeAws_json1_1DescribeDocumentPermissionCommand = exports.serializeAws_json1_1DescribeDocumentCommand = exports.serializeAws_json1_1DescribeAvailablePatchesCommand = exports.serializeAws_json1_1DescribeAutomationStepExecutionsCommand = exports.serializeAws_json1_1DescribeAutomationExecutionsCommand = exports.serializeAws_json1_1DescribeAssociationExecutionTargetsCommand = exports.serializeAws_json1_1DescribeAssociationExecutionsCommand = exports.serializeAws_json1_1DescribeAssociationCommand = exports.serializeAws_json1_1DescribeActivationsCommand = exports.serializeAws_json1_1DeregisterTaskFromMaintenanceWindowCommand = exports.serializeAws_json1_1DeregisterTargetFromMaintenanceWindowCommand = exports.serializeAws_json1_1DeregisterPatchBaselineForPatchGroupCommand = exports.serializeAws_json1_1DeregisterManagedInstanceCommand = exports.serializeAws_json1_1DeleteResourcePolicyCommand = exports.serializeAws_json1_1DeleteResourceDataSyncCommand = exports.serializeAws_json1_1DeletePatchBaselineCommand = exports.serializeAws_json1_1DeleteParametersCommand = exports.serializeAws_json1_1DeleteParameterCommand = exports.serializeAws_json1_1DeleteOpsMetadataCommand = exports.serializeAws_json1_1DeleteMaintenanceWindowCommand = exports.serializeAws_json1_1DeleteInventoryCommand = exports.serializeAws_json1_1DeleteDocumentCommand = exports.serializeAws_json1_1DeleteAssociationCommand = exports.serializeAws_json1_1DeleteActivationCommand = exports.serializeAws_json1_1CreateResourceDataSyncCommand = exports.serializeAws_json1_1CreatePatchBaselineCommand = exports.serializeAws_json1_1CreateOpsMetadataCommand = exports.serializeAws_json1_1CreateOpsItemCommand = exports.serializeAws_json1_1CreateMaintenanceWindowCommand = exports.serializeAws_json1_1CreateDocumentCommand = exports.serializeAws_json1_1CreateAssociationBatchCommand = exports.serializeAws_json1_1CreateAssociationCommand = exports.serializeAws_json1_1CreateActivationCommand = exports.serializeAws_json1_1CancelMaintenanceWindowExecutionCommand = exports.serializeAws_json1_1CancelCommandCommand = exports.serializeAws_json1_1AssociateOpsItemRelatedItemCommand = exports.serializeAws_json1_1AddTagsToResourceCommand = void 0;
|
|
4
|
+
exports.serializeAws_json1_1ListOpsMetadataCommand = exports.serializeAws_json1_1ListOpsItemRelatedItemsCommand = exports.serializeAws_json1_1ListOpsItemEventsCommand = exports.serializeAws_json1_1ListInventoryEntriesCommand = exports.serializeAws_json1_1ListDocumentVersionsCommand = exports.serializeAws_json1_1ListDocumentsCommand = exports.serializeAws_json1_1ListDocumentMetadataHistoryCommand = exports.serializeAws_json1_1ListComplianceSummariesCommand = exports.serializeAws_json1_1ListComplianceItemsCommand = exports.serializeAws_json1_1ListCommandsCommand = exports.serializeAws_json1_1ListCommandInvocationsCommand = exports.serializeAws_json1_1ListAssociationVersionsCommand = exports.serializeAws_json1_1ListAssociationsCommand = exports.serializeAws_json1_1LabelParameterVersionCommand = exports.serializeAws_json1_1GetServiceSettingCommand = exports.serializeAws_json1_1GetResourcePoliciesCommand = exports.serializeAws_json1_1GetPatchBaselineForPatchGroupCommand = exports.serializeAws_json1_1GetPatchBaselineCommand = exports.serializeAws_json1_1GetParametersByPathCommand = exports.serializeAws_json1_1GetParametersCommand = exports.serializeAws_json1_1GetParameterHistoryCommand = exports.serializeAws_json1_1GetParameterCommand = exports.serializeAws_json1_1GetOpsSummaryCommand = exports.serializeAws_json1_1GetOpsMetadataCommand = exports.serializeAws_json1_1GetOpsItemCommand = exports.serializeAws_json1_1GetMaintenanceWindowTaskCommand = exports.serializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationCommand = exports.serializeAws_json1_1GetMaintenanceWindowExecutionTaskCommand = exports.serializeAws_json1_1GetMaintenanceWindowExecutionCommand = exports.serializeAws_json1_1GetMaintenanceWindowCommand = exports.serializeAws_json1_1GetInventorySchemaCommand = exports.serializeAws_json1_1GetInventoryCommand = exports.serializeAws_json1_1GetDocumentCommand = exports.serializeAws_json1_1GetDeployablePatchSnapshotForInstanceCommand = exports.serializeAws_json1_1GetDefaultPatchBaselineCommand = exports.serializeAws_json1_1GetConnectionStatusCommand = exports.serializeAws_json1_1GetCommandInvocationCommand = exports.serializeAws_json1_1GetCalendarStateCommand = exports.serializeAws_json1_1GetAutomationExecutionCommand = exports.serializeAws_json1_1DisassociateOpsItemRelatedItemCommand = exports.serializeAws_json1_1DescribeSessionsCommand = exports.serializeAws_json1_1DescribePatchPropertiesCommand = exports.serializeAws_json1_1DescribePatchGroupStateCommand = exports.serializeAws_json1_1DescribePatchGroupsCommand = exports.serializeAws_json1_1DescribePatchBaselinesCommand = exports.serializeAws_json1_1DescribeParametersCommand = exports.serializeAws_json1_1DescribeOpsItemsCommand = exports.serializeAws_json1_1DescribeMaintenanceWindowTasksCommand = exports.serializeAws_json1_1DescribeMaintenanceWindowTargetsCommand = exports.serializeAws_json1_1DescribeMaintenanceWindowsForTargetCommand = void 0;
|
|
5
|
+
exports.deserializeAws_json1_1CreatePatchBaselineCommand = exports.deserializeAws_json1_1CreateOpsMetadataCommand = exports.deserializeAws_json1_1CreateOpsItemCommand = exports.deserializeAws_json1_1CreateMaintenanceWindowCommand = exports.deserializeAws_json1_1CreateDocumentCommand = exports.deserializeAws_json1_1CreateAssociationBatchCommand = exports.deserializeAws_json1_1CreateAssociationCommand = exports.deserializeAws_json1_1CreateActivationCommand = exports.deserializeAws_json1_1CancelMaintenanceWindowExecutionCommand = exports.deserializeAws_json1_1CancelCommandCommand = exports.deserializeAws_json1_1AssociateOpsItemRelatedItemCommand = exports.deserializeAws_json1_1AddTagsToResourceCommand = exports.serializeAws_json1_1UpdateServiceSettingCommand = exports.serializeAws_json1_1UpdateResourceDataSyncCommand = exports.serializeAws_json1_1UpdatePatchBaselineCommand = exports.serializeAws_json1_1UpdateOpsMetadataCommand = exports.serializeAws_json1_1UpdateOpsItemCommand = exports.serializeAws_json1_1UpdateManagedInstanceRoleCommand = exports.serializeAws_json1_1UpdateMaintenanceWindowTaskCommand = exports.serializeAws_json1_1UpdateMaintenanceWindowTargetCommand = exports.serializeAws_json1_1UpdateMaintenanceWindowCommand = exports.serializeAws_json1_1UpdateDocumentMetadataCommand = exports.serializeAws_json1_1UpdateDocumentDefaultVersionCommand = exports.serializeAws_json1_1UpdateDocumentCommand = exports.serializeAws_json1_1UpdateAssociationStatusCommand = exports.serializeAws_json1_1UpdateAssociationCommand = exports.serializeAws_json1_1UnlabelParameterVersionCommand = exports.serializeAws_json1_1TerminateSessionCommand = exports.serializeAws_json1_1StopAutomationExecutionCommand = exports.serializeAws_json1_1StartSessionCommand = exports.serializeAws_json1_1StartChangeRequestExecutionCommand = exports.serializeAws_json1_1StartAutomationExecutionCommand = exports.serializeAws_json1_1StartAssociationsOnceCommand = exports.serializeAws_json1_1SendCommandCommand = exports.serializeAws_json1_1SendAutomationSignalCommand = exports.serializeAws_json1_1ResumeSessionCommand = exports.serializeAws_json1_1ResetServiceSettingCommand = exports.serializeAws_json1_1RemoveTagsFromResourceCommand = exports.serializeAws_json1_1RegisterTaskWithMaintenanceWindowCommand = exports.serializeAws_json1_1RegisterTargetWithMaintenanceWindowCommand = exports.serializeAws_json1_1RegisterPatchBaselineForPatchGroupCommand = exports.serializeAws_json1_1RegisterDefaultPatchBaselineCommand = exports.serializeAws_json1_1PutResourcePolicyCommand = exports.serializeAws_json1_1PutParameterCommand = exports.serializeAws_json1_1PutInventoryCommand = exports.serializeAws_json1_1PutComplianceItemsCommand = exports.serializeAws_json1_1ModifyDocumentPermissionCommand = exports.serializeAws_json1_1ListTagsForResourceCommand = exports.serializeAws_json1_1ListResourceDataSyncCommand = exports.serializeAws_json1_1ListResourceComplianceSummariesCommand = void 0;
|
|
6
|
+
exports.deserializeAws_json1_1GetAutomationExecutionCommand = exports.deserializeAws_json1_1DisassociateOpsItemRelatedItemCommand = exports.deserializeAws_json1_1DescribeSessionsCommand = exports.deserializeAws_json1_1DescribePatchPropertiesCommand = exports.deserializeAws_json1_1DescribePatchGroupStateCommand = exports.deserializeAws_json1_1DescribePatchGroupsCommand = exports.deserializeAws_json1_1DescribePatchBaselinesCommand = exports.deserializeAws_json1_1DescribeParametersCommand = exports.deserializeAws_json1_1DescribeOpsItemsCommand = exports.deserializeAws_json1_1DescribeMaintenanceWindowTasksCommand = exports.deserializeAws_json1_1DescribeMaintenanceWindowTargetsCommand = exports.deserializeAws_json1_1DescribeMaintenanceWindowsForTargetCommand = exports.deserializeAws_json1_1DescribeMaintenanceWindowScheduleCommand = exports.deserializeAws_json1_1DescribeMaintenanceWindowsCommand = exports.deserializeAws_json1_1DescribeMaintenanceWindowExecutionTasksCommand = exports.deserializeAws_json1_1DescribeMaintenanceWindowExecutionTaskInvocationsCommand = exports.deserializeAws_json1_1DescribeMaintenanceWindowExecutionsCommand = exports.deserializeAws_json1_1DescribeInventoryDeletionsCommand = exports.deserializeAws_json1_1DescribeInstancePatchStatesForPatchGroupCommand = exports.deserializeAws_json1_1DescribeInstancePatchStatesCommand = exports.deserializeAws_json1_1DescribeInstancePatchesCommand = exports.deserializeAws_json1_1DescribeInstanceInformationCommand = exports.deserializeAws_json1_1DescribeInstanceAssociationsStatusCommand = exports.deserializeAws_json1_1DescribeEffectivePatchesForPatchBaselineCommand = exports.deserializeAws_json1_1DescribeEffectiveInstanceAssociationsCommand = exports.deserializeAws_json1_1DescribeDocumentPermissionCommand = exports.deserializeAws_json1_1DescribeDocumentCommand = exports.deserializeAws_json1_1DescribeAvailablePatchesCommand = exports.deserializeAws_json1_1DescribeAutomationStepExecutionsCommand = exports.deserializeAws_json1_1DescribeAutomationExecutionsCommand = exports.deserializeAws_json1_1DescribeAssociationExecutionTargetsCommand = exports.deserializeAws_json1_1DescribeAssociationExecutionsCommand = exports.deserializeAws_json1_1DescribeAssociationCommand = exports.deserializeAws_json1_1DescribeActivationsCommand = exports.deserializeAws_json1_1DeregisterTaskFromMaintenanceWindowCommand = exports.deserializeAws_json1_1DeregisterTargetFromMaintenanceWindowCommand = exports.deserializeAws_json1_1DeregisterPatchBaselineForPatchGroupCommand = exports.deserializeAws_json1_1DeregisterManagedInstanceCommand = exports.deserializeAws_json1_1DeleteResourcePolicyCommand = exports.deserializeAws_json1_1DeleteResourceDataSyncCommand = exports.deserializeAws_json1_1DeletePatchBaselineCommand = exports.deserializeAws_json1_1DeleteParametersCommand = exports.deserializeAws_json1_1DeleteParameterCommand = exports.deserializeAws_json1_1DeleteOpsMetadataCommand = exports.deserializeAws_json1_1DeleteMaintenanceWindowCommand = exports.deserializeAws_json1_1DeleteInventoryCommand = exports.deserializeAws_json1_1DeleteDocumentCommand = exports.deserializeAws_json1_1DeleteAssociationCommand = exports.deserializeAws_json1_1DeleteActivationCommand = exports.deserializeAws_json1_1CreateResourceDataSyncCommand = void 0;
|
|
7
|
+
exports.deserializeAws_json1_1RegisterTaskWithMaintenanceWindowCommand = exports.deserializeAws_json1_1RegisterTargetWithMaintenanceWindowCommand = exports.deserializeAws_json1_1RegisterPatchBaselineForPatchGroupCommand = exports.deserializeAws_json1_1RegisterDefaultPatchBaselineCommand = exports.deserializeAws_json1_1PutResourcePolicyCommand = exports.deserializeAws_json1_1PutParameterCommand = exports.deserializeAws_json1_1PutInventoryCommand = exports.deserializeAws_json1_1PutComplianceItemsCommand = exports.deserializeAws_json1_1ModifyDocumentPermissionCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = exports.deserializeAws_json1_1ListResourceDataSyncCommand = exports.deserializeAws_json1_1ListResourceComplianceSummariesCommand = exports.deserializeAws_json1_1ListOpsMetadataCommand = exports.deserializeAws_json1_1ListOpsItemRelatedItemsCommand = exports.deserializeAws_json1_1ListOpsItemEventsCommand = exports.deserializeAws_json1_1ListInventoryEntriesCommand = exports.deserializeAws_json1_1ListDocumentVersionsCommand = exports.deserializeAws_json1_1ListDocumentsCommand = exports.deserializeAws_json1_1ListDocumentMetadataHistoryCommand = exports.deserializeAws_json1_1ListComplianceSummariesCommand = exports.deserializeAws_json1_1ListComplianceItemsCommand = exports.deserializeAws_json1_1ListCommandsCommand = exports.deserializeAws_json1_1ListCommandInvocationsCommand = exports.deserializeAws_json1_1ListAssociationVersionsCommand = exports.deserializeAws_json1_1ListAssociationsCommand = exports.deserializeAws_json1_1LabelParameterVersionCommand = exports.deserializeAws_json1_1GetServiceSettingCommand = exports.deserializeAws_json1_1GetResourcePoliciesCommand = exports.deserializeAws_json1_1GetPatchBaselineForPatchGroupCommand = exports.deserializeAws_json1_1GetPatchBaselineCommand = exports.deserializeAws_json1_1GetParametersByPathCommand = exports.deserializeAws_json1_1GetParametersCommand = exports.deserializeAws_json1_1GetParameterHistoryCommand = exports.deserializeAws_json1_1GetParameterCommand = exports.deserializeAws_json1_1GetOpsSummaryCommand = exports.deserializeAws_json1_1GetOpsMetadataCommand = exports.deserializeAws_json1_1GetOpsItemCommand = exports.deserializeAws_json1_1GetMaintenanceWindowTaskCommand = exports.deserializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationCommand = exports.deserializeAws_json1_1GetMaintenanceWindowExecutionTaskCommand = exports.deserializeAws_json1_1GetMaintenanceWindowExecutionCommand = exports.deserializeAws_json1_1GetMaintenanceWindowCommand = exports.deserializeAws_json1_1GetInventorySchemaCommand = exports.deserializeAws_json1_1GetInventoryCommand = exports.deserializeAws_json1_1GetDocumentCommand = exports.deserializeAws_json1_1GetDeployablePatchSnapshotForInstanceCommand = exports.deserializeAws_json1_1GetDefaultPatchBaselineCommand = exports.deserializeAws_json1_1GetConnectionStatusCommand = exports.deserializeAws_json1_1GetCommandInvocationCommand = exports.deserializeAws_json1_1GetCalendarStateCommand = void 0;
|
|
8
|
+
exports.deserializeAws_json1_1UpdateServiceSettingCommand = exports.deserializeAws_json1_1UpdateResourceDataSyncCommand = exports.deserializeAws_json1_1UpdatePatchBaselineCommand = exports.deserializeAws_json1_1UpdateOpsMetadataCommand = exports.deserializeAws_json1_1UpdateOpsItemCommand = exports.deserializeAws_json1_1UpdateManagedInstanceRoleCommand = exports.deserializeAws_json1_1UpdateMaintenanceWindowTaskCommand = exports.deserializeAws_json1_1UpdateMaintenanceWindowTargetCommand = exports.deserializeAws_json1_1UpdateMaintenanceWindowCommand = exports.deserializeAws_json1_1UpdateDocumentMetadataCommand = exports.deserializeAws_json1_1UpdateDocumentDefaultVersionCommand = exports.deserializeAws_json1_1UpdateDocumentCommand = exports.deserializeAws_json1_1UpdateAssociationStatusCommand = exports.deserializeAws_json1_1UpdateAssociationCommand = exports.deserializeAws_json1_1UnlabelParameterVersionCommand = exports.deserializeAws_json1_1TerminateSessionCommand = exports.deserializeAws_json1_1StopAutomationExecutionCommand = exports.deserializeAws_json1_1StartSessionCommand = exports.deserializeAws_json1_1StartChangeRequestExecutionCommand = exports.deserializeAws_json1_1StartAutomationExecutionCommand = exports.deserializeAws_json1_1StartAssociationsOnceCommand = exports.deserializeAws_json1_1SendCommandCommand = exports.deserializeAws_json1_1SendAutomationSignalCommand = exports.deserializeAws_json1_1ResumeSessionCommand = exports.deserializeAws_json1_1ResetServiceSettingCommand = exports.deserializeAws_json1_1RemoveTagsFromResourceCommand = void 0;
|
|
9
9
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
10
10
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
11
11
|
const uuid_1 = require("uuid");
|
|
@@ -243,6 +243,16 @@ const serializeAws_json1_1DeleteResourceDataSyncCommand = async (input, context)
|
|
|
243
243
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
244
244
|
};
|
|
245
245
|
exports.serializeAws_json1_1DeleteResourceDataSyncCommand = serializeAws_json1_1DeleteResourceDataSyncCommand;
|
|
246
|
+
const serializeAws_json1_1DeleteResourcePolicyCommand = async (input, context) => {
|
|
247
|
+
const headers = {
|
|
248
|
+
"content-type": "application/x-amz-json-1.1",
|
|
249
|
+
"x-amz-target": "AmazonSSM.DeleteResourcePolicy",
|
|
250
|
+
};
|
|
251
|
+
let body;
|
|
252
|
+
body = JSON.stringify(serializeAws_json1_1DeleteResourcePolicyRequest(input, context));
|
|
253
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
254
|
+
};
|
|
255
|
+
exports.serializeAws_json1_1DeleteResourcePolicyCommand = serializeAws_json1_1DeleteResourcePolicyCommand;
|
|
246
256
|
const serializeAws_json1_1DeregisterManagedInstanceCommand = async (input, context) => {
|
|
247
257
|
const headers = {
|
|
248
258
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -843,6 +853,16 @@ const serializeAws_json1_1GetPatchBaselineForPatchGroupCommand = async (input, c
|
|
|
843
853
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
844
854
|
};
|
|
845
855
|
exports.serializeAws_json1_1GetPatchBaselineForPatchGroupCommand = serializeAws_json1_1GetPatchBaselineForPatchGroupCommand;
|
|
856
|
+
const serializeAws_json1_1GetResourcePoliciesCommand = async (input, context) => {
|
|
857
|
+
const headers = {
|
|
858
|
+
"content-type": "application/x-amz-json-1.1",
|
|
859
|
+
"x-amz-target": "AmazonSSM.GetResourcePolicies",
|
|
860
|
+
};
|
|
861
|
+
let body;
|
|
862
|
+
body = JSON.stringify(serializeAws_json1_1GetResourcePoliciesRequest(input, context));
|
|
863
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
864
|
+
};
|
|
865
|
+
exports.serializeAws_json1_1GetResourcePoliciesCommand = serializeAws_json1_1GetResourcePoliciesCommand;
|
|
846
866
|
const serializeAws_json1_1GetServiceSettingCommand = async (input, context) => {
|
|
847
867
|
const headers = {
|
|
848
868
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1063,6 +1083,16 @@ const serializeAws_json1_1PutParameterCommand = async (input, context) => {
|
|
|
1063
1083
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1064
1084
|
};
|
|
1065
1085
|
exports.serializeAws_json1_1PutParameterCommand = serializeAws_json1_1PutParameterCommand;
|
|
1086
|
+
const serializeAws_json1_1PutResourcePolicyCommand = async (input, context) => {
|
|
1087
|
+
const headers = {
|
|
1088
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1089
|
+
"x-amz-target": "AmazonSSM.PutResourcePolicy",
|
|
1090
|
+
};
|
|
1091
|
+
let body;
|
|
1092
|
+
body = JSON.stringify(serializeAws_json1_1PutResourcePolicyRequest(input, context));
|
|
1093
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1094
|
+
};
|
|
1095
|
+
exports.serializeAws_json1_1PutResourcePolicyCommand = serializeAws_json1_1PutResourcePolicyCommand;
|
|
1066
1096
|
const serializeAws_json1_1RegisterDefaultPatchBaselineCommand = async (input, context) => {
|
|
1067
1097
|
const headers = {
|
|
1068
1098
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1822,6 +1852,9 @@ const deserializeAws_json1_1CreateOpsItemCommandError = async (output, context)
|
|
|
1822
1852
|
case "InternalServerError":
|
|
1823
1853
|
case "com.amazonaws.ssm#InternalServerError":
|
|
1824
1854
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
1855
|
+
case "OpsItemAccessDeniedException":
|
|
1856
|
+
case "com.amazonaws.ssm#OpsItemAccessDeniedException":
|
|
1857
|
+
throw await deserializeAws_json1_1OpsItemAccessDeniedExceptionResponse(parsedOutput, context);
|
|
1825
1858
|
case "OpsItemAlreadyExistsException":
|
|
1826
1859
|
case "com.amazonaws.ssm#OpsItemAlreadyExistsException":
|
|
1827
1860
|
throw await deserializeAws_json1_1OpsItemAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
@@ -2370,6 +2403,46 @@ const deserializeAws_json1_1DeleteResourceDataSyncCommandError = async (output,
|
|
|
2370
2403
|
});
|
|
2371
2404
|
}
|
|
2372
2405
|
};
|
|
2406
|
+
const deserializeAws_json1_1DeleteResourcePolicyCommand = async (output, context) => {
|
|
2407
|
+
if (output.statusCode >= 300) {
|
|
2408
|
+
return deserializeAws_json1_1DeleteResourcePolicyCommandError(output, context);
|
|
2409
|
+
}
|
|
2410
|
+
const data = await parseBody(output.body, context);
|
|
2411
|
+
let contents = {};
|
|
2412
|
+
contents = deserializeAws_json1_1DeleteResourcePolicyResponse(data, context);
|
|
2413
|
+
const response = {
|
|
2414
|
+
$metadata: deserializeMetadata(output),
|
|
2415
|
+
...contents,
|
|
2416
|
+
};
|
|
2417
|
+
return Promise.resolve(response);
|
|
2418
|
+
};
|
|
2419
|
+
exports.deserializeAws_json1_1DeleteResourcePolicyCommand = deserializeAws_json1_1DeleteResourcePolicyCommand;
|
|
2420
|
+
const deserializeAws_json1_1DeleteResourcePolicyCommandError = async (output, context) => {
|
|
2421
|
+
const parsedOutput = {
|
|
2422
|
+
...output,
|
|
2423
|
+
body: await parseErrorBody(output.body, context),
|
|
2424
|
+
};
|
|
2425
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2426
|
+
switch (errorCode) {
|
|
2427
|
+
case "InternalServerError":
|
|
2428
|
+
case "com.amazonaws.ssm#InternalServerError":
|
|
2429
|
+
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
2430
|
+
case "ResourcePolicyConflictException":
|
|
2431
|
+
case "com.amazonaws.ssm#ResourcePolicyConflictException":
|
|
2432
|
+
throw await deserializeAws_json1_1ResourcePolicyConflictExceptionResponse(parsedOutput, context);
|
|
2433
|
+
case "ResourcePolicyInvalidParameterException":
|
|
2434
|
+
case "com.amazonaws.ssm#ResourcePolicyInvalidParameterException":
|
|
2435
|
+
throw await deserializeAws_json1_1ResourcePolicyInvalidParameterExceptionResponse(parsedOutput, context);
|
|
2436
|
+
default:
|
|
2437
|
+
const parsedBody = parsedOutput.body;
|
|
2438
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2439
|
+
output,
|
|
2440
|
+
parsedBody,
|
|
2441
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
2442
|
+
errorCode,
|
|
2443
|
+
});
|
|
2444
|
+
}
|
|
2445
|
+
};
|
|
2373
2446
|
const deserializeAws_json1_1DeregisterManagedInstanceCommand = async (output, context) => {
|
|
2374
2447
|
if (output.statusCode >= 300) {
|
|
2375
2448
|
return deserializeAws_json1_1DeregisterManagedInstanceCommandError(output, context);
|
|
@@ -4392,6 +4465,9 @@ const deserializeAws_json1_1GetOpsItemCommandError = async (output, context) =>
|
|
|
4392
4465
|
case "InternalServerError":
|
|
4393
4466
|
case "com.amazonaws.ssm#InternalServerError":
|
|
4394
4467
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
4468
|
+
case "OpsItemAccessDeniedException":
|
|
4469
|
+
case "com.amazonaws.ssm#OpsItemAccessDeniedException":
|
|
4470
|
+
throw await deserializeAws_json1_1OpsItemAccessDeniedExceptionResponse(parsedOutput, context);
|
|
4395
4471
|
case "OpsItemNotFoundException":
|
|
4396
4472
|
case "com.amazonaws.ssm#OpsItemNotFoundException":
|
|
4397
4473
|
throw await deserializeAws_json1_1OpsItemNotFoundExceptionResponse(parsedOutput, context);
|
|
@@ -4740,6 +4816,43 @@ const deserializeAws_json1_1GetPatchBaselineForPatchGroupCommandError = async (o
|
|
|
4740
4816
|
});
|
|
4741
4817
|
}
|
|
4742
4818
|
};
|
|
4819
|
+
const deserializeAws_json1_1GetResourcePoliciesCommand = async (output, context) => {
|
|
4820
|
+
if (output.statusCode >= 300) {
|
|
4821
|
+
return deserializeAws_json1_1GetResourcePoliciesCommandError(output, context);
|
|
4822
|
+
}
|
|
4823
|
+
const data = await parseBody(output.body, context);
|
|
4824
|
+
let contents = {};
|
|
4825
|
+
contents = deserializeAws_json1_1GetResourcePoliciesResponse(data, context);
|
|
4826
|
+
const response = {
|
|
4827
|
+
$metadata: deserializeMetadata(output),
|
|
4828
|
+
...contents,
|
|
4829
|
+
};
|
|
4830
|
+
return Promise.resolve(response);
|
|
4831
|
+
};
|
|
4832
|
+
exports.deserializeAws_json1_1GetResourcePoliciesCommand = deserializeAws_json1_1GetResourcePoliciesCommand;
|
|
4833
|
+
const deserializeAws_json1_1GetResourcePoliciesCommandError = async (output, context) => {
|
|
4834
|
+
const parsedOutput = {
|
|
4835
|
+
...output,
|
|
4836
|
+
body: await parseErrorBody(output.body, context),
|
|
4837
|
+
};
|
|
4838
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4839
|
+
switch (errorCode) {
|
|
4840
|
+
case "InternalServerError":
|
|
4841
|
+
case "com.amazonaws.ssm#InternalServerError":
|
|
4842
|
+
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
4843
|
+
case "ResourcePolicyInvalidParameterException":
|
|
4844
|
+
case "com.amazonaws.ssm#ResourcePolicyInvalidParameterException":
|
|
4845
|
+
throw await deserializeAws_json1_1ResourcePolicyInvalidParameterExceptionResponse(parsedOutput, context);
|
|
4846
|
+
default:
|
|
4847
|
+
const parsedBody = parsedOutput.body;
|
|
4848
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4849
|
+
output,
|
|
4850
|
+
parsedBody,
|
|
4851
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
4852
|
+
errorCode,
|
|
4853
|
+
});
|
|
4854
|
+
}
|
|
4855
|
+
};
|
|
4743
4856
|
const deserializeAws_json1_1GetServiceSettingCommand = async (output, context) => {
|
|
4744
4857
|
if (output.statusCode >= 300) {
|
|
4745
4858
|
return deserializeAws_json1_1GetServiceSettingCommandError(output, context);
|
|
@@ -5725,6 +5838,49 @@ const deserializeAws_json1_1PutParameterCommandError = async (output, context) =
|
|
|
5725
5838
|
});
|
|
5726
5839
|
}
|
|
5727
5840
|
};
|
|
5841
|
+
const deserializeAws_json1_1PutResourcePolicyCommand = async (output, context) => {
|
|
5842
|
+
if (output.statusCode >= 300) {
|
|
5843
|
+
return deserializeAws_json1_1PutResourcePolicyCommandError(output, context);
|
|
5844
|
+
}
|
|
5845
|
+
const data = await parseBody(output.body, context);
|
|
5846
|
+
let contents = {};
|
|
5847
|
+
contents = deserializeAws_json1_1PutResourcePolicyResponse(data, context);
|
|
5848
|
+
const response = {
|
|
5849
|
+
$metadata: deserializeMetadata(output),
|
|
5850
|
+
...contents,
|
|
5851
|
+
};
|
|
5852
|
+
return Promise.resolve(response);
|
|
5853
|
+
};
|
|
5854
|
+
exports.deserializeAws_json1_1PutResourcePolicyCommand = deserializeAws_json1_1PutResourcePolicyCommand;
|
|
5855
|
+
const deserializeAws_json1_1PutResourcePolicyCommandError = async (output, context) => {
|
|
5856
|
+
const parsedOutput = {
|
|
5857
|
+
...output,
|
|
5858
|
+
body: await parseErrorBody(output.body, context),
|
|
5859
|
+
};
|
|
5860
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5861
|
+
switch (errorCode) {
|
|
5862
|
+
case "InternalServerError":
|
|
5863
|
+
case "com.amazonaws.ssm#InternalServerError":
|
|
5864
|
+
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
5865
|
+
case "ResourcePolicyConflictException":
|
|
5866
|
+
case "com.amazonaws.ssm#ResourcePolicyConflictException":
|
|
5867
|
+
throw await deserializeAws_json1_1ResourcePolicyConflictExceptionResponse(parsedOutput, context);
|
|
5868
|
+
case "ResourcePolicyInvalidParameterException":
|
|
5869
|
+
case "com.amazonaws.ssm#ResourcePolicyInvalidParameterException":
|
|
5870
|
+
throw await deserializeAws_json1_1ResourcePolicyInvalidParameterExceptionResponse(parsedOutput, context);
|
|
5871
|
+
case "ResourcePolicyLimitExceededException":
|
|
5872
|
+
case "com.amazonaws.ssm#ResourcePolicyLimitExceededException":
|
|
5873
|
+
throw await deserializeAws_json1_1ResourcePolicyLimitExceededExceptionResponse(parsedOutput, context);
|
|
5874
|
+
default:
|
|
5875
|
+
const parsedBody = parsedOutput.body;
|
|
5876
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5877
|
+
output,
|
|
5878
|
+
parsedBody,
|
|
5879
|
+
exceptionCtor: SSMServiceException_1.SSMServiceException,
|
|
5880
|
+
errorCode,
|
|
5881
|
+
});
|
|
5882
|
+
}
|
|
5883
|
+
};
|
|
5728
5884
|
const deserializeAws_json1_1RegisterDefaultPatchBaselineCommand = async (output, context) => {
|
|
5729
5885
|
if (output.statusCode >= 300) {
|
|
5730
5886
|
return deserializeAws_json1_1RegisterDefaultPatchBaselineCommandError(output, context);
|
|
@@ -6863,6 +7019,9 @@ const deserializeAws_json1_1UpdateOpsItemCommandError = async (output, context)
|
|
|
6863
7019
|
case "InternalServerError":
|
|
6864
7020
|
case "com.amazonaws.ssm#InternalServerError":
|
|
6865
7021
|
throw await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context);
|
|
7022
|
+
case "OpsItemAccessDeniedException":
|
|
7023
|
+
case "com.amazonaws.ssm#OpsItemAccessDeniedException":
|
|
7024
|
+
throw await deserializeAws_json1_1OpsItemAccessDeniedExceptionResponse(parsedOutput, context);
|
|
6866
7025
|
case "OpsItemAlreadyExistsException":
|
|
6867
7026
|
case "com.amazonaws.ssm#OpsItemAlreadyExistsException":
|
|
6868
7027
|
throw await deserializeAws_json1_1OpsItemAlreadyExistsExceptionResponse(parsedOutput, context);
|
|
@@ -7216,7 +7375,7 @@ const deserializeAws_json1_1DocumentPermissionLimitResponse = async (parsedOutpu
|
|
|
7216
7375
|
const deserializeAws_json1_1DocumentVersionLimitExceededResponse = async (parsedOutput, context) => {
|
|
7217
7376
|
const body = parsedOutput.body;
|
|
7218
7377
|
const deserialized = deserializeAws_json1_1DocumentVersionLimitExceeded(body, context);
|
|
7219
|
-
const exception = new
|
|
7378
|
+
const exception = new models_2_1.DocumentVersionLimitExceeded({
|
|
7220
7379
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7221
7380
|
...deserialized,
|
|
7222
7381
|
});
|
|
@@ -7234,7 +7393,7 @@ const deserializeAws_json1_1DoesNotExistExceptionResponse = async (parsedOutput,
|
|
|
7234
7393
|
const deserializeAws_json1_1DuplicateDocumentContentResponse = async (parsedOutput, context) => {
|
|
7235
7394
|
const body = parsedOutput.body;
|
|
7236
7395
|
const deserialized = deserializeAws_json1_1DuplicateDocumentContent(body, context);
|
|
7237
|
-
const exception = new
|
|
7396
|
+
const exception = new models_2_1.DuplicateDocumentContent({
|
|
7238
7397
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7239
7398
|
...deserialized,
|
|
7240
7399
|
});
|
|
@@ -7243,7 +7402,7 @@ const deserializeAws_json1_1DuplicateDocumentContentResponse = async (parsedOutp
|
|
|
7243
7402
|
const deserializeAws_json1_1DuplicateDocumentVersionNameResponse = async (parsedOutput, context) => {
|
|
7244
7403
|
const body = parsedOutput.body;
|
|
7245
7404
|
const deserialized = deserializeAws_json1_1DuplicateDocumentVersionName(body, context);
|
|
7246
|
-
const exception = new
|
|
7405
|
+
const exception = new models_2_1.DuplicateDocumentVersionName({
|
|
7247
7406
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7248
7407
|
...deserialized,
|
|
7249
7408
|
});
|
|
@@ -7747,7 +7906,7 @@ const deserializeAws_json1_1InvalidTypeNameExceptionResponse = async (parsedOutp
|
|
|
7747
7906
|
const deserializeAws_json1_1InvalidUpdateResponse = async (parsedOutput, context) => {
|
|
7748
7907
|
const body = parsedOutput.body;
|
|
7749
7908
|
const deserialized = deserializeAws_json1_1InvalidUpdate(body, context);
|
|
7750
|
-
const exception = new
|
|
7909
|
+
const exception = new models_2_1.InvalidUpdate({
|
|
7751
7910
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7752
7911
|
...deserialized,
|
|
7753
7912
|
});
|
|
@@ -7789,6 +7948,15 @@ const deserializeAws_json1_1MaxDocumentSizeExceededResponse = async (parsedOutpu
|
|
|
7789
7948
|
});
|
|
7790
7949
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
7791
7950
|
};
|
|
7951
|
+
const deserializeAws_json1_1OpsItemAccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
7952
|
+
const body = parsedOutput.body;
|
|
7953
|
+
const deserialized = deserializeAws_json1_1OpsItemAccessDeniedException(body, context);
|
|
7954
|
+
const exception = new models_0_1.OpsItemAccessDeniedException({
|
|
7955
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
7956
|
+
...deserialized,
|
|
7957
|
+
});
|
|
7958
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
7959
|
+
};
|
|
7792
7960
|
const deserializeAws_json1_1OpsItemAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
7793
7961
|
const body = parsedOutput.body;
|
|
7794
7962
|
const deserialized = deserializeAws_json1_1OpsItemAlreadyExistsException(body, context);
|
|
@@ -8032,6 +8200,33 @@ const deserializeAws_json1_1ResourceLimitExceededExceptionResponse = async (pars
|
|
|
8032
8200
|
});
|
|
8033
8201
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8034
8202
|
};
|
|
8203
|
+
const deserializeAws_json1_1ResourcePolicyConflictExceptionResponse = async (parsedOutput, context) => {
|
|
8204
|
+
const body = parsedOutput.body;
|
|
8205
|
+
const deserialized = deserializeAws_json1_1ResourcePolicyConflictException(body, context);
|
|
8206
|
+
const exception = new models_0_1.ResourcePolicyConflictException({
|
|
8207
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
8208
|
+
...deserialized,
|
|
8209
|
+
});
|
|
8210
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8211
|
+
};
|
|
8212
|
+
const deserializeAws_json1_1ResourcePolicyInvalidParameterExceptionResponse = async (parsedOutput, context) => {
|
|
8213
|
+
const body = parsedOutput.body;
|
|
8214
|
+
const deserialized = deserializeAws_json1_1ResourcePolicyInvalidParameterException(body, context);
|
|
8215
|
+
const exception = new models_0_1.ResourcePolicyInvalidParameterException({
|
|
8216
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
8217
|
+
...deserialized,
|
|
8218
|
+
});
|
|
8219
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8220
|
+
};
|
|
8221
|
+
const deserializeAws_json1_1ResourcePolicyLimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
8222
|
+
const body = parsedOutput.body;
|
|
8223
|
+
const deserialized = deserializeAws_json1_1ResourcePolicyLimitExceededException(body, context);
|
|
8224
|
+
const exception = new models_1_1.ResourcePolicyLimitExceededException({
|
|
8225
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
8226
|
+
...deserialized,
|
|
8227
|
+
});
|
|
8228
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8229
|
+
};
|
|
8035
8230
|
const deserializeAws_json1_1ServiceSettingNotFoundResponse = async (parsedOutput, context) => {
|
|
8036
8231
|
const body = parsedOutput.body;
|
|
8037
8232
|
const deserialized = deserializeAws_json1_1ServiceSettingNotFound(body, context);
|
|
@@ -8044,7 +8239,7 @@ const deserializeAws_json1_1ServiceSettingNotFoundResponse = async (parsedOutput
|
|
|
8044
8239
|
const deserializeAws_json1_1StatusUnchangedResponse = async (parsedOutput, context) => {
|
|
8045
8240
|
const body = parsedOutput.body;
|
|
8046
8241
|
const deserialized = deserializeAws_json1_1StatusUnchanged(body, context);
|
|
8047
|
-
const exception = new
|
|
8242
|
+
const exception = new models_2_1.StatusUnchanged({
|
|
8048
8243
|
$metadata: deserializeMetadata(parsedOutput),
|
|
8049
8244
|
...deserialized,
|
|
8050
8245
|
});
|
|
@@ -8317,10 +8512,8 @@ const serializeAws_json1_1AutomationParameterMap = (input, context) => {
|
|
|
8317
8512
|
if (value === null) {
|
|
8318
8513
|
return acc;
|
|
8319
8514
|
}
|
|
8320
|
-
|
|
8321
|
-
|
|
8322
|
-
[key]: serializeAws_json1_1AutomationParameterValueList(value, context),
|
|
8323
|
-
};
|
|
8515
|
+
acc[key] = serializeAws_json1_1AutomationParameterValueList(value, context);
|
|
8516
|
+
return acc;
|
|
8324
8517
|
}, {});
|
|
8325
8518
|
};
|
|
8326
8519
|
const serializeAws_json1_1AutomationParameterValueList = (input, context) => {
|
|
@@ -8404,10 +8597,8 @@ const serializeAws_json1_1ComplianceItemDetails = (input, context) => {
|
|
|
8404
8597
|
if (value === null) {
|
|
8405
8598
|
return acc;
|
|
8406
8599
|
}
|
|
8407
|
-
|
|
8408
|
-
|
|
8409
|
-
[key]: value,
|
|
8410
|
-
};
|
|
8600
|
+
acc[key] = value;
|
|
8601
|
+
return acc;
|
|
8411
8602
|
}, {});
|
|
8412
8603
|
};
|
|
8413
8604
|
const serializeAws_json1_1ComplianceItemEntry = (input, context) => {
|
|
@@ -8589,6 +8780,7 @@ const serializeAws_json1_1CreateMaintenanceWindowRequest = (input, context) => {
|
|
|
8589
8780
|
};
|
|
8590
8781
|
const serializeAws_json1_1CreateOpsItemRequest = (input, context) => {
|
|
8591
8782
|
return {
|
|
8783
|
+
...(input.AccountId != null && { AccountId: input.AccountId }),
|
|
8592
8784
|
...(input.ActualEndTime != null && { ActualEndTime: Math.round(input.ActualEndTime.getTime() / 1000) }),
|
|
8593
8785
|
...(input.ActualStartTime != null && { ActualStartTime: Math.round(input.ActualStartTime.getTime() / 1000) }),
|
|
8594
8786
|
...(input.Category != null && { Category: input.Category }),
|
|
@@ -8719,6 +8911,13 @@ const serializeAws_json1_1DeleteResourceDataSyncRequest = (input, context) => {
|
|
|
8719
8911
|
...(input.SyncType != null && { SyncType: input.SyncType }),
|
|
8720
8912
|
};
|
|
8721
8913
|
};
|
|
8914
|
+
const serializeAws_json1_1DeleteResourcePolicyRequest = (input, context) => {
|
|
8915
|
+
return {
|
|
8916
|
+
...(input.PolicyHash != null && { PolicyHash: input.PolicyHash }),
|
|
8917
|
+
...(input.PolicyId != null && { PolicyId: input.PolicyId }),
|
|
8918
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
8919
|
+
};
|
|
8920
|
+
};
|
|
8722
8921
|
const serializeAws_json1_1DeregisterManagedInstanceRequest = (input, context) => {
|
|
8723
8922
|
return {
|
|
8724
8923
|
...(input.InstanceId != null && { InstanceId: input.InstanceId }),
|
|
@@ -9189,6 +9388,7 @@ const serializeAws_json1_1GetMaintenanceWindowTaskRequest = (input, context) =>
|
|
|
9189
9388
|
};
|
|
9190
9389
|
const serializeAws_json1_1GetOpsItemRequest = (input, context) => {
|
|
9191
9390
|
return {
|
|
9391
|
+
...(input.OpsItemArn != null && { OpsItemArn: input.OpsItemArn }),
|
|
9192
9392
|
...(input.OpsItemId != null && { OpsItemId: input.OpsItemId }),
|
|
9193
9393
|
};
|
|
9194
9394
|
};
|
|
@@ -9256,6 +9456,13 @@ const serializeAws_json1_1GetPatchBaselineRequest = (input, context) => {
|
|
|
9256
9456
|
...(input.BaselineId != null && { BaselineId: input.BaselineId }),
|
|
9257
9457
|
};
|
|
9258
9458
|
};
|
|
9459
|
+
const serializeAws_json1_1GetResourcePoliciesRequest = (input, context) => {
|
|
9460
|
+
return {
|
|
9461
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
9462
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
9463
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
9464
|
+
};
|
|
9465
|
+
};
|
|
9259
9466
|
const serializeAws_json1_1GetServiceSettingRequest = (input, context) => {
|
|
9260
9467
|
return {
|
|
9261
9468
|
...(input.SettingId != null && { SettingId: input.SettingId }),
|
|
@@ -9396,10 +9603,8 @@ const serializeAws_json1_1InventoryItemContentContext = (input, context) => {
|
|
|
9396
9603
|
if (value === null) {
|
|
9397
9604
|
return acc;
|
|
9398
9605
|
}
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
[key]: value,
|
|
9402
|
-
};
|
|
9606
|
+
acc[key] = value;
|
|
9607
|
+
return acc;
|
|
9403
9608
|
}, {});
|
|
9404
9609
|
};
|
|
9405
9610
|
const serializeAws_json1_1InventoryItemEntry = (input, context) => {
|
|
@@ -9407,10 +9612,8 @@ const serializeAws_json1_1InventoryItemEntry = (input, context) => {
|
|
|
9407
9612
|
if (value === null) {
|
|
9408
9613
|
return acc;
|
|
9409
9614
|
}
|
|
9410
|
-
|
|
9411
|
-
|
|
9412
|
-
[key]: value,
|
|
9413
|
-
};
|
|
9615
|
+
acc[key] = value;
|
|
9616
|
+
return acc;
|
|
9414
9617
|
}, {});
|
|
9415
9618
|
};
|
|
9416
9619
|
const serializeAws_json1_1InventoryItemEntryList = (input, context) => {
|
|
@@ -9661,10 +9864,8 @@ const serializeAws_json1_1MaintenanceWindowTaskParameters = (input, context) =>
|
|
|
9661
9864
|
if (value === null) {
|
|
9662
9865
|
return acc;
|
|
9663
9866
|
}
|
|
9664
|
-
|
|
9665
|
-
|
|
9666
|
-
[key]: serializeAws_json1_1MaintenanceWindowTaskParameterValueExpression(value, context),
|
|
9667
|
-
};
|
|
9867
|
+
acc[key] = serializeAws_json1_1MaintenanceWindowTaskParameterValueExpression(value, context);
|
|
9868
|
+
return acc;
|
|
9668
9869
|
}, {});
|
|
9669
9870
|
};
|
|
9670
9871
|
const serializeAws_json1_1MaintenanceWindowTaskParameterValueExpression = (input, context) => {
|
|
@@ -9693,10 +9894,8 @@ const serializeAws_json1_1MetadataMap = (input, context) => {
|
|
|
9693
9894
|
if (value === null) {
|
|
9694
9895
|
return acc;
|
|
9695
9896
|
}
|
|
9696
|
-
|
|
9697
|
-
|
|
9698
|
-
[key]: serializeAws_json1_1MetadataValue(value, context),
|
|
9699
|
-
};
|
|
9897
|
+
acc[key] = serializeAws_json1_1MetadataValue(value, context);
|
|
9898
|
+
return acc;
|
|
9700
9899
|
}, {});
|
|
9701
9900
|
};
|
|
9702
9901
|
const serializeAws_json1_1MetadataValue = (input, context) => {
|
|
@@ -9757,10 +9956,8 @@ const serializeAws_json1_1OpsAggregatorValueMap = (input, context) => {
|
|
|
9757
9956
|
if (value === null) {
|
|
9758
9957
|
return acc;
|
|
9759
9958
|
}
|
|
9760
|
-
|
|
9761
|
-
|
|
9762
|
-
[key]: value,
|
|
9763
|
-
};
|
|
9959
|
+
acc[key] = value;
|
|
9960
|
+
return acc;
|
|
9764
9961
|
}, {});
|
|
9765
9962
|
};
|
|
9766
9963
|
const serializeAws_json1_1OpsFilter = (input, context) => {
|
|
@@ -9849,10 +10046,8 @@ const serializeAws_json1_1OpsItemOperationalData = (input, context) => {
|
|
|
9849
10046
|
if (value === null) {
|
|
9850
10047
|
return acc;
|
|
9851
10048
|
}
|
|
9852
|
-
|
|
9853
|
-
|
|
9854
|
-
[key]: serializeAws_json1_1OpsItemDataValue(value, context),
|
|
9855
|
-
};
|
|
10049
|
+
acc[key] = serializeAws_json1_1OpsItemDataValue(value, context);
|
|
10050
|
+
return acc;
|
|
9856
10051
|
}, {});
|
|
9857
10052
|
};
|
|
9858
10053
|
const serializeAws_json1_1OpsItemOpsDataKeysList = (input, context) => {
|
|
@@ -9934,10 +10129,8 @@ const serializeAws_json1_1Parameters = (input, context) => {
|
|
|
9934
10129
|
if (value === null) {
|
|
9935
10130
|
return acc;
|
|
9936
10131
|
}
|
|
9937
|
-
|
|
9938
|
-
|
|
9939
|
-
[key]: serializeAws_json1_1ParameterValueList(value, context),
|
|
9940
|
-
};
|
|
10132
|
+
acc[key] = serializeAws_json1_1ParameterValueList(value, context);
|
|
10133
|
+
return acc;
|
|
9941
10134
|
}, {});
|
|
9942
10135
|
};
|
|
9943
10136
|
const serializeAws_json1_1ParametersFilter = (input, context) => {
|
|
@@ -10120,6 +10313,14 @@ const serializeAws_json1_1PutParameterRequest = (input, context) => {
|
|
|
10120
10313
|
...(input.Value != null && { Value: input.Value }),
|
|
10121
10314
|
};
|
|
10122
10315
|
};
|
|
10316
|
+
const serializeAws_json1_1PutResourcePolicyRequest = (input, context) => {
|
|
10317
|
+
return {
|
|
10318
|
+
...(input.Policy != null && { Policy: input.Policy }),
|
|
10319
|
+
...(input.PolicyHash != null && { PolicyHash: input.PolicyHash }),
|
|
10320
|
+
...(input.PolicyId != null && { PolicyId: input.PolicyId }),
|
|
10321
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
10322
|
+
};
|
|
10323
|
+
};
|
|
10123
10324
|
const serializeAws_json1_1Regions = (input, context) => {
|
|
10124
10325
|
return input
|
|
10125
10326
|
.filter((e) => e != null)
|
|
@@ -10370,10 +10571,8 @@ const serializeAws_json1_1SessionManagerParameters = (input, context) => {
|
|
|
10370
10571
|
if (value === null) {
|
|
10371
10572
|
return acc;
|
|
10372
10573
|
}
|
|
10373
|
-
|
|
10374
|
-
|
|
10375
|
-
[key]: serializeAws_json1_1SessionManagerParameterValueList(value, context),
|
|
10376
|
-
};
|
|
10574
|
+
acc[key] = serializeAws_json1_1SessionManagerParameterValueList(value, context);
|
|
10575
|
+
return acc;
|
|
10377
10576
|
}, {});
|
|
10378
10577
|
};
|
|
10379
10578
|
const serializeAws_json1_1SessionManagerParameterValueList = (input, context) => {
|
|
@@ -10518,10 +10717,8 @@ const serializeAws_json1_1TargetMap = (input, context) => {
|
|
|
10518
10717
|
if (value === null) {
|
|
10519
10718
|
return acc;
|
|
10520
10719
|
}
|
|
10521
|
-
|
|
10522
|
-
|
|
10523
|
-
[key]: serializeAws_json1_1TargetMapValueList(value, context),
|
|
10524
|
-
};
|
|
10720
|
+
acc[key] = serializeAws_json1_1TargetMapValueList(value, context);
|
|
10721
|
+
return acc;
|
|
10525
10722
|
}, {});
|
|
10526
10723
|
};
|
|
10527
10724
|
const serializeAws_json1_1TargetMaps = (input, context) => {
|
|
@@ -10711,6 +10908,7 @@ const serializeAws_json1_1UpdateOpsItemRequest = (input, context) => {
|
|
|
10711
10908
|
...(input.OperationalDataToDelete != null && {
|
|
10712
10909
|
OperationalDataToDelete: serializeAws_json1_1OpsItemOpsDataKeysList(input.OperationalDataToDelete, context),
|
|
10713
10910
|
}),
|
|
10911
|
+
...(input.OpsItemArn != null && { OpsItemArn: input.OpsItemArn }),
|
|
10714
10912
|
...(input.OpsItemId != null && { OpsItemId: input.OpsItemId }),
|
|
10715
10913
|
...(input.PlannedEndTime != null && { PlannedEndTime: Math.round(input.PlannedEndTime.getTime() / 1000) }),
|
|
10716
10914
|
...(input.PlannedStartTime != null && { PlannedStartTime: Math.round(input.PlannedStartTime.getTime() / 1000) }),
|
|
@@ -11085,10 +11283,8 @@ const deserializeAws_json1_1AssociationStatusAggregatedCount = (output, context)
|
|
|
11085
11283
|
if (value === null) {
|
|
11086
11284
|
return acc;
|
|
11087
11285
|
}
|
|
11088
|
-
|
|
11089
|
-
|
|
11090
|
-
[key]: (0, smithy_client_1.expectInt32)(value),
|
|
11091
|
-
};
|
|
11286
|
+
acc[key] = (0, smithy_client_1.expectInt32)(value);
|
|
11287
|
+
return acc;
|
|
11092
11288
|
}, {});
|
|
11093
11289
|
};
|
|
11094
11290
|
const deserializeAws_json1_1AssociationVersionInfo = (output, context) => {
|
|
@@ -11316,10 +11512,8 @@ const deserializeAws_json1_1AutomationParameterMap = (output, context) => {
|
|
|
11316
11512
|
if (value === null) {
|
|
11317
11513
|
return acc;
|
|
11318
11514
|
}
|
|
11319
|
-
|
|
11320
|
-
|
|
11321
|
-
[key]: deserializeAws_json1_1AutomationParameterValueList(value, context),
|
|
11322
|
-
};
|
|
11515
|
+
acc[key] = deserializeAws_json1_1AutomationParameterValueList(value, context);
|
|
11516
|
+
return acc;
|
|
11323
11517
|
}, {});
|
|
11324
11518
|
};
|
|
11325
11519
|
const deserializeAws_json1_1AutomationParameterValueList = (output, context) => {
|
|
@@ -11537,10 +11731,8 @@ const deserializeAws_json1_1ComplianceItemDetails = (output, context) => {
|
|
|
11537
11731
|
if (value === null) {
|
|
11538
11732
|
return acc;
|
|
11539
11733
|
}
|
|
11540
|
-
|
|
11541
|
-
|
|
11542
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
11543
|
-
};
|
|
11734
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
11735
|
+
return acc;
|
|
11544
11736
|
}, {});
|
|
11545
11737
|
};
|
|
11546
11738
|
const deserializeAws_json1_1ComplianceItemList = (output, context) => {
|
|
@@ -11655,6 +11847,7 @@ const deserializeAws_json1_1CreateMaintenanceWindowResult = (output, context) =>
|
|
|
11655
11847
|
};
|
|
11656
11848
|
const deserializeAws_json1_1CreateOpsItemResponse = (output, context) => {
|
|
11657
11849
|
return {
|
|
11850
|
+
OpsItemArn: (0, smithy_client_1.expectString)(output.OpsItemArn),
|
|
11658
11851
|
OpsItemId: (0, smithy_client_1.expectString)(output.OpsItemId),
|
|
11659
11852
|
};
|
|
11660
11853
|
};
|
|
@@ -11723,6 +11916,9 @@ const deserializeAws_json1_1DeletePatchBaselineResult = (output, context) => {
|
|
|
11723
11916
|
const deserializeAws_json1_1DeleteResourceDataSyncResult = (output, context) => {
|
|
11724
11917
|
return {};
|
|
11725
11918
|
};
|
|
11919
|
+
const deserializeAws_json1_1DeleteResourcePolicyResponse = (output, context) => {
|
|
11920
|
+
return {};
|
|
11921
|
+
};
|
|
11726
11922
|
const deserializeAws_json1_1DeregisterManagedInstanceResult = (output, context) => {
|
|
11727
11923
|
return {};
|
|
11728
11924
|
};
|
|
@@ -12532,6 +12728,32 @@ const deserializeAws_json1_1GetPatchBaselineResult = (output, context) => {
|
|
|
12532
12728
|
Sources: output.Sources != null ? deserializeAws_json1_1PatchSourceList(output.Sources, context) : undefined,
|
|
12533
12729
|
};
|
|
12534
12730
|
};
|
|
12731
|
+
const deserializeAws_json1_1GetResourcePoliciesResponse = (output, context) => {
|
|
12732
|
+
return {
|
|
12733
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
12734
|
+
Policies: output.Policies != null
|
|
12735
|
+
? deserializeAws_json1_1GetResourcePoliciesResponseEntries(output.Policies, context)
|
|
12736
|
+
: undefined,
|
|
12737
|
+
};
|
|
12738
|
+
};
|
|
12739
|
+
const deserializeAws_json1_1GetResourcePoliciesResponseEntries = (output, context) => {
|
|
12740
|
+
const retVal = (output || [])
|
|
12741
|
+
.filter((e) => e != null)
|
|
12742
|
+
.map((entry) => {
|
|
12743
|
+
if (entry === null) {
|
|
12744
|
+
return null;
|
|
12745
|
+
}
|
|
12746
|
+
return deserializeAws_json1_1GetResourcePoliciesResponseEntry(entry, context);
|
|
12747
|
+
});
|
|
12748
|
+
return retVal;
|
|
12749
|
+
};
|
|
12750
|
+
const deserializeAws_json1_1GetResourcePoliciesResponseEntry = (output, context) => {
|
|
12751
|
+
return {
|
|
12752
|
+
Policy: (0, smithy_client_1.expectString)(output.Policy),
|
|
12753
|
+
PolicyHash: (0, smithy_client_1.expectString)(output.PolicyHash),
|
|
12754
|
+
PolicyId: (0, smithy_client_1.expectString)(output.PolicyId),
|
|
12755
|
+
};
|
|
12756
|
+
};
|
|
12535
12757
|
const deserializeAws_json1_1GetServiceSettingResult = (output, context) => {
|
|
12536
12758
|
return {
|
|
12537
12759
|
ServiceSetting: output.ServiceSetting != null ? deserializeAws_json1_1ServiceSetting(output.ServiceSetting, context) : undefined,
|
|
@@ -12599,10 +12821,8 @@ const deserializeAws_json1_1InstanceAssociationStatusAggregatedCount = (output,
|
|
|
12599
12821
|
if (value === null) {
|
|
12600
12822
|
return acc;
|
|
12601
12823
|
}
|
|
12602
|
-
|
|
12603
|
-
|
|
12604
|
-
[key]: (0, smithy_client_1.expectInt32)(value),
|
|
12605
|
-
};
|
|
12824
|
+
acc[key] = (0, smithy_client_1.expectInt32)(value);
|
|
12825
|
+
return acc;
|
|
12606
12826
|
}, {});
|
|
12607
12827
|
};
|
|
12608
12828
|
const deserializeAws_json1_1InstanceAssociationStatusInfo = (output, context) => {
|
|
@@ -13061,10 +13281,8 @@ const deserializeAws_json1_1InventoryItemEntry = (output, context) => {
|
|
|
13061
13281
|
if (value === null) {
|
|
13062
13282
|
return acc;
|
|
13063
13283
|
}
|
|
13064
|
-
|
|
13065
|
-
|
|
13066
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
13067
|
-
};
|
|
13284
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
13285
|
+
return acc;
|
|
13068
13286
|
}, {});
|
|
13069
13287
|
};
|
|
13070
13288
|
const deserializeAws_json1_1InventoryItemEntryList = (output, context) => {
|
|
@@ -13130,10 +13348,8 @@ const deserializeAws_json1_1InventoryResultItemMap = (output, context) => {
|
|
|
13130
13348
|
if (value === null) {
|
|
13131
13349
|
return acc;
|
|
13132
13350
|
}
|
|
13133
|
-
|
|
13134
|
-
|
|
13135
|
-
[key]: deserializeAws_json1_1InventoryResultItem(value, context),
|
|
13136
|
-
};
|
|
13351
|
+
acc[key] = deserializeAws_json1_1InventoryResultItem(value, context);
|
|
13352
|
+
return acc;
|
|
13137
13353
|
}, {});
|
|
13138
13354
|
};
|
|
13139
13355
|
const deserializeAws_json1_1InvocationDoesNotExist = (output, context) => {
|
|
@@ -13537,10 +13753,8 @@ const deserializeAws_json1_1MaintenanceWindowTaskParameters = (output, context)
|
|
|
13537
13753
|
if (value === null) {
|
|
13538
13754
|
return acc;
|
|
13539
13755
|
}
|
|
13540
|
-
|
|
13541
|
-
|
|
13542
|
-
[key]: deserializeAws_json1_1MaintenanceWindowTaskParameterValueExpression(value, context),
|
|
13543
|
-
};
|
|
13756
|
+
acc[key] = deserializeAws_json1_1MaintenanceWindowTaskParameterValueExpression(value, context);
|
|
13757
|
+
return acc;
|
|
13544
13758
|
}, {});
|
|
13545
13759
|
};
|
|
13546
13760
|
const deserializeAws_json1_1MaintenanceWindowTaskParametersList = (output, context) => {
|
|
@@ -13582,10 +13796,8 @@ const deserializeAws_json1_1MetadataMap = (output, context) => {
|
|
|
13582
13796
|
if (value === null) {
|
|
13583
13797
|
return acc;
|
|
13584
13798
|
}
|
|
13585
|
-
|
|
13586
|
-
|
|
13587
|
-
[key]: deserializeAws_json1_1MetadataValue(value, context),
|
|
13588
|
-
};
|
|
13799
|
+
acc[key] = deserializeAws_json1_1MetadataValue(value, context);
|
|
13800
|
+
return acc;
|
|
13589
13801
|
}, {});
|
|
13590
13802
|
};
|
|
13591
13803
|
const deserializeAws_json1_1MetadataValue = (output, context) => {
|
|
@@ -13609,10 +13821,8 @@ const deserializeAws_json1_1NormalStringMap = (output, context) => {
|
|
|
13609
13821
|
if (value === null) {
|
|
13610
13822
|
return acc;
|
|
13611
13823
|
}
|
|
13612
|
-
|
|
13613
|
-
|
|
13614
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
13615
|
-
};
|
|
13824
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
13825
|
+
return acc;
|
|
13616
13826
|
}, {});
|
|
13617
13827
|
};
|
|
13618
13828
|
const deserializeAws_json1_1NotificationConfig = (output, context) => {
|
|
@@ -13652,10 +13862,8 @@ const deserializeAws_json1_1OpsEntityItemEntry = (output, context) => {
|
|
|
13652
13862
|
if (value === null) {
|
|
13653
13863
|
return acc;
|
|
13654
13864
|
}
|
|
13655
|
-
|
|
13656
|
-
|
|
13657
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
13658
|
-
};
|
|
13865
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
13866
|
+
return acc;
|
|
13659
13867
|
}, {});
|
|
13660
13868
|
};
|
|
13661
13869
|
const deserializeAws_json1_1OpsEntityItemEntryList = (output, context) => {
|
|
@@ -13674,10 +13882,8 @@ const deserializeAws_json1_1OpsEntityItemMap = (output, context) => {
|
|
|
13674
13882
|
if (value === null) {
|
|
13675
13883
|
return acc;
|
|
13676
13884
|
}
|
|
13677
|
-
|
|
13678
|
-
|
|
13679
|
-
[key]: deserializeAws_json1_1OpsEntityItem(value, context),
|
|
13680
|
-
};
|
|
13885
|
+
acc[key] = deserializeAws_json1_1OpsEntityItem(value, context);
|
|
13886
|
+
return acc;
|
|
13681
13887
|
}, {});
|
|
13682
13888
|
};
|
|
13683
13889
|
const deserializeAws_json1_1OpsEntityList = (output, context) => {
|
|
@@ -13715,6 +13921,7 @@ const deserializeAws_json1_1OpsItem = (output, context) => {
|
|
|
13715
13921
|
OperationalData: output.OperationalData != null
|
|
13716
13922
|
? deserializeAws_json1_1OpsItemOperationalData(output.OperationalData, context)
|
|
13717
13923
|
: undefined,
|
|
13924
|
+
OpsItemArn: (0, smithy_client_1.expectString)(output.OpsItemArn),
|
|
13718
13925
|
OpsItemId: (0, smithy_client_1.expectString)(output.OpsItemId),
|
|
13719
13926
|
OpsItemType: (0, smithy_client_1.expectString)(output.OpsItemType),
|
|
13720
13927
|
PlannedEndTime: output.PlannedEndTime != null
|
|
@@ -13734,6 +13941,11 @@ const deserializeAws_json1_1OpsItem = (output, context) => {
|
|
|
13734
13941
|
Version: (0, smithy_client_1.expectString)(output.Version),
|
|
13735
13942
|
};
|
|
13736
13943
|
};
|
|
13944
|
+
const deserializeAws_json1_1OpsItemAccessDeniedException = (output, context) => {
|
|
13945
|
+
return {
|
|
13946
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
13947
|
+
};
|
|
13948
|
+
};
|
|
13737
13949
|
const deserializeAws_json1_1OpsItemAlreadyExistsException = (output, context) => {
|
|
13738
13950
|
return {
|
|
13739
13951
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
@@ -13819,10 +14031,8 @@ const deserializeAws_json1_1OpsItemOperationalData = (output, context) => {
|
|
|
13819
14031
|
if (value === null) {
|
|
13820
14032
|
return acc;
|
|
13821
14033
|
}
|
|
13822
|
-
|
|
13823
|
-
|
|
13824
|
-
[key]: deserializeAws_json1_1OpsItemDataValue(value, context),
|
|
13825
|
-
};
|
|
14034
|
+
acc[key] = deserializeAws_json1_1OpsItemDataValue(value, context);
|
|
14035
|
+
return acc;
|
|
13826
14036
|
}, {});
|
|
13827
14037
|
};
|
|
13828
14038
|
const deserializeAws_json1_1OpsItemParameterNamesList = (output, context) => {
|
|
@@ -14136,10 +14346,8 @@ const deserializeAws_json1_1Parameters = (output, context) => {
|
|
|
14136
14346
|
if (value === null) {
|
|
14137
14347
|
return acc;
|
|
14138
14348
|
}
|
|
14139
|
-
|
|
14140
|
-
|
|
14141
|
-
[key]: deserializeAws_json1_1ParameterValueList(value, context),
|
|
14142
|
-
};
|
|
14349
|
+
acc[key] = deserializeAws_json1_1ParameterValueList(value, context);
|
|
14350
|
+
return acc;
|
|
14143
14351
|
}, {});
|
|
14144
14352
|
};
|
|
14145
14353
|
const deserializeAws_json1_1ParameterValueList = (output, context) => {
|
|
@@ -14370,10 +14578,8 @@ const deserializeAws_json1_1PatchPropertyEntry = (output, context) => {
|
|
|
14370
14578
|
if (value === null) {
|
|
14371
14579
|
return acc;
|
|
14372
14580
|
}
|
|
14373
|
-
|
|
14374
|
-
|
|
14375
|
-
[key]: (0, smithy_client_1.expectString)(value),
|
|
14376
|
-
};
|
|
14581
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
14582
|
+
return acc;
|
|
14377
14583
|
}, {});
|
|
14378
14584
|
};
|
|
14379
14585
|
const deserializeAws_json1_1PatchRule = (output, context) => {
|
|
@@ -14480,6 +14686,12 @@ const deserializeAws_json1_1PutParameterResult = (output, context) => {
|
|
|
14480
14686
|
Version: (0, smithy_client_1.expectLong)(output.Version),
|
|
14481
14687
|
};
|
|
14482
14688
|
};
|
|
14689
|
+
const deserializeAws_json1_1PutResourcePolicyResponse = (output, context) => {
|
|
14690
|
+
return {
|
|
14691
|
+
PolicyHash: (0, smithy_client_1.expectString)(output.PolicyHash),
|
|
14692
|
+
PolicyId: (0, smithy_client_1.expectString)(output.PolicyId),
|
|
14693
|
+
};
|
|
14694
|
+
};
|
|
14483
14695
|
const deserializeAws_json1_1Regions = (output, context) => {
|
|
14484
14696
|
const retVal = (output || [])
|
|
14485
14697
|
.filter((e) => e != null)
|
|
@@ -14713,6 +14925,37 @@ const deserializeAws_json1_1ResourceLimitExceededException = (output, context) =
|
|
|
14713
14925
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
14714
14926
|
};
|
|
14715
14927
|
};
|
|
14928
|
+
const deserializeAws_json1_1ResourcePolicyConflictException = (output, context) => {
|
|
14929
|
+
return {
|
|
14930
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
14931
|
+
};
|
|
14932
|
+
};
|
|
14933
|
+
const deserializeAws_json1_1ResourcePolicyInvalidParameterException = (output, context) => {
|
|
14934
|
+
return {
|
|
14935
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
14936
|
+
ParameterNames: output.ParameterNames != null
|
|
14937
|
+
? deserializeAws_json1_1ResourcePolicyParameterNamesList(output.ParameterNames, context)
|
|
14938
|
+
: undefined,
|
|
14939
|
+
};
|
|
14940
|
+
};
|
|
14941
|
+
const deserializeAws_json1_1ResourcePolicyLimitExceededException = (output, context) => {
|
|
14942
|
+
return {
|
|
14943
|
+
Limit: (0, smithy_client_1.expectInt32)(output.Limit),
|
|
14944
|
+
LimitType: (0, smithy_client_1.expectString)(output.LimitType),
|
|
14945
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
14946
|
+
};
|
|
14947
|
+
};
|
|
14948
|
+
const deserializeAws_json1_1ResourcePolicyParameterNamesList = (output, context) => {
|
|
14949
|
+
const retVal = (output || [])
|
|
14950
|
+
.filter((e) => e != null)
|
|
14951
|
+
.map((entry) => {
|
|
14952
|
+
if (entry === null) {
|
|
14953
|
+
return null;
|
|
14954
|
+
}
|
|
14955
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
14956
|
+
});
|
|
14957
|
+
return retVal;
|
|
14958
|
+
};
|
|
14716
14959
|
const deserializeAws_json1_1ResumeSessionResponse = (output, context) => {
|
|
14717
14960
|
return {
|
|
14718
14961
|
SessionId: (0, smithy_client_1.expectString)(output.SessionId),
|
|
@@ -14998,10 +15241,8 @@ const deserializeAws_json1_1TargetMap = (output, context) => {
|
|
|
14998
15241
|
if (value === null) {
|
|
14999
15242
|
return acc;
|
|
15000
15243
|
}
|
|
15001
|
-
|
|
15002
|
-
|
|
15003
|
-
[key]: deserializeAws_json1_1TargetMapValueList(value, context),
|
|
15004
|
-
};
|
|
15244
|
+
acc[key] = deserializeAws_json1_1TargetMapValueList(value, context);
|
|
15245
|
+
return acc;
|
|
15005
15246
|
}, {});
|
|
15006
15247
|
};
|
|
15007
15248
|
const deserializeAws_json1_1TargetMaps = (output, context) => {
|