/clients/client-ssm/protocols/Aws_json1_1.ts
https://github.com/aws/aws-sdk-js-v3 · TypeScript · 21434 lines · 20235 code · 1197 blank · 2 comment · 9421 complexity · 1dd7c4013cc9f8061e821a65b1248307 MD5 · raw file
Large files are truncated click here to view the full file
- import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "../commands/AddTagsToResourceCommand";
- import { CancelCommandCommandInput, CancelCommandCommandOutput } from "../commands/CancelCommandCommand";
- import {
- CancelMaintenanceWindowExecutionCommandInput,
- CancelMaintenanceWindowExecutionCommandOutput,
- } from "../commands/CancelMaintenanceWindowExecutionCommand";
- import { CreateActivationCommandInput, CreateActivationCommandOutput } from "../commands/CreateActivationCommand";
- import {
- CreateAssociationBatchCommandInput,
- CreateAssociationBatchCommandOutput,
- } from "../commands/CreateAssociationBatchCommand";
- import { CreateAssociationCommandInput, CreateAssociationCommandOutput } from "../commands/CreateAssociationCommand";
- import { CreateDocumentCommandInput, CreateDocumentCommandOutput } from "../commands/CreateDocumentCommand";
- import {
- CreateMaintenanceWindowCommandInput,
- CreateMaintenanceWindowCommandOutput,
- } from "../commands/CreateMaintenanceWindowCommand";
- import { CreateOpsItemCommandInput, CreateOpsItemCommandOutput } from "../commands/CreateOpsItemCommand";
- import {
- CreatePatchBaselineCommandInput,
- CreatePatchBaselineCommandOutput,
- } from "../commands/CreatePatchBaselineCommand";
- import {
- CreateResourceDataSyncCommandInput,
- CreateResourceDataSyncCommandOutput,
- } from "../commands/CreateResourceDataSyncCommand";
- import { DeleteActivationCommandInput, DeleteActivationCommandOutput } from "../commands/DeleteActivationCommand";
- import { DeleteAssociationCommandInput, DeleteAssociationCommandOutput } from "../commands/DeleteAssociationCommand";
- import { DeleteDocumentCommandInput, DeleteDocumentCommandOutput } from "../commands/DeleteDocumentCommand";
- import { DeleteInventoryCommandInput, DeleteInventoryCommandOutput } from "../commands/DeleteInventoryCommand";
- import {
- DeleteMaintenanceWindowCommandInput,
- DeleteMaintenanceWindowCommandOutput,
- } from "../commands/DeleteMaintenanceWindowCommand";
- import { DeleteParameterCommandInput, DeleteParameterCommandOutput } from "../commands/DeleteParameterCommand";
- import { DeleteParametersCommandInput, DeleteParametersCommandOutput } from "../commands/DeleteParametersCommand";
- import {
- DeletePatchBaselineCommandInput,
- DeletePatchBaselineCommandOutput,
- } from "../commands/DeletePatchBaselineCommand";
- import {
- DeleteResourceDataSyncCommandInput,
- DeleteResourceDataSyncCommandOutput,
- } from "../commands/DeleteResourceDataSyncCommand";
- import {
- DeregisterManagedInstanceCommandInput,
- DeregisterManagedInstanceCommandOutput,
- } from "../commands/DeregisterManagedInstanceCommand";
- import {
- DeregisterPatchBaselineForPatchGroupCommandInput,
- DeregisterPatchBaselineForPatchGroupCommandOutput,
- } from "../commands/DeregisterPatchBaselineForPatchGroupCommand";
- import {
- DeregisterTargetFromMaintenanceWindowCommandInput,
- DeregisterTargetFromMaintenanceWindowCommandOutput,
- } from "../commands/DeregisterTargetFromMaintenanceWindowCommand";
- import {
- DeregisterTaskFromMaintenanceWindowCommandInput,
- DeregisterTaskFromMaintenanceWindowCommandOutput,
- } from "../commands/DeregisterTaskFromMaintenanceWindowCommand";
- import {
- DescribeActivationsCommandInput,
- DescribeActivationsCommandOutput,
- } from "../commands/DescribeActivationsCommand";
- import {
- DescribeAssociationCommandInput,
- DescribeAssociationCommandOutput,
- } from "../commands/DescribeAssociationCommand";
- import {
- DescribeAssociationExecutionTargetsCommandInput,
- DescribeAssociationExecutionTargetsCommandOutput,
- } from "../commands/DescribeAssociationExecutionTargetsCommand";
- import {
- DescribeAssociationExecutionsCommandInput,
- DescribeAssociationExecutionsCommandOutput,
- } from "../commands/DescribeAssociationExecutionsCommand";
- import {
- DescribeAutomationExecutionsCommandInput,
- DescribeAutomationExecutionsCommandOutput,
- } from "../commands/DescribeAutomationExecutionsCommand";
- import {
- DescribeAutomationStepExecutionsCommandInput,
- DescribeAutomationStepExecutionsCommandOutput,
- } from "../commands/DescribeAutomationStepExecutionsCommand";
- import {
- DescribeAvailablePatchesCommandInput,
- DescribeAvailablePatchesCommandOutput,
- } from "../commands/DescribeAvailablePatchesCommand";
- import { DescribeDocumentCommandInput, DescribeDocumentCommandOutput } from "../commands/DescribeDocumentCommand";
- import {
- DescribeDocumentPermissionCommandInput,
- DescribeDocumentPermissionCommandOutput,
- } from "../commands/DescribeDocumentPermissionCommand";
- import {
- DescribeEffectiveInstanceAssociationsCommandInput,
- DescribeEffectiveInstanceAssociationsCommandOutput,
- } from "../commands/DescribeEffectiveInstanceAssociationsCommand";
- import {
- DescribeEffectivePatchesForPatchBaselineCommandInput,
- DescribeEffectivePatchesForPatchBaselineCommandOutput,
- } from "../commands/DescribeEffectivePatchesForPatchBaselineCommand";
- import {
- DescribeInstanceAssociationsStatusCommandInput,
- DescribeInstanceAssociationsStatusCommandOutput,
- } from "../commands/DescribeInstanceAssociationsStatusCommand";
- import {
- DescribeInstanceInformationCommandInput,
- DescribeInstanceInformationCommandOutput,
- } from "../commands/DescribeInstanceInformationCommand";
- import {
- DescribeInstancePatchStatesCommandInput,
- DescribeInstancePatchStatesCommandOutput,
- } from "../commands/DescribeInstancePatchStatesCommand";
- import {
- DescribeInstancePatchStatesForPatchGroupCommandInput,
- DescribeInstancePatchStatesForPatchGroupCommandOutput,
- } from "../commands/DescribeInstancePatchStatesForPatchGroupCommand";
- import {
- DescribeInstancePatchesCommandInput,
- DescribeInstancePatchesCommandOutput,
- } from "../commands/DescribeInstancePatchesCommand";
- import {
- DescribeInventoryDeletionsCommandInput,
- DescribeInventoryDeletionsCommandOutput,
- } from "../commands/DescribeInventoryDeletionsCommand";
- import {
- DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput,
- DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput,
- } from "../commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand";
- import {
- DescribeMaintenanceWindowExecutionTasksCommandInput,
- DescribeMaintenanceWindowExecutionTasksCommandOutput,
- } from "../commands/DescribeMaintenanceWindowExecutionTasksCommand";
- import {
- DescribeMaintenanceWindowExecutionsCommandInput,
- DescribeMaintenanceWindowExecutionsCommandOutput,
- } from "../commands/DescribeMaintenanceWindowExecutionsCommand";
- import {
- DescribeMaintenanceWindowScheduleCommandInput,
- DescribeMaintenanceWindowScheduleCommandOutput,
- } from "../commands/DescribeMaintenanceWindowScheduleCommand";
- import {
- DescribeMaintenanceWindowTargetsCommandInput,
- DescribeMaintenanceWindowTargetsCommandOutput,
- } from "../commands/DescribeMaintenanceWindowTargetsCommand";
- import {
- DescribeMaintenanceWindowTasksCommandInput,
- DescribeMaintenanceWindowTasksCommandOutput,
- } from "../commands/DescribeMaintenanceWindowTasksCommand";
- import {
- DescribeMaintenanceWindowsCommandInput,
- DescribeMaintenanceWindowsCommandOutput,
- } from "../commands/DescribeMaintenanceWindowsCommand";
- import {
- DescribeMaintenanceWindowsForTargetCommandInput,
- DescribeMaintenanceWindowsForTargetCommandOutput,
- } from "../commands/DescribeMaintenanceWindowsForTargetCommand";
- import { DescribeOpsItemsCommandInput, DescribeOpsItemsCommandOutput } from "../commands/DescribeOpsItemsCommand";
- import { DescribeParametersCommandInput, DescribeParametersCommandOutput } from "../commands/DescribeParametersCommand";
- import {
- DescribePatchBaselinesCommandInput,
- DescribePatchBaselinesCommandOutput,
- } from "../commands/DescribePatchBaselinesCommand";
- import {
- DescribePatchGroupStateCommandInput,
- DescribePatchGroupStateCommandOutput,
- } from "../commands/DescribePatchGroupStateCommand";
- import {
- DescribePatchGroupsCommandInput,
- DescribePatchGroupsCommandOutput,
- } from "../commands/DescribePatchGroupsCommand";
- import {
- DescribePatchPropertiesCommandInput,
- DescribePatchPropertiesCommandOutput,
- } from "../commands/DescribePatchPropertiesCommand";
- import { DescribeSessionsCommandInput, DescribeSessionsCommandOutput } from "../commands/DescribeSessionsCommand";
- import {
- GetAutomationExecutionCommandInput,
- GetAutomationExecutionCommandOutput,
- } from "../commands/GetAutomationExecutionCommand";
- import { GetCalendarStateCommandInput, GetCalendarStateCommandOutput } from "../commands/GetCalendarStateCommand";
- import {
- GetCommandInvocationCommandInput,
- GetCommandInvocationCommandOutput,
- } from "../commands/GetCommandInvocationCommand";
- import {
- GetConnectionStatusCommandInput,
- GetConnectionStatusCommandOutput,
- } from "../commands/GetConnectionStatusCommand";
- import {
- GetDefaultPatchBaselineCommandInput,
- GetDefaultPatchBaselineCommandOutput,
- } from "../commands/GetDefaultPatchBaselineCommand";
- import {
- GetDeployablePatchSnapshotForInstanceCommandInput,
- GetDeployablePatchSnapshotForInstanceCommandOutput,
- } from "../commands/GetDeployablePatchSnapshotForInstanceCommand";
- import { GetDocumentCommandInput, GetDocumentCommandOutput } from "../commands/GetDocumentCommand";
- import { GetInventoryCommandInput, GetInventoryCommandOutput } from "../commands/GetInventoryCommand";
- import { GetInventorySchemaCommandInput, GetInventorySchemaCommandOutput } from "../commands/GetInventorySchemaCommand";
- import {
- GetMaintenanceWindowCommandInput,
- GetMaintenanceWindowCommandOutput,
- } from "../commands/GetMaintenanceWindowCommand";
- import {
- GetMaintenanceWindowExecutionCommandInput,
- GetMaintenanceWindowExecutionCommandOutput,
- } from "../commands/GetMaintenanceWindowExecutionCommand";
- import {
- GetMaintenanceWindowExecutionTaskCommandInput,
- GetMaintenanceWindowExecutionTaskCommandOutput,
- } from "../commands/GetMaintenanceWindowExecutionTaskCommand";
- import {
- GetMaintenanceWindowExecutionTaskInvocationCommandInput,
- GetMaintenanceWindowExecutionTaskInvocationCommandOutput,
- } from "../commands/GetMaintenanceWindowExecutionTaskInvocationCommand";
- import {
- GetMaintenanceWindowTaskCommandInput,
- GetMaintenanceWindowTaskCommandOutput,
- } from "../commands/GetMaintenanceWindowTaskCommand";
- import { GetOpsItemCommandInput, GetOpsItemCommandOutput } from "../commands/GetOpsItemCommand";
- import { GetOpsSummaryCommandInput, GetOpsSummaryCommandOutput } from "../commands/GetOpsSummaryCommand";
- import { GetParameterCommandInput, GetParameterCommandOutput } from "../commands/GetParameterCommand";
- import {
- GetParameterHistoryCommandInput,
- GetParameterHistoryCommandOutput,
- } from "../commands/GetParameterHistoryCommand";
- import {
- GetParametersByPathCommandInput,
- GetParametersByPathCommandOutput,
- } from "../commands/GetParametersByPathCommand";
- import { GetParametersCommandInput, GetParametersCommandOutput } from "../commands/GetParametersCommand";
- import { GetPatchBaselineCommandInput, GetPatchBaselineCommandOutput } from "../commands/GetPatchBaselineCommand";
- import {
- GetPatchBaselineForPatchGroupCommandInput,
- GetPatchBaselineForPatchGroupCommandOutput,
- } from "../commands/GetPatchBaselineForPatchGroupCommand";
- import { GetServiceSettingCommandInput, GetServiceSettingCommandOutput } from "../commands/GetServiceSettingCommand";
- import {
- LabelParameterVersionCommandInput,
- LabelParameterVersionCommandOutput,
- } from "../commands/LabelParameterVersionCommand";
- import {
- ListAssociationVersionsCommandInput,
- ListAssociationVersionsCommandOutput,
- } from "../commands/ListAssociationVersionsCommand";
- import { ListAssociationsCommandInput, ListAssociationsCommandOutput } from "../commands/ListAssociationsCommand";
- import {
- ListCommandInvocationsCommandInput,
- ListCommandInvocationsCommandOutput,
- } from "../commands/ListCommandInvocationsCommand";
- import { ListCommandsCommandInput, ListCommandsCommandOutput } from "../commands/ListCommandsCommand";
- import {
- ListComplianceItemsCommandInput,
- ListComplianceItemsCommandOutput,
- } from "../commands/ListComplianceItemsCommand";
- import {
- ListComplianceSummariesCommandInput,
- ListComplianceSummariesCommandOutput,
- } from "../commands/ListComplianceSummariesCommand";
- import {
- ListDocumentVersionsCommandInput,
- ListDocumentVersionsCommandOutput,
- } from "../commands/ListDocumentVersionsCommand";
- import { ListDocumentsCommandInput, ListDocumentsCommandOutput } from "../commands/ListDocumentsCommand";
- import {
- ListInventoryEntriesCommandInput,
- ListInventoryEntriesCommandOutput,
- } from "../commands/ListInventoryEntriesCommand";
- import {
- ListResourceComplianceSummariesCommandInput,
- ListResourceComplianceSummariesCommandOutput,
- } from "../commands/ListResourceComplianceSummariesCommand";
- import {
- ListResourceDataSyncCommandInput,
- ListResourceDataSyncCommandOutput,
- } from "../commands/ListResourceDataSyncCommand";
- import {
- ListTagsForResourceCommandInput,
- ListTagsForResourceCommandOutput,
- } from "../commands/ListTagsForResourceCommand";
- import {
- ModifyDocumentPermissionCommandInput,
- ModifyDocumentPermissionCommandOutput,
- } from "../commands/ModifyDocumentPermissionCommand";
- import { PutComplianceItemsCommandInput, PutComplianceItemsCommandOutput } from "../commands/PutComplianceItemsCommand";
- import { PutInventoryCommandInput, PutInventoryCommandOutput } from "../commands/PutInventoryCommand";
- import { PutParameterCommandInput, PutParameterCommandOutput } from "../commands/PutParameterCommand";
- import {
- RegisterDefaultPatchBaselineCommandInput,
- RegisterDefaultPatchBaselineCommandOutput,
- } from "../commands/RegisterDefaultPatchBaselineCommand";
- import {
- RegisterPatchBaselineForPatchGroupCommandInput,
- RegisterPatchBaselineForPatchGroupCommandOutput,
- } from "../commands/RegisterPatchBaselineForPatchGroupCommand";
- import {
- RegisterTargetWithMaintenanceWindowCommandInput,
- RegisterTargetWithMaintenanceWindowCommandOutput,
- } from "../commands/RegisterTargetWithMaintenanceWindowCommand";
- import {
- RegisterTaskWithMaintenanceWindowCommandInput,
- RegisterTaskWithMaintenanceWindowCommandOutput,
- } from "../commands/RegisterTaskWithMaintenanceWindowCommand";
- import {
- RemoveTagsFromResourceCommandInput,
- RemoveTagsFromResourceCommandOutput,
- } from "../commands/RemoveTagsFromResourceCommand";
- import {
- ResetServiceSettingCommandInput,
- ResetServiceSettingCommandOutput,
- } from "../commands/ResetServiceSettingCommand";
- import { ResumeSessionCommandInput, ResumeSessionCommandOutput } from "../commands/ResumeSessionCommand";
- import {
- SendAutomationSignalCommandInput,
- SendAutomationSignalCommandOutput,
- } from "../commands/SendAutomationSignalCommand";
- import { SendCommandCommandInput, SendCommandCommandOutput } from "../commands/SendCommandCommand";
- import {
- StartAssociationsOnceCommandInput,
- StartAssociationsOnceCommandOutput,
- } from "../commands/StartAssociationsOnceCommand";
- import {
- StartAutomationExecutionCommandInput,
- StartAutomationExecutionCommandOutput,
- } from "../commands/StartAutomationExecutionCommand";
- import { StartSessionCommandInput, StartSessionCommandOutput } from "../commands/StartSessionCommand";
- import {
- StopAutomationExecutionCommandInput,
- StopAutomationExecutionCommandOutput,
- } from "../commands/StopAutomationExecutionCommand";
- import { TerminateSessionCommandInput, TerminateSessionCommandOutput } from "../commands/TerminateSessionCommand";
- import { UpdateAssociationCommandInput, UpdateAssociationCommandOutput } from "../commands/UpdateAssociationCommand";
- import {
- UpdateAssociationStatusCommandInput,
- UpdateAssociationStatusCommandOutput,
- } from "../commands/UpdateAssociationStatusCommand";
- import { UpdateDocumentCommandInput, UpdateDocumentCommandOutput } from "../commands/UpdateDocumentCommand";
- import {
- UpdateDocumentDefaultVersionCommandInput,
- UpdateDocumentDefaultVersionCommandOutput,
- } from "../commands/UpdateDocumentDefaultVersionCommand";
- import {
- UpdateMaintenanceWindowCommandInput,
- UpdateMaintenanceWindowCommandOutput,
- } from "../commands/UpdateMaintenanceWindowCommand";
- import {
- UpdateMaintenanceWindowTargetCommandInput,
- UpdateMaintenanceWindowTargetCommandOutput,
- } from "../commands/UpdateMaintenanceWindowTargetCommand";
- import {
- UpdateMaintenanceWindowTaskCommandInput,
- UpdateMaintenanceWindowTaskCommandOutput,
- } from "../commands/UpdateMaintenanceWindowTaskCommand";
- import {
- UpdateManagedInstanceRoleCommandInput,
- UpdateManagedInstanceRoleCommandOutput,
- } from "../commands/UpdateManagedInstanceRoleCommand";
- import { UpdateOpsItemCommandInput, UpdateOpsItemCommandOutput } from "../commands/UpdateOpsItemCommand";
- import {
- UpdatePatchBaselineCommandInput,
- UpdatePatchBaselineCommandOutput,
- } from "../commands/UpdatePatchBaselineCommand";
- import {
- UpdateResourceDataSyncCommandInput,
- UpdateResourceDataSyncCommandOutput,
- } from "../commands/UpdateResourceDataSyncCommand";
- import {
- UpdateServiceSettingCommandInput,
- UpdateServiceSettingCommandOutput,
- } from "../commands/UpdateServiceSettingCommand";
- import {
- AccountSharingInfo,
- Activation,
- AddTagsToResourceRequest,
- AddTagsToResourceResult,
- AlreadyExistsException,
- AssociatedInstances,
- AssociationAlreadyExists,
- AssociationDescription,
- AssociationDoesNotExist,
- AssociationExecution,
- AssociationExecutionDoesNotExist,
- AssociationExecutionFilter,
- AssociationExecutionTarget,
- AssociationExecutionTargetsFilter,
- AssociationLimitExceeded,
- AssociationOverview,
- AssociationStatus,
- AttachmentInformation,
- AttachmentsSource,
- AutomationExecutionFilter,
- AutomationExecutionMetadata,
- AutomationExecutionNotFoundException,
- CancelCommandRequest,
- CancelCommandResult,
- CancelMaintenanceWindowExecutionRequest,
- CancelMaintenanceWindowExecutionResult,
- CreateActivationRequest,
- CreateActivationResult,
- CreateAssociationBatchRequest,
- CreateAssociationBatchRequestEntry,
- CreateAssociationBatchResult,
- CreateAssociationRequest,
- CreateAssociationResult,
- CreateDocumentRequest,
- CreateDocumentResult,
- CreateMaintenanceWindowRequest,
- CreateMaintenanceWindowResult,
- CreateOpsItemRequest,
- CreateOpsItemResponse,
- CreatePatchBaselineRequest,
- CreatePatchBaselineResult,
- CreateResourceDataSyncRequest,
- CreateResourceDataSyncResult,
- DeleteActivationRequest,
- DeleteActivationResult,
- DeleteAssociationRequest,
- DeleteAssociationResult,
- DeleteDocumentRequest,
- DeleteDocumentResult,
- DeleteInventoryRequest,
- DeleteInventoryResult,
- DeleteMaintenanceWindowRequest,
- DeleteMaintenanceWindowResult,
- DeleteParameterRequest,
- DeleteParameterResult,
- DeleteParametersRequest,
- DeleteParametersResult,
- DeletePatchBaselineRequest,
- DeletePatchBaselineResult,
- DeleteResourceDataSyncRequest,
- DeleteResourceDataSyncResult,
- DeregisterManagedInstanceRequest,
- DeregisterManagedInstanceResult,
- DeregisterPatchBaselineForPatchGroupRequest,
- DeregisterPatchBaselineForPatchGroupResult,
- DeregisterTargetFromMaintenanceWindowRequest,
- DeregisterTargetFromMaintenanceWindowResult,
- DeregisterTaskFromMaintenanceWindowRequest,
- DeregisterTaskFromMaintenanceWindowResult,
- DescribeActivationsFilter,
- DescribeActivationsRequest,
- DescribeActivationsResult,
- DescribeAssociationExecutionTargetsRequest,
- DescribeAssociationExecutionTargetsResult,
- DescribeAssociationExecutionsRequest,
- DescribeAssociationExecutionsResult,
- DescribeAssociationRequest,
- DescribeAssociationResult,
- DescribeAutomationExecutionsRequest,
- DescribeAutomationExecutionsResult,
- DescribeAutomationStepExecutionsRequest,
- DescribeAutomationStepExecutionsResult,
- DescribeAvailablePatchesRequest,
- DescribeAvailablePatchesResult,
- DescribeDocumentPermissionRequest,
- DescribeDocumentPermissionResponse,
- DescribeDocumentRequest,
- DescribeDocumentResult,
- DescribeEffectiveInstanceAssociationsRequest,
- DescribeEffectiveInstanceAssociationsResult,
- DescribeEffectivePatchesForPatchBaselineRequest,
- DescribeEffectivePatchesForPatchBaselineResult,
- DescribeInstanceAssociationsStatusRequest,
- DescribeInstanceAssociationsStatusResult,
- DescribeInstanceInformationRequest,
- DescribeInstanceInformationResult,
- DescribeInstancePatchStatesForPatchGroupRequest,
- DescribeInstancePatchStatesForPatchGroupResult,
- DescribeInstancePatchStatesRequest,
- DescribeInstancePatchStatesResult,
- DescribeInstancePatchesRequest,
- DescribeInstancePatchesResult,
- DescribeInventoryDeletionsRequest,
- DescribeInventoryDeletionsResult,
- DescribeMaintenanceWindowExecutionTaskInvocationsRequest,
- DescribeMaintenanceWindowExecutionTaskInvocationsResult,
- DescribeMaintenanceWindowExecutionTasksRequest,
- DescribeMaintenanceWindowExecutionTasksResult,
- DescribeMaintenanceWindowExecutionsRequest,
- DescribeMaintenanceWindowExecutionsResult,
- DescribeMaintenanceWindowScheduleRequest,
- DescribeMaintenanceWindowScheduleResult,
- DescribeMaintenanceWindowTargetsRequest,
- DescribeMaintenanceWindowTargetsResult,
- DescribeMaintenanceWindowTasksRequest,
- DescribeMaintenanceWindowTasksResult,
- DescribeMaintenanceWindowsForTargetRequest,
- DescribeMaintenanceWindowsForTargetResult,
- DescribeMaintenanceWindowsRequest,
- DescribeMaintenanceWindowsResult,
- DescribeOpsItemsRequest,
- DescribeOpsItemsResponse,
- DescribeParametersRequest,
- DescribeParametersResult,
- DescribePatchBaselinesRequest,
- DescribePatchBaselinesResult,
- DescribePatchGroupStateRequest,
- DescribePatchGroupStateResult,
- DescribePatchGroupsRequest,
- DescribePatchGroupsResult,
- DescribePatchPropertiesRequest,
- DescribePatchPropertiesResult,
- DescribeSessionsRequest,
- DocumentAlreadyExists,
- DocumentDescription,
- DocumentLimitExceeded,
- DocumentParameter,
- DocumentRequires,
- DoesNotExistException,
- DuplicateInstanceId,
- EffectivePatch,
- FailedCreateAssociation,
- FailureDetails,
- IdempotentParameterMismatch,
- InstanceAggregatedAssociationOverview,
- InstanceAssociation,
- InstanceAssociationOutputLocation,
- InstanceAssociationOutputUrl,
- InstanceAssociationStatusInfo,
- InstanceInformation,
- InstanceInformationFilter,
- InstanceInformationStringFilter,
- InstancePatchState,
- InstancePatchStateFilter,
- InternalServerError,
- InvalidActivation,
- InvalidActivationId,
- InvalidAssociationVersion,
- InvalidCommandId,
- InvalidDeleteInventoryParametersException,
- InvalidDeletionIdException,
- InvalidDocument,
- InvalidDocumentContent,
- InvalidDocumentOperation,
- InvalidDocumentSchemaVersion,
- InvalidDocumentVersion,
- InvalidFilter,
- InvalidFilterKey,
- InvalidFilterOption,
- InvalidFilterValue,
- InvalidInstanceId,
- InvalidInstanceInformationFilterValue,
- InvalidInventoryRequestException,
- InvalidNextToken,
- InvalidOptionException,
- InvalidOutputLocation,
- InvalidParameters,
- InvalidPermissionType,
- InvalidResourceId,
- InvalidResourceType,
- InvalidSchedule,
- InvalidTarget,
- InvalidTypeNameException,
- InventoryDeletionStatusItem,
- InventoryDeletionSummary,
- InventoryDeletionSummaryItem,
- LoggingInfo,
- MaintenanceWindowExecution,
- MaintenanceWindowExecutionTaskIdentity,
- MaintenanceWindowExecutionTaskInvocationIdentity,
- MaintenanceWindowFilter,
- MaintenanceWindowIdentity,
- MaintenanceWindowIdentityForTarget,
- MaintenanceWindowTarget,
- MaintenanceWindowTask,
- MaintenanceWindowTaskParameterValueExpression,
- MaxDocumentSizeExceeded,
- OpsItemAlreadyExistsException,
- OpsItemDataValue,
- OpsItemFilter,
- OpsItemInvalidParameterException,
- OpsItemLimitExceededException,
- OpsItemNotification,
- OpsItemSummary,
- OutputSource,
- ParameterInlinePolicy,
- ParameterMetadata,
- ParameterNotFound,
- ParameterStringFilter,
- ParametersFilter,
- Patch,
- PatchBaselineIdentity,
- PatchComplianceData,
- PatchFilter,
- PatchFilterGroup,
- PatchGroupPatchBaselineMapping,
- PatchOrchestratorFilter,
- PatchRule,
- PatchRuleGroup,
- PatchSource,
- PatchStatus,
- PlatformType,
- RelatedOpsItem,
- ResolvedTargets,
- ResourceDataSyncAlreadyExistsException,
- ResourceDataSyncAwsOrganizationsSource,
- ResourceDataSyncCountExceededException,
- ResourceDataSyncDestinationDataSharing,
- ResourceDataSyncInvalidConfigurationException,
- ResourceDataSyncNotFoundException,
- ResourceDataSyncOrganizationalUnit,
- ResourceDataSyncS3Destination,
- ResourceDataSyncSource,
- ResourceInUseException,
- ResourceLimitExceededException,
- S3OutputLocation,
- S3OutputUrl,
- ScheduledWindowExecution,
- SessionFilter,
- SessionManagerOutputUrl,
- StepExecution,
- StepExecutionFilter,
- Tag,
- Target,
- TargetInUseException,
- TargetLocation,
- TooManyTagsError,
- TooManyUpdates,
- UnsupportedOperatingSystem,
- UnsupportedPlatformType,
- } from "../models/models_0";
- import {
- Association,
- AssociationFilter,
- AssociationVersionInfo,
- AssociationVersionLimitExceeded,
- AttachmentContent,
- AutomationDefinitionNotFoundException,
- AutomationDefinitionVersionNotFoundException,
- AutomationExecution,
- AutomationExecutionLimitExceededException,
- AutomationStepNotFoundException,
- CloudWatchOutputConfig,
- Command,
- CommandFilter,
- CommandInvocation,
- CommandPlugin,
- ComplianceExecutionSummary,
- ComplianceItem,
- ComplianceItemEntry,
- ComplianceStringFilter,
- ComplianceSummaryItem,
- ComplianceTypeCountLimitExceededException,
- CompliantSummary,
- CustomSchemaCountLimitExceededException,
- DescribeSessionsResponse,
- DocumentDefaultVersionDescription,
- DocumentFilter,
- DocumentIdentifier,
- DocumentKeyValuesFilter,
- DocumentPermissionLimit,
- DocumentVersionInfo,
- DocumentVersionLimitExceeded,
- DuplicateDocumentContent,
- DuplicateDocumentVersionName,
- FeatureNotAvailableException,
- GetAutomationExecutionRequest,
- GetAutomationExecutionResult,
- GetCalendarStateRequest,
- GetCalendarStateResponse,
- GetCommandInvocationRequest,
- GetCommandInvocationResult,
- GetConnectionStatusRequest,
- GetConnectionStatusResponse,
- GetDefaultPatchBaselineRequest,
- GetDefaultPatchBaselineResult,
- GetDeployablePatchSnapshotForInstanceRequest,
- GetDeployablePatchSnapshotForInstanceResult,
- GetDocumentRequest,
- GetDocumentResult,
- GetInventoryRequest,
- GetInventoryResult,
- GetInventorySchemaRequest,
- GetInventorySchemaResult,
- GetMaintenanceWindowExecutionRequest,
- GetMaintenanceWindowExecutionResult,
- GetMaintenanceWindowExecutionTaskInvocationRequest,
- GetMaintenanceWindowExecutionTaskInvocationResult,
- GetMaintenanceWindowExecutionTaskRequest,
- GetMaintenanceWindowExecutionTaskResult,
- GetMaintenanceWindowRequest,
- GetMaintenanceWindowResult,
- GetMaintenanceWindowTaskRequest,
- GetMaintenanceWindowTaskResult,
- GetOpsItemRequest,
- GetOpsItemResponse,
- GetOpsSummaryRequest,
- GetOpsSummaryResult,
- GetParameterHistoryRequest,
- GetParameterHistoryResult,
- GetParameterRequest,
- GetParameterResult,
- GetParametersByPathRequest,
- GetParametersByPathResult,
- GetParametersRequest,
- GetParametersResult,
- GetPatchBaselineForPatchGroupRequest,
- GetPatchBaselineForPatchGroupResult,
- GetPatchBaselineRequest,
- GetPatchBaselineResult,
- GetServiceSettingRequest,
- GetServiceSettingResult,
- HierarchyLevelLimitExceededException,
- HierarchyTypeMismatchException,
- IncompatiblePolicyException,
- InvalidAggregatorException,
- InvalidAllowedPatternException,
- InvalidAssociation,
- InvalidAutomationExecutionParametersException,
- InvalidAutomationSignalException,
- InvalidAutomationStatusUpdateException,
- InvalidDocumentType,
- InvalidInventoryGroupException,
- InvalidInventoryItemContextException,
- InvalidItemContentException,
- InvalidKeyId,
- InvalidNotificationConfig,
- InvalidOutputFolder,
- InvalidPluginName,
- InvalidPolicyAttributeException,
- InvalidPolicyTypeException,
- InvalidResultAttributeException,
- InvalidRole,
- InvalidUpdate,
- InventoryAggregator,
- InventoryFilter,
- InventoryGroup,
- InventoryItem,
- InventoryItemAttribute,
- InventoryItemSchema,
- InventoryResultEntity,
- InventoryResultItem,
- InvocationDoesNotExist,
- ItemContentMismatchException,
- ItemSizeLimitExceededException,
- LabelParameterVersionRequest,
- LabelParameterVersionResult,
- ListAssociationVersionsRequest,
- ListAssociationVersionsResult,
- ListAssociationsRequest,
- ListAssociationsResult,
- ListCommandInvocationsRequest,
- ListCommandInvocationsResult,
- ListCommandsRequest,
- ListCommandsResult,
- ListComplianceItemsRequest,
- ListComplianceItemsResult,
- ListComplianceSummariesRequest,
- ListComplianceSummariesResult,
- ListDocumentVersionsRequest,
- ListDocumentVersionsResult,
- ListDocumentsRequest,
- ListDocumentsResult,
- ListInventoryEntriesRequest,
- ListInventoryEntriesResult,
- ListResourceComplianceSummariesRequest,
- ListResourceComplianceSummariesResult,
- ListResourceDataSyncRequest,
- ListResourceDataSyncResult,
- ListTagsForResourceRequest,
- ListTagsForResourceResult,
- MaintenanceWindowAutomationParameters,
- MaintenanceWindowLambdaParameters,
- MaintenanceWindowRunCommandParameters,
- MaintenanceWindowStepFunctionsParameters,
- MaintenanceWindowTaskInvocationParameters,
- ModifyDocumentPermissionRequest,
- ModifyDocumentPermissionResponse,
- NonCompliantSummary,
- NotificationConfig,
- NotificationEvent,
- OpsAggregator,
- OpsEntity,
- OpsEntityItem,
- OpsFilter,
- OpsItem,
- OpsItemNotFoundException,
- OpsResultAttribute,
- Parameter,
- ParameterAlreadyExists,
- ParameterHistory,
- ParameterLimitExceeded,
- ParameterMaxVersionLimitExceeded,
- ParameterPatternMismatchException,
- ParameterVersionLabelLimitExceeded,
- ParameterVersionNotFound,
- PoliciesLimitExceededException,
- ProgressCounters,
- PutComplianceItemsRequest,
- PutComplianceItemsResult,
- PutInventoryRequest,
- PutInventoryResult,
- PutParameterRequest,
- PutParameterResult,
- RegisterDefaultPatchBaselineRequest,
- RegisterDefaultPatchBaselineResult,
- RegisterPatchBaselineForPatchGroupRequest,
- RegisterPatchBaselineForPatchGroupResult,
- RegisterTargetWithMaintenanceWindowRequest,
- RegisterTargetWithMaintenanceWindowResult,
- RegisterTaskWithMaintenanceWindowRequest,
- RegisterTaskWithMaintenanceWindowResult,
- RemoveTagsFromResourceRequest,
- RemoveTagsFromResourceResult,
- ResetServiceSettingRequest,
- ResetServiceSettingResult,
- ResourceComplianceSummaryItem,
- ResourceDataSyncConflictException,
- ResourceDataSyncItem,
- ResourceDataSyncSourceWithState,
- ResultAttribute,
- ResumeSessionRequest,
- ResumeSessionResponse,
- SendAutomationSignalRequest,
- SendAutomationSignalResult,
- SendCommandRequest,
- SendCommandResult,
- ServiceSetting,
- ServiceSettingNotFound,
- Session,
- SeveritySummary,
- StartAssociationsOnceRequest,
- StartAssociationsOnceResult,
- StartAutomationExecutionRequest,
- StartAutomationExecutionResult,
- StartSessionRequest,
- StartSessionResponse,
- StatusUnchanged,
- StopAutomationExecutionRequest,
- StopAutomationExecutionResult,
- SubTypeCountLimitExceededException,
- TargetNotConnected,
- TerminateSessionRequest,
- TerminateSessionResponse,
- TotalSizeLimitExceededException,
- UnsupportedCalendarException,
- UnsupportedFeatureRequiredException,
- UnsupportedInventoryItemContextException,
- UnsupportedInventorySchemaVersionException,
- UnsupportedParameterType,
- UpdateAssociationRequest,
- UpdateAssociationResult,
- UpdateAssociationStatusRequest,
- UpdateAssociationStatusResult,
- UpdateDocumentDefaultVersionRequest,
- UpdateDocumentDefaultVersionResult,
- UpdateDocumentRequest,
- UpdateDocumentResult,
- UpdateMaintenanceWindowRequest,
- UpdateMaintenanceWindowResult,
- UpdateMaintenanceWindowTargetRequest,
- UpdateMaintenanceWindowTargetResult,
- UpdateMaintenanceWindowTaskRequest,
- UpdateMaintenanceWindowTaskResult,
- UpdateManagedInstanceRoleRequest,
- UpdateManagedInstanceRoleResult,
- UpdateOpsItemRequest,
- UpdateOpsItemResponse,
- UpdatePatchBaselineRequest,
- UpdatePatchBaselineResult,
- UpdateResourceDataSyncRequest,
- UpdateResourceDataSyncResult,
- UpdateServiceSettingRequest,
- UpdateServiceSettingResult,
- } from "../models/models_1";
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
- import { SmithyException as __SmithyException } from "@aws-sdk/smithy-client";
- import {
- Endpoint as __Endpoint,
- HeaderBag as __HeaderBag,
- MetadataBearer as __MetadataBearer,
- ResponseMetadata as __ResponseMetadata,
- SerdeContext as __SerdeContext,
- } from "@aws-sdk/types";
- import { v4 as generateIdempotencyToken } from "uuid";
- export const serializeAws_json1_1AddTagsToResourceCommand = async (
- input: AddTagsToResourceCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.AddTagsToResource",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1AddTagsToResourceRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1CancelCommandCommand = async (
- input: CancelCommandCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.CancelCommand",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1CancelCommandRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1CancelMaintenanceWindowExecutionCommand = async (
- input: CancelMaintenanceWindowExecutionCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.CancelMaintenanceWindowExecution",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1CancelMaintenanceWindowExecutionRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1CreateActivationCommand = async (
- input: CreateActivationCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.CreateActivation",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1CreateActivationRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1CreateAssociationCommand = async (
- input: CreateAssociationCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.CreateAssociation",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1CreateAssociationRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1CreateAssociationBatchCommand = async (
- input: CreateAssociationBatchCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.CreateAssociationBatch",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1CreateAssociationBatchRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1CreateDocumentCommand = async (
- input: CreateDocumentCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.CreateDocument",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1CreateDocumentRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1CreateMaintenanceWindowCommand = async (
- input: CreateMaintenanceWindowCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.CreateMaintenanceWindow",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1CreateMaintenanceWindowRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1CreateOpsItemCommand = async (
- input: CreateOpsItemCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.CreateOpsItem",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1CreateOpsItemRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1CreatePatchBaselineCommand = async (
- input: CreatePatchBaselineCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.CreatePatchBaseline",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1CreatePatchBaselineRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1CreateResourceDataSyncCommand = async (
- input: CreateResourceDataSyncCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.CreateResourceDataSync",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1CreateResourceDataSyncRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DeleteActivationCommand = async (
- input: DeleteActivationCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DeleteActivation",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DeleteActivationRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DeleteAssociationCommand = async (
- input: DeleteAssociationCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DeleteAssociation",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DeleteAssociationRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DeleteDocumentCommand = async (
- input: DeleteDocumentCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DeleteDocument",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DeleteDocumentRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DeleteInventoryCommand = async (
- input: DeleteInventoryCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DeleteInventory",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DeleteInventoryRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DeleteMaintenanceWindowCommand = async (
- input: DeleteMaintenanceWindowCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DeleteMaintenanceWindow",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DeleteMaintenanceWindowRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DeleteParameterCommand = async (
- input: DeleteParameterCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DeleteParameter",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DeleteParameterRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DeleteParametersCommand = async (
- input: DeleteParametersCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DeleteParameters",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DeleteParametersRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DeletePatchBaselineCommand = async (
- input: DeletePatchBaselineCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DeletePatchBaseline",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DeletePatchBaselineRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DeleteResourceDataSyncCommand = async (
- input: DeleteResourceDataSyncCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DeleteResourceDataSync",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DeleteResourceDataSyncRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DeregisterManagedInstanceCommand = async (
- input: DeregisterManagedInstanceCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DeregisterManagedInstance",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DeregisterManagedInstanceRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DeregisterPatchBaselineForPatchGroupCommand = async (
- input: DeregisterPatchBaselineForPatchGroupCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DeregisterPatchBaselineForPatchGroup",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DeregisterPatchBaselineForPatchGroupRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DeregisterTargetFromMaintenanceWindowCommand = async (
- input: DeregisterTargetFromMaintenanceWindowCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DeregisterTargetFromMaintenanceWindow",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DeregisterTargetFromMaintenanceWindowRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DeregisterTaskFromMaintenanceWindowCommand = async (
- input: DeregisterTaskFromMaintenanceWindowCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DeregisterTaskFromMaintenanceWindow",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DeregisterTaskFromMaintenanceWindowRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DescribeActivationsCommand = async (
- input: DescribeActivationsCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DescribeActivations",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DescribeActivationsRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DescribeAssociationCommand = async (
- input: DescribeAssociationCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DescribeAssociation",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DescribeAssociationRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DescribeAssociationExecutionsCommand = async (
- input: DescribeAssociationExecutionsCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DescribeAssociationExecutions",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DescribeAssociationExecutionsRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DescribeAssociationExecutionTargetsCommand = async (
- input: DescribeAssociationExecutionTargetsCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DescribeAssociationExecutionTargets",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DescribeAssociationExecutionTargetsRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DescribeAutomationExecutionsCommand = async (
- input: DescribeAutomationExecutionsCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DescribeAutomationExecutions",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DescribeAutomationExecutionsRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DescribeAutomationStepExecutionsCommand = async (
- input: DescribeAutomationStepExecutionsCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DescribeAutomationStepExecutions",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DescribeAutomationStepExecutionsRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DescribeAvailablePatchesCommand = async (
- input: DescribeAvailablePatchesCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DescribeAvailablePatches",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DescribeAvailablePatchesRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DescribeDocumentCommand = async (
- input: DescribeDocumentCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DescribeDocument",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DescribeDocumentRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DescribeDocumentPermissionCommand = async (
- input: DescribeDocumentPermissionCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DescribeDocumentPermission",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DescribeDocumentPermissionRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DescribeEffectiveInstanceAssociationsCommand = async (
- input: DescribeEffectiveInstanceAssociationsCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DescribeEffectiveInstanceAssociations",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DescribeEffectiveInstanceAssociationsRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DescribeEffectivePatchesForPatchBaselineCommand = async (
- input: DescribeEffectivePatchesForPatchBaselineCommandInput,
- context: __SerdeContext
- ): Promise<__HttpRequest> => {
- const headers: __HeaderBag = {
- "Content-Type": "application/x-amz-json-1.1",
- "X-Amz-Target": "AmazonSSM.DescribeEffectivePatchesForPatchBaseline",
- };
- let body: any;
- body = JSON.stringify(serializeAws_json1_1DescribeEffectivePatchesForPatchBaselineRequest(input, context));
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
- };
- export const serializeAws_json1_1DescribeInstanceAssociationsStatusCommand = async (
- input: Desc…